rubocop-ruby2_7 2.0.3 → 2.0.4

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: a428a7b1c85559644e4930bfff384aceedc872b77dde1c5344eaf4d926143d29
4
- data.tar.gz: ee6fcda120545e44981f40efd1aa28119508bc1a931cdad927b3470eacc8cbc3
3
+ metadata.gz: d5e24ff00fd0e2d5fa43e56cf3e090366737a7c14537e77f367b186ed18349ea
4
+ data.tar.gz: b3ad23ce53cff04ba614a7147f018d0d246cf78dfa9a5dee4f6a7cc87fd133a3
5
5
  SHA512:
6
- metadata.gz: aaec0b0da219f3aa4b5242678f7a77fa24d19a583e308b22a2880496b067d32ee493c43369156b326c62a4c59bce5e51954dacc8eb33e31a573ce8d928cd526c
7
- data.tar.gz: 55dc7e444ff356d0e63754c2ec3dc59ba2d0cefbca501251b019e3e298ca8a4a4bc3ac7151a8fc28d9053a500d33aa68f2f714fbf58724ad0d428f3f50be3283
6
+ metadata.gz: 0a1b219dcbf1b0b641c35fdcf6b4249c0e7684d5a730cf1b98f9ff5f3919d261b97030beda9d31e09e3ae64ad7595c6d0f284b71d78ff8708d9585aa1741192a
7
+ data.tar.gz: 339411ca79e5cbfa49722e650ee105d5d6a9a04598f5714c0e3e4526a87a5d30851038db407772e2a407e535b8ddf8d9cace8760c896d13a9c2f76215fbcca6a
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
@@ -110,7 +116,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
110
116
  ### Added
111
117
  - Initial release
112
118
 
113
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.3...HEAD
119
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.4...HEAD
120
+ [2.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.3...v2.0.4
114
121
  [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.2...v2.0.3
115
122
  [2.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.1...v2.0.2
116
123
  [2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_7/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::Ruby27.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_7/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 Ruby27
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 Ruby27
15
15
  module_function def install_tasks
16
- load "rubocop/ruby2_7/tasks.rake"
16
+ load "rubocop/ruby2_7/tasks.rb"
17
17
  end
18
18
  end
19
19
  end
data.tar.gz.sig CHANGED
@@ -1,4 +1,2 @@
1
- ^��4�;�F�d�B�TJ���Q�����d_�(��˹
2
- 5v������/;TI6W�Þ7dj�&CݺR�?��"~��-�Q:
3
- ��'cd��զă�G JZ >����c��7d2�)�or=Ωҳ��7�q�!Z�w�2�l!���%Ǿqv������ ��
4
- a��f/,$p"��f�]��F5hM�΃V�̵g�W��JZ��K�?���DQ����j\��g%��3ju�':���η`?xǺ�#�T‰�eO D&3M��ֵ)��{�G�,���R��KzVÛ�Ȯ�� �B��-[�G��֠>��…���.{WeL&-�}�incP�< z�*�R�f(�8+��
1
+ �\�����`��Н.618i���`M��YT>-�lSAf���Q����+�Ž��/p��w`�d��Bi���'׺B%q
2
+ yj��CP[���jv��I]���e�Áᵱ�wV�#��t!� J�C
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby2_7
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/ruby2_7.rb
221
221
  - lib/rubocop/ruby2_7/railtie.rb
222
222
  - lib/rubocop/ruby2_7/rakelib/rubocop_gradual.rake
223
- - lib/rubocop/ruby2_7/tasks.rake
223
+ - lib/rubocop/ruby2_7/tasks.rb
224
224
  - lib/rubocop/ruby2_7/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_7
242
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/tree/v2.0.3
243
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v2.0.3/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/tree/v2.0.4
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v2.0.4/CHANGELOG.md
244
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
245
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/2.0.3
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/2.0.4
246
246
  funding_uri: https://liberapay.com/pboling
247
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/wiki
248
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file