lcgstyle 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f433e407d8e15ab734fec19d0bb2fb70ddbe320
4
- data.tar.gz: d9e4ed098c918cb53c3122dea4c600e794dde452
3
+ metadata.gz: d144e164aa47bd9b3ee2d63e0297371022660589
4
+ data.tar.gz: 1346d568e2cddd225bd9028226966063c4cc48b5
5
5
  SHA512:
6
- metadata.gz: 1c1d71af9a43253eaa1c06f785a1223ff442b83c59b92b5e58d345abb6bbf311ef7d3d1b4cf9c520410057d714f323581535d2927ee915c90bc115505fff3bf2
7
- data.tar.gz: 466ed8e4eae19517174b0e2fe9c8334720661b9cd158f7e6b879587346de0884a9fe2f38d013479a557b5093f09dc0f19a48b09c18ef1c6266a53bcb2c97597d
6
+ metadata.gz: 66f4fcdda8caa8d64e527aa935c04599c93dc2977f8abf564a9e087802b897717b13984d368268277d96a361ae27531efa9a118b4f00e694ed2d8fe6f051d688
7
+ data.tar.gz: ac9c2b20db3e2a86e6b944939a144e3816b58387dc6c3e8a97c5549fe706d80f94ca95ccc6a2e63bd13a2b28397441502b4e66c316c4c75517db6c6ccda4f6f1
@@ -1,3 +1,10 @@
1
+ #
2
+ # Bundler
3
+ #
4
+
5
+ Bundler/DuplicatedGem:
6
+ Enabled: true
7
+
1
8
  #
2
9
  # Lint
3
10
  #
@@ -52,22 +59,30 @@ Lint/LiteralInInterpolation:
52
59
  Enabled: true
53
60
  Lint/Loop:
54
61
  Enabled: true
62
+ Lint/MultipleCompare:
63
+ Enabled: true
55
64
  Lint/NestedMethodDefinition:
56
65
  Enabled: true
57
66
  Lint/NextWithoutAccumulator:
58
67
  Enabled: true
59
68
  Lint/NonLocalExitFromIterator:
60
69
  Enabled: true
70
+ Lint/PercentSymbolArray:
71
+ Eanbled: true
61
72
  Lint/RandOne:
62
73
  Enabled: true
63
74
  Lint/RequireParentheses:
64
75
  Enabled: true
76
+ Lint/SafeNavigationChain:
77
+ Enabled: true
65
78
  Lint/StringConversionInInterpolation:
66
79
  Enabled: true
67
80
  Lint/UnderscorePrefixedVariableName:
68
81
  Enabled: true
69
82
  Lint/UnifiedInteger:
70
83
  Enabled: true
84
+ Lint/UnneededDisable:
85
+ Enabled: true
71
86
  Lint/UnreachableCode:
72
87
  Enabled: true
73
88
  Lint/UselessAccessModifier:
@@ -114,6 +129,8 @@ Performance/Casecmp:
114
129
  Enabled: true
115
130
  Performance/CaseWhenSplat:
116
131
  Enabled: true
132
+ Performance/CompareWithBlock:
133
+ Enabled: true
117
134
  Performance/Count:
118
135
  Enabled: true
119
136
  Performance/Detect:
@@ -140,6 +157,8 @@ Performance/RedundantMerge:
140
157
  Enabled: true
141
158
  Performance/RedundantSortBy:
142
159
  Enabled: true
160
+ Performance/RegexpMatch:
161
+ Enabled: true
143
162
  Performance/ReverseEach:
144
163
  Enabled: true
145
164
  Performance/Sample:
@@ -242,7 +261,9 @@ Style/CommandLiteral:
242
261
  Enabled: true
243
262
  Style/ConstantName:
244
263
  Enabled: true
245
- Style/DefWithParenthesis:
264
+ Style/DefWithParentheses:
265
+ Enabled: true
266
+ Style/EachForSimpleLoop:
246
267
  Enabled: true
247
268
  Style/ElseAlignment:
248
269
  Enabled: true
@@ -288,7 +309,7 @@ Style/MethodDefParentheses:
288
309
  Enabled: true
289
310
  Style/MultilineBlockLayout:
290
311
  Enabled: true
291
- Style/MultilineIfModifer:
312
+ Style/MultilineIfModifier:
292
313
  Enabled: true
293
314
  Style/MultilineIfThen:
294
315
  Enabled: true
@@ -343,10 +364,16 @@ Style/PercentLiteralDelimiters:
343
364
  '%x': '{}'
344
365
  Style/PercentQLiterals:
345
366
  Enabled: true
367
+ Style/RedundantBegin:
368
+ Enabled: true
346
369
  Style/RedundantException:
347
370
  Enabled: true
348
371
  Style/RedundantFreeze:
349
372
  Enabled: true
373
+ Style/RedundantReturn:
374
+ Enabled: true
375
+ Style/RedundantSelf:
376
+ Enabled: true
350
377
  Style/RescueEnsureAlignment:
351
378
  Enabled: true
352
379
  Style/SafeNavigation:
@@ -378,8 +405,6 @@ Style/SpaceBeforeBlockBraces:
378
405
  Enabled: true
379
406
  Style/SpaceBeforeComment:
380
407
  Enabled: true
381
- Style/SpaceBeforeFirstArg:
382
- Enabled: true
383
408
  Style/SpaceBeforeSemicolon:
384
409
  Enabled: true
385
410
  Style/SpaceAroundKeyword:
@@ -529,3 +554,7 @@ Style/AccessorMethodName:
529
554
  # Perl backrefs are just fine and the alternative is a lot of typing.
530
555
  Style/PerlBackrefs:
531
556
  Enabled: false
557
+
558
+ # This has an annoying auto-fix which fails to `require "english"` and then fails silently
559
+ Style/SpecialGlobalVars:
560
+ Enabled: false
@@ -1,4 +1,4 @@
1
1
  module Lcgstyle
2
- VERSION = "0.0.8".freeze
2
+ VERSION = "0.0.9".freeze
3
3
  RUBOCOP_VERSION = "0.47.1".freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lcgstyle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom May
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-09 00:00:00.000000000 Z
11
+ date: 2017-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler