rubocop-ruby1_9 2.0.3 → 2.0.4

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: 6052a5eb485136b65d875f5aee0762c56aa19a39e91d9b2e3d961faaa3065c27
4
- data.tar.gz: 59fe323de76fc6646ab10462bd3810310412023912ead14064447f45783475f3
3
+ metadata.gz: 42cc343721901283b8a7b1d4b85426fc3f9db50750ee0ed33d239250ef1603f7
4
+ data.tar.gz: 42d0a3491a483cf9728a7ceda2aa587303d5ba4e32fdb52ef0e11aa6a92373a4
5
5
  SHA512:
6
- metadata.gz: adc42c928dfc6b02f646611e27e7c8a0182caef954e972ad951527cf4a2f0aa7b6d453438ea8485dff286f1529ec9a91716f4b20dbf1e52522c232868d2eec64
7
- data.tar.gz: 1218d80afc0d09499be71062a5c3603fb0c63af0fc2a14076cff109283ad2a2774ac015baeca162df414579dfc619728c6475fd5f0f48173f8151f0aab788774
6
+ metadata.gz: 30bd4704f53276111ef4f278d790a813a809c8a5690dfa5bd7a131d1aa945467223785046c9cecfba4ceab18ceb82dd46ec2cd096f3b256eeef19705e0091c5e
7
+ data.tar.gz: 03d411bda65ae25b09867123211974b1d14578b283d9cf1a4c613d97a9bbabc80dcf97625354e43fdb6e4fa3e1ef229fe3eb857c45600c5531b57ec4c043a4e4
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@ 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.4] 2023-05-22
14
+ ### Fixed
15
+ - install_tasks and Railtie loading of rake tasks
16
+
13
17
  ## [2.0.3] 2023-05-21
14
18
  ### Fixed
15
19
  - Ship rake tasks in gem package
@@ -21,6 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
25
  ## [2.0.1] 2023-05-18
22
26
  ### Fixed
23
27
  - Fix rake_tasks hook on Railtie
28
+ ### Changed
29
+ - tasks.rake => tasks.rb
24
30
 
25
31
  ## [2.0.0] 2023-05-17 [YANKED]
26
32
  ### Added
@@ -79,7 +85,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
79
85
  ### Added
80
86
  - Initial release
81
87
 
82
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.3...HEAD
88
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.4...HEAD
89
+ [2.0.4]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.3...v2.0.4
83
90
  [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.2...v2.0.3
84
91
  [2.0.2]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.1...v2.0.2
85
92
  [2.0.1]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.0...v2.0.1
@@ -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::Ruby19.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/ruby1_9/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 Ruby19
5
5
  module Version
6
- VERSION = "2.0.3"
6
+ VERSION = "2.0.4"
7
7
  end
8
8
  end
9
9
  end
@@ -13,7 +13,7 @@ module Rubocop
13
13
  # Namespace of this library
14
14
  module Ruby19
15
15
  module_function def install_tasks
16
- load "rubocop/ruby1_9/tasks.rake"
16
+ load "rubocop/ruby1_9/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-ruby1_9
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
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/ruby1_9.rb
221
221
  - lib/rubocop/ruby1_9/railtie.rb
222
222
  - lib/rubocop/ruby1_9/rakelib/rubocop_gradual.rake
223
- - lib/rubocop/ruby1_9/tasks.rake
223
+ - lib/rubocop/ruby1_9/tasks.rb
224
224
  - lib/rubocop/ruby1_9/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-ruby1_9
242
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/tree/v2.0.3
243
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/blob/v2.0.3/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/tree/v2.0.4
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/blob/v2.0.4/CHANGELOG.md
244
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/issues
245
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby1_9/2.0.3
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby1_9/2.0.4
246
246
  funding_uri: https://liberapay.com/pboling
247
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/wiki
248
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file