gc_ruboconfig 2.20.0 → 2.25.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 +114 -1
- 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: 1cccb6ad6cb477f3b3fb6ee2ee7f06c07a50c12f3e983c99e228593ba4e59bc1
|
4
|
+
data.tar.gz: 182ba2d62365d35ea8b18bd1ce8e659a8f8c0e36f6e47c00d7972de3688e9db9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b969f583e0d9fc90374a250a5a3c8161c41b336e346f9df21c90bedfbf2379effac4102f15bacac9fda4f347c4f75d505658ade2be2faa4cb12578a38b63c6ad
|
7
|
+
data.tar.gz: 5fac274419745d080b73e07cec5fb7a16204a77a2135e1f8ec88b6cd1b7cda40bd1183b841a0571b389621c1b57c6247bd452a4cc6b9275b734d2cf6a9ee9fe1
|
data/rubocop.yml
CHANGED
@@ -12,6 +12,9 @@ AllCops:
|
|
12
12
|
- bin/**/*
|
13
13
|
- node_modules/**/*
|
14
14
|
|
15
|
+
Gemspec/DateAssignment:
|
16
|
+
Enabled: true
|
17
|
+
|
15
18
|
Lint/RedundantCopEnableDirective:
|
16
19
|
Severity: error
|
17
20
|
|
@@ -127,6 +130,18 @@ Naming/VariableNumber:
|
|
127
130
|
Style/YodaCondition:
|
128
131
|
Enabled: true
|
129
132
|
|
133
|
+
Style/EndlessMethod:
|
134
|
+
Enabled: true
|
135
|
+
|
136
|
+
Style/HashConversion:
|
137
|
+
Enabled: true
|
138
|
+
|
139
|
+
Style/HashExcept:
|
140
|
+
Enabled: true
|
141
|
+
|
142
|
+
Style/IfWithBooleanLiteralBranches:
|
143
|
+
Enabled: true
|
144
|
+
|
130
145
|
Layout/SpaceBeforeBlockBraces:
|
131
146
|
EnforcedStyle: space
|
132
147
|
EnforcedStyleForEmptyBraces: space
|
@@ -233,6 +248,27 @@ Performance/Squeeze:
|
|
233
248
|
Performance/StringInclude:
|
234
249
|
Enabled: true
|
235
250
|
|
251
|
+
Performance/ArraySemiInfiniteRangeSlice:
|
252
|
+
Enabled: false
|
253
|
+
|
254
|
+
Performance/BlockGivenWithExplicitBlock:
|
255
|
+
Enabled: true
|
256
|
+
|
257
|
+
Performance/CollectionLiteralInLoop:
|
258
|
+
Enabled: true
|
259
|
+
|
260
|
+
Performance/ConstantRegexp:
|
261
|
+
Enabled: true
|
262
|
+
|
263
|
+
Performance/MethodObjectAsBlock:
|
264
|
+
Enabled: true
|
265
|
+
|
266
|
+
Performance/RedundantEqualityComparisonBlock:
|
267
|
+
Enabled: true
|
268
|
+
|
269
|
+
Performance/RedundantSplitRegexpArgument:
|
270
|
+
Enabled: true
|
271
|
+
|
236
272
|
Lint/DuplicateElsifCondition:
|
237
273
|
Enabled: true
|
238
274
|
|
@@ -295,7 +331,7 @@ Lint/UselessMethodDefinition:
|
|
295
331
|
Enabled: true
|
296
332
|
|
297
333
|
Lint/ConstantDefinitionInBlock:
|
298
|
-
Enabled:
|
334
|
+
Enabled: false
|
299
335
|
|
300
336
|
Lint/HashCompareByIdentity:
|
301
337
|
Enabled: true
|
@@ -309,6 +345,56 @@ Lint/RedundantSafeNavigation:
|
|
309
345
|
Lint/UselessTimes:
|
310
346
|
Enabled: true
|
311
347
|
|
348
|
+
Lint/DuplicateBranch:
|
349
|
+
Enabled: false
|
350
|
+
|
351
|
+
Lint/EmptyBlock:
|
352
|
+
Enabled: false
|
353
|
+
|
354
|
+
Lint/EmptyClass:
|
355
|
+
Enabled: true
|
356
|
+
Exclude:
|
357
|
+
- "spec/**/*"
|
358
|
+
|
359
|
+
Lint/NoReturnInBeginEndBlocks:
|
360
|
+
Enabled: false
|
361
|
+
|
362
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
363
|
+
Enabled: true
|
364
|
+
|
365
|
+
Lint/ToEnumArguments:
|
366
|
+
Enabled: true
|
367
|
+
|
368
|
+
Lint/UnmodifiedReduceAccumulator:
|
369
|
+
Enabled: true
|
370
|
+
|
371
|
+
Lint/UnexpectedBlockArity:
|
372
|
+
Enabled: true
|
373
|
+
|
374
|
+
Lint/AmbiguousAssignment:
|
375
|
+
Enabled: true
|
376
|
+
|
377
|
+
Lint/DeprecatedConstants:
|
378
|
+
Enabled: true
|
379
|
+
|
380
|
+
Lint/LambdaWithoutLiteralBlock:
|
381
|
+
Enabled: true
|
382
|
+
|
383
|
+
Lint/NumberedParameterAssignment:
|
384
|
+
Enabled: true
|
385
|
+
|
386
|
+
Lint/OrAssignmentToConstant:
|
387
|
+
Enabled: true
|
388
|
+
|
389
|
+
Lint/RedundantDirGlobSort:
|
390
|
+
Enabled: true
|
391
|
+
|
392
|
+
Lint/SymbolConversion:
|
393
|
+
Enabled: true
|
394
|
+
|
395
|
+
Lint/TripleQuotes:
|
396
|
+
Enabled: true
|
397
|
+
|
312
398
|
Style/ExplicitBlockArgument:
|
313
399
|
Enabled: true
|
314
400
|
|
@@ -339,5 +425,32 @@ Style/SoleNestedConditional:
|
|
339
425
|
Style/ClassEqualityComparison:
|
340
426
|
Enabled: true
|
341
427
|
|
428
|
+
Style/CommentAnnotation:
|
429
|
+
Enabled: false
|
430
|
+
|
431
|
+
Style/DocumentDynamicEvalDefinition:
|
432
|
+
Enabled: false
|
433
|
+
|
434
|
+
Style/NegatedIfElseCondition:
|
435
|
+
Enabled: false
|
436
|
+
|
437
|
+
Style/ArgumentsForwarding:
|
438
|
+
Enabled: true
|
439
|
+
|
440
|
+
Style/CollectionCompact:
|
441
|
+
Enabled: true
|
442
|
+
|
443
|
+
Style/NilLambda:
|
444
|
+
Enabled: true
|
445
|
+
|
446
|
+
Style/SwapValues:
|
447
|
+
Enabled: true
|
448
|
+
|
449
|
+
Style/RedundantArgument:
|
450
|
+
Enabled: true
|
451
|
+
|
342
452
|
Layout/BeginEndAlignment:
|
343
453
|
Enabled: true
|
454
|
+
|
455
|
+
Layout/SpaceBeforeBrackets:
|
456
|
+
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.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-16 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.11'
|
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.11'
|
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.2.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.2.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.10'
|
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.10'
|
55
55
|
description:
|
56
56
|
email:
|
57
57
|
- developers@gocardless.com
|