rubocop-ruby2_0 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6ad262cc12c7acc8014281804508c99dfac1e6e96b7e082231770fe57f139cb
4
- data.tar.gz: 335df629c083db514ec2048a9d987455a62d3493f9080b64b797990659226bac
3
+ metadata.gz: 50d88cbd30902d6a8035bb34ce725972989fcdd050a3623a4f8724a14809d963
4
+ data.tar.gz: 2b31dd8b2e7d91c01623f3efc2a0e036d8ffd37364281c7b427dcda97b62967d
5
5
  SHA512:
6
- metadata.gz: 714009d17a1ee35f7dd811a76439dabe029220df7748d3628a750a590db3407abed5d4b1771fa300bfc1c8dbf5bbb17eab445e100c74f5c167fa0bfe0adb44fa
7
- data.tar.gz: d15b6890bfd41edeabd3a289f7500a1c368340e09d0bc2bd3d1011720baf6d82f33228413a6fb57333dff8764e8bcc1be526510fa84536dbfebbcc8c9c985dd3
6
+ metadata.gz: 0adaf6bb86f2c296c3e8a16e6697afb541a4f479920e87c872a1bb410805a4c096327a48f92b2c363c310bb08b01fc4b413e72e460579a09b54e2bbd583bcfad
7
+ data.tar.gz: 96c2c10015491121fa51e8f73f1e64a7e874872df6d0d3bbf8bb5df22d66b11e92ccd190c6c1a5cb8447858d1408215234d0412bfb9aa3a711f4125a08ab9766
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
- ## [2.0.1] 2023-05-21
13
+ ## [2.0.3] 2023-05-22
14
14
  ### Fixed
15
- - Ship rakelib/**/*.rake tasks
15
+ - install_tasks and Railtie loading of rake tasks
16
+ ### Changed
17
+ - tasks.rake => tasks.rb
18
+
19
+ ## [2.0.2] 2023-05-21
20
+ ### Fixed
21
+ - Ship rake tasks in gem package
16
22
 
17
23
  ## [2.0.1] 2023-05-18
18
24
  ### Fixed
@@ -69,7 +75,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
69
75
  ### Added
70
76
  - Initial release
71
77
 
72
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.2...HEAD
78
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.3...HEAD
79
+ [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.2...v2.0.3
73
80
  [2.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.1...v2.0.2
74
81
  [2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.0...v2.0.1
75
82
  [2.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v1.0.5...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::Ruby20.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_0/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 Ruby20
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 Ruby20
15
15
  module_function def install_tasks
16
- load "rubocop/ruby2_0/tasks.rake"
16
+ load "rubocop/ruby2_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-ruby2_0
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_0.rb
221
221
  - lib/rubocop/ruby2_0/railtie.rb
222
222
  - lib/rubocop/ruby2_0/rakelib/rubocop_gradual.rake
223
- - lib/rubocop/ruby2_0/tasks.rake
223
+ - lib/rubocop/ruby2_0/tasks.rb
224
224
  - lib/rubocop/ruby2_0/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_0
242
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/tree/v2.0.2
243
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/blob/v2.0.2/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/tree/v2.0.3
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/blob/v2.0.3/CHANGELOG.md
244
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/issues
245
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_0/2.0.2
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_0/2.0.3
246
246
  funding_uri: https://liberapay.com/pboling
247
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/wiki
248
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file