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