rubocop-ruby2_6 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a14f9505c33474169d8d6ea4b91ebffc65a5fccca3c2c939725139b0f93d4087
4
- data.tar.gz: 24a5683e42aff904e900d4ab2a3803b1bfdd39642a2875222b7cb19b3b465cd5
3
+ metadata.gz: cc978c800602021a50b2234db8bef45b568b79205005ed3f41583b1be5491a47
4
+ data.tar.gz: 4b9ab1b4e360fae8fb3faa006cdf0bee01b0fb0ec4148feb1be2b4d1c128701c
5
5
  SHA512:
6
- metadata.gz: bfa4ad1482aa6c2d4927ebed0b3b7900d52edbe11cecbd54f18af1eae92dfd39aa1aaccdde7920443d8fdbf2acf4d54897ef0c4b69b1b0111b7a7080236f1d3c
7
- data.tar.gz: 6e8876b34b497d68eb79857cdd95191a26d3a88ae892d021f66b5a88723ac23d6db31e05436d5280e8ddb87fc5b5ffab7d4f0f1a9abe457b9df6da88783a7436
6
+ metadata.gz: 1a313f9693a6aff84da647c25782db4000122b89223fe07e902d4010d9fd63d2407f3869e7aa485abf1a5505e24f1bcbde8844175884ca277b757f4a27cc59e7
7
+ data.tar.gz: 1b7160c0753681c18a52eec0256079b1449a696ccde1538c08c7c2090404668a88049daabac3d6cff4044801ee76f7cba1e708f9afc9859b698b2377c80e78e3
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,9 +10,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ### Fixed
11
11
  ### Removed
12
12
 
13
+ ## [2.0.3] 2023-05-22
14
+ ### Fixed
15
+ - install_tasks and Railtie loading of rake tasks
16
+ ### Changed
17
+ - tasks.rake => tasks.rb
18
+
13
19
  ## [2.0.2] 2023-05-21
14
20
  ### Fixed
15
- - Ship rakelib/**/*.rake tasks
21
+ - Ship rake tasks in gem package
16
22
 
17
23
  ## [2.0.1] 2023-05-19
18
24
  ### Fixed
@@ -93,7 +99,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
93
99
  ### Added
94
100
  - Initial release (yanked)
95
101
 
96
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.2...HEAD
102
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.3...HEAD
103
+ [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.2...v2.0.3
97
104
  [2.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.1...v2.0.2
98
105
  [2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.0...v2.0.1
99
106
  [2.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v1.1.0...v2.0.0
@@ -5,8 +5,7 @@ module Rubocop
5
5
 
6
6
  if Rails.env.test? || Rails.env.development?
7
7
  rake_tasks do
8
- path = File.expand_path(__dir__)
9
- Dir.glob("#{path}/rakelib/**/*.rake").each { |f| load f }
8
+ Rubocop::Ruby26.install_tasks
10
9
  end
11
10
  end
12
11
  end
@@ -1,4 +1,5 @@
1
1
  # Load from a "rakelib" directory is automatic!
2
2
  # Adding our custom directory of tasks as a rakelib directory makes them available.
3
- rakelib = "lib/rubocop/ruby2_6/rakelib"
3
+ abs_path = File.expand_path(__dir__)
4
+ rakelib = "#{abs_path}/rakelib"
4
5
  Rake.add_rakelib(rakelib)
@@ -3,7 +3,7 @@
3
3
  module Rubocop
4
4
  module Ruby26
5
5
  module Version
6
- VERSION = "2.0.2"
6
+ VERSION = "2.0.3"
7
7
  end
8
8
  end
9
9
  end
@@ -13,7 +13,7 @@ module Rubocop
13
13
  # Namespace of this library
14
14
  module Ruby26
15
15
  module_function def install_tasks
16
- load "rubocop/ruby2_6/tasks.rake"
16
+ load "rubocop/ruby2_6/tasks.rb"
17
17
  end
18
18
  end
19
19
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby2_6
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -36,7 +36,7 @@ cert_chain:
36
36
  gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
37
37
  4/bR9A==
38
38
  -----END CERTIFICATE-----
39
- date: 2023-05-21 00:00:00.000000000 Z
39
+ date: 2023-05-22 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-gradual
@@ -220,7 +220,7 @@ files:
220
220
  - lib/rubocop/ruby2_6.rb
221
221
  - lib/rubocop/ruby2_6/railtie.rb
222
222
  - lib/rubocop/ruby2_6/rakelib/rubocop_gradual.rake
223
- - lib/rubocop/ruby2_6/tasks.rake
223
+ - lib/rubocop/ruby2_6/tasks.rb
224
224
  - lib/rubocop/ruby2_6/version.rb
225
225
  - rubocop-lts/rails.yml
226
226
  - rubocop-lts/rails_rspec.yml
@@ -239,10 +239,10 @@ licenses:
239
239
  - MIT
240
240
  metadata:
241
241
  homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_6
242
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/tree/v2.0.2
243
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/blob/v2.0.2/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/tree/v2.0.3
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/blob/v2.0.3/CHANGELOG.md
244
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/issues
245
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_6/2.0.2
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_6/2.0.3
246
246
  funding_uri: https://liberapay.com/pboling
247
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/wiki
248
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file