rubocop-ruby1_8 1.0.4 → 1.0.5

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: c8487c2e45cf6357fc4db4cf0ba232243219586e06e38494120351808d1342dc
4
- data.tar.gz: af703125b03cbd1325f4efb1f36b9a8c3a398eef1954ad8da391c27f257c603d
3
+ metadata.gz: 1d5b254c0ae2bd32221eefdc2482cab0efad4378a763d2e425f8083e728bd89e
4
+ data.tar.gz: a672bacb8c8c09e6fdf1449ac2bf245b3425185cfecdfe22dff91ebdb5e54e00
5
5
  SHA512:
6
- metadata.gz: 91b222397fc34584159bf4188c49a0b0341d73a5204e93cd080e8c025fd8d266990cb9d8c5cb9734dc9aadcb30337396da55b329acbcdc8bd9046b269372a1c5
7
- data.tar.gz: f1306c49ab2a9f40bd7725c1082f8dac5b7e7bd79bffec8a764eaaa7e0d3f42dafeeede7328974ceaa7642582dbd9c9ef03cb36941834e828a35438cf2b60ba1
6
+ metadata.gz: 1d29869e4a35ebeb5c0150a88165c277ac68da0c88804cb7bfbf3aab0cb25cd78a5e2134c3e66557ca201be08a1c4f10b82d97f40355c5dffc864383ae1dbb07
7
+ data.tar.gz: a2b65fbfaa3f91f44047c5b416837afb5d5acf145721eedcee0028bf7aae8607b7fcde537e08d4d5ad9eb4dd2e792ca0ed5f0a01507498df5262c9461a8e62a7
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
+ ## [1.0.5] 2023-05-22
14
+ ### Fixed
15
+ - install_tasks and Railtie loading of rake tasks
16
+
13
17
  ## [1.0.4] 2023-05-21
14
18
  ### Fixed
15
19
  - Ship rake tasks in gem package
20
+ ### Changed
21
+ - tasks.rake => tasks.rb
16
22
 
17
23
  ## [1.0.3] 2023-05-18
18
24
  ### Fixed
@@ -50,7 +56,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
50
56
  - betterlint
51
57
  - standard-rails
52
58
 
53
- [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby1_8/-/compare/v1.0.4...HEAD
59
+ [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby1_8/-/compare/v1.0.5...HEAD
60
+ [1.0.5]: https://gitlab.com/rubocop-lts/rubocop-ruby1_8/-/compare/v1.0.4...v1.0.5
54
61
  [1.0.4]: https://gitlab.com/rubocop-lts/rubocop-ruby1_8/-/compare/v1.0.3...v1.0.4
55
62
  [1.0.3]: https://gitlab.com/rubocop-lts/rubocop-ruby1_8/-/compare/v1.0.2...v1.0.3
56
63
  [1.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby1_8/-/compare/v1.0.1...v1.0.2
@@ -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::Ruby18.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_8/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 Ruby18
5
5
  module Version
6
- VERSION = "1.0.4"
6
+ VERSION = "1.0.5"
7
7
  end
8
8
  end
9
9
  end
@@ -13,7 +13,7 @@ module Rubocop
13
13
  # Namespace of this library
14
14
  module Ruby18
15
15
  module_function def install_tasks
16
- load "rubocop/ruby1_8/tasks.rake"
16
+ load "rubocop/ruby1_8/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_8
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
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_8.rb
221
221
  - lib/rubocop/ruby1_8/railtie.rb
222
222
  - lib/rubocop/ruby1_8/rakelib/rubocop_gradual.rake
223
- - lib/rubocop/ruby1_8/tasks.rake
223
+ - lib/rubocop/ruby1_8/tasks.rb
224
224
  - lib/rubocop/ruby1_8/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_8
242
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/tree/v1.0.4
243
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/blob/v1.0.4/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/tree/v1.0.5
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/blob/v1.0.5/CHANGELOG.md
244
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/issues
245
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby1_8/1.0.4
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby1_8/1.0.5
246
246
  funding_uri: https://liberapay.com/pboling
247
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/wiki
248
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file