rubocop-ruby2_6 2.0.3 → 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: cc978c800602021a50b2234db8bef45b568b79205005ed3f41583b1be5491a47
4
- data.tar.gz: 4b9ab1b4e360fae8fb3faa006cdf0bee01b0fb0ec4148feb1be2b4d1c128701c
3
+ metadata.gz: '00269cc804403ec3c8b5cc58d7f13308e447e450851d5e27494b367a6716ac4b'
4
+ data.tar.gz: 3ec9927a76f34d2f2c2811fc81409f163d734a6ff006d6a9b0aba37bc3e39a5f
5
5
  SHA512:
6
- metadata.gz: 1a313f9693a6aff84da647c25782db4000122b89223fe07e902d4010d9fd63d2407f3869e7aa485abf1a5505e24f1bcbde8844175884ca277b757f4a27cc59e7
7
- data.tar.gz: 1b7160c0753681c18a52eec0256079b1449a696ccde1538c08c7c2090404668a88049daabac3d6cff4044801ee76f7cba1e708f9afc9859b698b2377c80e78e3
6
+ metadata.gz: 5fc68a9d2a4e9448d0b2a142571c74eeef6c7999a97deee104c102ef7292a5a56e792200d1272ac446cd499cfa9c8a1fa432455d379bca3dceaaec321188919e
7
+ data.tar.gz: 97773aad161067facbbe0f48123ccd88e3b06a208f7a077af1298eff2bc07d2a9de1cc678f61cfe4a45c80c0b8cee7cf8e54f297e82b770b5099733098c9065f
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,6 +10,23 @@ 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-06-04
14
+ ### Added
15
+ - Dependencies
16
+ - yard-junk
17
+ - redcarpet
18
+ - pry, IRB alternative
19
+ - pry-suite
20
+ - debase, for IDE debugging
21
+ - Some rules should ignore specs/tests
22
+ - Style/MethodCallWithArgsParentheses
23
+ - Style/ClassAndModuleChildren
24
+ ### Fixed
25
+ - `yard` documentation task
26
+ ### Changed
27
+ - Added Include to inherit_mode: merge
28
+ - Updated dependency on standard-rubocop-lts
29
+
13
30
  ## [2.0.3] 2023-05-22
14
31
  ### Fixed
15
32
  - install_tasks and Railtie loading of rake tasks
@@ -99,7 +116,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
116
  ### Added
100
117
  - Initial release (yanked)
101
118
 
102
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.3...HEAD
119
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.4...HEAD
120
+ [2.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.3...v2.0.4
103
121
  [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.2...v2.0.3
104
122
  [2.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.1...v2.0.2
105
123
  [2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v2.0.0...v2.0.1
data/README.md CHANGED
@@ -365,7 +365,7 @@ the [Pessimistic Version Constraint][pvc] with two digits of precision.
365
365
  For example:
366
366
 
367
367
  ```ruby
368
- spec.add_dependency "rubocop-ruby2_6", "~> 2.0"
368
+ spec.add_dependency("rubocop-ruby2_6", "~> 2.0")
369
369
  ```
370
370
 
371
371
  [aboutme]: https://about.me/peter.boling
@@ -2,10 +2,10 @@ begin
2
2
  require "rubocop/gradual/rake_task"
3
3
 
4
4
  RuboCop::Gradual::RakeTask.new(:rubocop_gradual)
5
- desc "alias rubocop task to rubocop_gradual"
6
- task rubocop: :rubocop_gradual
5
+ desc("alias rubocop task to rubocop_gradual")
6
+ task(rubocop: :rubocop_gradual)
7
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"
8
+ task(:rubocop_gradual) do
9
+ warn("NOTE: rubocop-gradual isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
10
10
  end
11
11
  end
@@ -3,7 +3,7 @@
3
3
  module Rubocop
4
4
  module Ruby26
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 Ruby26
15
15
  module_function def install_tasks
16
- load "rubocop/ruby2_6/tasks.rb"
16
+ load("rubocop/ruby2_6/tasks.rb")
17
17
  end
18
18
  end
19
19
  end
@@ -7,3 +7,13 @@ inherit_gem:
7
7
 
8
8
  inherit_from:
9
9
  - strict/rspec.yml
10
+
11
+ Style/MethodCallWithArgsParentheses:
12
+ Exclude:
13
+ - 'spec/**/*'
14
+ - 'test/**/*'
15
+
16
+ Style/ClassAndModuleChildren:
17
+ Exclude:
18
+ - 'spec/**/*'
19
+ - 'test/**/*'
data/rubocop-lts/ruby.yml CHANGED
@@ -5,6 +5,7 @@
5
5
  inherit_mode:
6
6
  merge:
7
7
  - Exclude
8
+ - Include
8
9
 
9
10
  require:
10
11
  # Loads the Standard Ruby suite of gems, and configures for rubocop-lts:
@@ -21,10 +22,14 @@ require:
21
22
  # RuboCop Gradual can be used in "Require mode", which is a way to replace rubocop with rubocop-gradual:
22
23
  - rubocop/gradual/patch
23
24
 
25
+ # Rules are overridden in a LIFO stack.
26
+ # If rubocop-shopify is loaded first, and standard-rubocop-lts after it,
27
+ # then rubocop-shopify's rules will take precedence.
28
+ # This is the opposite of what you might expect.
29
+ # Below: rubocop-shopify rules will override standard-rubocop-lts's (i.e. standard's) rules.
24
30
  inherit_gem:
25
- standard-rubocop-lts: config/ruby-2.6.yml
26
- # shopify rules will override standard's rules.
27
31
  rubocop-shopify: rubocop.yml
32
+ standard-rubocop-lts: config/ruby-2.6.yml
28
33
 
29
34
  inherit_from:
30
35
  - strict/ruby.yml
data/rubocop.yml CHANGED
@@ -12,4 +12,4 @@
12
12
  # rubocop-ruby2_6: rubocop.yml # for the ruby + rspec
13
13
 
14
14
  inherit_from:
15
- - rubocop-lts/ruby_rspec.yml
15
+ - rubocop-lts/rubygem_rspec.yml
data.tar.gz.sig CHANGED
@@ -1 +1 @@
1
- }zR���zDJZK\U�)� B�]'���>uw$�d��v�Cl/�v��9�B�m��$I|�<����I���4������G"0)o��f'���q�Kg�AJ�KH�P�hU�l&�Js�3���u��?���`Jq2����?��(�Q����\�g@��UNSZ�ڣ�`�.�.sV;2H������%ˬݵ*D ��?�!Q���r�ωM>�Ff��sS��߄��~�,4�XH��
1
+ H��������Fi�M���3�F,:���g��/y'vb�<D��5:��+���PD�ܘyyS������OYxECe@�]m���f���� ,�������[�R���^�^I�m;��U`� xN�����bk|yu�!*�f1�\�X��������fP`�$�����q
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby2_6
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-22 00:00:00.000000000 Z
39
+ date: 2023-06-05 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-gradual
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 1.0.1
117
+ version: 1.0.6
118
118
  - - "<"
119
119
  - !ruby/object:Gem::Version
120
120
  version: '2'
@@ -124,7 +124,7 @@ dependencies:
124
124
  requirements:
125
125
  - - ">="
126
126
  - !ruby/object:Gem::Version
127
- version: 1.0.1
127
+ version: 1.0.6
128
128
  - - "<"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '2'
@@ -239,10 +239,10 @@ licenses:
239
239
  - MIT
240
240
  metadata:
241
241
  homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_6
242
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/tree/v2.0.3
243
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/blob/v2.0.3/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/tree/v2.0.4
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/blob/v2.0.4/CHANGELOG.md
244
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/issues
245
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_6/2.0.3
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_6/2.0.4
246
246
  funding_uri: https://liberapay.com/pboling
247
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/wiki
248
248
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
@@ -1,4 +1 @@
1
- }�q���h��u���Y['��!��jWi�i955m'4�{H
2
- _4J�>��dQV\$tD��pe�>��W�R�"³@3 m˂�O^;��޶�A� `�����wl[!�*ޭ�n}%�j��
3
- ����Z6���/ (~7p(`n �0�
4
- �?�1���iM��eߜN�!�e�@c����lІ�� ��a��Đ%��}�As�+
1
+ c�,r��Z7Wu���;}��ے�*�gf