rubocop-ruby2_5 2.0.1 → 2.0.3

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: 10eebd5766722b0b5d0e51139ae0e9f5c71e7d6664dee58e53cc2ee7b89b5296
4
- data.tar.gz: b0be2e602e488b35dabcf16cb45d3882868451f1d34c0466f6ac0f8f2bac66dc
3
+ metadata.gz: 3978fdfad8b37967b535ce3c38301aa213999469a9618bd5fe36e22676c5caf9
4
+ data.tar.gz: 56ba3471a63cefba31ccbed032c9a75841e7bbaf48dad136be8652798a8b0dd6
5
5
  SHA512:
6
- metadata.gz: cd17b544038c54adc18f024a1547acadce7197f80f7922cea09c2999c0730f10913055ce366fde744493435494b23609c436b594be9c2eb8af23937e844b928d
7
- data.tar.gz: ffca80efe11c7b1f84553b14badc2a11e51be97cbbfb3a07efbfada381f23c975a0cb7f4572665fcda0701f2ba2f9b3b8e0e69cc4c3c04f875f6667023944a72
6
+ metadata.gz: de209036cb4a706d20b1e1a382e87d256b580cd6feb874c6d92b301c8e75fa789f4c97066c0ee93ebc598a254a973a23fb6e7114424e539ba26536dae275c46c
7
+ data.tar.gz: cc397060d687ac165e483160e78db6e41b7e99bad7ac8109982369d98f4590f6e0091fdfac0d1c43991696c33a9b072af6a8e71d57e6ee5c392af456804098e9
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1 @@
1
- D�i~�gG�+'J=/@i ��G�I$��Pd��2Z��|l���zuU�y� ^��A*��Qo��Cm��5�����I��
2
- 1� v+��Sn3�.IX��u��g��2}M���u��5^�%����C,|4���}��C��R]~X-fUҋb��{����Cy��<5`��|CW!�:�.Qf��;ߞ�eY�tc��M���
1
+ ���NޟP7�f�#3!�W#Sm5`�k�s;Q �K���i�[�{����ɸ�ʫk�l�6�b� t�Zy�����*��|��nq���Z+���v����N��v*���٘ xB|����1"�Mj���Hp�>1׳�u����>n���QaN؝�KٸS+���j��h�\���I���س���A�EH�/��kv2�#�(�P{XER��Є����Ej"� ��S=2v��[^ _~ٲM��&�Ua�x� {��E��vޟ�B��C�'�V�jS�RΘtI���RQo�G�e<"B?���R7�tƺ�y���i5��[�}��6�3�[~+K��]e$��Oc�\�EmcG��:B���5��GmN3U!�P M�1 x����
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.1] 2023-05-18
13
+ ## [2.0.3] 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.2] 2023-05-21
20
+ ### Fixed
21
+ - Ship rake tasks in gem package
22
+
23
+ ## [2.0.1] 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.0] 2023-05-17 [YANKED]
@@ -61,7 +70,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
61
70
  ### Added
62
71
  - Initial release
63
72
 
64
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v2.0.1...HEAD
73
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v2.0.3...HEAD
74
+ [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v2.0.2...v2.0.3
75
+ [2.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v2.0.1...v2.0.2
65
76
  [2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v2.0.0...v2.0.1
66
77
  [2.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v1.0.3...v2.0.0
67
78
  [1.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v1.0.2...v1.0.3
@@ -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::Ruby25.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 Ruby25
5
5
  module Version
6
- VERSION = "2.0.1"
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 Ruby25
15
15
  module_function def install_tasks
16
- load "rubocop/ruby2_5/tasks.rake"
16
+ load "rubocop/ruby2_5/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_5
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
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-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/ruby2_5.rb
221
221
  - lib/rubocop/ruby2_5/railtie.rb
222
+ - lib/rubocop/ruby2_5/rakelib/rubocop_gradual.rake
223
+ - lib/rubocop/ruby2_5/tasks.rb
222
224
  - lib/rubocop/ruby2_5/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-ruby2_5
240
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/tree/v2.0.1
241
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/blob/v2.0.1/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/tree/v2.0.3
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/blob/v2.0.3/CHANGELOG.md
242
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/issues
243
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_5/2.0.1
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_5/2.0.3
244
246
  funding_uri: https://liberapay.com/pboling
245
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/wiki
246
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file