rubocop-springest 0.7.2 → 0.7.5

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