rubocop-ruby2_1 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: 1b00ccf4166fe203e462e625d2c39e399b9a85fc971842dad8eb1592063c4987
4
- data.tar.gz: 9580652ff5332af9bddc37388f84f8e8e15bb5e9d08b3f66ec3d80435ab2befd
3
+ metadata.gz: 853462309bfec898fddd9cc352b5bd020efe4fc81a6446e202f3ab00aeec512b
4
+ data.tar.gz: ae4ae68a705a36652a35c816ae91cc89c40863657ff58d349b735d7ecad7409e
5
5
  SHA512:
6
- metadata.gz: 52cbf2f1bf2e05f436e4b99a04192df16e839fba7c0191ce37b5dab00f2ce0e387713945fcdce620584804320a77521d3e1b5ddfa8ab7ba75d65ce3b363a183d
7
- data.tar.gz: 5b3419801bfaad327656bf736dc81fb50428e05ef4bd7b48a2f617589dd046b66fda82321d73ec448cc12c934fb791f3d7fc3997f3d0a656763bb46f89bc752d
6
+ metadata.gz: ff7e7dff1b7381d5942ddb494abac4e67cf3371ae54b16d6fb047fe699664cc274460b6f6da01d8bf3c90100cadf7f1541ae4ac7aff3030c27c45164188669e1
7
+ data.tar.gz: 949752985938f49c8d034c0344cc0850ac29a94cc65493caa0d881bd55071c5f6b74988abd4fd3b94d646837f6a53d1a925533100f4800652b32cea1c1164554
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
@@ -66,7 +72,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
72
  ### Added
67
73
  - Initial release
68
74
 
69
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v2.0.2...HEAD
75
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v2.0.3...HEAD
76
+ [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v2.0.2...v2.0.3
70
77
  [2.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v2.0.1...v2.0.2
71
78
  [2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v2.0.0...v2.0.1
72
79
  [2.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v1.0.4...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::Ruby21.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_1/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 Ruby21
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 Ruby21
15
15
  module_function def install_tasks
16
- load "rubocop/ruby2_1/tasks.rake"
16
+ load "rubocop/ruby2_1/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_1
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_1.rb
221
221
  - lib/rubocop/ruby2_1/railtie.rb
222
222
  - lib/rubocop/ruby2_1/rakelib/rubocop_gradual.rake
223
- - lib/rubocop/ruby2_1/tasks.rake
223
+ - lib/rubocop/ruby2_1/tasks.rb
224
224
  - lib/rubocop/ruby2_1/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_1
242
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_1/tree/v2.0.2
243
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_1/blob/v2.0.2/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_1/tree/v2.0.3
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_1/blob/v2.0.3/CHANGELOG.md
244
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_1/issues
245
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_1/2.0.2
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_1/2.0.3
246
246
  funding_uri: https://liberapay.com/pboling
247
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_1/wiki
248
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file