rubocop-springest 0.6.9 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/config/default.yml +123 -80
  3. data/config/rails.yml +1 -1
  4. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 24ffaa218f8a5c4c475d20efb6313ed3400f49c4
4
- data.tar.gz: c429f745be8577b2026ba910ddaf35abb197e2ef
2
+ SHA256:
3
+ metadata.gz: 9decc8e66695a7574badff718408efa8060dbe50e48392efa8b003c2242a234e
4
+ data.tar.gz: 7d5c2dba8068fc6639dcd6ffa3884352dfc684f0f3077be35e63e25bdcc76aac
5
5
  SHA512:
6
- metadata.gz: cc4452044523ec665a21a6c61a828693feb5d87ef2422f8343adb96a6d4c753e8ccda2d9e23e99b02272ffb035c908fe087e6b511532d1e518e3d8a5ad5c3165
7
- data.tar.gz: 2cca4df0ce86011a0c826fae654b1b2c4444900a7dd1821dea0251ee52e99ea8ce485041fd1f332f8c026e6351351ea0eabbb48d9b21e80e648ad33d532c3478
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/BlockEndNewline:
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/SpaceAfterMethodName:
17
+ Layout/BeginEndAlignment:
30
18
  Enabled: true
31
19
 
32
- Layout/SpaceAfterNot:
20
+ Layout/BlockAlignment:
33
21
  Enabled: true
34
22
 
35
- Layout/SpaceAfterSemicolon:
23
+ Layout/BlockEndNewline:
36
24
  Enabled: true
37
25
 
38
- Layout/SpaceAroundBlockParameters:
26
+ Layout/CaseIndentation:
39
27
  Enabled: true
40
28
 
41
- Layout/SpaceAroundEqualsInParameterDefault:
29
+ Layout/ClosingParenthesisIndentation:
42
30
  Enabled: true
43
31
 
44
- Layout/SpaceInsideArrayPercentLiteral:
32
+ Layout/CommentIndentation:
45
33
  Enabled: true
46
34
 
47
- Layout/SpaceInsideArrayLiteralBrackets:
35
+ Layout/ConditionPosition:
48
36
  Enabled: true
49
37
 
50
- Layout/SpaceInsideParens:
38
+ Layout/DefEndAlignment:
51
39
  Enabled: true
52
40
 
53
- Layout/SpaceInsideRangeLiteral:
41
+ Layout/DotPosition:
54
42
  Enabled: true
43
+ EnforcedStyle: trailing
55
44
 
56
- Layout/Tab:
45
+ Layout/ElseAlignment:
57
46
  Enabled: true
58
47
 
59
- Layout/TrailingBlankLines:
48
+ Layout/EmptyComment:
60
49
  Enabled: true
61
50
 
62
- Layout/TrailingWhitespace:
51
+ Layout/EmptyLineAfterGuardClause:
63
52
  Enabled: true
64
53
 
65
- Layout/SpaceBeforeFirstArg:
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/EmptyLinesAroundExceptionHandlingKeywords:
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/DotPosition:
99
+ Layout/IndentationConsistency:
99
100
  Enabled: true
100
- EnforcedStyle: trailing
101
101
 
102
- Layout/BlockAlignment:
102
+ Layout/IndentationStyle:
103
103
  Enabled: true
104
104
 
105
- Lint/CircularArgumentReference:
105
+ Layout/IndentationWidth:
106
106
  Enabled: true
107
107
 
108
- Layout/ConditionPosition:
108
+ Layout/InitialIndentation:
109
109
  Enabled: true
110
110
 
111
- Lint/Debugger:
111
+ Layout/LeadingEmptyLines:
112
112
  Enabled: true
113
113
 
114
- Layout/DefEndAlignment:
114
+ Layout/LineLength:
115
+ Enabled: false
116
+
117
+ Layout/MultilineMethodCallIndentation:
115
118
  Enabled: true
119
+ EnforcedStyle: indented
116
120
 
117
- Layout/EndAlignment:
121
+ Layout/SpaceAfterColon:
118
122
  Enabled: true
119
123
 
120
- Lint/DeprecatedClassMethods:
124
+ Layout/SpaceAfterComma:
121
125
  Enabled: true
122
126
 
123
- Lint/DuplicateMethods:
127
+ Layout/SpaceAfterMethodName:
124
128
  Enabled: true
125
129
 
126
- Lint/DuplicatedKey:
130
+ Layout/SpaceAfterNot:
127
131
  Enabled: true
128
132
 
129
- Lint/EachWithObjectArgument:
133
+ Layout/SpaceAfterSemicolon:
130
134
  Enabled: true
131
135
 
132
- Lint/ElseLayout:
136
+ Layout/SpaceAroundBlockParameters:
133
137
  Enabled: true
134
138
 
135
- Lint/EmptyEnsure:
139
+ Layout/SpaceAroundEqualsInParameterDefault:
136
140
  Enabled: true
137
141
 
138
- Lint/EmptyInterpolation:
142
+ Layout/SpaceBeforeFirstArg:
139
143
  Enabled: true
140
144
 
141
- Lint/EndInMethod:
145
+ Layout/SpaceInsideArrayLiteralBrackets:
142
146
  Enabled: true
143
147
 
144
- Lint/EnsureReturn:
148
+ Layout/SpaceInsideArrayPercentLiteral:
145
149
  Enabled: true
146
150
 
147
- Lint/FloatOutOfRange:
151
+ Layout/SpaceInsideParens:
148
152
  Enabled: true
149
153
 
150
- Lint/FormatParameterMismatch:
154
+ Layout/SpaceInsideRangeLiteral:
151
155
  Enabled: true
152
156
 
153
- Lint/LiteralAsCondition:
157
+ Layout/TrailingEmptyLines:
154
158
  Enabled: true
155
159
 
156
- Lint/LiteralInInterpolation:
160
+ Layout/TrailingWhitespace:
157
161
  Enabled: true
158
162
 
159
- Lint/Loop:
163
+ Lint/AmbiguousOperator:
160
164
  Enabled: true
161
165
 
162
- Lint/NextWithoutAccumulator:
166
+ Lint/AmbiguousRegexpLiteral:
163
167
  Enabled: true
164
168
 
165
- Lint/RandOne:
169
+ Lint/BinaryOperatorWithIdenticalOperands:
166
170
  Enabled: true
167
171
 
168
- Lint/RequireParentheses:
172
+ Lint/CircularArgumentReference:
169
173
  Enabled: true
170
174
 
171
- Lint/RescueException:
175
+ Lint/Debugger:
172
176
  Enabled: true
173
177
 
174
- Lint/StringConversionInInterpolation:
178
+ Lint/DeprecatedClassMethods:
175
179
  Enabled: true
176
180
 
177
- Lint/UnderscorePrefixedVariableName:
181
+ Lint/DuplicateMethods:
178
182
  Enabled: true
179
183
 
180
- Lint/RedundantCopDisableDirective:
184
+ Lint/DuplicateHashKey:
181
185
  Enabled: true
182
186
 
183
- Lint/RedundantSplatExpansion:
187
+ Lint/EachWithObjectArgument:
184
188
  Enabled: true
185
189
 
186
- Lint/UnreachableCode:
190
+ Lint/ElseLayout:
187
191
  Enabled: true
188
192
 
189
- Lint/UselessComparison:
193
+ Lint/EmptyEnsure:
190
194
  Enabled: true
191
195
 
192
- Lint/UselessSetterCall:
196
+ Lint/EmptyInterpolation:
193
197
  Enabled: true
194
198
 
195
- Lint/Void:
199
+ Lint/EnsureReturn:
196
200
  Enabled: true
197
201
 
198
- Lint/AmbiguousOperator:
202
+ Lint/FloatOutOfRange:
199
203
  Enabled: true
200
204
 
201
- Lint/AmbiguousRegexpLiteral:
205
+ Lint/FormatParameterMismatch:
202
206
  Enabled: true
203
207
 
204
- Lint/HandleExceptions:
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/Size:
349
+ Performance/ReverseEach:
303
350
  Enabled: true
304
351
 
305
- Performance/StartWith:
352
+ Performance/Size:
306
353
  Enabled: true
307
354
 
308
- Performance/FlatMap:
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/StabbyLambdaParentheses:
422
+ Style/RedundantSortBy:
380
423
  Enabled: true
381
424
 
382
- Style/StringLiterals:
425
+ Style/Sample:
383
426
  Enabled: true
384
- EnforcedStyle: double_quotes
385
427
 
386
- Style/Strip:
428
+ Style/StabbyLambdaParentheses:
387
429
  Enabled: true
388
430
 
389
- Style/RedundantSortBy:
431
+ Style/StringLiterals:
390
432
  Enabled: true
433
+ EnforcedStyle: double_quotes
391
434
 
392
- Style/Sample:
435
+ Style/Strip:
393
436
  Enabled: true
data/config/rails.yml CHANGED
@@ -127,7 +127,7 @@ Style/StringLiterals:
127
127
  Exclude:
128
128
  - 'app/views/**/*.erb'
129
129
 
130
- Layout/TrailingBlankLines:
130
+ Layout/TrailingEmptyLines:
131
131
  Exclude:
132
132
  - 'app/views/**/*.erb'
133
133
 
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.6.9
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: 2019-11-19 00:00:00.000000000 Z
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
- rubyforge_project:
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