lifen-ruby-style 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/default_rubocop.yml +1 -64
- 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: a9ae91d8b6be61444ed549376d44e7f8e0b3ac8fe4c60b5e3ba80ce0c84d3d1b
|
4
|
+
data.tar.gz: 3368e3ef8bd97fab3df455249b1844fd4a688bbcb7e5057e0078fa18dd394181
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aefe6e1a1d0cabfea933a8fc8831d173e33f62a2b0512e87fbbe0b0b531d7f3d0369c623ca809ec3a9cf7878c9fbd213931c40bfdd3c83fc51732c1667d71e62
|
7
|
+
data.tar.gz: d6f6482c2ba5333667208e14dd9d0a395f01cd6d8aa97a2dc3c574989d795b34919b17754453089cbeeadf7d4171db1c05228726af631e6d519cdf1fa56d0f26
|
data/default_rubocop.yml
CHANGED
@@ -5,6 +5,7 @@ require:
|
|
5
5
|
|
6
6
|
AllCops:
|
7
7
|
DisplayStyleGuide: true
|
8
|
+
NewCops: enable
|
8
9
|
TargetRubyVersion: 2.5
|
9
10
|
Exclude:
|
10
11
|
- "test/**/*.rb"
|
@@ -16,70 +17,6 @@ AllCops:
|
|
16
17
|
- "spec/rails_helper.rb"
|
17
18
|
- "node_modules/**/*"
|
18
19
|
|
19
|
-
# Waiting for default config
|
20
|
-
Lint/RaiseException:
|
21
|
-
Enabled: true
|
22
|
-
Lint/StructNewOverride:
|
23
|
-
Enabled: true
|
24
|
-
Style/HashEachMethods:
|
25
|
-
Enabled: true
|
26
|
-
Style/HashTransformKeys:
|
27
|
-
Enabled: true
|
28
|
-
Style/HashTransformValues:
|
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
|
82
|
-
|
83
20
|
Layout/ArgumentAlignment:
|
84
21
|
EnforcedStyle: with_fixed_indentation
|
85
22
|
|
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.88'
|
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.7
|
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-07-
|
11
|
+
date: 2020-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: overcommit
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
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
40
|
version: '0.88'
|
41
41
|
- !ruby/object:Gem::Dependency
|