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 +4 -4
- data/armitage-rubocop.gemspec +2 -2
- data/lib/common/lint.yml +13 -0
- data/lib/common/style.yml +7 -0
- 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: 78e11ada119f145b98a39b8d45bd500f817ba503ffc7f30d6389b727742a476a
|
4
|
+
data.tar.gz: 5d7ea304c8de4e190a2acaa9c11a5974251da4a21525fb19dc3f5d4c4a5744c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02bd62021abbde7aa28af11c8aecfb1eed5fe6e46db86c04bf832755335c2fcf4d13df6fa6511e5e14c296cfa0f83190fce614eaf61cf7caf19c9de44e3e7582
|
7
|
+
data.tar.gz: 5824ad439f1f9a2ebfacef4448d5dae006c3baa3a10cbda59e44b590de39af11befcfef28d93551db3c306b9e6dab9baa3f32eb6a2c6d16900d4825c553b1602
|
data/armitage-rubocop.gemspec
CHANGED
@@ -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.
|
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.
|
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'
|
data/lib/common/lint.yml
CHANGED
@@ -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
|
|
data/lib/common/style.yml
CHANGED
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 0.93.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|