rubocop-ruby2_5 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_5/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: 3ad183f23914846d2d021986daec4fd0ab721a814f3c747034936925fb6826a8
|
|
4
|
+
data.tar.gz: 45f1742b5030de5790c0d5cf9c14186f2e56d75c5fe1475e07697d65f18bc300
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f7edbd451fdb9e5311b31609e9a0a09a5a89886fe7a5c81d515f02a548baecddb8e6f7e582331fffd124906973cf6eae9584a673565a159f15470e4240cad05
|
|
7
|
+
data.tar.gz: f7237a1d0b62482aa1fe2143ee492865f579bd3a25906a0142833c5977c552e3d7a8ce0cb38131a8d0e26b29c7c783b3a11d5c7456eff91f5dd05d38bdab895d
|
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]
|
|
@@ -221,7 +233,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
221
233
|
|
|
222
234
|
- Initial release
|
|
223
235
|
|
|
224
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v3.0.
|
|
236
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v3.0.5...HEAD
|
|
237
|
+
[3.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v3.0.4...v3.0.5
|
|
238
|
+
[3.0.5t]: https://github.com/rubocop-lts/rubocop-ruby2_5/releases/tag/v3.0.5
|
|
225
239
|
[3.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v3.0.2...v3.0.4
|
|
226
240
|
[3.0.4t]: https://github.com/rubocop-lts/rubocop-ruby2_5/releases/tag/v3.0.4
|
|
227
241
|
[3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby2_5/-/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.5.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.5.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_5: rubocop-lts/rails_rspec.yml # or rubocop-lts/rails.yml w/o rspec
|
|
9
|
+
# # rubocop-ruby2_5: rubocop-lts/ruby_rspec.yml # or rubocop-lts/ruby.yml w/o rspec
|
|
10
|
+
# # rubocop-ruby2_5: 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_5: 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_5
|
|
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
|
|
@@ -166,7 +166,7 @@ dependencies:
|
|
|
166
166
|
version: '2.2'
|
|
167
167
|
- - ">="
|
|
168
168
|
- !ruby/object:Gem::Version
|
|
169
|
-
version: 2.2.
|
|
169
|
+
version: 2.2.20
|
|
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.
|
|
179
|
+
version: 2.2.20
|
|
180
180
|
- !ruby/object:Gem::Dependency
|
|
181
181
|
name: bundler-audit
|
|
182
182
|
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.
|
|
263
|
+
version: 2.0.8
|
|
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.
|
|
273
|
+
version: 2.0.8
|
|
274
274
|
- !ruby/object:Gem::Dependency
|
|
275
275
|
name: turbo_tests2
|
|
276
276
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -537,6 +537,17 @@ files:
|
|
|
537
537
|
- lib/rubocop/ruby2_5/rakelib/rubocop_gradual.rake
|
|
538
538
|
- lib/rubocop/ruby2_5/tasks.rb
|
|
539
539
|
- lib/rubocop/ruby2_5/version.rb
|
|
540
|
+
- rubocop-lts/rails.yml
|
|
541
|
+
- rubocop-lts/rails_rspec.yml
|
|
542
|
+
- rubocop-lts/rspec.yml
|
|
543
|
+
- rubocop-lts/ruby.yml
|
|
544
|
+
- rubocop-lts/ruby_rspec.yml
|
|
545
|
+
- rubocop-lts/rubygem.yml
|
|
546
|
+
- rubocop-lts/rubygem_rspec.yml
|
|
547
|
+
- rubocop-lts/strict/rails.yml
|
|
548
|
+
- rubocop-lts/strict/rspec.yml
|
|
549
|
+
- rubocop-lts/strict/ruby.yml
|
|
550
|
+
- rubocop.yml
|
|
540
551
|
- sig/rubocop/ruby2_5.rbs
|
|
541
552
|
- sig/rubocop/ruby2_5/version.rbs
|
|
542
553
|
homepage: https://github.com/rubocop-lts/rubocop-ruby2_5
|
|
@@ -544,10 +555,10 @@ licenses:
|
|
|
544
555
|
- MIT
|
|
545
556
|
metadata:
|
|
546
557
|
homepage_uri: https://rubocop-ruby2-5.galtzo.com
|
|
547
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/tree/v3.0.
|
|
548
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/blob/v3.0.
|
|
558
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/tree/v3.0.5
|
|
559
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/blob/v3.0.5/CHANGELOG.md
|
|
549
560
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/issues
|
|
550
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_5/3.0.
|
|
561
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_5/3.0.5
|
|
551
562
|
funding_uri: https://github.com/sponsors/pboling
|
|
552
563
|
wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/wiki
|
|
553
564
|
news_uri: https://www.railsbling.com/tags/rubocop-ruby2_5
|
metadata.gz.sig
CHANGED
|
Binary file
|