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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +15 -1
- data/CONTRIBUTING.md +4 -1
- data/lib/rubocop/ruby2_3/version.rb +1 -1
- data/rubocop-lts/rails.yml +15 -0
- data/rubocop-lts/rails_rspec.yml +6 -0
- data/rubocop-lts/rspec.yml +15 -0
- data/rubocop-lts/ruby.yml +43 -0
- data/rubocop-lts/ruby_rspec.yml +6 -0
- data/rubocop-lts/rubygem.yml +6 -0
- data/rubocop-lts/rubygem_rspec.yml +4 -0
- data/rubocop-lts/strict/rails.yml +22 -0
- data/rubocop-lts/strict/rspec.yml +14 -0
- data/rubocop-lts/strict/ruby.yml +14 -0
- data/rubocop.yml +15 -0
- data.tar.gz.sig +0 -0
- metadata +19 -8
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8c07854308fdc3f9c7ddc182272d1e4ac5d12025f1a262b3f39bad2faa9f5c3
|
|
4
|
+
data.tar.gz: f258dfb413f0b58b7549e6179369de1d4bf3404971500c7e7b5462f283f2d6de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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:
|
|
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
|
|
@@ -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,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,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
|
+
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
549
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_3/blob/v3.0.
|
|
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.
|
|
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
|