gc_ruboconfig 2.13.0 → 2.18.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 +120 -0
- 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: cfbd38adaa035221d9b41521773140952213a279d1e2f8602c72f8a90a79d171
|
4
|
+
data.tar.gz: f0d2552cd2315f0cbe52ac9d93cfc22a4351b88f3331cdc9ba46aff0366a1488
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d97858d31a6e2ce1545121c9f4b9ebcd4fa1c14e980eff30a6553318daf636a4e96fd4c317341a04522c4662e2438fd2c1172e1d354052c45dc968bcb34ea72a
|
7
|
+
data.tar.gz: ace02decdbca1433c3f7cd98292061021aff9dba65545844f238c32e2f2335060c4df84015ba57f1d16a01601af5ebea404be191721d689af615e43cbf94c840
|
data/rubocop.yml
CHANGED
@@ -24,6 +24,9 @@ Lint/RaiseException:
|
|
24
24
|
Lint/StructNewOverride:
|
25
25
|
Enabled: true
|
26
26
|
|
27
|
+
Lint/MixedRegexpCaptureTypes:
|
28
|
+
Enabled: true
|
29
|
+
|
27
30
|
Metrics/ClassLength:
|
28
31
|
Enabled: false
|
29
32
|
|
@@ -45,6 +48,9 @@ Metrics/ModuleLength:
|
|
45
48
|
Metrics/ParameterLists:
|
46
49
|
CountKeywordArgs: false
|
47
50
|
|
51
|
+
Metrics/PerceivedComplexity:
|
52
|
+
Max: 11
|
53
|
+
|
48
54
|
Style/AsciiComments:
|
49
55
|
Enabled: false
|
50
56
|
|
@@ -146,6 +152,9 @@ RSpec/Pending:
|
|
146
152
|
RSpec/ImplicitBlockExpectation:
|
147
153
|
Enabled: false
|
148
154
|
|
155
|
+
RSpec/MultipleMemoizedHelpers:
|
156
|
+
Max: 30
|
157
|
+
|
149
158
|
# Re-enable this when the following is resolved:
|
150
159
|
# https://github.com/rubocop-hq/rubocop/issues/5953
|
151
160
|
Style/AccessModifierDeclarations:
|
@@ -170,3 +179,114 @@ Style/ExponentialNotation:
|
|
170
179
|
|
171
180
|
Style/SlicingWithRange:
|
172
181
|
Enabled: true
|
182
|
+
|
183
|
+
Style/RedundantRegexpCharacterClass:
|
184
|
+
Enabled: true
|
185
|
+
|
186
|
+
Style/RedundantRegexpEscape:
|
187
|
+
Enabled: true
|
188
|
+
|
189
|
+
Style/RedundantFetchBlock:
|
190
|
+
Enabled: true
|
191
|
+
|
192
|
+
Style/AccessorGrouping:
|
193
|
+
Enabled: false
|
194
|
+
|
195
|
+
Style/BisectedAttrAccessor:
|
196
|
+
Enabled: true
|
197
|
+
|
198
|
+
Style/RedundantAssignment:
|
199
|
+
Enabled: true
|
200
|
+
|
201
|
+
Lint/DeprecatedOpenSSLConstant:
|
202
|
+
Enabled: true
|
203
|
+
|
204
|
+
Performance/AncestorsInclude:
|
205
|
+
Enabled: true
|
206
|
+
|
207
|
+
Performance/BigDecimalWithNumericArgument:
|
208
|
+
Enabled: true
|
209
|
+
|
210
|
+
Performance/RedundantSortBlock:
|
211
|
+
Enabled: true
|
212
|
+
|
213
|
+
# Disabled as it removes some idiomatic code, and does some byte/char moving around
|
214
|
+
# encoding which we're not confident with.
|
215
|
+
Performance/RedundantStringChars:
|
216
|
+
Enabled: false
|
217
|
+
|
218
|
+
Performance/ReverseFirst:
|
219
|
+
Enabled: true
|
220
|
+
|
221
|
+
Performance/SortReverse:
|
222
|
+
Enabled: true
|
223
|
+
|
224
|
+
Performance/Squeeze:
|
225
|
+
Enabled: true
|
226
|
+
|
227
|
+
Performance/StringInclude:
|
228
|
+
Enabled: true
|
229
|
+
|
230
|
+
Lint/DuplicateElsifCondition:
|
231
|
+
Enabled: true
|
232
|
+
|
233
|
+
Style/ArrayCoercion:
|
234
|
+
Enabled: true
|
235
|
+
# Disable auto-correct since there's usually a cleaner fix than the one it suggests.
|
236
|
+
AutoCorrect: false
|
237
|
+
|
238
|
+
Style/CaseLikeIf:
|
239
|
+
Enabled: true
|
240
|
+
|
241
|
+
# Disabled as the two styles that can be chosen are both idiomatic in some places, and
|
242
|
+
# not in others.
|
243
|
+
Style/HashAsLastArrayItem:
|
244
|
+
Enabled: false
|
245
|
+
|
246
|
+
Style/HashLikeCase:
|
247
|
+
Enabled: true
|
248
|
+
|
249
|
+
Style/RedundantFileExtensionInRequire:
|
250
|
+
Enabled: true
|
251
|
+
|
252
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
253
|
+
Enabled: true
|
254
|
+
|
255
|
+
Lint/DuplicateRescueException:
|
256
|
+
Enabled: true
|
257
|
+
|
258
|
+
Lint/EmptyConditionalBody:
|
259
|
+
Enabled: true
|
260
|
+
|
261
|
+
Lint/FloatComparison:
|
262
|
+
Enabled: true
|
263
|
+
|
264
|
+
Lint/MissingSuper:
|
265
|
+
Enabled: true
|
266
|
+
|
267
|
+
Lint/OutOfRangeRegexpRef:
|
268
|
+
Enabled: true
|
269
|
+
|
270
|
+
Lint/SelfAssignment:
|
271
|
+
Enabled: true
|
272
|
+
|
273
|
+
Lint/TopLevelReturnWithArgument:
|
274
|
+
Enabled: true
|
275
|
+
|
276
|
+
Lint/UnreachableLoop:
|
277
|
+
Enabled: true
|
278
|
+
|
279
|
+
Style/ExplicitBlockArgument:
|
280
|
+
Enabled: true
|
281
|
+
|
282
|
+
Style/GlobalStdStream:
|
283
|
+
Enabled: true
|
284
|
+
|
285
|
+
Style/SingleArgumentDig:
|
286
|
+
Enabled: true
|
287
|
+
|
288
|
+
Style/OptionalBooleanParameter:
|
289
|
+
Enabled: false
|
290
|
+
|
291
|
+
Style/StringConcatenation:
|
292
|
+
Enabled: false
|
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.18.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-09-01 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.89'
|
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.89'
|
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.43.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.43.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: '1.
|
47
|
+
version: '1.7'
|
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.7'
|
55
55
|
description:
|
56
56
|
email:
|
57
57
|
- developers@gocardless.com
|