armitage-rubocop 0.92.0 → 0.93.1

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: fbc0557d76b3ad87b560318672e7d972683e28746c2940bb53f4c2e927bfa304
4
- data.tar.gz: 211abc70c147c6d5b27d3953daf4980d8265f795db6a857723bda539daec31eb
3
+ metadata.gz: 78e11ada119f145b98a39b8d45bd500f817ba503ffc7f30d6389b727742a476a
4
+ data.tar.gz: 5d7ea304c8de4e190a2acaa9c11a5974251da4a21525fb19dc3f5d4c4a5744c0
5
5
  SHA512:
6
- metadata.gz: c060c8bd643347ebad317d6a43ecfabda9db037c2c109f0efe1c8e6abab9abb6ff539eadb194da313dac137e9e737fe565ddca77275095f202119cfcaf31a316
7
- data.tar.gz: 971daba115f8495e949e3bce691586de6db7d28f42b291efda6f19361976b676f4ba5171f2021e18fd423b03236951f86d283644060c04bf259568586e18eae9
6
+ metadata.gz: 02bd62021abbde7aa28af11c8aecfb1eed5fe6e46db86c04bf832755335c2fcf4d13df6fa6511e5e14c296cfa0f83190fce614eaf61cf7caf19c9de44e3e7582
7
+ data.tar.gz: 5824ad439f1f9a2ebfacef4448d5dae006c3baa3a10cbda59e44b590de39af11befcfef28d93551db3c306b9e6dab9baa3f32eb6a2c6d16900d4825c553b1602
@@ -4,7 +4,7 @@ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.version = '0.92.0'
7
+ spec.version = '0.93.1'
8
8
 
9
9
  spec.name = 'armitage-rubocop'
10
10
  spec.license = 'MIT'
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
23
  end
24
24
 
25
- spec.add_dependency 'rubocop', '= 0.92.0'
25
+ spec.add_dependency 'rubocop', '= 0.93.1'
26
26
  spec.add_dependency 'rubocop-performance', '= 1.8.1'
27
27
  spec.add_dependency 'rubocop-rails', '= 2.8.1'
28
28
  spec.add_dependency 'rubocop-rspec', '= 1.43.2'
@@ -118,6 +118,9 @@ Lint/StructNewOverride:
118
118
  Lint/SuppressedException:
119
119
  Enabled: false
120
120
 
121
+ Lint/HashCompareByIdentity:
122
+ Enabled: false
123
+
121
124
  Lint/HeredocMethodCallPosition:
122
125
  Enabled: true
123
126
 
@@ -204,6 +207,16 @@ Lint/RaiseException:
204
207
  Lint/RandOne:
205
208
  Enabled: true
206
209
 
210
+ Lint/RedundantSafeNavigation:
211
+ Enabled: true
212
+ AllowedMethods:
213
+ - instance_of?
214
+ - kind_of?
215
+ - is_a?
216
+ - eql?
217
+ - respond_to?
218
+ - equal?
219
+
207
220
  Lint/RedundantWithIndex:
208
221
  Enabled: true
209
222
 
@@ -69,6 +69,13 @@ Style/ClassCheck:
69
69
  Enabled: true
70
70
  EnforcedStyle: is_a?
71
71
 
72
+ Style/ClassEqualityComparison:
73
+ Enabled: true
74
+ IgnoredMethods:
75
+ - ==
76
+ - equal?
77
+ - eql?
78
+
72
79
  Style/ClassMethods:
73
80
  Enabled: true
74
81
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: armitage-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.92.0
4
+ version: 0.93.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-04 00:00:00.000000000 Z
11
+ date: 2020-10-17 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.92.0
19
+ version: 0.93.1
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.92.0
26
+ version: 0.93.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement