rubocop-ruby3_0 3.0.4 → 3.0.6

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: 0fa94e786ca33c6ab66de6743931df80b7eef6565d1ecf4827de5347d5dd8831
4
- data.tar.gz: 133555041f922280074b82b92a0aec0bcaf2731173a9ebc9011497fb65e1e5dd
3
+ metadata.gz: 980c9ace32acdc5c63fe098646dd2aa25e6182fb6f719e75debe8dd8969c59bb
4
+ data.tar.gz: 63f7123c0ef8db7efc3c77584f48cb6cd7cbba8ec1d516de4d00b9093cfe5802
5
5
  SHA512:
6
- metadata.gz: 43e7d926ba5f9a9f52dfda1e62d0213adc3acec6d659ef7a187f5c2c1a3770764128bd57a09dfbeadd071d53724b60eddddc4c65e943596690f4376821e1ba86
7
- data.tar.gz: 19f2e4519b6c32f5a7a9339e8fed286ec493a722be04a097c1947920641345631fe8968cfb7e95245e49db451b8d1b0f3883fd76065b96895beed72e92128090
6
+ metadata.gz: 29de4aaa806ba597d1e19d878ce31e2fe556ebcbc61f8d8b921ff2d0ee513ffa906c80526148d00898fee6b91be84a311b6195c21a14af33f2657367c104ef4b
7
+ data.tar.gz: aa7bca9776722bf611a9700ec95c3873ecdac92f74b740427b80ca10a01b777e43a66185563f030decd833cf35d853dec0484209caecca95cfe5dcf652825e35
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,31 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [3.0.6] - 2026-07-03
34
+
35
+ - TAG: [v3.0.6][3.0.6t]
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
+ - Refreshed `Gemfile.lock` to use the released `rubocop-lts-rspec` 1.0.4 dependency.
43
+
44
+ - Package configured license files in gem release file lists.
45
+
46
+ ## [3.0.5] - 2026-06-28
47
+
48
+ - TAG: [v3.0.5][3.0.5t]
49
+ - COVERAGE: 55.17% -- 16/29 lines in 5 files
50
+ - BRANCH COVERAGE: 0.00% -- 0/2 branches in 5 files
51
+ - 42.86% documented
52
+
53
+ ### Fixed
54
+
55
+ - Restored the gemspec `spec.files` declaration so packaged gems include the
56
+ intended public files and configuration payload.
57
+
33
58
  ## [3.0.4] - 2026-06-25
34
59
 
35
60
  - TAG: [v3.0.4][3.0.4t]
@@ -278,7 +303,11 @@ Please file a bug if you notice a violation of semantic versioning.
278
303
 
279
304
  * Initial release
280
305
 
281
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v3.0.4...HEAD
306
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v3.0.6...HEAD
307
+ [3.0.6]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v3.0.5...v3.0.6
308
+ [3.0.6t]: https://github.com/rubocop-lts/rubocop-ruby3_0/releases/tag/v3.0.6
309
+ [3.0.5]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v3.0.4...v3.0.5
310
+ [3.0.5t]: https://github.com/rubocop-lts/rubocop-ruby3_0/releases/tag/v3.0.5
282
311
  [3.0.4]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v3.0.2...v3.0.4
283
312
  [3.0.4t]: https://github.com/rubocop-lts/rubocop-ruby3_0/releases/tag/v3.0.4
284
313
  [3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby3_0/-/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
data/MIT.md ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ See [LICENSE.md](LICENSE.md) for the copyright notice.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -3,7 +3,7 @@
3
3
  module Rubocop
4
4
  module Ruby30
5
5
  module Version
6
- VERSION = "3.0.4"
6
+ VERSION = "3.0.6"
7
7
  end
8
8
  VERSION = Version::VERSION # Traditional Constant Location
9
9
  end
@@ -0,0 +1,15 @@
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
+ inherit_gem:
10
+ betterlint:
11
+ - config/default.yml
12
+ standard-rails:
13
+ - config/base.yml
14
+
15
+ # 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.0.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,43 @@
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
+ require:
11
+ # Loads the Standard Ruby suite of gems, and configures for rubocop-lts:
12
+ - standard-rubocop-lts
13
+ # RuboCop Gradual can be used in "Require mode", which is a way to replace rubocop with rubocop-gradual:
14
+ - rubocop/gradual/patch
15
+
16
+ # Rules are overridden in a LIFO stack.
17
+ # This is the opposite of what you might expect.
18
+ inherit_gem:
19
+ standard-rubocop-lts: config/ruby-3.0.yml
20
+
21
+ inherit_from:
22
+ - strict/ruby.yml
23
+
24
+ AllCops:
25
+ # When the Ruby community, via RuboCop, adopts a new standard
26
+ # (with additional filtering by standard.rb) it is good enough for us!
27
+ NewCops: enable
28
+
29
+ # Metrics cops are disabled in Standard by default
30
+ Metrics:
31
+ Enabled: true
32
+
33
+ plugins:
34
+ # Lint Markdown code examples through RuboCop's plugin API.
35
+ - rubocop-md
36
+ # Rubygems have Rakefile as a convention, and if they don't, why not?
37
+ - rubocop-rake
38
+ # Warn about thread unsafe code in the broad LTS Ruby profile.
39
+ - rubocop-thread_safety
40
+
41
+ # Ruby specific customizations
42
+ Layout/LineLength:
43
+ 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_0: rubocop-lts/rails_rspec.yml # or rubocop-lts/rails.yml w/o rspec
9
+ # # rubocop-ruby3_0: rubocop-lts/ruby_rspec.yml # or rubocop-lts/ruby.yml w/o rspec
10
+ # # rubocop-ruby3_0: 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_0: 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_0
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -126,7 +126,7 @@ dependencies:
126
126
  version: '2.0'
127
127
  - - ">="
128
128
  - !ruby/object:Gem::Version
129
- version: 2.0.3
129
+ version: 2.0.9
130
130
  type: :runtime
131
131
  prerelease: false
132
132
  version_requirements: !ruby/object:Gem::Requirement
@@ -136,7 +136,7 @@ dependencies:
136
136
  version: '2.0'
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
- version: 2.0.3
139
+ version: 2.0.9
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: version_gem
142
142
  requirement: !ruby/object:Gem::Requirement
@@ -163,20 +163,20 @@ dependencies:
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '2.2'
166
+ version: '2.3'
167
167
  - - ">="
168
168
  - !ruby/object:Gem::Version
169
- version: 2.2.18
169
+ version: 2.3.0
170
170
  type: :development
171
171
  prerelease: false
172
172
  version_requirements: !ruby/object:Gem::Requirement
173
173
  requirements:
174
174
  - - "~>"
175
175
  - !ruby/object:Gem::Version
176
- version: '2.2'
176
+ version: '2.3'
177
177
  - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: 2.2.18
179
+ version: 2.3.0
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: bundler-audit
182
182
  requirement: !ruby/object:Gem::Requirement
@@ -240,7 +240,7 @@ dependencies:
240
240
  version: '3.1'
241
241
  - - ">="
242
242
  - !ruby/object:Gem::Version
243
- version: 3.1.3
243
+ version: 3.1.4
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
@@ -250,7 +250,7 @@ dependencies:
250
250
  version: '3.1'
251
251
  - - ">="
252
252
  - !ruby/object:Gem::Version
253
- version: 3.1.3
253
+ version: 3.1.4
254
254
  - !ruby/object:Gem::Dependency
255
255
  name: kettle-test
256
256
  requirement: !ruby/object:Gem::Requirement
@@ -260,7 +260,7 @@ dependencies:
260
260
  version: '2.0'
261
261
  - - ">="
262
262
  - !ruby/object:Gem::Version
263
- version: 2.0.7
263
+ version: 2.0.9
264
264
  type: :development
265
265
  prerelease: false
266
266
  version_requirements: !ruby/object:Gem::Requirement
@@ -270,7 +270,7 @@ dependencies:
270
270
  version: '2.0'
271
271
  - - ">="
272
272
  - !ruby/object:Gem::Version
273
- version: 2.0.7
273
+ version: 2.0.9
274
274
  - !ruby/object:Gem::Dependency
275
275
  name: turbo_tests2
276
276
  requirement: !ruby/object:Gem::Requirement
@@ -280,7 +280,7 @@ dependencies:
280
280
  version: '3.1'
281
281
  - - ">="
282
282
  - !ruby/object:Gem::Version
283
- version: 3.1.5
283
+ version: 3.1.6
284
284
  type: :development
285
285
  prerelease: false
286
286
  version_requirements: !ruby/object:Gem::Requirement
@@ -290,7 +290,7 @@ dependencies:
290
290
  version: '3.1'
291
291
  - - ">="
292
292
  - !ruby/object:Gem::Version
293
- version: 3.1.5
293
+ version: 3.1.6
294
294
  - !ruby/object:Gem::Dependency
295
295
  name: ruby-progressbar
296
296
  requirement: !ruby/object:Gem::Requirement
@@ -314,7 +314,7 @@ dependencies:
314
314
  version: '1.0'
315
315
  - - ">="
316
316
  - !ruby/object:Gem::Version
317
- version: 1.0.3
317
+ version: 1.0.5
318
318
  type: :development
319
319
  prerelease: false
320
320
  version_requirements: !ruby/object:Gem::Requirement
@@ -324,7 +324,7 @@ dependencies:
324
324
  version: '1.0'
325
325
  - - ">="
326
326
  - !ruby/object:Gem::Version
327
- version: 1.0.3
327
+ version: 1.0.5
328
328
  - !ruby/object:Gem::Dependency
329
329
  name: gitmoji-regex
330
330
  requirement: !ruby/object:Gem::Requirement
@@ -334,7 +334,7 @@ dependencies:
334
334
  version: '2.0'
335
335
  - - ">="
336
336
  - !ruby/object:Gem::Version
337
- version: 2.0.3
337
+ version: 2.0.4
338
338
  type: :development
339
339
  prerelease: false
340
340
  version_requirements: !ruby/object:Gem::Requirement
@@ -344,7 +344,7 @@ dependencies:
344
344
  version: '2.0'
345
345
  - - ">="
346
346
  - !ruby/object:Gem::Version
347
- version: 2.0.3
347
+ version: 2.0.4
348
348
  - !ruby/object:Gem::Dependency
349
349
  name: kramdown
350
350
  requirement: !ruby/object:Gem::Requirement
@@ -434,7 +434,7 @@ dependencies:
434
434
  version: '1.0'
435
435
  - - ">="
436
436
  - !ruby/object:Gem::Version
437
- version: 1.0.4
437
+ version: 1.0.6
438
438
  type: :development
439
439
  prerelease: false
440
440
  version_requirements: !ruby/object:Gem::Requirement
@@ -444,7 +444,7 @@ dependencies:
444
444
  version: '1.0'
445
445
  - - ">="
446
446
  - !ruby/object:Gem::Version
447
- version: 1.0.4
447
+ version: 1.0.6
448
448
  - !ruby/object:Gem::Dependency
449
449
  name: rubocop-lts-rspec
450
450
  requirement: !ruby/object:Gem::Requirement
@@ -528,6 +528,7 @@ files:
528
528
  - CONTRIBUTING.md
529
529
  - FUNDING.md
530
530
  - LICENSE.md
531
+ - MIT.md
531
532
  - README.md
532
533
  - RUBOCOP.md
533
534
  - SECURITY.md
@@ -537,6 +538,17 @@ files:
537
538
  - lib/rubocop/ruby3_0/rakelib/rubocop_gradual.rake
538
539
  - lib/rubocop/ruby3_0/tasks.rb
539
540
  - lib/rubocop/ruby3_0/version.rb
541
+ - rubocop-lts/rails.yml
542
+ - rubocop-lts/rails_rspec.yml
543
+ - rubocop-lts/rspec.yml
544
+ - rubocop-lts/ruby.yml
545
+ - rubocop-lts/ruby_rspec.yml
546
+ - rubocop-lts/rubygem.yml
547
+ - rubocop-lts/rubygem_rspec.yml
548
+ - rubocop-lts/strict/rails.yml
549
+ - rubocop-lts/strict/rspec.yml
550
+ - rubocop-lts/strict/ruby.yml
551
+ - rubocop.yml
540
552
  - sig/rubocop/ruby3_0.rbs
541
553
  - sig/rubocop/ruby3_0/version.rbs
542
554
  homepage: https://github.com/rubocop-lts/rubocop-ruby3_0
@@ -544,10 +556,10 @@ licenses:
544
556
  - MIT
545
557
  metadata:
546
558
  homepage_uri: https://rubocop-ruby3-0.galtzo.com
547
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/tree/v3.0.4
548
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/blob/v3.0.4/CHANGELOG.md
559
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/tree/v3.0.6
560
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/blob/v3.0.6/CHANGELOG.md
549
561
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/issues
550
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_0/3.0.4
562
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_0/3.0.6
551
563
  funding_uri: https://github.com/sponsors/pboling
552
564
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/wiki
553
565
  news_uri: https://www.railsbling.com/tags/rubocop-ruby3_0
metadata.gz.sig CHANGED
Binary file