rubocop-ruby3_0 2.0.2 → 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: f75c468a206c10ffc916a3430fa6ca58687fa8ebb2cb90286b155c208693cf67
4
- data.tar.gz: 9eb126c41a8548dc373bfa6b60e4e1e9aa357ae85d84cfb3b24a421ea801cbe3
3
+ metadata.gz: a556b4633380e7e6c42d2f23a9f5ff7b017001c81b7f70889ea049cff9c75178
4
+ data.tar.gz: b3c3bb6329c6d5fdb205799733c41009bc3e773b5aaa5cf86193c67404d01f1d
5
5
  SHA512:
6
- metadata.gz: cbff995abff5402119554cb00e38fd09cb6fe5395283a421eab6e0315e3fa671c33a33e18c802832c4d7fd20f74cc8303517122a411226a693cbde133dc82896
7
- data.tar.gz: 4e8bb1de24ef4ad61dcab358c6ac3b10b0ce759b2a991581c6befab2933534cbb59ba730d8c66e9c7c6f93245d9c22cc1fc9798c9a0941d6aa3e37339fbe9f77
6
+ metadata.gz: a47413b82eb47cf4a293dada293a4430aa6dd7f9382d93014ce75c84279b8f099175aa5f907194bbad84c14c36154678cc584ff6f36475c460257de8f5dacd55
7
+ data.tar.gz: ff44f326270fe901ef22747c72ef61bb7a8d2040971b746a9dfed66d85437e137d183801974669a61077c6d99799832a21b054fdf7b641ae83ab8af963e3e00b
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,12 +10,17 @@ 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.2] 2023-05-19
13
+ ## [2.0.4] 2023-05-22
14
14
  ### Fixed
15
- - Ship rakelib/**/*.rake tasks
16
- - Fix rake_tasks hook on Railtie
15
+ - install_tasks and Railtie loading of rake tasks
16
+ ### Changed
17
+ - tasks.rake => tasks.rb
18
+
19
+ ## [2.0.3] 2023-05-21
20
+ ### Fixed
21
+ - Ship rake tasks in gem package
17
22
 
18
- ## [2.0.1] 2023-05-17 [YANKED]
23
+ ## [2.0.2] 2023-05-19
19
24
  ### Added
20
25
  - Configs added for:
21
26
  - standard-performance
@@ -25,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
30
  - betterlint
26
31
  - standard-rails
27
32
  - version_gem
33
+ ### Fixed
34
+ - Fix rake_tasks hook on Railtie
28
35
 
29
36
  ## [2.0.0] 2023-05-09 [YANKED]
30
37
  ### Changed
@@ -101,8 +108,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
101
108
  ### Added
102
109
  * Initial release
103
110
 
104
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v2.0.1...HEAD
105
- [2.0.0]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v2.0.0...v2.0.1
111
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v2.0.4...HEAD
112
+ [2.0.4]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v2.0.3...v2.0.4
113
+ [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v2.0.2...v2.0.3
114
+ [2.0.2]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v2.0.0...v2.0.2
106
115
  [2.0.0]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.1.2...v2.0.0
107
116
  [1.1.2]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.1.1...v1.1.2
108
117
  [1.1.1]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.1.0...v1.1.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::Ruby30.install_tasks
10
9
  end
11
10
  end
12
11
  end
@@ -0,0 +1,11 @@
1
+ begin
2
+ require "rubocop/gradual/rake_task"
3
+
4
+ RuboCop::Gradual::RakeTask.new(:rubocop_gradual)
5
+ desc "alias rubocop task to rubocop_gradual"
6
+ task rubocop: :rubocop_gradual
7
+ rescue LoadError
8
+ task :rubocop_gradual do
9
+ warn "NOTE: rubocop-gradual isn't installed, or is disabled for #{RUBY_VERSION} in the current environment"
10
+ end
11
+ end
@@ -0,0 +1,5 @@
1
+ # Load from a "rakelib" directory is automatic!
2
+ # Adding our custom directory of tasks as a rakelib directory makes them available.
3
+ abs_path = File.expand_path(__dir__)
4
+ rakelib = "#{abs_path}/rakelib"
5
+ Rake.add_rakelib(rakelib)
@@ -3,7 +3,7 @@
3
3
  module Rubocop
4
4
  module Ruby30
5
5
  module Version
6
- VERSION = "2.0.2"
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 Ruby30
15
15
  module_function def install_tasks
16
- load "rubocop/ruby3_0/tasks.rake"
16
+ load "rubocop/ruby3_0/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_0
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
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-19 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
@@ -219,6 +219,8 @@ files:
219
219
  - SECURITY.md
220
220
  - lib/rubocop/ruby3_0.rb
221
221
  - lib/rubocop/ruby3_0/railtie.rb
222
+ - lib/rubocop/ruby3_0/rakelib/rubocop_gradual.rake
223
+ - lib/rubocop/ruby3_0/tasks.rb
222
224
  - lib/rubocop/ruby3_0/version.rb
223
225
  - rubocop-lts/rails.yml
224
226
  - rubocop-lts/rails_rspec.yml
@@ -237,10 +239,10 @@ licenses:
237
239
  - MIT
238
240
  metadata:
239
241
  homepage_uri: https://github.com/rubocop-lts/rubocop-ruby3_0
240
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/tree/v2.0.2
241
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/blob/v2.0.2/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/tree/v2.0.4
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/blob/v2.0.4/CHANGELOG.md
242
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/issues
243
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_0/2.0.2
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_0/2.0.4
244
246
  funding_uri: https://liberapay.com/pboling
245
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/wiki
246
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file