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 +4 -4
- data/README.md +1 -1
- data/default_rubocop.yml +52 -0
- data/lib/lifen/ruby_style/version.rb +1 -1
- data/lifen-ruby-style.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20241f5f06c6ce3ee92e87f234e659542f0565687e1e7102a79f837226c912fc
|
4
|
+
data.tar.gz: 7e58e92ccb1990f69f7aa22dacf6cdba5b3e95de1768a2b7b0213be9b7df3c8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 > .
|
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
|
data/default_rubocop.yml
CHANGED
@@ -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
|
data/lifen-ruby-style.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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.
|
40
|
+
version: '0.88'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-performance
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|