rubocop-ruby2_3 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: 9aeffd84123d0ea417628ba42f82d0807735005140608cf5667006e79cd3d793
4
- data.tar.gz: 04a4ecfef2af2e8bb1e3e20b8a9369177f2ca677fa609ea1e9245a59b137818a
3
+ metadata.gz: '02387ba94e28daccf9d446e8555d97da7a81bce9a25dfb60aa3166f25938958f'
4
+ data.tar.gz: 324c2f2155d088c2aa7691d2f5532726d3723ddd78e5c14a28a3371b10223338
5
5
  SHA512:
6
- metadata.gz: df7ecfd08ef8c7c3b449c2a4ef23e97d2c2e18db5cc5d2298430cb8abaf591c1c68b7398dda0ef4dddd614a3022251ef6cd588edbd164e512c9193f6506fb8fd
7
- data.tar.gz: b47b9bf84967b00eefc3c7f49a481006677f8fc8c2bbe38289cbf4ec88b80720b38e73eb3a30bfce653c6f842b199e67a5e334cc57a5ca9487ba103b29b47371
6
+ metadata.gz: d1a99233b76c523c14d44dd973c9016fa0498d9853882980724c4451ef2b85d2e63a6b2dd7dd30ab1faf139b975d9b8f5635a9c136023a904e19754531685832
7
+ data.tar.gz: e508ee029a6b7b90f63906d34a838754e8bcb6a276016088cc8a7c1dee02a80cd821d4006da27adf0408d0ae312e92ab95e3687494d9b9fea2d2445e24646366
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@ 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
21
  - Ship rake tasks in gem package
@@ -60,7 +66,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
60
66
  ### Added
61
67
  - Initial release
62
68
 
63
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_3/compare/v2.0.2...HEAD
69
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_3/compare/v2.0.3...HEAD
70
+ [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_3/compare/v2.0.2...v2.0.3
64
71
  [2.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_3/compare/v2.0.1...v2.0.2
65
72
  [2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_3/compare/v2.0.0...v2.0.1
66
73
  [2.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_3/compare/v1.0.3...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::Ruby23.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_3/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 Ruby23
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 Ruby23
15
15
  module_function def install_tasks
16
- load "rubocop/ruby2_3/tasks.rake"
16
+ load "rubocop/ruby2_3/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_3
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_3.rb
221
221
  - lib/rubocop/ruby2_3/railtie.rb
222
222
  - lib/rubocop/ruby2_3/rakelib/rubocop_gradual.rake
223
- - lib/rubocop/ruby2_3/tasks.rake
223
+ - lib/rubocop/ruby2_3/tasks.rb
224
224
  - lib/rubocop/ruby2_3/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_3
242
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/tree/v2.0.2
243
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/blob/v2.0.2/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/tree/v2.0.3
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/blob/v2.0.3/CHANGELOG.md
244
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/issues
245
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_3/2.0.2
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_3/2.0.3
246
246
  funding_uri: https://liberapay.com/pboling
247
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/wiki
248
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file