rubocop-i18n 3.2.1 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fda7be0dbfbfc1501a16330bb1e4cc629a91d9f3a87635ea563e161e9fa66c97
4
- data.tar.gz: 7919994e5321618fe590f699c39f0056bdba4ba8269d89fe6be91548a5ec5404
3
+ metadata.gz: b5ab8167e4ad9c8741f8298d7387d26cf2e080faabffc7aa058744b73f8995c5
4
+ data.tar.gz: 47e30f07c8978b1b0c184cf4dfe442203b6789202d059e5e0c7e20b6dd0ae28c
5
5
  SHA512:
6
- metadata.gz: 119d18b16d3dec2a93a84861516f8ca4f79e1878cf71e63a400c9c24e9eb9da0579fc8c0b61963a0285e4509874ca5ffe51942f8dc95acb3b920b0f830176c34
7
- data.tar.gz: 32115fb43cadb384bceeff872b5640a70641e8da497ac189a6ccfd8c567cd9966dfd3e90b9548b31e2e9d681d709ce3ba68d21c8ce9384890c6171b68f6d98a6
6
+ metadata.gz: ec243e630033edd5793dae39b78e88d8abebfb53093148b85f1f3f6ec053fc83aa7770d37bd62d1353abaa139799af97b65d8641dcea21062683239c0d65f6c0
7
+ data.tar.gz: 9d306216cb6c9f48a98e11bd7340df990d6cd0b23342c17d044c17d0685ed88c12ca2a9e5ef2819a040dd9dac1132d87a8f536635a173bac1bf73439dbb3eaf6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # Change Log
2
2
 
3
- ### [master (Unreleased)](https://github.com/rubocop/rubocop-i18n/compare/v3.2.1...master)
3
+ ### [master (Unreleased)](https://github.com/rubocop/rubocop-i18n/compare/v3.2.3...master)
4
+
5
+ ### [3.2.3](https://github.com/rubocop/rubocop-i18n/compare/v3.2.2...v3.2.3)
6
+
7
+ * Fix an error when `RuboCop::I18n::Version` is used.
8
+
9
+ ### [3.2.2](https://github.com/rubocop/rubocop-i18n/compare/v3.2.1...v3.2.2)
10
+
11
+ * Fix incorrect rubocop-i18n version number when `rubocop -V` is used.
4
12
 
5
13
  ### [3.2.1](https://github.com/rubocop/rubocop-i18n/compare/v3.2.0...v3.2.1)
6
14
 
@@ -9,7 +9,7 @@ module RuboCop
9
9
  def about
10
10
  LintRoller::About.new(
11
11
  name: 'rubocop-i18n',
12
- version: Version::STRING,
12
+ version: VERSION,
13
13
  homepage: 'https://github.com/rubocop/rubocop-i18n',
14
14
  description: 'RuboCop rules for i18n.'
15
15
  )
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RuboCop
4
+ module I18n
5
+ VERSION = '3.2.3'
6
+ end
7
+ end
data/lib/rubocop-i18n.rb CHANGED
@@ -3,5 +3,6 @@
3
3
  require 'rubocop'
4
4
 
5
5
  require_relative 'rubocop/i18n'
6
+ require_relative 'rubocop/i18n/version'
6
7
  require_relative 'rubocop/i18n/plugin'
7
8
  require_relative 'rubocop/cop/i18n_cops'
data/rubocop-i18n.gemspec CHANGED
@@ -1,11 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require_relative 'lib/rubocop/i18n/version'
5
4
 
6
5
  Gem::Specification.new do |spec|
7
6
  spec.name = 'rubocop-i18n'
8
- spec.version = '3.2.1'
7
+ spec.version = RuboCop::I18n::VERSION
9
8
  spec.authors = ['Puppet', 'Brandon High', 'TP Honey', 'Helen Campbell']
10
9
 
11
10
  spec.summary = 'RuboCop rules for i18n'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
@@ -74,6 +74,7 @@ files:
74
74
  - lib/rubocop/cop/i18n_cops.rb
75
75
  - lib/rubocop/i18n.rb
76
76
  - lib/rubocop/i18n/plugin.rb
77
+ - lib/rubocop/i18n/version.rb
77
78
  - rubocop-i18n.gemspec
78
79
  homepage: https://github.com/rubocop/rubocop-i18n
79
80
  licenses: