rubocop-springest 0.6.9 → 0.7.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 +5 -5
- data/config/default.yml +123 -80
- data/config/rails.yml +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 9decc8e66695a7574badff718408efa8060dbe50e48392efa8b003c2242a234e
|
|
4
|
+
data.tar.gz: 7d5c2dba8068fc6639dcd6ffa3884352dfc684f0f3077be35e63e25bdcc76aac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c624cf28cc98fd15f9108257829c3d9ab1243a879f32abe2f24eee186ea2f7884745f82bd5968bcbce544c11b6de2b6b50d32d4dd4f972e93f4349c86cff3131
|
|
7
|
+
data.tar.gz: b4b6432e2a934e745e8ddd4c4589f64d0f9f34405508755472b035587a2261daaf703d039d606b8b3a98eb11162b54d78c7d3c54f7f5ec99876cec204863a05b
|
data/config/default.yml
CHANGED
|
@@ -11,58 +11,47 @@ Bundler/DuplicatedGem:
|
|
|
11
11
|
Bundler/OrderedGems:
|
|
12
12
|
Enabled: true
|
|
13
13
|
|
|
14
|
-
Layout/
|
|
15
|
-
Enabled: true
|
|
16
|
-
|
|
17
|
-
Layout/EndOfLine:
|
|
18
|
-
Enabled: true
|
|
19
|
-
|
|
20
|
-
Layout/InitialIndentation:
|
|
21
|
-
Enabled: true
|
|
22
|
-
|
|
23
|
-
Layout/SpaceAfterColon:
|
|
24
|
-
Enabled: true
|
|
25
|
-
|
|
26
|
-
Layout/SpaceAfterComma:
|
|
14
|
+
Layout/AssignmentIndentation:
|
|
27
15
|
Enabled: true
|
|
28
16
|
|
|
29
|
-
Layout/
|
|
17
|
+
Layout/BeginEndAlignment:
|
|
30
18
|
Enabled: true
|
|
31
19
|
|
|
32
|
-
Layout/
|
|
20
|
+
Layout/BlockAlignment:
|
|
33
21
|
Enabled: true
|
|
34
22
|
|
|
35
|
-
Layout/
|
|
23
|
+
Layout/BlockEndNewline:
|
|
36
24
|
Enabled: true
|
|
37
25
|
|
|
38
|
-
Layout/
|
|
26
|
+
Layout/CaseIndentation:
|
|
39
27
|
Enabled: true
|
|
40
28
|
|
|
41
|
-
Layout/
|
|
29
|
+
Layout/ClosingParenthesisIndentation:
|
|
42
30
|
Enabled: true
|
|
43
31
|
|
|
44
|
-
Layout/
|
|
32
|
+
Layout/CommentIndentation:
|
|
45
33
|
Enabled: true
|
|
46
34
|
|
|
47
|
-
Layout/
|
|
35
|
+
Layout/ConditionPosition:
|
|
48
36
|
Enabled: true
|
|
49
37
|
|
|
50
|
-
Layout/
|
|
38
|
+
Layout/DefEndAlignment:
|
|
51
39
|
Enabled: true
|
|
52
40
|
|
|
53
|
-
Layout/
|
|
41
|
+
Layout/DotPosition:
|
|
54
42
|
Enabled: true
|
|
43
|
+
EnforcedStyle: trailing
|
|
55
44
|
|
|
56
|
-
Layout/
|
|
45
|
+
Layout/ElseAlignment:
|
|
57
46
|
Enabled: true
|
|
58
47
|
|
|
59
|
-
Layout/
|
|
48
|
+
Layout/EmptyComment:
|
|
60
49
|
Enabled: true
|
|
61
50
|
|
|
62
|
-
Layout/
|
|
51
|
+
Layout/EmptyLineAfterGuardClause:
|
|
63
52
|
Enabled: true
|
|
64
53
|
|
|
65
|
-
Layout/
|
|
54
|
+
Layout/EmptyLineAfterMagicComment:
|
|
66
55
|
Enabled: true
|
|
67
56
|
|
|
68
57
|
Layout/EmptyLineBetweenDefs:
|
|
@@ -73,6 +62,12 @@ Layout/EmptyLineBetweenDefs:
|
|
|
73
62
|
Layout/EmptyLines:
|
|
74
63
|
Enabled: true
|
|
75
64
|
|
|
65
|
+
Layout/EmptyLinesAroundAccessModifier:
|
|
66
|
+
Enabled: true
|
|
67
|
+
|
|
68
|
+
Layout/EmptyLinesAroundArguments:
|
|
69
|
+
Enabled: true
|
|
70
|
+
|
|
76
71
|
Layout/EmptyLinesAroundBeginBody:
|
|
77
72
|
Enabled: true
|
|
78
73
|
|
|
@@ -82,140 +77,185 @@ Layout/EmptyLinesAroundBlockBody:
|
|
|
82
77
|
Layout/EmptyLinesAroundClassBody:
|
|
83
78
|
Enabled: true
|
|
84
79
|
|
|
80
|
+
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
|
81
|
+
Enabled: true
|
|
82
|
+
|
|
85
83
|
Layout/EmptyLinesAroundMethodBody:
|
|
86
84
|
Enabled: true
|
|
87
85
|
|
|
88
86
|
Layout/EmptyLinesAroundModuleBody:
|
|
89
87
|
Enabled: true
|
|
90
88
|
|
|
91
|
-
Layout/
|
|
89
|
+
Layout/EndAlignment:
|
|
90
|
+
Enabled: true
|
|
91
|
+
|
|
92
|
+
Layout/EndOfLine:
|
|
92
93
|
Enabled: true
|
|
93
94
|
|
|
94
95
|
Layout/ExtraSpacing:
|
|
95
96
|
Enabled: true
|
|
96
97
|
AllowForAlignment: false
|
|
97
98
|
|
|
98
|
-
Layout/
|
|
99
|
+
Layout/IndentationConsistency:
|
|
99
100
|
Enabled: true
|
|
100
|
-
EnforcedStyle: trailing
|
|
101
101
|
|
|
102
|
-
Layout/
|
|
102
|
+
Layout/IndentationStyle:
|
|
103
103
|
Enabled: true
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
Layout/IndentationWidth:
|
|
106
106
|
Enabled: true
|
|
107
107
|
|
|
108
|
-
Layout/
|
|
108
|
+
Layout/InitialIndentation:
|
|
109
109
|
Enabled: true
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
Layout/LeadingEmptyLines:
|
|
112
112
|
Enabled: true
|
|
113
113
|
|
|
114
|
-
Layout/
|
|
114
|
+
Layout/LineLength:
|
|
115
|
+
Enabled: false
|
|
116
|
+
|
|
117
|
+
Layout/MultilineMethodCallIndentation:
|
|
115
118
|
Enabled: true
|
|
119
|
+
EnforcedStyle: indented
|
|
116
120
|
|
|
117
|
-
Layout/
|
|
121
|
+
Layout/SpaceAfterColon:
|
|
118
122
|
Enabled: true
|
|
119
123
|
|
|
120
|
-
|
|
124
|
+
Layout/SpaceAfterComma:
|
|
121
125
|
Enabled: true
|
|
122
126
|
|
|
123
|
-
|
|
127
|
+
Layout/SpaceAfterMethodName:
|
|
124
128
|
Enabled: true
|
|
125
129
|
|
|
126
|
-
|
|
130
|
+
Layout/SpaceAfterNot:
|
|
127
131
|
Enabled: true
|
|
128
132
|
|
|
129
|
-
|
|
133
|
+
Layout/SpaceAfterSemicolon:
|
|
130
134
|
Enabled: true
|
|
131
135
|
|
|
132
|
-
|
|
136
|
+
Layout/SpaceAroundBlockParameters:
|
|
133
137
|
Enabled: true
|
|
134
138
|
|
|
135
|
-
|
|
139
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
|
136
140
|
Enabled: true
|
|
137
141
|
|
|
138
|
-
|
|
142
|
+
Layout/SpaceBeforeFirstArg:
|
|
139
143
|
Enabled: true
|
|
140
144
|
|
|
141
|
-
|
|
145
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
|
142
146
|
Enabled: true
|
|
143
147
|
|
|
144
|
-
|
|
148
|
+
Layout/SpaceInsideArrayPercentLiteral:
|
|
145
149
|
Enabled: true
|
|
146
150
|
|
|
147
|
-
|
|
151
|
+
Layout/SpaceInsideParens:
|
|
148
152
|
Enabled: true
|
|
149
153
|
|
|
150
|
-
|
|
154
|
+
Layout/SpaceInsideRangeLiteral:
|
|
151
155
|
Enabled: true
|
|
152
156
|
|
|
153
|
-
|
|
157
|
+
Layout/TrailingEmptyLines:
|
|
154
158
|
Enabled: true
|
|
155
159
|
|
|
156
|
-
|
|
160
|
+
Layout/TrailingWhitespace:
|
|
157
161
|
Enabled: true
|
|
158
162
|
|
|
159
|
-
Lint/
|
|
163
|
+
Lint/AmbiguousOperator:
|
|
160
164
|
Enabled: true
|
|
161
165
|
|
|
162
|
-
Lint/
|
|
166
|
+
Lint/AmbiguousRegexpLiteral:
|
|
163
167
|
Enabled: true
|
|
164
168
|
|
|
165
|
-
Lint/
|
|
169
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
|
166
170
|
Enabled: true
|
|
167
171
|
|
|
168
|
-
Lint/
|
|
172
|
+
Lint/CircularArgumentReference:
|
|
169
173
|
Enabled: true
|
|
170
174
|
|
|
171
|
-
Lint/
|
|
175
|
+
Lint/Debugger:
|
|
172
176
|
Enabled: true
|
|
173
177
|
|
|
174
|
-
Lint/
|
|
178
|
+
Lint/DeprecatedClassMethods:
|
|
175
179
|
Enabled: true
|
|
176
180
|
|
|
177
|
-
Lint/
|
|
181
|
+
Lint/DuplicateMethods:
|
|
178
182
|
Enabled: true
|
|
179
183
|
|
|
180
|
-
Lint/
|
|
184
|
+
Lint/DuplicateHashKey:
|
|
181
185
|
Enabled: true
|
|
182
186
|
|
|
183
|
-
Lint/
|
|
187
|
+
Lint/EachWithObjectArgument:
|
|
184
188
|
Enabled: true
|
|
185
189
|
|
|
186
|
-
Lint/
|
|
190
|
+
Lint/ElseLayout:
|
|
187
191
|
Enabled: true
|
|
188
192
|
|
|
189
|
-
Lint/
|
|
193
|
+
Lint/EmptyEnsure:
|
|
190
194
|
Enabled: true
|
|
191
195
|
|
|
192
|
-
Lint/
|
|
196
|
+
Lint/EmptyInterpolation:
|
|
193
197
|
Enabled: true
|
|
194
198
|
|
|
195
|
-
Lint/
|
|
199
|
+
Lint/EnsureReturn:
|
|
196
200
|
Enabled: true
|
|
197
201
|
|
|
198
|
-
Lint/
|
|
202
|
+
Lint/FloatOutOfRange:
|
|
199
203
|
Enabled: true
|
|
200
204
|
|
|
201
|
-
Lint/
|
|
205
|
+
Lint/FormatParameterMismatch:
|
|
202
206
|
Enabled: true
|
|
203
207
|
|
|
204
|
-
Lint/
|
|
208
|
+
Lint/LiteralAsCondition:
|
|
209
|
+
Enabled: true
|
|
210
|
+
|
|
211
|
+
Lint/LiteralInInterpolation:
|
|
212
|
+
Enabled: true
|
|
213
|
+
|
|
214
|
+
Lint/Loop:
|
|
205
215
|
Enabled: true
|
|
206
216
|
|
|
207
217
|
Lint/NestedMethodDefinition:
|
|
208
218
|
Enabled: true
|
|
209
219
|
|
|
220
|
+
Lint/NextWithoutAccumulator:
|
|
221
|
+
Enabled: true
|
|
222
|
+
|
|
210
223
|
Lint/NonLocalExitFromIterator:
|
|
211
224
|
Enabled: true
|
|
212
225
|
|
|
213
226
|
Lint/ParenthesesAsGroupedExpression:
|
|
214
227
|
Enabled: true
|
|
215
228
|
|
|
229
|
+
Lint/RandOne:
|
|
230
|
+
Enabled: true
|
|
231
|
+
|
|
232
|
+
Lint/RedundantCopDisableDirective:
|
|
233
|
+
Enabled: true
|
|
234
|
+
|
|
235
|
+
Lint/RedundantSplatExpansion:
|
|
236
|
+
Enabled: true
|
|
237
|
+
|
|
238
|
+
Lint/RedundantStringCoercion:
|
|
239
|
+
Enabled: true
|
|
240
|
+
|
|
241
|
+
Lint/RequireParentheses:
|
|
242
|
+
Enabled: true
|
|
243
|
+
|
|
244
|
+
Lint/RescueException:
|
|
245
|
+
Enabled: true
|
|
246
|
+
|
|
216
247
|
Lint/ShadowingOuterLocalVariable:
|
|
217
248
|
Enabled: true
|
|
218
249
|
|
|
250
|
+
Lint/SuppressedException:
|
|
251
|
+
Enabled: true
|
|
252
|
+
|
|
253
|
+
Lint/UnderscorePrefixedVariableName:
|
|
254
|
+
Enabled: true
|
|
255
|
+
|
|
256
|
+
Lint/UnreachableCode:
|
|
257
|
+
Enabled: true
|
|
258
|
+
|
|
219
259
|
Lint/UnusedBlockArgument:
|
|
220
260
|
Enabled: true
|
|
221
261
|
|
|
@@ -231,6 +271,12 @@ Lint/UselessAssignment:
|
|
|
231
271
|
Lint/UselessElseWithoutRescue:
|
|
232
272
|
Enabled: true
|
|
233
273
|
|
|
274
|
+
Lint/UselessSetterCall:
|
|
275
|
+
Enabled: true
|
|
276
|
+
|
|
277
|
+
Lint/Void:
|
|
278
|
+
Enabled: true
|
|
279
|
+
|
|
234
280
|
Metrics/AbcSize:
|
|
235
281
|
Enabled: false
|
|
236
282
|
|
|
@@ -247,9 +293,6 @@ Metrics/ClassLength:
|
|
|
247
293
|
Metrics/CyclomaticComplexity:
|
|
248
294
|
Enabled: false
|
|
249
295
|
|
|
250
|
-
Metrics/LineLength:
|
|
251
|
-
Enabled: false
|
|
252
|
-
|
|
253
296
|
Metrics/MethodLength:
|
|
254
297
|
Enabled: false
|
|
255
298
|
|
|
@@ -289,6 +332,10 @@ Performance/DoubleStartEndWith:
|
|
|
289
332
|
Performance/EndWith:
|
|
290
333
|
Enabled: true
|
|
291
334
|
|
|
335
|
+
Performance/FlatMap:
|
|
336
|
+
Enabled: true
|
|
337
|
+
EnabledForFlattenWithoutParams: false
|
|
338
|
+
|
|
292
339
|
Performance/RangeInclude:
|
|
293
340
|
Enabled: false
|
|
294
341
|
|
|
@@ -299,17 +346,13 @@ Performance/RedundantMerge:
|
|
|
299
346
|
Enabled: true
|
|
300
347
|
MaxKeyValuePairs: 1
|
|
301
348
|
|
|
302
|
-
Performance/
|
|
349
|
+
Performance/ReverseEach:
|
|
303
350
|
Enabled: true
|
|
304
351
|
|
|
305
|
-
Performance/
|
|
352
|
+
Performance/Size:
|
|
306
353
|
Enabled: true
|
|
307
354
|
|
|
308
|
-
Performance/
|
|
309
|
-
Enabled: true
|
|
310
|
-
EnabledForFlattenWithoutParams: false
|
|
311
|
-
|
|
312
|
-
Performance/ReverseEach:
|
|
355
|
+
Performance/StartWith:
|
|
313
356
|
Enabled: true
|
|
314
357
|
|
|
315
358
|
Performance/StringReplacement:
|
|
@@ -376,18 +419,18 @@ Style/Not:
|
|
|
376
419
|
Style/OneLineConditional:
|
|
377
420
|
Enabled: true
|
|
378
421
|
|
|
379
|
-
Style/
|
|
422
|
+
Style/RedundantSortBy:
|
|
380
423
|
Enabled: true
|
|
381
424
|
|
|
382
|
-
Style/
|
|
425
|
+
Style/Sample:
|
|
383
426
|
Enabled: true
|
|
384
|
-
EnforcedStyle: double_quotes
|
|
385
427
|
|
|
386
|
-
Style/
|
|
428
|
+
Style/StabbyLambdaParentheses:
|
|
387
429
|
Enabled: true
|
|
388
430
|
|
|
389
|
-
Style/
|
|
431
|
+
Style/StringLiterals:
|
|
390
432
|
Enabled: true
|
|
433
|
+
EnforcedStyle: double_quotes
|
|
391
434
|
|
|
392
|
-
Style/
|
|
435
|
+
Style/Strip:
|
|
393
436
|
Enabled: true
|
data/config/rails.yml
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-springest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mark Mulder
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-07-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -153,8 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
153
153
|
- !ruby/object:Gem::Version
|
|
154
154
|
version: '0'
|
|
155
155
|
requirements: []
|
|
156
|
-
|
|
157
|
-
rubygems_version: 2.6.14.3
|
|
156
|
+
rubygems_version: 3.0.3
|
|
158
157
|
signing_key:
|
|
159
158
|
specification_version: 4
|
|
160
159
|
summary: RuboCop Springest
|