gc_ruboconfig 2.12.0 → 2.17.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 +78 -0
  3. metadata +11 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb8a6872406acd15ea3efa71daa2c5c737a38f4762dbfcaa18ae861173ce5f25
4
- data.tar.gz: 4504b665058d8d0198e1bdd42b0a4b3a1831b5ae7eddda0e5632c71fe3c687bc
3
+ metadata.gz: 02bad77853234ff1ddf6b5deb377ca35db1fb3c69c12012fa58204f2610d1a91
4
+ data.tar.gz: 0ed1e2928c334935be14aec275289c9ad6486216f196c8818ec250308c925613
5
5
  SHA512:
6
- metadata.gz: 6fb4a563feaa14007b22726ab0f4480985df95aed66df65fea5d584addb16f9364340746e02c09ffe3ba5de24e0f171f21166a1be598913e2f73818de50348e5
7
- data.tar.gz: 9bb72f6e68ca4b86c064614ee1e895bb1762c43f3b2fe6d815845125be62c68acf8193373265997143a2bfde06865879f1ab40c58cbe66725082a33c6a0e9b99
6
+ metadata.gz: 6cf9e670bb6f3a37eeeced30fe1b61bd90d55d4730e1cd9cbb794f86ed312e283212942c8a29238d86f9dbc1cac93ba20ade488fa2593026579abb5b267a3a12
7
+ data.tar.gz: 42f2dd51ceec9891bdeffd072b518acd0f81ccc7d231519ed2e40c7ef6d611fdb959b83a9563e41798664190264dd8ff822df33633348de7396bd661b7b8209a
@@ -24,12 +24,18 @@ 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
 
30
33
  Layout/LineLength:
31
34
  Max: 90
32
35
 
36
+ Layout/EmptyLinesAroundAttributeAccessor:
37
+ Enabled: true
38
+
33
39
  Metrics/BlockLength:
34
40
  Enabled: false
35
41
 
@@ -164,3 +170,75 @@ Style/HashTransformValues:
164
170
 
165
171
  Style/ExponentialNotation:
166
172
  Enabled: true
173
+
174
+ Style/SlicingWithRange:
175
+ Enabled: true
176
+
177
+ Style/RedundantRegexpCharacterClass:
178
+ Enabled: true
179
+
180
+ Style/RedundantRegexpEscape:
181
+ Enabled: true
182
+
183
+ Style/RedundantFetchBlock:
184
+ Enabled: true
185
+
186
+ Style/AccessorGrouping:
187
+ Enabled: false
188
+
189
+ Style/BisectedAttrAccessor:
190
+ Enabled: true
191
+
192
+ Style/RedundantAssignment:
193
+ Enabled: true
194
+
195
+ Lint/DeprecatedOpenSSLConstant:
196
+ Enabled: true
197
+
198
+ Performance/AncestorsInclude:
199
+ Enabled: true
200
+
201
+ Performance/BigDecimalWithNumericArgument:
202
+ Enabled: true
203
+
204
+ Performance/RedundantSortBlock:
205
+ Enabled: true
206
+
207
+ # Disabled as it removes some idiomatic code, and does some byte/char moving around
208
+ # encoding which we're not confident with.
209
+ Performance/RedundantStringChars:
210
+ Enabled: false
211
+
212
+ Performance/ReverseFirst:
213
+ Enabled: true
214
+
215
+ Performance/SortReverse:
216
+ Enabled: true
217
+
218
+ Performance/Squeeze:
219
+ Enabled: true
220
+
221
+ Performance/StringInclude:
222
+ Enabled: true
223
+
224
+ Lint/DuplicateElsifCondition:
225
+ Enabled: true
226
+
227
+ Style/ArrayCoercion:
228
+ Enabled: true
229
+ # Disable auto-correct since there's usually a cleaner fix than the one it suggests.
230
+ AutoCorrect: false
231
+
232
+ Style/CaseLikeIf:
233
+ Enabled: true
234
+
235
+ # Disabled as the two styles that can be chosen are both idiomatic in some places, and
236
+ # not in others.
237
+ Style/HashAsLastArrayItem:
238
+ Enabled: false
239
+
240
+ Style/HashLikeCase:
241
+ Enabled: true
242
+
243
+ Style/RedundantFileExtensionInRequire:
244
+ 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.12.0
4
+ version: 2.17.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-04-22 00:00:00.000000000 Z
11
+ date: 2020-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.82'
19
+ version: '0.88'
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.82'
26
+ version: '0.88'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,15 +44,15 @@ dependencies:
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'
55
- description:
54
+ version: '1.7'
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.0.3
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: []