gc_ruboconfig 2.14.0 → 2.19.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 +141 -0
  3. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e42627f3d70f52159a76b04d2389710dfdd1a76f0c6f8940eae91723325ae4a
4
- data.tar.gz: fa773a73b7557fe6b1b4675e867f441450eb52b5de1558f916ff37d0e64ca151
3
+ metadata.gz: 457ead9abf1621ef25eed36cd590ad75c3f854af4380cffba4bbc243b6f26098
4
+ data.tar.gz: fe530024a7e37ad29453595fa7469067cd6a940e9d7d431576a07454342dd1fb
5
5
  SHA512:
6
- metadata.gz: f7c9b5ffd33bdf0f8e54e4afb465a27b2fe09779f4b05a2020a1b7769033a690b462e92c559c73009ffc96d70032996596ea225368e583f00719e492d2907bfa
7
- data.tar.gz: 0664e73cfa1506df7f66c9ab897c7bfffa03d733b81ba59ea7f54d8ee601c21dc6f4f84245408fb092a47437b001892093df7a4b798a90463d36e5f056ab4679
6
+ metadata.gz: 4e521cce14e5c23befec29ed656a64cae1e610b455a408b87cda00749376a17f5c8f520ee36580ec5d4b85addb2f70f84853c295b61503054178d1025ce1cf40
7
+ data.tar.gz: eeb9d512055d73872326742ba301b75f0d9428b856344166583d133fb6e9d5424154c75bc655517b967e30c140fbb34c29a10e15896a899ac5d6bc73eb0f25ff
@@ -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:
@@ -171,5 +180,137 @@ Style/ExponentialNotation:
171
180
  Style/SlicingWithRange:
172
181
  Enabled: true
173
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
+
174
201
  Lint/DeprecatedOpenSSLConstant:
175
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
+ Lint/DuplicateRequire:
280
+ Enabled: true
281
+
282
+ Lint/EmptyFile:
283
+ Enabled: true
284
+
285
+ Lint/TrailingCommaInAttributeDeclaration:
286
+ Enabled: true
287
+
288
+ Lint/UselessMethodDefinition:
289
+ Enabled: true
290
+
291
+ Style/ExplicitBlockArgument:
292
+ Enabled: true
293
+
294
+ Style/GlobalStdStream:
295
+ Enabled: true
296
+
297
+ Style/SingleArgumentDig:
298
+ Enabled: true
299
+
300
+ Style/OptionalBooleanParameter:
301
+ Enabled: false
302
+
303
+ Style/StringConcatenation:
304
+ Enabled: false
305
+
306
+ Style/CombinableLoops:
307
+ Enabled: true
308
+
309
+ Style/KeywordParametersOrder:
310
+ Enabled: true
311
+
312
+ Style/RedundantSelfAssignment:
313
+ Enabled: true
314
+
315
+ Style/SoleNestedConditional:
316
+ 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.14.0
4
+ version: 2.19.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-05-21 00:00:00.000000000 Z
11
+ date: 2020-09-08 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.84'
19
+ version: '0.90'
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.84'
26
+ version: '0.90'
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.38.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.38.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.5'
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.5'
54
+ version: '1.7'
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.0.3
82
+ rubygems_version: 3.1.2
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: GoCardless's shared Rubocop configuration, conforming to our house style