gc_ruboconfig 2.18.0 → 2.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop.yml +109 -0
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f7a2788afb2c16ff34d3936c86375893cb5f65d9696978c2c0e5f8d7fad89da
|
4
|
+
data.tar.gz: 4c647d905fba972a87a4d450e297e99725e6d2618606a582e0e2e6b645895f2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e230761967fde23f5c2213db842df28a00f5fac4792f6814cd963d214dc04a70ec436e74beaa0290a38156b2e692da84ca79699acac434eb4d9c3210e9439199
|
7
|
+
data.tar.gz: bf49fa6fe31db7720910acbf6d7b22f5a78eb31a24bba3c4879dcc73b86f172e668d9ef70526d97254ac8bfae5391f4f0da219f909ed2270cb7876b45ba8d8fd
|
data/rubocop.yml
CHANGED
@@ -155,6 +155,9 @@ RSpec/ImplicitBlockExpectation:
|
|
155
155
|
RSpec/MultipleMemoizedHelpers:
|
156
156
|
Max: 30
|
157
157
|
|
158
|
+
RSpec/StubbedMock:
|
159
|
+
Enabled: false
|
160
|
+
|
158
161
|
# Re-enable this when the following is resolved:
|
159
162
|
# https://github.com/rubocop-hq/rubocop/issues/5953
|
160
163
|
Style/AccessModifierDeclarations:
|
@@ -210,6 +213,9 @@ Performance/BigDecimalWithNumericArgument:
|
|
210
213
|
Performance/RedundantSortBlock:
|
211
214
|
Enabled: true
|
212
215
|
|
216
|
+
Performance/Sum:
|
217
|
+
Enabled: true
|
218
|
+
|
213
219
|
# Disabled as it removes some idiomatic code, and does some byte/char moving around
|
214
220
|
# encoding which we're not confident with.
|
215
221
|
Performance/RedundantStringChars:
|
@@ -227,6 +233,21 @@ Performance/Squeeze:
|
|
227
233
|
Performance/StringInclude:
|
228
234
|
Enabled: true
|
229
235
|
|
236
|
+
Performance/ArraySemiInfiniteRangeSlice:
|
237
|
+
Enabled: false
|
238
|
+
|
239
|
+
Performance/BlockGivenWithExplicitBlock:
|
240
|
+
Enabled: true
|
241
|
+
|
242
|
+
Performance/CollectionLiteralInLoop:
|
243
|
+
Enabled: true
|
244
|
+
|
245
|
+
Performance/ConstantRegexp:
|
246
|
+
Enabled: true
|
247
|
+
|
248
|
+
Performance/MethodObjectAsBlock:
|
249
|
+
Enabled: true
|
250
|
+
|
230
251
|
Lint/DuplicateElsifCondition:
|
231
252
|
Enabled: true
|
232
253
|
|
@@ -276,6 +297,55 @@ Lint/TopLevelReturnWithArgument:
|
|
276
297
|
Lint/UnreachableLoop:
|
277
298
|
Enabled: true
|
278
299
|
|
300
|
+
Lint/DuplicateRequire:
|
301
|
+
Enabled: true
|
302
|
+
|
303
|
+
Lint/EmptyFile:
|
304
|
+
Enabled: true
|
305
|
+
|
306
|
+
Lint/TrailingCommaInAttributeDeclaration:
|
307
|
+
Enabled: true
|
308
|
+
|
309
|
+
Lint/UselessMethodDefinition:
|
310
|
+
Enabled: true
|
311
|
+
|
312
|
+
Lint/ConstantDefinitionInBlock:
|
313
|
+
Enabled: false
|
314
|
+
|
315
|
+
Lint/HashCompareByIdentity:
|
316
|
+
Enabled: true
|
317
|
+
|
318
|
+
Lint/IdentityComparison:
|
319
|
+
Enabled: true
|
320
|
+
|
321
|
+
Lint/RedundantSafeNavigation:
|
322
|
+
Enabled: true
|
323
|
+
|
324
|
+
Lint/UselessTimes:
|
325
|
+
Enabled: true
|
326
|
+
|
327
|
+
Lint/DuplicateBranch:
|
328
|
+
Enabled: false
|
329
|
+
|
330
|
+
Lint/EmptyBlock:
|
331
|
+
Enabled: false
|
332
|
+
|
333
|
+
Lint/EmptyClass:
|
334
|
+
Exclude:
|
335
|
+
- "spec/**/*"
|
336
|
+
|
337
|
+
Lint/NoReturnInBeginEndBlocks:
|
338
|
+
Enabled: false
|
339
|
+
|
340
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
341
|
+
Enabled: true
|
342
|
+
|
343
|
+
Lint/ToEnumArguments:
|
344
|
+
Enabled: true
|
345
|
+
|
346
|
+
Lint/UnmodifiedReduceAccumulator:
|
347
|
+
Enabled: true
|
348
|
+
|
279
349
|
Style/ExplicitBlockArgument:
|
280
350
|
Enabled: true
|
281
351
|
|
@@ -290,3 +360,42 @@ Style/OptionalBooleanParameter:
|
|
290
360
|
|
291
361
|
Style/StringConcatenation:
|
292
362
|
Enabled: false
|
363
|
+
|
364
|
+
Style/CombinableLoops:
|
365
|
+
Enabled: false
|
366
|
+
|
367
|
+
Style/KeywordParametersOrder:
|
368
|
+
Enabled: true
|
369
|
+
|
370
|
+
Style/RedundantSelfAssignment:
|
371
|
+
Enabled: true
|
372
|
+
|
373
|
+
Style/SoleNestedConditional:
|
374
|
+
Enabled: false
|
375
|
+
|
376
|
+
Style/ClassEqualityComparison:
|
377
|
+
Enabled: true
|
378
|
+
|
379
|
+
Style/CommentAnnotation:
|
380
|
+
Enabled: false
|
381
|
+
|
382
|
+
Style/DocumentDynamicEvalDefinition:
|
383
|
+
Enabled: false
|
384
|
+
|
385
|
+
Style/NegatedIfElseCondition:
|
386
|
+
Enabled: false
|
387
|
+
|
388
|
+
Style/ArgumentsForwarding:
|
389
|
+
Enabled: true
|
390
|
+
|
391
|
+
Style/CollectionCompact:
|
392
|
+
Enabled: true
|
393
|
+
|
394
|
+
Style/NilLambda:
|
395
|
+
Enabled: true
|
396
|
+
|
397
|
+
Style/SwapValues:
|
398
|
+
Enabled: true
|
399
|
+
|
400
|
+
Layout/BeginEndAlignment:
|
401
|
+
Enabled: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gc_ruboconfig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 2.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-performance
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.9'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.9'
|
55
55
|
description:
|
56
56
|
email:
|
57
57
|
- developers@gocardless.com
|