gc_ruboconfig 2.23.0 → 2.28.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 +94 -0
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7af8ff4b529d4dabfa78551237de47feed834ed64f2580d2243473b5a8fc0f3
|
4
|
+
data.tar.gz: 6857ce2a027258c6b466fe5215d352358396647361e779beeea273a7d795a171
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 258d4bce1c721853159ca4249e810a0b113921f785c954f4630465c6b6ebce6c983529599ee030439b4c226cc85fb121e221f31e4fe3917a06464c9a1d843cfc
|
7
|
+
data.tar.gz: 4f6832999f1c1973fbfcf3097cb08d6b0ac27845bbce1eccc3771fe06f0e11514977324c0ff64a4993f77c86651a824982276f2ab9b4c601bd52387e08f8b7e0
|
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
|
|
@@ -27,6 +30,9 @@ Lint/StructNewOverride:
|
|
27
30
|
Lint/MixedRegexpCaptureTypes:
|
28
31
|
Enabled: true
|
29
32
|
|
33
|
+
Lint/AmbiguousRange:
|
34
|
+
Enabled: true
|
35
|
+
|
30
36
|
Metrics/ClassLength:
|
31
37
|
Enabled: false
|
32
38
|
|
@@ -124,9 +130,27 @@ Style/StringLiterals:
|
|
124
130
|
Naming/VariableNumber:
|
125
131
|
Enabled: false
|
126
132
|
|
133
|
+
Naming/InclusiveLanguage:
|
134
|
+
Enabled: false
|
135
|
+
|
127
136
|
Style/YodaCondition:
|
128
137
|
Enabled: true
|
129
138
|
|
139
|
+
Style/EndlessMethod:
|
140
|
+
Enabled: true
|
141
|
+
|
142
|
+
Style/HashConversion:
|
143
|
+
Enabled: true
|
144
|
+
|
145
|
+
Style/HashExcept:
|
146
|
+
Enabled: true
|
147
|
+
|
148
|
+
Style/IfWithBooleanLiteralBranches:
|
149
|
+
Enabled: true
|
150
|
+
|
151
|
+
Style/IfUnlessModifier:
|
152
|
+
Enabled: false
|
153
|
+
|
130
154
|
Layout/SpaceBeforeBlockBraces:
|
131
155
|
EnforcedStyle: space
|
132
156
|
EnforcedStyleForEmptyBraces: space
|
@@ -158,6 +182,9 @@ RSpec/MultipleMemoizedHelpers:
|
|
158
182
|
RSpec/StubbedMock:
|
159
183
|
Enabled: false
|
160
184
|
|
185
|
+
RSpec/IdenticalEqualityAssertion:
|
186
|
+
Enabled: true
|
187
|
+
|
161
188
|
# Re-enable this when the following is resolved:
|
162
189
|
# https://github.com/rubocop-hq/rubocop/issues/5953
|
163
190
|
Style/AccessModifierDeclarations:
|
@@ -248,6 +275,15 @@ Performance/ConstantRegexp:
|
|
248
275
|
Performance/MethodObjectAsBlock:
|
249
276
|
Enabled: true
|
250
277
|
|
278
|
+
Performance/RedundantEqualityComparisonBlock:
|
279
|
+
Enabled: true
|
280
|
+
|
281
|
+
Performance/RedundantSplitRegexpArgument:
|
282
|
+
Enabled: true
|
283
|
+
|
284
|
+
Performance/MapCompact:
|
285
|
+
Enabled: true
|
286
|
+
|
251
287
|
Lint/DuplicateElsifCondition:
|
252
288
|
Enabled: true
|
253
289
|
|
@@ -331,6 +367,7 @@ Lint/EmptyBlock:
|
|
331
367
|
Enabled: false
|
332
368
|
|
333
369
|
Lint/EmptyClass:
|
370
|
+
Enabled: true
|
334
371
|
Exclude:
|
335
372
|
- "spec/**/*"
|
336
373
|
|
@@ -346,6 +383,36 @@ Lint/ToEnumArguments:
|
|
346
383
|
Lint/UnmodifiedReduceAccumulator:
|
347
384
|
Enabled: true
|
348
385
|
|
386
|
+
Lint/UnexpectedBlockArity:
|
387
|
+
Enabled: true
|
388
|
+
|
389
|
+
Lint/AmbiguousAssignment:
|
390
|
+
Enabled: true
|
391
|
+
|
392
|
+
Lint/DeprecatedConstants:
|
393
|
+
Enabled: true
|
394
|
+
|
395
|
+
Lint/LambdaWithoutLiteralBlock:
|
396
|
+
Enabled: true
|
397
|
+
|
398
|
+
Lint/NumberedParameterAssignment:
|
399
|
+
Enabled: true
|
400
|
+
|
401
|
+
Lint/OrAssignmentToConstant:
|
402
|
+
Enabled: true
|
403
|
+
|
404
|
+
Lint/RedundantDirGlobSort:
|
405
|
+
Enabled: true
|
406
|
+
|
407
|
+
Lint/SymbolConversion:
|
408
|
+
Enabled: true
|
409
|
+
|
410
|
+
Lint/TripleQuotes:
|
411
|
+
Enabled: true
|
412
|
+
|
413
|
+
Lint/EmptyInPattern:
|
414
|
+
Enabled: true
|
415
|
+
|
349
416
|
Style/ExplicitBlockArgument:
|
350
417
|
Enabled: true
|
351
418
|
|
@@ -385,6 +452,9 @@ Style/DocumentDynamicEvalDefinition:
|
|
385
452
|
Style/NegatedIfElseCondition:
|
386
453
|
Enabled: false
|
387
454
|
|
455
|
+
Style/NegatedIf:
|
456
|
+
Enabled: false
|
457
|
+
|
388
458
|
Style/ArgumentsForwarding:
|
389
459
|
Enabled: true
|
390
460
|
|
@@ -397,5 +467,29 @@ Style/NilLambda:
|
|
397
467
|
Style/SwapValues:
|
398
468
|
Enabled: true
|
399
469
|
|
470
|
+
Style/RedundantArgument:
|
471
|
+
Enabled: true
|
472
|
+
|
473
|
+
Style/StringChars:
|
474
|
+
Enabled: true
|
475
|
+
|
476
|
+
Style/InPatternThen:
|
477
|
+
Enabled: true
|
478
|
+
|
479
|
+
Style/MultilineInPatternThen:
|
480
|
+
Enabled: true
|
481
|
+
|
482
|
+
Style/QuotedSymbols:
|
483
|
+
Enabled: true
|
484
|
+
|
485
|
+
Style/RedundantSelfAssignmentBranch:
|
486
|
+
Enabled: true
|
487
|
+
|
400
488
|
Layout/BeginEndAlignment:
|
401
489
|
Enabled: true
|
490
|
+
|
491
|
+
Layout/SpaceBeforeBrackets:
|
492
|
+
Enabled: true
|
493
|
+
|
494
|
+
Layout/LineEndStringConcatenationIndentation:
|
495
|
+
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.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,43 +16,43 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.19'
|
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: '1.
|
26
|
+
version: '1.19'
|
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: 2.
|
33
|
+
version: 2.4.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: 2.
|
40
|
+
version: 2.4.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.11'
|
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.
|
55
|
-
description:
|
54
|
+
version: '1.11'
|
55
|
+
description:
|
56
56
|
email:
|
57
57
|
- developers@gocardless.com
|
58
58
|
executables: []
|
@@ -64,7 +64,7 @@ homepage: https://github.com/gocardless/ruboconfig
|
|
64
64
|
licenses:
|
65
65
|
- MIT
|
66
66
|
metadata: {}
|
67
|
-
post_install_message:
|
67
|
+
post_install_message:
|
68
68
|
rdoc_options: []
|
69
69
|
require_paths:
|
70
70
|
- lib
|
@@ -79,8 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
|
-
rubygems_version: 3.1.
|
83
|
-
signing_key:
|
82
|
+
rubygems_version: 3.1.6
|
83
|
+
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: GoCardless's shared Rubocop configuration, conforming to our house style
|
86
86
|
test_files: []
|