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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20241f5f06c6ce3ee92e87f234e659542f0565687e1e7102a79f837226c912fc
4
- data.tar.gz: 7e58e92ccb1990f69f7aa22dacf6cdba5b3e95de1768a2b7b0213be9b7df3c8d
3
+ metadata.gz: a9ae91d8b6be61444ed549376d44e7f8e0b3ac8fe4c60b5e3ba80ce0c84d3d1b
4
+ data.tar.gz: 3368e3ef8bd97fab3df455249b1844fd4a688bbcb7e5057e0078fa18dd394181
5
5
  SHA512:
6
- metadata.gz: 4bbb9623066e0401253254f700006ea14d257f3aa3e0e2a2be563015d3a18a837f0844abb073558e2277825ddddaa46b9582caf107e26b85776faf10ae8d7f08
7
- data.tar.gz: 5987a28429905604738cd997de2cd3e505069dba0bd26744bc25b7e6314dc25b80db503a92c28e95307418e5ce5995116abc0fb98bdb706e99014aca95394cba
6
+ metadata.gz: aefe6e1a1d0cabfea933a8fc8831d173e33f62a2b0512e87fbbe0b0b531d7f3d0369c623ca809ec3a9cf7878c9fbd213931c40bfdd3c83fc51732c1667d71e62
7
+ data.tar.gz: d6f6482c2ba5333667208e14dd9d0a395f01cd6d8aa97a2dc3c574989d795b34919b17754453089cbeeadf7d4171db1c05228726af631e6d519cdf1fa56d0f26
@@ -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
 
@@ -3,7 +3,7 @@
3
3
  module Lifen
4
4
  module RubyStyle
5
5
 
6
- VERSION = '1.0.6'
6
+ VERSION = '1.0.7'
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.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.6
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-16 00:00:00.000000000 Z
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