Releases: puppetlabs/rubocop-i18n
Releases · puppetlabs/rubocop-i18n
v3.0.0: Update to Rubocop 1
3.0.0
- Update Rubocop version to 1.0! Thank you @mvz!
- Cop namespace fixes, documentation updates, loading issues. Thank you again @mvz !
- Gem maintainership has been passed to @highb. Thank you @binford2k and @lucywyman!
- Update Ruby versions in gemspec, Travis, .ruby-version. Thank you @sfeuga
Check CHANGELOG.md
for additional details.
rubocop-i18n 2.0.2
See CHANGELOG.md for changes
v2.0.0: rails-i18n support
This release adds rails-i18n support. This is a major release, as it will require users to disable the cop that they don't want to use.
Here's the example copied from the README for posterity:
GetText:
Enabled: true
RailsI18n:
Enabled: false
# If you want rails-i18n-style checking
RailsI18n:
Enabled: true
GetText:
Enabled: false
# If you want custom control of all the cops
GetText/DecorateString:
Enabled: false
GetText/DecorateFunctionMessage:
Enabled: false
GetText/DecorateStringFormattingUsingInterpolation:
Enabled: false
GetText/DecorateStringFormattingUsingPercent:
Enabled: false
RailsI18n/DecorateString:
Enabled: false
v1.2.0
v1.1.0
1.0.0
- Handle strings decorated with _ n_ and N_: Thanks @ikapelyukhin!
- Updates to autofix
- Improved variety of string detection (interpolated, multiline, HEREDOC)
Available on RubyGems: https://rubygems.org/gems/rubocop-i18n