lifen-ruby-style 1.0.5 → 1.0.6

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
  SHA256:
3
- metadata.gz: 98bf06dfd5e89c45b0db61d216c7bebf02d9c0c2c3f5b0f5bf541d7f7ac04549
4
- data.tar.gz: fe187d143ebf8f45d14aaa4840036f07e298e50a685779b4fa5d7cf4146d75d1
3
+ metadata.gz: 20241f5f06c6ce3ee92e87f234e659542f0565687e1e7102a79f837226c912fc
4
+ data.tar.gz: 7e58e92ccb1990f69f7aa22dacf6cdba5b3e95de1768a2b7b0213be9b7df3c8d
5
5
  SHA512:
6
- metadata.gz: 0bbfa947d38b858e4b7f16f5b20d4fb3c6e09916c2541c246b43fb50b9ee0e3c12a3f5c227b86475588046a71cdacce1b9a30bc59dd03f366b5e040606863dd9
7
- data.tar.gz: 194a8cd141680f1acbad8e0eb2e5f247cf17b06e65f92066232d3b5832397a0ec9625afa9692bd92a2395b0683249160c9ee7f346690c45c790f9d2bfc58b729
6
+ metadata.gz: 4bbb9623066e0401253254f700006ea14d257f3aa3e0e2a2be563015d3a18a837f0844abb073558e2277825ddddaa46b9582caf107e26b85776faf10ae8d7f08
7
+ data.tar.gz: 5987a28429905604738cd997de2cd3e505069dba0bd26744bc25b7e6314dc25b80db503a92c28e95307418e5ce5995116abc0fb98bdb706e99014aca95394cba
data/README.md CHANGED
@@ -61,7 +61,7 @@ $ echo '--force-exclusion' > .rubocop
61
61
  ### 3. Config Overcommit
62
62
 
63
63
  ```bash
64
- $ curl https://raw.githubusercontent.com/honestica/lifen-ruby-style/master/default_overcommit.yml > .overcommit_test.yml
64
+ $ curl https://raw.githubusercontent.com/honestica/lifen-ruby-style/master/default_overcommit.yml > .overcommit.yml
65
65
  ```
66
66
 
67
67
  ### 4. Installer les dépendances
@@ -27,6 +27,58 @@ Style/HashTransformKeys:
27
27
  Enabled: true
28
28
  Style/HashTransformValues:
29
29
  Enabled: true
30
+ Layout/EmptyLinesAroundAttributeAccessor:
31
+ Enabled: true
32
+ Layout/SpaceAroundMethodCallOperator:
33
+ Enabled: true
34
+ Lint/DeprecatedOpenSSLConstant:
35
+ Enabled: true
36
+ Lint/DuplicateElsifCondition:
37
+ Enabled: true
38
+ Lint/MixedRegexpCaptureTypes:
39
+ Enabled: true
40
+ Style/AccessorGrouping:
41
+ Enabled: true
42
+ Style/ArrayCoercion:
43
+ Enabled: true
44
+ Style/BisectedAttrAccessor:
45
+ Enabled: true
46
+ Style/CaseLikeIf:
47
+ Enabled: true
48
+ Style/ExponentialNotation:
49
+ Enabled: true
50
+ Style/HashAsLastArrayItem:
51
+ Enabled: true
52
+ Style/HashLikeCase:
53
+ Enabled: true
54
+ Style/RedundantAssignment:
55
+ Enabled: true
56
+ Style/RedundantFetchBlock:
57
+ Enabled: true
58
+ Style/RedundantFileExtensionInRequire:
59
+ Enabled: true
60
+ Style/RedundantRegexpCharacterClass:
61
+ Enabled: true
62
+ Style/RedundantRegexpEscape:
63
+ Enabled: true
64
+ Style/SlicingWithRange:
65
+ Enabled: true
66
+ Performance/AncestorsInclude:
67
+ Enabled: true
68
+ Performance/BigDecimalWithNumericArgument:
69
+ Enabled: true
70
+ Performance/RedundantSortBlock:
71
+ Enabled: true
72
+ Performance/RedundantStringChars:
73
+ Enabled: true
74
+ Performance/ReverseFirst:
75
+ Enabled: true
76
+ Performance/SortReverse:
77
+ Enabled: true
78
+ Performance/Squeeze:
79
+ Enabled: true
80
+ Performance/StringInclude:
81
+ Enabled: true
30
82
 
31
83
  Layout/ArgumentAlignment:
32
84
  EnforcedStyle: with_fixed_indentation
@@ -3,7 +3,7 @@
3
3
  module Lifen
4
4
  module RubyStyle
5
5
 
6
- VERSION = '1.0.5'
6
+ VERSION = '1.0.6'
7
7
 
8
8
  end
9
9
  end
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.require_paths = ['lib']
31
31
 
32
32
  spec.add_dependency 'overcommit'
33
- spec.add_dependency 'rubocop', '0.81'
33
+ spec.add_dependency 'rubocop', '0.88'
34
34
  spec.add_dependency 'rubocop-performance', '~> 1.5'
35
35
  spec.add_dependency 'rubocop-rails', '~> 2.4'
36
36
  spec.add_dependency 'rubocop-rspec', '~> 1.38'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lifen-ruby-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Lifen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-05 00:00:00.000000000 Z
11
+ date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: overcommit
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: '0.81'
33
+ version: '0.88'
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: '0.81'
40
+ version: '0.88'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-performance
43
43
  requirement: !ruby/object:Gem::Requirement