rubocop-mhenrixon 0.81.0 → 0.88.0

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: a3a6c6298119ce1cbc3c22aedbc7efa6f62a646319d35e7cf30e3916609bf7ab
4
- data.tar.gz: 13169c5946a302b76b477d2cfd3b544fd9900424816528c991f6dda669ca65fc
3
+ metadata.gz: ed093b0caf3c6edc46e5542fa3b17a135923575fc8616fc427a111e5b9a1c2bd
4
+ data.tar.gz: 935ce6bf1d20c5858cc368fc5ae7f128234fd077dbc61947079a54da85448f46
5
5
  SHA512:
6
- metadata.gz: 2f5536a984df0c81842f83dab1665b648b8ca191941a5c732527ff6eb0eb57618d67cbdfdf5e2b5441898c73f07428e9467537f9fb22e3ebd2e69ab0146002c1
7
- data.tar.gz: d2c2760e6e5101cfe7233d1f7d3228d6449a8b8d21ce0104a04da124719daa6a7d0775f98b13c848ab654a4f136c6f03ed6a708b621dceb6304b12fe753d85ee
6
+ metadata.gz: db2660d62914d1709014ef5184c4b7f8181112f2f0855cf2535089346f5ae1e47ed20ffb09165c9a2a8b389b60d6af6e1fc96407bfa0d9868d8187d4e90e892f
7
+ data.tar.gz: f8951c70cb38c5d7224b8196cffccc89f6a389f799f46aaf8e595931a17b8323d09acbcb0d6067f7a849cce1304ca6164a816749506fdda8ea483dcad7b5edd8
@@ -28,10 +28,44 @@ AllCops:
28
28
  - '**/*.json'
29
29
  - 'vendor/bundle/**/*'
30
30
 
31
+ #==============
32
+ #=== LAYOUT ===
33
+ #==============
34
+
35
+ Layout/EmptyLinesAroundAttributeAccessor: # (0.83)
36
+ Enabled: true
37
+
31
38
  Layout/LineLength:
32
39
  Enabled: true
33
40
  Max: 125
34
41
 
42
+ Layout/SpaceAroundMethodCallOperator: # (0.82)
43
+ Enabled: true
44
+
45
+ #============
46
+ #=== LINT ===
47
+ #============
48
+
49
+ Lint/DeprecatedOpenSSLConstant: # (0.84)
50
+ Enabled: true
51
+
52
+ Lint/DuplicateElsifCondition: # (0.88)
53
+ Enabled: true
54
+
55
+ Lint/MixedRegexpCaptureTypes: # (0.85)
56
+ Enabled: true
57
+
58
+ Lint/RaiseException:
59
+ Enabled: true
60
+
61
+ Lint/StructNewOverride:
62
+ Enabled: true
63
+
64
+
65
+ #===============
66
+ #=== METRICS ===
67
+ #===============
68
+
35
69
  Metrics/BlockLength:
36
70
  Enabled: true
37
71
  Exclude:
@@ -46,23 +80,92 @@ Metrics/ParameterLists:
46
80
  Max: 5
47
81
  CountKeywordArgs: false
48
82
 
83
+ #===================
84
+ #=== PERFORMANCE ===
85
+ #===================
86
+
87
+ Performance/AncestorsInclude: # (1.7)
88
+ Enabled: true
89
+
90
+ Performance/BigDecimalWithNumericArgument: # (1.7)
91
+ Enabled: true
92
+
93
+ Performance/RedundantSortBlock: # (1.7)
94
+ Enabled: true
95
+
96
+ Performance/RedundantStringChars: # (1.7)
97
+ Enabled: true
98
+
99
+ Performance/ReverseFirst: # (1.7)
100
+ Enabled: true
101
+
102
+ Performance/SortReverse: # (1.7)
103
+ Enabled: true
104
+
105
+ Performance/Squeeze: # (1.7)
106
+ Enabled: true
107
+
108
+ Performance/StringInclude: # (1.7)
109
+ Enabled: true
110
+
111
+ #=============
112
+ #=== RSPEC ===
113
+ #=============
114
+
49
115
  RSpec/AlignLeftLetBrace:
50
116
  Enabled: true
51
117
 
52
118
  RSpec/ExampleLength:
53
119
  Max: 10
54
120
 
55
- Style/HashEachMethods:
121
+ #=============
122
+ #=== STYLE ===
123
+ #=============
124
+
125
+ Style/AccessorGrouping: # (0.87)
126
+ Enabled: true
127
+
128
+ Style/ArrayCoercion: # (0.88)
129
+ Enabled: true
130
+
131
+ Style/BisectedAttrAccessor: # (0.87)
132
+ Enabled: true
133
+
134
+ Style/CaseLikeIf: # (0.88)
135
+ Enabled: true
136
+
137
+ Style/ExponentialNotation: # (0.82)
56
138
  Enabled: true
57
139
 
140
+ Style/HashAsLastArrayItem: # (0.88)
141
+ Enabled: true
142
+
143
+ Style/HashEachMethods:
144
+ Enabled: true
145
+
146
+ Style/HashLikeCase: # (0.88)
147
+ Enabled: true
148
+
58
149
  Style/HashTransformKeys:
59
150
  Enabled: true
60
151
 
61
152
  Style/HashTransformValues:
62
153
  Enabled: true
63
154
 
64
- Lint/RaiseException:
155
+ Style/RedundantAssignment: # (0.87)
65
156
  Enabled: true
66
157
 
67
- Lint/StructNewOverride:
158
+ Style/RedundantFetchBlock: # (0.86)
159
+ Enabled: true
160
+
161
+ Style/RedundantFileExtensionInRequire: # (0.88)
162
+ Enabled: true
163
+
164
+ Style/RedundantRegexpCharacterClass: # (0.85)
165
+ Enabled: true
166
+
167
+ Style/RedundantRegexpEscape: # (0.85)
168
+ Enabled: true
169
+
170
+ Style/SlicingWithRange: # (0.83)
68
171
  Enabled: true
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Mhenrixon
5
- VERSION = '0.81.0'
5
+ VERSION = '0.88.0'
6
6
  end
7
7
  end
@@ -34,11 +34,11 @@ Gem::Specification.new do |spec|
34
34
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
35
35
  spec.require_paths = ['lib']
36
36
 
37
- spec.add_dependency 'rubocop', '~> 0.81.0'
38
- spec.add_dependency 'rubocop-performance', '~> 1.5'
37
+ spec.add_dependency 'rubocop', '~> 0.88.0'
38
+ spec.add_dependency 'rubocop-performance', '~> 1.7'
39
39
  spec.add_dependency 'rubocop-rake', '~> 0.5'
40
- spec.add_dependency 'rubocop-rspec', '~> 1.37'
41
- spec.add_dependency 'rubocop-thread_safety', '~> 0.3'
40
+ spec.add_dependency 'rubocop-rspec', '~> 1.42'
41
+ spec.add_dependency 'rubocop-thread_safety', '~> 0.4'
42
42
 
43
43
  spec.add_development_dependency 'bundler', '~> 2.1'
44
44
  spec.add_development_dependency 'gem-release', '~> 2.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-mhenrixon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.81.0
4
+ version: 0.88.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mhenrixon
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-06 00:00:00.000000000 Z
11
+ date: 2020-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.81.0
19
+ version: 0.88.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.81.0
26
+ version: 0.88.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.5'
33
+ version: '1.7'
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: '1.5'
40
+ version: '1.7'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.37'
61
+ version: '1.42'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.37'
68
+ version: '1.42'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-thread_safety
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.3'
75
+ version: '0.4'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.3'
82
+ version: '0.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -164,7 +164,7 @@ metadata:
164
164
  homepage_uri: https://github.com/mhenrixon/rubocop-mhenrixon
165
165
  source_code_uri: https://github.com/mhenrixon/rubocop-mhenrixon
166
166
  changelog_uri: https://github.com/mhenrixon/rubocop-mhenrixon
167
- post_install_message:
167
+ post_install_message:
168
168
  rdoc_options: []
169
169
  require_paths:
170
170
  - lib
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  requirements: []
182
182
  rubygems_version: 3.1.2
183
- signing_key:
183
+ signing_key:
184
184
  specification_version: 4
185
185
  summary: Shared rubocop configuration for open source gems.
186
186
  test_files: []