ruboconf 1.18.0 → 1.20.0
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
- data/.tool-versions +1 -1
- data/Gemfile.lock +18 -18
- data/cops/layout.yml +3 -0
- data/cops/lint.yml +6 -0
- data/cops/style.yml +48 -0
- data/ruboconf.gemspec +3 -3
- metadata +7 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7b076ca900f58adeff7a2b2ced90c1a98e864aabb9b0cc548ddb53d74ce64af
|
|
4
|
+
data.tar.gz: 139cb9cb60c6c71d2d60cf30e7c8c3f193443501038c0885c62a421faa18be6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: faffd0df78c8c949cafdf24aaecf302e63e1f359d032ee92128d04c773f855117bd1adbe5c3037168d9ebcb75ce4898171b86c2ee5610f3f455a24b22f11e162
|
|
7
|
+
data.tar.gz: 623595dac6172d8fda5ab1aa5becaa9ea045701c48d98c2ab7e966a795375bcc53e27c69cb68a560cfe09cfbc66b4eee857d8a60214b6ded324d06b5a4c04a77
|
data/.tool-versions
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby
|
|
1
|
+
ruby 4.0.0
|
data/Gemfile.lock
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ruboconf (1.
|
|
5
|
-
rubocop (~> 1.
|
|
6
|
-
rubocop-performance (~> 1.
|
|
4
|
+
ruboconf (1.20.0)
|
|
5
|
+
rubocop (~> 1.86.0)
|
|
6
|
+
rubocop-performance (~> 1.26.1)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
11
|
ast (2.4.3)
|
|
12
|
-
json (2.
|
|
12
|
+
json (2.19.3)
|
|
13
13
|
language_server-protocol (3.17.0.5)
|
|
14
14
|
lint_roller (1.1.0)
|
|
15
|
-
parallel (1.
|
|
16
|
-
parser (3.3.
|
|
15
|
+
parallel (1.28.0)
|
|
16
|
+
parser (3.3.11.1)
|
|
17
17
|
ast (~> 2.4.1)
|
|
18
18
|
racc
|
|
19
|
-
prism (1.
|
|
19
|
+
prism (1.9.0)
|
|
20
20
|
racc (1.8.1)
|
|
21
21
|
rainbow (3.1.1)
|
|
22
|
-
rake (13.
|
|
23
|
-
regexp_parser (2.
|
|
24
|
-
rubocop (1.
|
|
22
|
+
rake (13.3.1)
|
|
23
|
+
regexp_parser (2.12.0)
|
|
24
|
+
rubocop (1.86.0)
|
|
25
25
|
json (~> 2.3)
|
|
26
26
|
language_server-protocol (~> 3.17.0.2)
|
|
27
27
|
lint_roller (~> 1.1.0)
|
|
@@ -29,20 +29,20 @@ GEM
|
|
|
29
29
|
parser (>= 3.3.0.2)
|
|
30
30
|
rainbow (>= 2.2.2, < 4.0)
|
|
31
31
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
32
|
-
rubocop-ast (>= 1.
|
|
32
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
33
33
|
ruby-progressbar (~> 1.7)
|
|
34
34
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
35
|
-
rubocop-ast (1.
|
|
35
|
+
rubocop-ast (1.49.1)
|
|
36
36
|
parser (>= 3.3.7.2)
|
|
37
|
-
prism (~> 1.
|
|
38
|
-
rubocop-performance (1.
|
|
37
|
+
prism (~> 1.7)
|
|
38
|
+
rubocop-performance (1.26.1)
|
|
39
39
|
lint_roller (~> 1.1)
|
|
40
40
|
rubocop (>= 1.75.0, < 2.0)
|
|
41
|
-
rubocop-ast (>= 1.
|
|
41
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
42
42
|
ruby-progressbar (1.13.0)
|
|
43
|
-
unicode-display_width (3.
|
|
44
|
-
unicode-emoji (~> 4.
|
|
45
|
-
unicode-emoji (4.0
|
|
43
|
+
unicode-display_width (3.2.0)
|
|
44
|
+
unicode-emoji (~> 4.1)
|
|
45
|
+
unicode-emoji (4.2.0)
|
|
46
46
|
|
|
47
47
|
PLATFORMS
|
|
48
48
|
x86_64-linux
|
data/cops/layout.yml
CHANGED
data/cops/lint.yml
CHANGED
|
@@ -22,6 +22,9 @@ Lint/ConstantReassignment:
|
|
|
22
22
|
Lint/CopDirectiveSyntax:
|
|
23
23
|
Enabled: true
|
|
24
24
|
|
|
25
|
+
Lint/DataDefineOverride:
|
|
26
|
+
Enabled: true
|
|
27
|
+
|
|
25
28
|
Lint/DeprecatedConstants:
|
|
26
29
|
Enabled: true
|
|
27
30
|
|
|
@@ -124,6 +127,9 @@ Lint/UnexpectedBlockArity:
|
|
|
124
127
|
Lint/UnmodifiedReduceAccumulator:
|
|
125
128
|
Enabled: true
|
|
126
129
|
|
|
130
|
+
Lint/UnreachablePatternBranch:
|
|
131
|
+
Enabled: true
|
|
132
|
+
|
|
127
133
|
Lint/UnusedBlockArgument:
|
|
128
134
|
IgnoreEmptyBlocks: false
|
|
129
135
|
|
data/cops/style.yml
CHANGED
|
@@ -7,6 +7,9 @@ Style/ArgumentsForwarding:
|
|
|
7
7
|
Style/ArrayIntersect:
|
|
8
8
|
Enabled: true
|
|
9
9
|
|
|
10
|
+
Style/ArrayIntersectWithSingleElement:
|
|
11
|
+
Enabled: true
|
|
12
|
+
|
|
10
13
|
Style/BitwisePredicate:
|
|
11
14
|
Enabled: true
|
|
12
15
|
|
|
@@ -46,6 +49,9 @@ Style/Documentation:
|
|
|
46
49
|
Style/DocumentDynamicEvalDefinition:
|
|
47
50
|
Enabled: true
|
|
48
51
|
|
|
52
|
+
Style/EmptyClassDefinition:
|
|
53
|
+
Enabled: true
|
|
54
|
+
|
|
49
55
|
Style/EmptyHeredoc:
|
|
50
56
|
Enabled: true
|
|
51
57
|
|
|
@@ -73,6 +79,9 @@ Style/FileEmpty:
|
|
|
73
79
|
Style/FileNull:
|
|
74
80
|
Enabled: true
|
|
75
81
|
|
|
82
|
+
Style/FileOpen:
|
|
83
|
+
Enabled: true
|
|
84
|
+
|
|
76
85
|
Style/FileRead:
|
|
77
86
|
Enabled: true
|
|
78
87
|
|
|
@@ -140,6 +149,9 @@ Style/MapCompactWithConditionalBlock:
|
|
|
140
149
|
Style/MapIntoArray:
|
|
141
150
|
Enabled: true
|
|
142
151
|
|
|
152
|
+
Style/MapJoin:
|
|
153
|
+
Enabled: true
|
|
154
|
+
|
|
143
155
|
Style/MapToHash:
|
|
144
156
|
Enabled: true
|
|
145
157
|
|
|
@@ -149,6 +161,9 @@ Style/MapToSet:
|
|
|
149
161
|
Style/MinMaxComparison:
|
|
150
162
|
Enabled: true
|
|
151
163
|
|
|
164
|
+
Style/ModuleMemberExistenceCheck:
|
|
165
|
+
Enabled: true
|
|
166
|
+
|
|
152
167
|
Style/MultilineInPatternThen:
|
|
153
168
|
Enabled: true
|
|
154
169
|
|
|
@@ -158,6 +173,9 @@ Style/NegatedIf:
|
|
|
158
173
|
Style/NegatedIfElseCondition:
|
|
159
174
|
Enabled: false
|
|
160
175
|
|
|
176
|
+
Style/NegativeArrayIndex:
|
|
177
|
+
Enabled: true
|
|
178
|
+
|
|
161
179
|
Style/NestedFileDirname:
|
|
162
180
|
Enabled: true
|
|
163
181
|
|
|
@@ -179,12 +197,18 @@ Style/NumericLiterals:
|
|
|
179
197
|
Style/ObjectThen:
|
|
180
198
|
Enabled: true
|
|
181
199
|
|
|
200
|
+
Style/OneClassPerFile:
|
|
201
|
+
Enabled: true
|
|
202
|
+
|
|
182
203
|
Style/OpenStructUse:
|
|
183
204
|
Enabled: true
|
|
184
205
|
|
|
185
206
|
Style/OperatorMethodCall:
|
|
186
207
|
Enabled: true
|
|
187
208
|
|
|
209
|
+
Style/PartitionInsteadOfDoubleSelect:
|
|
210
|
+
Enabled: true
|
|
211
|
+
|
|
188
212
|
Style/PercentLiteralDelimiters:
|
|
189
213
|
PreferredDelimiters:
|
|
190
214
|
default: "()"
|
|
@@ -194,9 +218,15 @@ Style/PercentLiteralDelimiters:
|
|
|
194
218
|
"%w": "()"
|
|
195
219
|
"%W": "()"
|
|
196
220
|
|
|
221
|
+
Style/PredicateWithKind:
|
|
222
|
+
Enabled: false
|
|
223
|
+
|
|
197
224
|
Style/QuotedSymbols:
|
|
198
225
|
Enabled: true
|
|
199
226
|
|
|
227
|
+
Style/ReduceToHash:
|
|
228
|
+
Enabled: true
|
|
229
|
+
|
|
200
230
|
Style/RedundantArrayConstructor:
|
|
201
231
|
Enabled: true
|
|
202
232
|
|
|
@@ -242,6 +272,9 @@ Style/RedundantInterpolationUnfreeze:
|
|
|
242
272
|
Style/RedundantLineContinuation:
|
|
243
273
|
Enabled: true
|
|
244
274
|
|
|
275
|
+
Style/RedundantMinMaxBy:
|
|
276
|
+
Enabled: true
|
|
277
|
+
|
|
245
278
|
Style/RedundantRegexpArgument:
|
|
246
279
|
Enabled: true
|
|
247
280
|
|
|
@@ -257,12 +290,24 @@ Style/RedundantSelfAssignmentBranch:
|
|
|
257
290
|
Style/RedundantStringEscape:
|
|
258
291
|
Enabled: true
|
|
259
292
|
|
|
293
|
+
Style/RedundantStructKeywordInit:
|
|
294
|
+
Enabled: true
|
|
295
|
+
|
|
260
296
|
Style/ReturnNilInPredicateMethodDefinition:
|
|
261
297
|
Enabled: true
|
|
262
298
|
|
|
299
|
+
Style/ReverseFind:
|
|
300
|
+
Enabled: true
|
|
301
|
+
|
|
263
302
|
Style/SafeNavigationChainLength:
|
|
264
303
|
Enabled: false
|
|
265
304
|
|
|
305
|
+
Style/SelectByKind:
|
|
306
|
+
Enabled: false
|
|
307
|
+
|
|
308
|
+
Style/SelectByRange:
|
|
309
|
+
Enabled: true
|
|
310
|
+
|
|
266
311
|
Style/SelectByRegexp:
|
|
267
312
|
Enabled: true
|
|
268
313
|
|
|
@@ -291,6 +336,9 @@ Style/SwapValues:
|
|
|
291
336
|
Style/SymbolArray:
|
|
292
337
|
EnforcedStyle: brackets
|
|
293
338
|
|
|
339
|
+
Style/TallyMethod:
|
|
340
|
+
Enabled: true
|
|
341
|
+
|
|
294
342
|
Style/TrailingCommaInHashLiteral:
|
|
295
343
|
Enabled: true
|
|
296
344
|
|
data/ruboconf.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
4
|
spec.name = "ruboconf"
|
|
5
|
-
spec.version = "1.
|
|
5
|
+
spec.version = "1.20.0"
|
|
6
6
|
spec.authors = ["Richard Böhme"]
|
|
7
7
|
spec.email = ["richard.boehme1999@gmail.com"]
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
-
spec.add_dependency "rubocop", "~> 1.
|
|
26
|
-
spec.add_dependency "rubocop-performance", "~> 1.
|
|
25
|
+
spec.add_dependency "rubocop", "~> 1.86.0"
|
|
26
|
+
spec.add_dependency "rubocop-performance", "~> 1.26.1"
|
|
27
27
|
spec.metadata["rubygems_mfa_required"] = "true"
|
|
28
28
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruboconf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.20.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Böhme
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rubocop
|
|
@@ -16,29 +15,28 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - "~>"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.
|
|
18
|
+
version: 1.86.0
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - "~>"
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.
|
|
25
|
+
version: 1.86.0
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: rubocop-performance
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
30
29
|
requirements:
|
|
31
30
|
- - "~>"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.
|
|
32
|
+
version: 1.26.1
|
|
34
33
|
type: :runtime
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - "~>"
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.
|
|
41
|
-
description:
|
|
39
|
+
version: 1.26.1
|
|
42
40
|
email:
|
|
43
41
|
- richard.boehme1999@gmail.com
|
|
44
42
|
executables: []
|
|
@@ -71,7 +69,6 @@ metadata:
|
|
|
71
69
|
homepage_uri: https://github.com/richardboehme/ruboconf
|
|
72
70
|
source_code_uri: https://github.com/richardboehme/ruboconf
|
|
73
71
|
rubygems_mfa_required: 'true'
|
|
74
|
-
post_install_message:
|
|
75
72
|
rdoc_options: []
|
|
76
73
|
require_paths:
|
|
77
74
|
- lib
|
|
@@ -86,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
86
83
|
- !ruby/object:Gem::Version
|
|
87
84
|
version: '0'
|
|
88
85
|
requirements: []
|
|
89
|
-
rubygems_version:
|
|
90
|
-
signing_key:
|
|
86
|
+
rubygems_version: 4.0.3
|
|
91
87
|
specification_version: 4
|
|
92
88
|
summary: Opinionated Rubocop configuration for personal projects.
|
|
93
89
|
test_files: []
|