gc_ruboconfig 2.25.0 → 2.30.0

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/rubocop.yml +43 -1
  3. metadata +11 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1cccb6ad6cb477f3b3fb6ee2ee7f06c07a50c12f3e983c99e228593ba4e59bc1
4
- data.tar.gz: 182ba2d62365d35ea8b18bd1ce8e659a8f8c0e36f6e47c00d7972de3688e9db9
3
+ metadata.gz: 7570c08ee0a1adcdd100830685a4f92e21256ddbe09bcf85804442df4878230b
4
+ data.tar.gz: acb43c4dde4f46a169c387c1abdf1a46e4d8191b9b5c03a12cb5f969925a9160
5
5
  SHA512:
6
- metadata.gz: b969f583e0d9fc90374a250a5a3c8161c41b336e346f9df21c90bedfbf2379effac4102f15bacac9fda4f347c4f75d505658ade2be2faa4cb12578a38b63c6ad
7
- data.tar.gz: 5fac274419745d080b73e07cec5fb7a16204a77a2135e1f8ec88b6cd1b7cda40bd1183b841a0571b389621c1b57c6247bd452a4cc6b9275b734d2cf6a9ee9fe1
6
+ metadata.gz: c3a76b4a30445545d5ba80acd8d0953f7a1405fb4adb1d7e69eb610c46b03dae48b0382a3035139748ce1ee95e812f4cd21ef925914e7752f68367bd6803421a
7
+ data.tar.gz: 771c13dc11c8b1d52b73345b0be732838e53af2e2b016095abaf5980870243664e1cbba2b22ea329f34c1bbb1e86e3db3768f2442f7ea49bdbfbd0bd260c957e
data/rubocop.yml CHANGED
@@ -30,6 +30,9 @@ Lint/StructNewOverride:
30
30
  Lint/MixedRegexpCaptureTypes:
31
31
  Enabled: true
32
32
 
33
+ Lint/AmbiguousRange:
34
+ Enabled: true
35
+
33
36
  Metrics/ClassLength:
34
37
  Enabled: false
35
38
 
@@ -43,7 +46,7 @@ Metrics/BlockLength:
43
46
  Enabled: false
44
47
 
45
48
  Metrics/MethodLength:
46
- CountComments: false
49
+ Enabled: false
47
50
 
48
51
  Metrics/ModuleLength:
49
52
  Enabled: false
@@ -127,6 +130,9 @@ Style/StringLiterals:
127
130
  Naming/VariableNumber:
128
131
  Enabled: false
129
132
 
133
+ Naming/InclusiveLanguage:
134
+ Enabled: false
135
+
130
136
  Style/YodaCondition:
131
137
  Enabled: true
132
138
 
@@ -142,6 +148,9 @@ Style/HashExcept:
142
148
  Style/IfWithBooleanLiteralBranches:
143
149
  Enabled: true
144
150
 
151
+ Style/IfUnlessModifier:
152
+ Enabled: false
153
+
145
154
  Layout/SpaceBeforeBlockBraces:
146
155
  EnforcedStyle: space
147
156
  EnforcedStyleForEmptyBraces: space
@@ -173,6 +182,12 @@ RSpec/MultipleMemoizedHelpers:
173
182
  RSpec/StubbedMock:
174
183
  Enabled: false
175
184
 
185
+ RSpec/IdenticalEqualityAssertion:
186
+ Enabled: true
187
+
188
+ RSpec/FactoryBot/SyntaxMethods:
189
+ Enabled: false
190
+
176
191
  # Re-enable this when the following is resolved:
177
192
  # https://github.com/rubocop-hq/rubocop/issues/5953
178
193
  Style/AccessModifierDeclarations:
@@ -269,6 +284,9 @@ Performance/RedundantEqualityComparisonBlock:
269
284
  Performance/RedundantSplitRegexpArgument:
270
285
  Enabled: true
271
286
 
287
+ Performance/MapCompact:
288
+ Enabled: true
289
+
272
290
  Lint/DuplicateElsifCondition:
273
291
  Enabled: true
274
292
 
@@ -395,6 +413,9 @@ Lint/SymbolConversion:
395
413
  Lint/TripleQuotes:
396
414
  Enabled: true
397
415
 
416
+ Lint/EmptyInPattern:
417
+ Enabled: true
418
+
398
419
  Style/ExplicitBlockArgument:
399
420
  Enabled: true
400
421
 
@@ -434,6 +455,9 @@ Style/DocumentDynamicEvalDefinition:
434
455
  Style/NegatedIfElseCondition:
435
456
  Enabled: false
436
457
 
458
+ Style/NegatedIf:
459
+ Enabled: false
460
+
437
461
  Style/ArgumentsForwarding:
438
462
  Enabled: true
439
463
 
@@ -449,8 +473,26 @@ Style/SwapValues:
449
473
  Style/RedundantArgument:
450
474
  Enabled: true
451
475
 
476
+ Style/StringChars:
477
+ Enabled: true
478
+
479
+ Style/InPatternThen:
480
+ Enabled: true
481
+
482
+ Style/MultilineInPatternThen:
483
+ Enabled: true
484
+
485
+ Style/QuotedSymbols:
486
+ Enabled: true
487
+
488
+ Style/RedundantSelfAssignmentBranch:
489
+ Enabled: true
490
+
452
491
  Layout/BeginEndAlignment:
453
492
  Enabled: true
454
493
 
455
494
  Layout/SpaceBeforeBrackets:
456
495
  Enabled: true
496
+
497
+ Layout/LineEndStringConcatenationIndentation:
498
+ 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.25.0
4
+ version: 2.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-16 00:00:00.000000000 Z
11
+ date: 2022-01-05 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: '1.11'
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.11'
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.2.0
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.2.0
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.10'
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.10'
54
+ version: '1.11'
55
55
  description:
56
56
  email:
57
57
  - developers@gocardless.com
@@ -79,7 +79,7 @@ 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.2
82
+ rubygems_version: 3.0.3
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: GoCardless's shared Rubocop configuration, conforming to our house style