rubocop-mhenrixon 0.88.0 → 0.89

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: ed093b0caf3c6edc46e5542fa3b17a135923575fc8616fc427a111e5b9a1c2bd
4
- data.tar.gz: 935ce6bf1d20c5858cc368fc5ae7f128234fd077dbc61947079a54da85448f46
3
+ metadata.gz: c6dc874df8f9cd2622b57ca7cccf11a438def18437763821ef901a5ea449f052
4
+ data.tar.gz: 360a2e0252013e916807f5cf5f6c0dc54841e7f9c3d7854695f41a739f3bd263
5
5
  SHA512:
6
- metadata.gz: db2660d62914d1709014ef5184c4b7f8181112f2f0855cf2535089346f5ae1e47ed20ffb09165c9a2a8b389b60d6af6e1fc96407bfa0d9868d8187d4e90e892f
7
- data.tar.gz: f8951c70cb38c5d7224b8196cffccc89f6a389f799f46aaf8e595931a17b8323d09acbcb0d6067f7a849cce1304ca6164a816749506fdda8ea483dcad7b5edd8
6
+ metadata.gz: 309e0ff7f6d058123f22102868e4f71ca0e82f0c75fe072a50a89fb1e74b8f7fcc0da544e6c8adf94bd0fa5bf3336da4519ce60bccb50db7d589b3d0a2d5bcb0
7
+ data.tar.gz: 70cc91446fe20fef0663c52908f7752e1261b7933234ee6596691db154a25aa3f24c49b7633a3e40f4f0b2fa35ff5890d4cbb9a0084d583fe8bf9a9e0495ae3d
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
12
  /Gemfile.lock
13
+ /.DS_Store
@@ -12,6 +12,7 @@ inherit_mode:
12
12
  AllCops:
13
13
  DisplayCopNames: true
14
14
  DisplayStyleGuide: true
15
+ TargetRubyVersion: 2.5
15
16
  Include:
16
17
  - "Rakefile"
17
18
  - "Gemfile"
@@ -55,12 +56,39 @@ Lint/DuplicateElsifCondition: # (0.88)
55
56
  Lint/MixedRegexpCaptureTypes: # (0.85)
56
57
  Enabled: true
57
58
 
59
+ Lint/BinaryOperatorWithIdenticalOperands: # (0.89)
60
+ Enabled: true
61
+
62
+ Lint/DuplicateRescueException: # (0.89)
63
+ Enabled: true
64
+
65
+ Lint/EmptyConditionalBody: # (0.89)
66
+ Enabled: true
67
+
68
+ Lint/FloatComparison: # (0.89)
69
+ Enabled: true
70
+
71
+ Lint/MissingSuper: # (0.89)
72
+ Enabled: true
73
+
74
+ Lint/OutOfRangeRegexpRef: # (0.89)
75
+ Enabled: true
76
+
58
77
  Lint/RaiseException:
59
78
  Enabled: true
60
79
 
80
+ Lint/SelfAssignment: # (0.89)
81
+ Enabled: true
82
+
61
83
  Lint/StructNewOverride:
62
84
  Enabled: true
63
85
 
86
+ Lint/TopLevelReturnWithArgument: # (0.89)
87
+ Enabled: true
88
+
89
+ Lint/UnreachableLoop: # (0.89)
90
+ Enabled: true
91
+
64
92
 
65
93
  #===============
66
94
  #=== METRICS ===
@@ -136,7 +164,13 @@ Style/CaseLikeIf: # (0.88)
136
164
 
137
165
  Style/ExponentialNotation: # (0.82)
138
166
  Enabled: true
139
-
167
+
168
+ Style/ExplicitBlockArgument: # (0.89)
169
+ Enabled: true
170
+
171
+ Style/GlobalStdStream: # (0.89)
172
+ Enabled: true
173
+
140
174
  Style/HashAsLastArrayItem: # (0.88)
141
175
  Enabled: true
142
176
 
@@ -152,6 +186,9 @@ Style/HashTransformKeys:
152
186
  Style/HashTransformValues:
153
187
  Enabled: true
154
188
 
189
+ Style/OptionalBooleanParameter: # (0.89)
190
+ Enabled: true
191
+
155
192
  Style/RedundantAssignment: # (0.87)
156
193
  Enabled: true
157
194
 
@@ -167,5 +204,11 @@ Style/RedundantRegexpCharacterClass: # (0.85)
167
204
  Style/RedundantRegexpEscape: # (0.85)
168
205
  Enabled: true
169
206
 
207
+ Style/SingleArgumentDig: # (0.89)
208
+ Enabled: true
209
+
170
210
  Style/SlicingWithRange: # (0.83)
211
+ Enabled: true
212
+
213
+ Style/StringConcatenation: # (0.89)
171
214
  Enabled: true
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Mhenrixon
5
- VERSION = '0.88.0'
5
+ VERSION = '0.89'
6
6
  end
7
7
  end
@@ -15,6 +15,8 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = 'https://github.com/mhenrixon/rubocop-mhenrixon'
16
16
  spec.license = 'MIT'
17
17
 
18
+ spec.required_ruby_version = '2.5'
19
+
18
20
  if spec.respond_to?(:metadata)
19
21
  spec.metadata['allowed_push_host'] = 'https://rubygems.org'
20
22
  spec.metadata['homepage_uri'] = spec.homepage
@@ -34,7 +36,7 @@ Gem::Specification.new do |spec|
34
36
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
35
37
  spec.require_paths = ['lib']
36
38
 
37
- spec.add_dependency 'rubocop', '~> 0.88.0'
39
+ spec.add_dependency 'rubocop', '~> 0.89'
38
40
  spec.add_dependency 'rubocop-performance', '~> 1.7'
39
41
  spec.add_dependency 'rubocop-rake', '~> 0.5'
40
42
  spec.add_dependency 'rubocop-rspec', '~> 1.42'
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.88.0
4
+ version: '0.89'
5
5
  platform: ruby
6
6
  authors:
7
7
  - mhenrixon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-13 00:00:00.000000000 Z
11
+ date: 2020-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.88.0
19
+ version: '0.89'
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.88.0
26
+ version: '0.89'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -170,16 +170,16 @@ require_paths:
170
170
  - lib
171
171
  required_ruby_version: !ruby/object:Gem::Requirement
172
172
  requirements:
173
- - - ">="
173
+ - - '='
174
174
  - !ruby/object:Gem::Version
175
- version: '0'
175
+ version: '2.5'
176
176
  required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  requirements: []
182
- rubygems_version: 3.1.2
182
+ rubygems_version: 3.1.4
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: Shared rubocop configuration for open source gems.