rubocop-ruby3_2 2.0.3 → 2.0.5

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: f2d9c64970d82c7ced4e3278297d4b9d0cb775c0a046e5c9b5425438b480fed9
4
- data.tar.gz: f8741dbc3e25e80715361b6bd8ab340f29f3e518fd0ec3fbd0993e82129a36af
3
+ metadata.gz: 4d78e81ce9180d4fdad20c9d631d777fa7108862bcb13e56b9f92c7fb3ef9764
4
+ data.tar.gz: 820d08fc9febadfecc72145ac769ed15fd23c2a0847a579c73d657d4cfd8cfe1
5
5
  SHA512:
6
- metadata.gz: 31b0c50431557de7b0e24049ee753f33409b70a54591741c61cdc7ca46761e8aff92d6e7448bc1c48660c3cb2414b9bcc70cedfc88dafa964a0d5bb1e528b994
7
- data.tar.gz: fad36f4d2af0bdb198f064e0ae6c7e45e74f568b76233353f9aae20e1ed37338c369888f1df65dc4c256071c139d145455751e2887c5bd0929af580b346b495b
6
+ metadata.gz: c2a9ac281e132b3c9ca152a5ec7bf6a22a1cec985c17531c8b33fdb8ab9256a359d8c03d4cf09c9791a85a9c748b64e5bb938d0a5d72babd9c732dd3f0c38084
7
+ data.tar.gz: 53e77978907e050f07f24ee6035b3f9e25f9d9d4087a217b6dd9edf6ed5d3e382406ff1d7cbb75a346746a3307282042f499730149bea43cb6fa24fca7fe1a0c
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,9 +10,18 @@ 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.5] 2023-05-22
14
+ ### Fixed
15
+ - install_tasks and Railtie loading of rake tasks
16
+ ### Changed
17
+ - tasks.rake => tasks.rb
18
+
19
+ ## [2.0.4] 2023-05-21
20
+ ### Fixed
21
+ - Ship rake tasks in gem package
22
+
13
23
  ## [2.0.3] 2023-05-19
14
24
  ### Fixed
15
- - Ship rakelib/**/*.rake tasks
16
25
  - Fix rake_tasks hook on Railtie
17
26
 
18
27
  ## [2.0.2] 2023-05-17 [YANKED]
@@ -45,7 +54,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
45
54
  - standard-rails
46
55
  - version_gem
47
56
 
48
- [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby3_2/-/compare/v2.0.3...HEAD
57
+ [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby3_2/-/compare/v2.0.5...HEAD
58
+ [2.0.5]: https://gitlab.com/rubocop-lts/rubocop-ruby3_2/-/compare/v2.0.4...v2.0.5
59
+ [2.0.4]: https://gitlab.com/rubocop-lts/rubocop-ruby3_2/-/compare/v2.0.3...v2.0.4
49
60
  [2.0.3]: https://gitlab.com/rubocop-lts/rubocop-ruby3_2/-/compare/v2.0.2...v2.0.3
50
61
  [2.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby3_2/-/compare/v2.0.1...v2.0.2
51
62
  [2.0.1]: https://gitlab.com/rubocop-lts/rubocop-ruby3_2/-/compare/91d4f2ff323ce25ebe8476244d50bb786fbb78f9...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::Ruby32.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 Ruby32
5
5
  module Version
6
- VERSION = "2.0.3"
6
+ VERSION = "2.0.5"
7
7
  end
8
8
  end
9
9
  end
@@ -13,7 +13,7 @@ module Rubocop
13
13
  # Namespace of this library
14
14
  module Ruby32
15
15
  module_function def install_tasks
16
- load "rubocop/ruby3_2/tasks.rake"
16
+ load "rubocop/ruby3_2/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_2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.5
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_2.rb
221
221
  - lib/rubocop/ruby3_2/railtie.rb
222
+ - lib/rubocop/ruby3_2/rakelib/rubocop_gradual.rake
223
+ - lib/rubocop/ruby3_2/tasks.rb
222
224
  - lib/rubocop/ruby3_2/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_2
240
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/tree/v2.0.3
241
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/blob/v2.0.3/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/tree/v2.0.5
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/blob/v2.0.5/CHANGELOG.md
242
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/issues
243
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_2/2.0.3
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_2/2.0.5
244
246
  funding_uri: https://liberapay.com/pboling
245
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/wiki
246
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
@@ -1,2 +1,5 @@
1
- ;,�e�I`�`�Ŧ�%k6�[L�P�&��Y^K��NL&䭨��~'�]��Q4^+psPz6��su L�C5*P34un{�CR��Aݚ��ڛ�l�'Q�O�p �j� �R�k2]e�â�i�|T���� ��2I"[��>ݥ������v2��ޯ'����/��{�~����KK����J����r��F�=�JA@u�2�X�9L�PӴ�x�Ut� �����^8#8�<����m�'ձ�N�/�*�;��&Ĺ����Y-lI�
2
- � +�,�:���������A��u%h�!#��|�{��Ӿk9�+��r��֜®>���R &f����ye�M��H �m��D��,u�$W�x+�L�=W�#�A�p� ��ׄ�Ӱ��SlK
1
+ ��Tޯ�꧘ ݈���H+`o8�� l{(�{�<�����%!O��⭼6
2
+ T��)��a�4��f_���jJ)W��1\u
3
+ w�I��1�ƚc�tK�s�FKh1OEM�$ͷk�lxh� ۊ�C ����8!��~����~��E��@�u�L���.�9B��[��L ٯ�vu�ʖ +�w>�RW�񆵾�p|d;Ճ~]�G��P���PR%�W})c��O7�D&�
4
+ �ȹ[q�Q �?��G�g�H�V���\&,�8ˋ�滪���}�FN;��?�Y(�}�Cuc���&'��� )†�>䪸��=f�� �[B$����q�.xr�m�_Q6@Ό����
5
+ j�� ֵ�@ϯjƌ����/e�y�?�(��