rubocop-ruby3_2 3.0.4 → 3.0.5

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: 10e8dd6897f9408f5cbb887854f6e7488944b836c1da52255be062668547d822
4
- data.tar.gz: b7bceeb74ec70ffea544128f50b971e3d84d3741ca46a018e531dbffebb4c62c
3
+ metadata.gz: d42b36c09286fe8f383b6c5cf2bc1efe1a1cfaa4acfa45381502633b093c4bea
4
+ data.tar.gz: 3866cf536fe69710ac7589273b81a91ac603bbe30acfd36ca0a94994298ea06b
5
5
  SHA512:
6
- metadata.gz: b972b6fd87aa545ca2e8cb028ffcc5c8c3f949a6dd5424dbccae531ba35b005c96b168ad6f5a41c8467e7b7f45ef62f2b98d85c119acd6417ed3e0a1c3ea6004
7
- data.tar.gz: bf0da6cbb589b0f4b748759ce84527efc029189c5ed7316d8dc142677ed339680c1dd8fb8cb40d5f0dd192e078abd792bd0066ddb5d17ffbc049c7c33c0b2cd9
6
+ metadata.gz: 9041b9ca7fc97fc2efa1ae4ebe8571ef3a3fd0fbf27cd3093602d9142685870d60d4499800ed436e5e6476988514d027dc6b762cfa4b4b900c114c4245e0ee11
7
+ data.tar.gz: d0c7496546e7f5073c0e27e4ae176fefdecce85965ff438f98fefc0d1d9d8df7928fbec9e4e7dca75b1f550f0c02db8fde5c57d44a9ff6cdc5b29016b18e61fa
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,18 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [3.0.5] - 2026-06-26
34
+
35
+ - TAG: [v3.0.5][3.0.5t]
36
+ - COVERAGE: 55.17% -- 16/29 lines in 5 files
37
+ - BRANCH COVERAGE: 0.00% -- 0/2 branches in 5 files
38
+ - 42.86% documented
39
+
40
+ ### Fixed
41
+
42
+ - Restored the destination `spec.files` package declaration so the built gem
43
+ includes its `rubocop-lts/*.yml` RuboCop configuration files.
44
+
33
45
  ## [3.0.4] - 2026-06-25
34
46
 
35
47
  - TAG: [v3.0.4][3.0.4t]
@@ -196,7 +208,9 @@ Please file a bug if you notice a violation of semantic versioning.
196
208
  - standard-rails
197
209
  - version_gem
198
210
 
199
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_2/compare/v3.0.4...HEAD
211
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_2/compare/v3.0.5...HEAD
212
+ [3.0.5]: https://github.com/rubocop-lts/rubocop-ruby3_2/compare/v3.0.4...v3.0.5
213
+ [3.0.5t]: https://github.com/rubocop-lts/rubocop-ruby3_2/releases/tag/v3.0.5
200
214
  [3.0.4]: https://github.com/rubocop-lts/rubocop-ruby3_2/compare/v3.0.2...v3.0.4
201
215
  [3.0.4t]: https://github.com/rubocop-lts/rubocop-ruby3_2/releases/tag/v3.0.4
202
216
  [3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby3_2/-/compare/v3.0.1...v3.0.2
data/CONTRIBUTING.md CHANGED
@@ -131,9 +131,12 @@ toolchain, and it may be higher than the gemspec runtime floor.
131
131
  They are created and updated with the commands:
132
132
 
133
133
  ```console
134
- bin/rake appraisal:update
134
+ bin/rake appraisal:generate
135
135
  ```
136
136
 
137
+ Use `bin/rake appraisal:update` when you intentionally need to resolve fresh
138
+ appraisal locks.
139
+
137
140
  If you need to reset all gemfiles/*.gemfile.lock files:
138
141
 
139
142
  ```console
@@ -3,7 +3,7 @@
3
3
  module Rubocop
4
4
  module Ruby32
5
5
  module Version
6
- VERSION = "3.0.4"
6
+ VERSION = "3.0.5"
7
7
  end
8
8
  VERSION = Version::VERSION # Traditional Constant Location
9
9
  end
@@ -0,0 +1,20 @@
1
+ # Customizations/Deviations from Standard for RuboCop-LTS Rails Coding Standards
2
+ inherit_from:
3
+ - ruby.yml
4
+ - strict/rails.yml
5
+
6
+ require:
7
+ - rubocop-rails
8
+
9
+ # Rules are overridden in a LIFO stack.
10
+ # If betterlint is listed first, and standard-rails after it,
11
+ # then betterlint's rules will take precedence.
12
+ # This is the opposite of what you might expect.
13
+ # Below: betterlint's rules override standard-rails rules
14
+ inherit_gem:
15
+ betterlint:
16
+ - config/default.yml
17
+ standard-rails:
18
+ - config/base.yml
19
+
20
+ # Rails specific customizations
@@ -0,0 +1,6 @@
1
+ # Customizations/Deviations from Standard for RuboCop-LTS Rails w/ RSpec Coding Standards
2
+ inherit_from:
3
+ - rails.yml
4
+ - rspec.yml
5
+
6
+ # Rails/RSpec specific customizations
@@ -0,0 +1,15 @@
1
+ inherit_gem:
2
+ rubocop-lts-rspec: config/ruby-3.2.yml
3
+
4
+ inherit_from:
5
+ - strict/rspec.yml
6
+
7
+ Style/MethodCallWithArgsParentheses:
8
+ Exclude:
9
+ - 'spec/**/*'
10
+ - 'test/**/*'
11
+
12
+ Style/ClassAndModuleChildren:
13
+ Exclude:
14
+ - 'spec/**/*'
15
+ - 'test/**/*'
@@ -0,0 +1,45 @@
1
+ # Customizations/Deviations from Standard for Ruby Coding Standards
2
+
3
+ # We want "Exclude" and "Include" directives from different
4
+ # config files to get merged, not overwritten
5
+ inherit_mode:
6
+ merge:
7
+ - Exclude
8
+ - Include
9
+
10
+ plugins:
11
+ # Lint Markdown code examples through RuboCop's plugin API.
12
+ - rubocop-md
13
+ # Rubygems, and Rails apps have Rakefile as a convention, and if they don't, why not?
14
+ # Other Ruby projects don't have a Rakefile by default, so if needed we could add a ruby_vanilla.yml.
15
+ # With Rakefile seems more common than without for projects that bother to install a linter.
16
+ - rubocop-rake
17
+ # Warn about thread unsafe code in the broad LTS Ruby profile.
18
+ - rubocop-thread_safety
19
+
20
+ require:
21
+ # Loads the Standard Ruby suite of gems, and configures for rubocop-lts:
22
+ - standard-rubocop-lts
23
+ # RuboCop Gradual can be used in "Require mode", which is a way to replace rubocop with rubocop-gradual:
24
+ - rubocop/gradual/patch
25
+
26
+ # Rules are overridden in a LIFO stack.
27
+ # This is the opposite of what you might expect.
28
+ inherit_gem:
29
+ standard-rubocop-lts: config/ruby-3.2.yml
30
+
31
+ inherit_from:
32
+ - strict/ruby.yml
33
+
34
+ AllCops:
35
+ # When the Ruby community, via RuboCop, adopts a new standard
36
+ # (with additional filtering by standard.rb) it is good enough for us!
37
+ NewCops: enable
38
+
39
+ # Metrics cops are disabled in Standard by default
40
+ Metrics:
41
+ Enabled: true
42
+
43
+ # Ruby specific customizations
44
+ Layout/LineLength:
45
+ Max: 120
@@ -0,0 +1,6 @@
1
+ # Customizations/Deviations from Standard for RuboCop-LTS Ruby w/ RSpec Coding Standards
2
+ inherit_from:
3
+ - ruby.yml
4
+ - rspec.yml
5
+
6
+ # Ruby/RSpec specific customizations
@@ -0,0 +1,6 @@
1
+ # Customizations/Deviations from Standard for RubyGem Coding Standards
2
+ inherit_from:
3
+ - ruby.yml
4
+
5
+ plugins:
6
+ - rubocop-packaging
@@ -0,0 +1,4 @@
1
+ # Customizations/Deviations from Standard for RubyGem w/ RSpec Coding Standards
2
+ inherit_from:
3
+ - rubygem.yml
4
+ - rspec.yml
@@ -0,0 +1,22 @@
1
+ # These Cops Must Always Be Enabled!
2
+ # These Cops check for things that are *literally* bugs,
3
+ # and no code should ever be released that fails these cops.
4
+ #
5
+ # The Exclude: [] is crucial here:
6
+ # even if our .rubocop_todo.yml contained exclusions for strict cops, we nullify them here,
7
+ # thus, re-activating these cops for all the files.
8
+ #
9
+ # These settings must be loaded after any files of "TODOs" that instruct RuboCop to ignore errors.
10
+ # Fortunately this project doesn't rely on TODOs, instead relying on a rubocop_gradual lockfile.
11
+ #
12
+ Rails/Output: # Don't leave puts-debugging
13
+ Enabled: true
14
+ Exclude: []
15
+
16
+ Rails/FindEach: # each could severely affect the performance, use find_each
17
+ Enabled: true
18
+ Exclude: []
19
+
20
+ Rails/UniqBeforePluck: # uniq.pluck and not pluck.uniq
21
+ Enabled: true
22
+ Exclude: []
@@ -0,0 +1,14 @@
1
+ # These Cops Must Always Be Enabled!
2
+ # These Cops check for things that are *literally* bugs,
3
+ # and no code should ever be released that fails these cops.
4
+ #
5
+ # The Exclude: [] is crucial here:
6
+ # even if our .rubocop_todo.yml contained exclusions for strict cops, we nullify them here,
7
+ # thus, re-activating these cops for all the files.
8
+ #
9
+ # These settings must be loaded after any files of "TODOs" that instruct RuboCop to ignore errors.
10
+ # Fortunately this project doesn't rely on TODOs, instead relying on a rubocop_gradual lockfile.
11
+ #
12
+ RSpec/Focus: # run ALL tests on CI
13
+ Enabled: true
14
+ Exclude: []
@@ -0,0 +1,14 @@
1
+ # These Cops Must Always Be Enabled!
2
+ # These Cops check for things that are *literally* bugs,
3
+ # and no code should ever be released that fails these cops.
4
+ #
5
+ # The Exclude: [] is crucial here:
6
+ # even if our .rubocop_todo.yml contained exclusions for strict cops, we nullify them here,
7
+ # thus, re-activating these cops for all the files.
8
+ #
9
+ # These settings must be loaded after any files of "TODOs" that instruct RuboCop to ignore errors.
10
+ # Fortunately this project doesn't rely on TODOs, instead relying on a rubocop_gradual lockfile.
11
+ #
12
+ Lint/Debugger: # don't leave binding.pry
13
+ Enabled: true
14
+ Exclude: []
data/rubocop.yml ADDED
@@ -0,0 +1,15 @@
1
+ # Change the file you inherit if you:
2
+ # * use Rails,
3
+ # * are creating a RubyGem, or
4
+ # * don't use RSpec
5
+ # As follows:
6
+ # inherit_gem:
7
+ # # Pick one:
8
+ # # rubocop-ruby3_2: rubocop-lts/rails_rspec.yml # or rubocop-lts/rails.yml w/o rspec
9
+ # # rubocop-ruby3_2: rubocop-lts/ruby_rspec.yml # or rubocop-lts/ruby.yml w/o rspec
10
+ # # rubocop-ruby3_2: rubocop-lts/rubygem_rspec.yml # or rubocop-lts/rubygem.yml w/o rspec
11
+ # # Convention over configuration, hence loading this file just only Ruby and RSpec defaults:
12
+ # rubocop-ruby3_2: rubocop.yml # for the ruby + rspec
13
+
14
+ inherit_from:
15
+ - rubocop-lts/rubygem_rspec.yml
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: 3.0.4
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -166,7 +166,7 @@ dependencies:
166
166
  version: '2.2'
167
167
  - - ">="
168
168
  - !ruby/object:Gem::Version
169
- version: 2.2.18
169
+ version: 2.2.19
170
170
  type: :development
171
171
  prerelease: false
172
172
  version_requirements: !ruby/object:Gem::Requirement
@@ -176,7 +176,7 @@ dependencies:
176
176
  version: '2.2'
177
177
  - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: 2.2.18
179
+ version: 2.2.19
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: bundler-audit
182
182
  requirement: !ruby/object:Gem::Requirement
@@ -449,22 +449,16 @@ dependencies:
449
449
  name: rubocop-lts-rspec
450
450
  requirement: !ruby/object:Gem::Requirement
451
451
  requirements:
452
- - - "~>"
452
+ - - '='
453
453
  - !ruby/object:Gem::Version
454
- version: '1.0'
455
- - - ">="
456
- - !ruby/object:Gem::Version
457
- version: 1.0.2
454
+ version: 1.0.3
458
455
  type: :development
459
456
  prerelease: false
460
457
  version_requirements: !ruby/object:Gem::Requirement
461
458
  requirements:
462
- - - "~>"
459
+ - - '='
463
460
  - !ruby/object:Gem::Version
464
- version: '1.0'
465
- - - ">="
466
- - !ruby/object:Gem::Version
467
- version: 1.0.2
461
+ version: 1.0.3
468
462
  - !ruby/object:Gem::Dependency
469
463
  name: rubocop-packaging
470
464
  requirement: !ruby/object:Gem::Requirement
@@ -537,6 +531,17 @@ files:
537
531
  - lib/rubocop/ruby3_2/rakelib/rubocop_gradual.rake
538
532
  - lib/rubocop/ruby3_2/tasks.rb
539
533
  - lib/rubocop/ruby3_2/version.rb
534
+ - rubocop-lts/rails.yml
535
+ - rubocop-lts/rails_rspec.yml
536
+ - rubocop-lts/rspec.yml
537
+ - rubocop-lts/ruby.yml
538
+ - rubocop-lts/ruby_rspec.yml
539
+ - rubocop-lts/rubygem.yml
540
+ - rubocop-lts/rubygem_rspec.yml
541
+ - rubocop-lts/strict/rails.yml
542
+ - rubocop-lts/strict/rspec.yml
543
+ - rubocop-lts/strict/ruby.yml
544
+ - rubocop.yml
540
545
  - sig/rubocop/ruby3_2.rbs
541
546
  - sig/rubocop/ruby3_2/version.rbs
542
547
  homepage: https://github.com/rubocop-lts/rubocop-ruby3_2
@@ -544,10 +549,10 @@ licenses:
544
549
  - MIT
545
550
  metadata:
546
551
  homepage_uri: https://rubocop-ruby3-2.galtzo.com
547
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/tree/v3.0.4
548
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/blob/v3.0.4/CHANGELOG.md
552
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/tree/v3.0.5
553
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/blob/v3.0.5/CHANGELOG.md
549
554
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/issues
550
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_2/3.0.4
555
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_2/3.0.5
551
556
  funding_uri: https://github.com/sponsors/pboling
552
557
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby3_2/wiki
553
558
  news_uri: https://www.railsbling.com/tags/rubocop-ruby3_2
metadata.gz.sig CHANGED
Binary file