Skip to content

Releases: puppetlabs/rubocop-i18n

v3.0.0: Update to Rubocop 1

14 Dec 18:43
73bb7b9
Compare
Choose a tag to compare

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

19 May 23:05
Compare
Choose a tag to compare

See CHANGELOG.md for changes

v2.0.0: rails-i18n support

29 Nov 01:15
Compare
Choose a tag to compare

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

17 Oct 21:21
Compare
Choose a tag to compare
Version 1.2.0

v1.1.0

13 Oct 23:03
Compare
Choose a tag to compare
Version 1.1.0

1.0.0

06 Sep 13:38
Compare
Choose a tag to compare
  • 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