rubocop-ruby3_1 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: 4a3b254df6c980f3bc5a8bfb55b4d388479f09802d4c6a849beffd337263dba8
4
- data.tar.gz: f450fd2fba41ef1c4a99212ef82e05dc38d1fb765d702d7104b2b6b6b2872650
3
+ metadata.gz: c5cb09bab3512ee02b80530907189e9130bd245900847ee6d01812f84381662a
4
+ data.tar.gz: d018e3adf66fc9d258e9292773932f7e22f8b1866ba37355d248d3031aedec6c
5
5
  SHA512:
6
- metadata.gz: 97536d7cfb454a75da8455ec68fb025929faa356fb23c7729954c88811f08554959fbb0e47f3c23f76a3e511b9765251f070a9a9ef50972b9f65c65c63814d8f
7
- data.tar.gz: 63b50e73de8ace35cebc4674357c630c1fea11ebd18ad41b9c2f651f47278bed246f8f589bf16fb046845bb4ad15ee960cfeb36710a18a6a7e4bd81877048b56
6
+ metadata.gz: b87e51b26855e26d1f223d45e4ad26ad50b97ca9850f42867478ce0072db83e085851609c909c74cb83fa82ba63484a0cef05b95e055a3117ed3ca1214782bd6
7
+ data.tar.gz: bd5fcf83a26481abd728744e7e259c3bc090ad3bfe87b2861aefe681df2a4dc5af7e83b84b923515def8916d5082c512f4a342347eb9b1377cb0cbdfb63d4b4f
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.4] 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.3] 2023-05-21
14
20
  ### Fixed
15
21
  - Ship rake tasks in gem package
@@ -106,7 +112,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
106
112
  ### Added
107
113
  * Initial release
108
114
 
109
- [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v2.0.3...HEAD
115
+ [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v2.0.4...HEAD
116
+ [2.0.4]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v2.0.3...v2.0.4
110
117
  [2.0.3]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v2.0.2...v2.0.3
111
118
  [2.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v2.0.1...v2.0.2
112
119
  [2.0.1]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/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::Ruby31.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/ruby3_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 Ruby31
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 Ruby31
15
15
  module_function def install_tasks
16
- load "rubocop/ruby3_1/tasks.rake"
16
+ load "rubocop/ruby3_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-ruby3_1
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/ruby3_1.rb
221
221
  - lib/rubocop/ruby3_1/railtie.rb
222
222
  - lib/rubocop/ruby3_1/rakelib/rubocop_gradual.rake
223
- - lib/rubocop/ruby3_1/tasks.rake
223
+ - lib/rubocop/ruby3_1/tasks.rb
224
224
  - lib/rubocop/ruby3_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-ruby3_1
242
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/tree/v2.0.3
243
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/v2.0.3/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/tree/v2.0.4
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/v2.0.4/CHANGELOG.md
244
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/issues
245
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_1/2.0.3
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_1/2.0.4
246
246
  funding_uri: https://liberapay.com/pboling
247
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/wiki
248
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file