gc_ruboconfig 2.19.0 → 2.20.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 +28 -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: 54bba4aa1b887a3c21fa6c8d2b9a904158d2b9eda328b7a1cd6985dbcaa972b1
|
4
|
+
data.tar.gz: 0e093b6059aaa0e300309c3fb9c16fc909ad4c66179ac45bab911aa825654a53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5a2da2b9ec98cdbb4a4d8221cb9eeabea90d271981238dd85de27d6bf41faf3946b5c3c2124465f03220b535b830c4b3c7ff593d833a33004286901d56348fc
|
7
|
+
data.tar.gz: f72610db3e6c6d21963140aa6293455083cd25a3a01d60e3d73f8936e3854d20cdabb074b2f3a9e59bbc7882c8cec1efe432c0613546a8c7f46e1a0f09cd55a7
|
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:
|
@@ -288,6 +294,21 @@ Lint/TrailingCommaInAttributeDeclaration:
|
|
288
294
|
Lint/UselessMethodDefinition:
|
289
295
|
Enabled: true
|
290
296
|
|
297
|
+
Lint/ConstantDefinitionInBlock:
|
298
|
+
Enabled: true
|
299
|
+
|
300
|
+
Lint/HashCompareByIdentity:
|
301
|
+
Enabled: true
|
302
|
+
|
303
|
+
Lint/IdentityComparison:
|
304
|
+
Enabled: true
|
305
|
+
|
306
|
+
Lint/RedundantSafeNavigation:
|
307
|
+
Enabled: true
|
308
|
+
|
309
|
+
Lint/UselessTimes:
|
310
|
+
Enabled: true
|
311
|
+
|
291
312
|
Style/ExplicitBlockArgument:
|
292
313
|
Enabled: true
|
293
314
|
|
@@ -304,7 +325,7 @@ Style/StringConcatenation:
|
|
304
325
|
Enabled: false
|
305
326
|
|
306
327
|
Style/CombinableLoops:
|
307
|
-
Enabled:
|
328
|
+
Enabled: false
|
308
329
|
|
309
330
|
Style/KeywordParametersOrder:
|
310
331
|
Enabled: true
|
@@ -314,3 +335,9 @@ Style/RedundantSelfAssignment:
|
|
314
335
|
|
315
336
|
Style/SoleNestedConditional:
|
316
337
|
Enabled: false
|
338
|
+
|
339
|
+
Style/ClassEqualityComparison:
|
340
|
+
Enabled: true
|
341
|
+
|
342
|
+
Layout/BeginEndAlignment:
|
343
|
+
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.20.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-10-22 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: '0.
|
19
|
+
version: '0.93'
|
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: '0.
|
26
|
+
version: '0.93'
|
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: 1.
|
33
|
+
version: 1.44.1
|
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: 1.
|
40
|
+
version: 1.44.1
|
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:
|
47
|
+
version: 1.8.1
|
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:
|
54
|
+
version: 1.8.1
|
55
55
|
description:
|
56
56
|
email:
|
57
57
|
- developers@gocardless.com
|