rubocop-ruby2_3 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: b8b2491d3a18e3ce435a083ba3d0b6f396efc472b5d9094ba1d0b32819a0256f
4
- data.tar.gz: d1ef6362b7de3f89f92b85b33ee7d16f49949f6944355b5d00163a7617f92578
3
+ metadata.gz: d8c07854308fdc3f9c7ddc182272d1e4ac5d12025f1a262b3f39bad2faa9f5c3
4
+ data.tar.gz: f258dfb413f0b58b7549e6179369de1d4bf3404971500c7e7b5462f283f2d6de
5
5
  SHA512:
6
- metadata.gz: c8069bad8dd71814072697cac301813fbdd48a6e82efd5635a64264f019282143cb9d61d6a6c4f1b5e6006113baa0f0ba8e22f9af8d96231f80e8739b9aa3216
7
- data.tar.gz: daecf20f2ca7d354318de4ac424c3c3fb2671170ef2b16f56b62e72f9229c94bb8672e0bab50db11c4f341e7b468010af0dafebcf7f598270e01293b3d5e6c65
6
+ metadata.gz: 633e705fdb775a381b7c9d84b35b81716507ce350407def6f79d0a862166d207f74365e460d67259517d8c11af07ac718029fab7ac2d0dec00af440e6dce3ec1
7
+ data.tar.gz: ab0542223ce44980bc781ad685f9e245bd671129d4bcc54310bbf7e7274da00922e83debaac2babc40621e01e2ee0866959a525fc295358f3629105e4d9c9f94
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-28
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 gemspec `spec.files` declaration so packaged gems include the
43
+ intended public files and configuration payload.
44
+
33
45
  ## [3.0.4] - 2026-06-25
34
46
 
35
47
  - TAG: [v3.0.4][3.0.4t]
@@ -216,7 +228,9 @@ Please file a bug if you notice a violation of semantic versioning.
216
228
 
217
229
  - Initial release
218
230
 
219
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_3/compare/v3.0.4...HEAD
231
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_3/compare/v3.0.5...HEAD
232
+ [3.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_3/compare/v3.0.4...v3.0.5
233
+ [3.0.5t]: https://github.com/rubocop-lts/rubocop-ruby2_3/releases/tag/v3.0.5
220
234
  [3.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_3/compare/v3.0.2...v3.0.4
221
235
  [3.0.4t]: https://github.com/rubocop-lts/rubocop-ruby2_3/releases/tag/v3.0.4
222
236
  [3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby2_3/-/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 Ruby23
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,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-2.3.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-2.3.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-ruby2_3: rubocop-lts/rails_rspec.yml # or rubocop-lts/rails.yml w/o rspec
9
+ # # rubocop-ruby2_3: rubocop-lts/ruby_rspec.yml # or rubocop-lts/ruby.yml w/o rspec
10
+ # # rubocop-ruby2_3: 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-ruby2_3: 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-ruby2_3
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
@@ -167,7 +167,7 @@ dependencies:
167
167
  version: '2.2'
168
168
  - - ">="
169
169
  - !ruby/object:Gem::Version
170
- version: 2.2.18
170
+ version: 2.2.20
171
171
  type: :development
172
172
  prerelease: false
173
173
  version_requirements: !ruby/object:Gem::Requirement
@@ -177,7 +177,7 @@ dependencies:
177
177
  version: '2.2'
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: 2.2.18
180
+ version: 2.2.20
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: bundler-audit
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -261,7 +261,7 @@ dependencies:
261
261
  version: '2.0'
262
262
  - - ">="
263
263
  - !ruby/object:Gem::Version
264
- version: 2.0.7
264
+ version: 2.0.8
265
265
  type: :development
266
266
  prerelease: false
267
267
  version_requirements: !ruby/object:Gem::Requirement
@@ -271,7 +271,7 @@ dependencies:
271
271
  version: '2.0'
272
272
  - - ">="
273
273
  - !ruby/object:Gem::Version
274
- version: 2.0.7
274
+ version: 2.0.8
275
275
  - !ruby/object:Gem::Dependency
276
276
  name: turbo_tests2
277
277
  requirement: !ruby/object:Gem::Requirement
@@ -538,6 +538,17 @@ files:
538
538
  - lib/rubocop/ruby2_3/rakelib/rubocop_gradual.rake
539
539
  - lib/rubocop/ruby2_3/tasks.rb
540
540
  - lib/rubocop/ruby2_3/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
541
552
  - sig/rubocop/ruby2_3.rbs
542
553
  - sig/rubocop/ruby2_3/version.rbs
543
554
  homepage: https://github.com/rubocop-lts/rubocop-ruby2_3
@@ -545,10 +556,10 @@ licenses:
545
556
  - MIT
546
557
  metadata:
547
558
  homepage_uri: https://rubocop-ruby2-3.galtzo.com
548
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/tree/v3.0.4
549
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/blob/v3.0.4/CHANGELOG.md
559
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/tree/v3.0.5
560
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/blob/v3.0.5/CHANGELOG.md
550
561
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/issues
551
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_3/3.0.4
562
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_3/3.0.5
552
563
  funding_uri: https://github.com/sponsors/pboling
553
564
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/wiki
554
565
  news_uri: https://www.railsbling.com/tags/rubocop-ruby2_3
metadata.gz.sig CHANGED
Binary file