standard-rubocop-lts 1.0.2 → 1.0.4
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 +19 -0
- data/README.md +36 -4
- data/config/base.yml +1 -19
- data/config/ruby-1.8.yml +23 -21
- data/config/ruby-1.9.yml +11 -38
- data/config/ruby-2.0.yml +11 -1
- data/config/ruby-2.1.yml +11 -1
- data/config/ruby-2.2.yml +10 -15
- data/config/ruby-2.3.yml +11 -1
- data/config/ruby-2.4.yml +11 -1
- data/config/ruby-2.5.yml +11 -1
- data/config/ruby-2.6.yml +11 -1
- data/config/ruby-2.7.yml +11 -1
- data/config/ruby-3.0.yml +11 -1
- data/config/ruby-3.1.yml +11 -1
- data/config/ruby-3.2.yml +14 -5
- data/config/ruby-3.3.yml +14 -2
- data/lib/standard/rubocop/lts/version.rb +4 -1
- data/lib/standard/rubocop/lts.rb +5 -1
- data.tar.gz.sig +2 -0
- metadata +114 -16
- metadata.gz.sig +6 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b834cd74e025029f69f4c2b53d76c21f0f8936cdc9b6a495e6a7388217bf4c6
|
4
|
+
data.tar.gz: dfd0b2b0256bc6a225efb647a416b6cd0d2b991ec9275123e36bb42abc792c31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e71e6ccba80923481e536338fb6c812869ec5e82bac23a3f3975ab9b1a00882dbf8972db19855e61eb0b786faf16e786dd835e73a976f4172a35929c559cf916
|
7
|
+
data.tar.gz: c6c94e6665fb558ba47adb5eb41bfd0d0c5d0cae6c8b7da2e6c5042cf4d2a8a00dbab9d7d50c184ed91416a88f87f6d7c0a1a30ae83c70628b72fb7063803d0e
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
10
10
|
### Fixed
|
11
11
|
### Removed
|
12
12
|
|
13
|
+
## [1.0.4] 2023-06-03
|
14
|
+
### Fixed
|
15
|
+
- rubocop-shopify > standard gem family of rules
|
16
|
+
- v1.0.0 intended for rubocop-shopify to override standard's rules, now it actually does
|
17
|
+
- override mechanism in rubocop.yml config is counter-intuitive :(
|
18
|
+
- Stop doubly loading style libs and configs with more careful config structure
|
19
|
+
### Changed
|
20
|
+
- disable several rubocop-performance cops that are bad cops
|
21
|
+
|
22
|
+
## [1.0.3] 2023-05-29
|
23
|
+
### Added
|
24
|
+
- Gem releases are now signed!
|
25
|
+
### Fixed
|
26
|
+
- URIs in gemspec (now point to GitLab)
|
27
|
+
|
13
28
|
## [1.0.2] 2023-05-29
|
14
29
|
### Added
|
15
30
|
- `version_gem` for library version introspection
|
@@ -27,6 +42,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
27
42
|
- Duplicated lines from `README.md`
|
28
43
|
- Circular dependency in gemspec (on `standard-rubocop-lts`, which is this gem)
|
29
44
|
|
45
|
+
## [1.0.2] 2023-05-29
|
46
|
+
### Changed
|
47
|
+
- Update to standard 1.28.4
|
48
|
+
|
30
49
|
## [1.0.1] 2023-04-16
|
31
50
|
### Fixed
|
32
51
|
- config/*.yml rubocop configs were not shipped with v1.0.0
|
data/README.md
CHANGED
@@ -84,7 +84,7 @@ It will enable your Ruby style rules to keep pace with whatever version of Ruby
|
|
84
84
|
Extended [standard (Standard Ruby)][standardrb] config shims for all your finely-aged rubies,
|
85
85
|
back to Ruby version 1.8. Compatible with the `rubocop-lts` [gem family](#a-gem-family).
|
86
86
|
|
87
|
-
Use the rules standard gives you, and then add more,
|
87
|
+
Use the rules standard gives you, and then add more,
|
88
88
|
to increase your code's compatibility across multiple versions of Ruby.
|
89
89
|
|
90
90
|
Only reach as far back as you need to go!
|
@@ -158,6 +158,9 @@ inherit_gem:
|
|
158
158
|
standard-rubocop-lts: config/ruby-{RUBY_MAJOR_VERSION}-{RUBY_MINOR_VERSION}.yml
|
159
159
|
```
|
160
160
|
|
161
|
+
<details>
|
162
|
+
<summary>What will this do for me?</summary>
|
163
|
+
|
161
164
|
Among other settings specific to your chosen minimum version of ruby, the above results in the following config:
|
162
165
|
|
163
166
|
```yaml
|
@@ -173,17 +176,46 @@ require:
|
|
173
176
|
- standard-performance
|
174
177
|
- standard-custom
|
175
178
|
|
179
|
+
# Rules are overridden in a LIFO stack.
|
180
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
181
|
+
# then rubocop-performance's rules will take precedence.
|
182
|
+
# This is the opposite of what you might expect.
|
183
|
+
# Below: standard's rule disablement overrides rubocop-performance's config/default.yml
|
176
184
|
inherit_gem:
|
177
|
-
rubocop-performance: config/default.yml
|
178
185
|
standard: config/base.yml
|
179
186
|
standard-performance: config/base.yml
|
180
187
|
standard-custom: config/base.yml
|
181
|
-
|
182
|
-
# Plus+: Many ruby-version-specific configs that standard does not have
|
188
|
+
rubocop-performance: config/default.yml
|
183
189
|
|
184
190
|
AllCops:
|
185
191
|
NewCops: enable
|
192
|
+
|
193
|
+
# See:
|
194
|
+
# https://github.com/rubocop/rubocop-performance/issues/240
|
195
|
+
# https://github.com/rubocop/rubocop-performance/pull/241
|
196
|
+
Performance/Casecmp:
|
197
|
+
Enabled: false
|
198
|
+
|
199
|
+
# See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1375527811
|
200
|
+
Performance/BlockGivenWithExplicitBlock:
|
201
|
+
Enabled: false
|
202
|
+
|
203
|
+
# See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
|
204
|
+
Performance/ArraySemiInfiniteRangeSlice:
|
205
|
+
Enabled: false
|
206
|
+
|
207
|
+
# See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
|
208
|
+
Performance/BigDecimalWithNumericArgument:
|
209
|
+
Enabled: false
|
210
|
+
|
211
|
+
# See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
|
212
|
+
Performance/IoReadlines:
|
213
|
+
Enabled: false
|
214
|
+
|
215
|
+
# Plus: Ruby-version-specific configs provided by "standard" family of gems
|
216
|
+
# Plus+: Ruby-version-specific configs that standard does not have
|
186
217
|
```
|
218
|
+
</details>
|
187
219
|
|
188
220
|
## 💻 Development
|
189
221
|
|
data/config/base.yml
CHANGED
@@ -1,20 +1,2 @@
|
|
1
|
-
# We want Exclude directives from different
|
2
|
-
# config files to get merged, not overwritten
|
3
|
-
inherit_mode:
|
4
|
-
merge:
|
5
|
-
- Exclude
|
6
|
-
|
7
|
-
require:
|
8
|
-
- rubocop-performance
|
9
|
-
- standard
|
10
|
-
- standard-performance
|
11
|
-
- standard-custom
|
12
|
-
|
13
|
-
inherit_gem:
|
14
|
-
rubocop-performance: config/default.yml
|
15
|
-
standard: config/base.yml
|
16
|
-
standard-performance: config/base.yml
|
17
|
-
standard-custom: config/base.yml
|
18
|
-
|
19
1
|
AllCops:
|
20
|
-
NewCops: enable
|
2
|
+
NewCops: enable
|
data/config/ruby-1.8.yml
CHANGED
@@ -1,26 +1,28 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-1.8.yml
|
2
4
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
|
5
|
+
# We want Exclude and Include directives from different
|
6
|
+
# config files to get merged, not overwritten
|
7
|
+
inherit_mode:
|
8
|
+
merge:
|
9
|
+
- Exclude
|
10
|
+
- Include
|
11
|
+
|
12
|
+
require:
|
13
|
+
- standard
|
14
|
+
- standard-performance
|
15
|
+
- standard-custom
|
16
|
+
- rubocop-performance
|
6
17
|
|
7
18
|
# Load basic rules for this version of Ruby from standard.
|
19
|
+
# Rules are overridden in a LIFO stack.
|
20
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
21
|
+
# then rubocop-performance's rules will take precedence.
|
22
|
+
# This is the opposite of what you might expect.
|
23
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
8
24
|
inherit_gem:
|
9
25
|
standard: config/ruby-1.8.yml
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
# These are not in standard, and are the primary reason this gem exists. #
|
14
|
-
##############################################################################
|
15
|
-
|
16
|
-
# Ruby 1.8.7 needs the . on chain of method calls at the end of a line
|
17
|
-
# This cop is disabled for Ruby 1.8 in Standard, which is doesn't help
|
18
|
-
# RuboCop/Standard users ensure their codebase remains compatible with Ruby 1.8
|
19
|
-
# As such we override here!
|
20
|
-
# See: https://github.com/standardrb/standard/issues/561
|
21
|
-
Layout/DotPosition:
|
22
|
-
EnforcedStyle: trailing
|
23
|
-
|
24
|
-
# Disabled in standard's base.yml. Keeping here in case it is removed from base.
|
25
|
-
Style/Documentation:
|
26
|
-
Enabled: false
|
26
|
+
standard-performance: config/ruby-1.8.yml
|
27
|
+
standard-custom: config/base.yml
|
28
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-1.9.yml
CHANGED
@@ -1,42 +1,15 @@
|
|
1
|
-
inherit_from:
|
2
|
-
|
3
|
-
|
4
|
-
# AllCops:
|
5
|
-
# TargetRubyVersion: 1.9
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-1.9.yml
|
6
4
|
|
7
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
8
11
|
inherit_gem:
|
9
12
|
standard: config/ruby-1.9.yml
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
# Percent delimiters are not supported until Ruby 2.0
|
14
|
-
Style/PercentLiteralDelimiters:
|
15
|
-
Enabled: false
|
16
|
-
|
17
|
-
Style/SymbolArray:
|
18
|
-
EnforcedStyle: brackets
|
19
|
-
|
20
|
-
Style/WordArray:
|
21
|
-
EnforcedStyle: brackets
|
22
|
-
|
23
|
-
##############################################################################
|
24
|
-
# Additional rules that allow preservation of ruby 1.8.7 / ree compatibility #
|
25
|
-
# These are not in standard, and are a secondary reason this gem exists. #
|
26
|
-
##############################################################################
|
27
|
-
|
28
|
-
# Disabled in standard's base.yml, which allows magic encoding comments to live on.
|
29
|
-
# Reproducing here, in case Standard Ruby drops the config.
|
30
|
-
#
|
31
|
-
Style/Encoding:
|
32
|
-
Enabled: false
|
33
|
-
# The encoding comments can be removed once a project drops Ruby 1.9 support.
|
34
|
-
# Whole file UTF-8 Encoding is default in Ruby 2+, so the Encoding comment is usually not needed there.
|
35
|
-
# See:
|
36
|
-
# * https://www.rubydoc.info/gems/rubocop/0.49.0/RuboCop/Cop/Style/Encoding
|
37
|
-
# * https://rubydoc.info/gems/rubocop/RuboCop/Cop/Style/Encoding
|
38
|
-
# Unfortunately in latest RuboCop there is only a "never" style enforced (i.e. encodings are always bad).
|
39
|
-
# TODO: Consider bringing back this rule as a new Cop (extracted from old RuboCop)
|
40
|
-
#Style/Encoding:
|
41
|
-
# Enabled: true
|
42
|
-
# EnforcedStyle: always
|
13
|
+
standard-performance: config/ruby-1.9.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.0.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.0.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.0.yml
|
13
|
+
standard-performance: config/ruby-2.0.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.1.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.1.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.1.yml
|
13
|
+
standard-performance: config/ruby-2.1.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.2.yml
CHANGED
@@ -1,20 +1,15 @@
|
|
1
|
-
inherit_from:
|
2
|
-
|
3
|
-
|
4
|
-
- rubocop-performance
|
5
|
-
- standard
|
6
|
-
- standard-performance
|
7
|
-
- standard-custom
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.2.yml
|
8
4
|
|
9
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
10
11
|
inherit_gem:
|
11
|
-
# Duplicated from config/base.yml because of the yaml hierarchy.
|
12
|
-
rubocop-performance: config/default.yml
|
13
|
-
# Ruby version-specific overrides for specific additional gems.
|
14
12
|
standard: config/ruby-2.2.yml
|
15
13
|
standard-performance: config/ruby-2.2.yml
|
16
|
-
|
17
|
-
|
18
|
-
# As of Ruby 3, string literals are frozen in all files.
|
19
|
-
Style/FrozenStringLiteralComment:
|
20
|
-
Enabled: false
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.3.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.3.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.3.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.4.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.5.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.4.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.5.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.5.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.5.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.6.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.6.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.6.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.7.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.7.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.7.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-3.0.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-3.0.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-3.0.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-3.1.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-3.1.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-3.1.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-3.2.yml
CHANGED
@@ -1,6 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-3.2.yml
|
2
4
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
#
|
5
|
+
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
11
|
+
inherit_gem:
|
12
|
+
standard: config/ruby-3.2.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-3.3.yml
CHANGED
@@ -1,6 +1,18 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-3.3.yml
|
2
4
|
|
3
5
|
# TODO: Load basic rules for this version of Ruby from standard, once Standard includes it!
|
4
6
|
# See: https://github.com/standardrb/standard/pull/560
|
5
7
|
# inherit_gem:
|
6
|
-
# standard: config/ruby-3.
|
8
|
+
# standard: config/ruby-3.3.yml
|
9
|
+
# Rules are overridden in a LIFO stack.
|
10
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
11
|
+
# then rubocop-performance's rules will take precedence.
|
12
|
+
# This is the opposite of what you might expect.
|
13
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
14
|
+
inherit_gem:
|
15
|
+
standard: config/base.yml
|
16
|
+
standard-performance: config/base.yml
|
17
|
+
standard-custom: config/base.yml
|
18
|
+
rubocop-performance: config/default.yml
|
data/lib/standard/rubocop/lts.rb
CHANGED
@@ -5,11 +5,15 @@ require "version_gem"
|
|
5
5
|
|
6
6
|
require_relative "lts/version"
|
7
7
|
|
8
|
+
# Namespace for this library
|
8
9
|
module Standard
|
10
|
+
# Configure / override standard's rules for use with rubocop-lts
|
9
11
|
module Rubocop
|
12
|
+
# Lts indicates support for Ruby style linting back to Ruby 1.8 & 1.9
|
13
|
+
# rubocop itself stops at Ruby 2.0
|
10
14
|
module Lts
|
15
|
+
# So far, the Error class is unused.
|
11
16
|
class Error < StandardError; end
|
12
|
-
# Your code goes here...
|
13
17
|
end
|
14
18
|
end
|
15
19
|
end
|
data.tar.gz.sig
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
u!d̫��<Y���4���J4^���v-�cs�l<E3��u]m2j�����֓���d��Yn{���FgSyɕ�o��N�v9��h�Y�F�Fl2���ص�d=�*�+N�ݭ֊��ܡ�^�Xǽ��� ��e^�z��=?�v�N������f���T����n*��+���{%�^�/���"������S4m{Ч
|
2
|
+
��A���^~$v�}��Ns�$ʌ&�O�+I�%*��m�kMfG�?X%�����?��71���i.�f�l��W��L(��[?�q9�3����ŭ�!�Ֆ7�65*h斓u�����i�I ���0LƱ4#`�Q�6~������E�s�J���cC���MB��"�B'Hi�ʛݒ%�NM
|
metadata
CHANGED
@@ -1,14 +1,42 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard-rubocop-lts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
14
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
15
|
+
A2NvbTAeFw0yMjA5MTgyMzEyMzBaFw0yMzA5MTgyMzEyMzBaMEMxFTATBgNVBAMM
|
16
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
17
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2Dn1GM3W
|
18
|
+
8K2/rvN1zz+06bQMcxD16ZKTihVwi7Pb1v3T98rM4Omnxohm3s+CwpDWGeiB9pj6
|
19
|
+
0I/CTce0e4e3s8GKJSOrg93veImPSoH2PfsMsRsuB8wtqyiOCjLbF5o6S29x87r0
|
20
|
+
LA5EawH+Lh4xqrkkPjdffsmLk7TaCig/vlmNvnzxXKBdey/X/aEJZXzzBiWRfVdh
|
21
|
+
O1fmMbVKyieGv9HK7+pLotIoT08bjDv8NP6V7zZslwQRqW27bQc6cqC2LGIbTYO3
|
22
|
+
3jt1kQxfMWmhOictS6SzG9VtKSrXf0L4Neq0Gh7CLBZBvJFWJYZPfb92YNITDbd8
|
23
|
+
emPOAQlXXNMN4mMXsEqtEhCPZRMnmwO+fOk/cC4AyglKi9lnQugCQoFV1XDMZST/
|
24
|
+
CYbzdQyadOdPDInTntG6V+Uw51d2QGXZ6PDDfrx9+toc/3sl5h68rCUGgE6Q3jPz
|
25
|
+
srinqmBsxv2vTpmd4FjmiAtEnwH5/ooLpQYL8UdAjEoeysxS3AwIh+5dAgMBAAGj
|
26
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQWU6D156a2cle+
|
27
|
+
lb5RBfvVXlxTwjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
28
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
29
|
+
ggGBAJ4SqhPlgUiLYIrphGXIaxXScHyvx4kixuvdrwhI4VoQV2qXvO7R6ZjOXVwX
|
30
|
+
f/z84BWPiTZ8lzThPbt1UV/BGwkvLw9I4RjOdzvUz3J42j9Ly6q63isall07bo3F
|
31
|
+
QWe/OBvIMBF1IbjC3q5vKPg4rq8+TkNRJNoE86U2gfR+PkW3jYYs9uiy0GloHDCP
|
32
|
+
k5xgaj0vSL0Uy5mTOPdk3K6a/sUGZyYniWK05zdhIi956ynhfGaFO988FFdVw5Jq
|
33
|
+
LHtXfIpAU8F7ES04syZSslxOluw7VlcSKyRdVIr737J92ZTduppB4PRGSKRgBsWV
|
34
|
+
hXTahRE72Kyw53Q7FAuzF3v102WxAAQ7BuMjW+MyCUT75fwPm3W4ELPL8HYkNGE7
|
35
|
+
2oA5CPghFitRnvYS3GNrDG+9bNiRMEskeaBYwZ9UgReBQIwGYVj7LZk3UhiAsn44
|
36
|
+
gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
|
37
|
+
4/bR9A==
|
38
|
+
-----END CERTIFICATE-----
|
39
|
+
date: 2023-06-03 00:00:00.000000000 Z
|
12
40
|
dependencies:
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: version_gem
|
@@ -34,9 +62,9 @@ dependencies:
|
|
34
62
|
name: standard
|
35
63
|
requirement: !ruby/object:Gem::Requirement
|
36
64
|
requirements:
|
37
|
-
- - "
|
65
|
+
- - ">="
|
38
66
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
67
|
+
version: '1.29'
|
40
68
|
- - "<"
|
41
69
|
- !ruby/object:Gem::Version
|
42
70
|
version: '2'
|
@@ -44,9 +72,9 @@ dependencies:
|
|
44
72
|
prerelease: false
|
45
73
|
version_requirements: !ruby/object:Gem::Requirement
|
46
74
|
requirements:
|
47
|
-
- - "
|
75
|
+
- - ">="
|
48
76
|
- !ruby/object:Gem::Version
|
49
|
-
version: '1.
|
77
|
+
version: '1.29'
|
50
78
|
- - "<"
|
51
79
|
- !ruby/object:Gem::Version
|
52
80
|
version: '2'
|
@@ -56,7 +84,7 @@ dependencies:
|
|
56
84
|
requirements:
|
57
85
|
- - "~>"
|
58
86
|
- !ruby/object:Gem::Version
|
59
|
-
version: '1.
|
87
|
+
version: '1.1'
|
60
88
|
- - "<"
|
61
89
|
- !ruby/object:Gem::Version
|
62
90
|
version: '2'
|
@@ -66,7 +94,7 @@ dependencies:
|
|
66
94
|
requirements:
|
67
95
|
- - "~>"
|
68
96
|
- !ruby/object:Gem::Version
|
69
|
-
version: '1.
|
97
|
+
version: '1.1'
|
70
98
|
- - "<"
|
71
99
|
- !ruby/object:Gem::Version
|
72
100
|
version: '2'
|
@@ -90,6 +118,62 @@ dependencies:
|
|
90
118
|
- - "<"
|
91
119
|
- !ruby/object:Gem::Version
|
92
120
|
version: '2'
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
name: rspec
|
123
|
+
requirement: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - "~>"
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '3.10'
|
128
|
+
type: :development
|
129
|
+
prerelease: false
|
130
|
+
version_requirements: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - "~>"
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '3.10'
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: rspec-block_is_expected
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - "~>"
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '1.0'
|
142
|
+
type: :development
|
143
|
+
prerelease: false
|
144
|
+
version_requirements: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - "~>"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '1.0'
|
149
|
+
- !ruby/object:Gem::Dependency
|
150
|
+
name: rake
|
151
|
+
requirement: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - "~>"
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '13.0'
|
156
|
+
type: :development
|
157
|
+
prerelease: false
|
158
|
+
version_requirements: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - "~>"
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '13.0'
|
163
|
+
- !ruby/object:Gem::Dependency
|
164
|
+
name: pry
|
165
|
+
requirement: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
170
|
+
type: :development
|
171
|
+
prerelease: false
|
172
|
+
version_requirements: !ruby/object:Gem::Requirement
|
173
|
+
requirements:
|
174
|
+
- - ">="
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0'
|
93
177
|
- !ruby/object:Gem::Dependency
|
94
178
|
name: rubocop-gradual
|
95
179
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,6 +244,20 @@ dependencies:
|
|
160
244
|
- - "~>"
|
161
245
|
- !ruby/object:Gem::Version
|
162
246
|
version: '2.22'
|
247
|
+
- !ruby/object:Gem::Dependency
|
248
|
+
name: rubocop-shopify
|
249
|
+
requirement: !ruby/object:Gem::Requirement
|
250
|
+
requirements:
|
251
|
+
- - "~>"
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '2.13'
|
254
|
+
type: :development
|
255
|
+
prerelease: false
|
256
|
+
version_requirements: !ruby/object:Gem::Requirement
|
257
|
+
requirements:
|
258
|
+
- - "~>"
|
259
|
+
- !ruby/object:Gem::Version
|
260
|
+
version: '2.13'
|
163
261
|
- !ruby/object:Gem::Dependency
|
164
262
|
name: rubocop-thread_safety
|
165
263
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,17 +304,17 @@ files:
|
|
206
304
|
- lib/standard/rubocop/lts.rb
|
207
305
|
- lib/standard/rubocop/lts/version.rb
|
208
306
|
- sig/standard/rubocop/lts.rbs
|
209
|
-
homepage: https://rubocop-lts
|
307
|
+
homepage: https://gitlab.com/rubocop-lts/standard-rubocop-lts
|
210
308
|
licenses:
|
211
309
|
- MIT
|
212
310
|
metadata:
|
213
|
-
homepage_uri: https://rubocop-lts
|
214
|
-
source_code_uri: https://rubocop-lts
|
215
|
-
changelog_uri: https://rubocop-lts
|
216
|
-
bug_tracker_uri: https://rubocop-lts
|
217
|
-
documentation_uri: https://www.rubydoc.info/gems/standard-rubocop-lts/1.0.
|
311
|
+
homepage_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts
|
312
|
+
source_code_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/tree/v1.0.4
|
313
|
+
changelog_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/v1.0.4/CHANGELOG.md
|
314
|
+
bug_tracker_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/issues
|
315
|
+
documentation_uri: https://www.rubydoc.info/gems/standard-rubocop-lts/1.0.4
|
316
|
+
wiki_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/wikis/home
|
218
317
|
funding_uri: https://liberapay.com/pboling
|
219
|
-
wiki_uri: https://rubocop-lts.gitlab.io//wiki
|
220
318
|
rubygems_mfa_required: 'true'
|
221
319
|
post_install_message:
|
222
320
|
rdoc_options: []
|
metadata.gz.sig
ADDED