gc_ruboconfig 2.24.0 → 2.29.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 +88 -1
  3. metadata +15 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89bcff7290f4a8cac04c029decad13f6f98fb83d293aa14c406b13d2d806c5db
4
- data.tar.gz: a7b820a7f82b0cedd906cdf8511ece8d8aaa1fb0e95e50afe104d52880c8d07c
3
+ metadata.gz: fbb0165c8bc13ba413b094c1d4981755e69d3271fc05759b38c5f86da713c197
4
+ data.tar.gz: 39c0a8e089e581848af3b3f21f036d4a6abeea184467efcd03784bba9a2d28d8
5
5
  SHA512:
6
- metadata.gz: 2fc03b6da7de4530fa2ca2679000a869e5d10a1416d38639e1a479e2f67fcb65f3ae9516bb081fccd221cf4deaa0b1efeaa1e3e5b7983a3ee5fa25711d592bd6
7
- data.tar.gz: d70c712e9702aac1838467654aa843f49a662c5f5ce5ecbf6e0fa18551fbfdb86b70555dfd9282c51cd8e047e03728341302f330a2c7b97ad0471d9ddcf5073e
6
+ metadata.gz: 8284b1e20246f9fd64df8c5bc000e2d9fe9fbb8bac452ee34c800e8b89acdadbffeae99b900667623b724fb6801234702025cc1d6cc38beb8cb80495665963d9
7
+ data.tar.gz: 7b0669366271ccf55545e06c634aca415092341392e0d7f11954abb47d72a22a07096964841a5878af3b50d042b5415b7fb7ba429147cfbd7d593ddb68dffdac
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
 
@@ -40,7 +46,7 @@ Metrics/BlockLength:
40
46
  Enabled: false
41
47
 
42
48
  Metrics/MethodLength:
43
- CountComments: false
49
+ Enabled: false
44
50
 
45
51
  Metrics/ModuleLength:
46
52
  Enabled: false
@@ -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
 
@@ -350,6 +386,33 @@ Lint/UnmodifiedReduceAccumulator:
350
386
  Lint/UnexpectedBlockArity:
351
387
  Enabled: true
352
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
+
353
416
  Style/ExplicitBlockArgument:
354
417
  Enabled: true
355
418
 
@@ -389,6 +452,9 @@ Style/DocumentDynamicEvalDefinition:
389
452
  Style/NegatedIfElseCondition:
390
453
  Enabled: false
391
454
 
455
+ Style/NegatedIf:
456
+ Enabled: false
457
+
392
458
  Style/ArgumentsForwarding:
393
459
  Enabled: true
394
460
 
@@ -404,5 +470,26 @@ Style/SwapValues:
404
470
  Style/RedundantArgument:
405
471
  Enabled: true
406
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
+
407
488
  Layout/BeginEndAlignment:
408
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.24.0
4
+ version: 2.29.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: 2020-12-21 00:00:00.000000000 Z
11
+ date: 2021-10-19 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.6'
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.6'
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.1.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.1.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.9'
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.9'
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.2
83
- signing_key:
82
+ rubygems_version: 3.2.22
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: []