armitage-rubocop 0.83.0.1 → 0.84.0
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 +3 -3
- data/lib/common/layout.yml +6 -0
- data/lib/common/lint.yml +3 -0
- data/lib/common/performance.yml +9 -0
- data/lib/common/style.yml +1 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd8d5fd3ee96a6aed75e2ba2aab5af7ce593d04100fef5c17968df5189ad4a82
|
4
|
+
data.tar.gz: fde3beef8077033329d694307f2b99d6affd2955e4db8891ff54265f155a146c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: decdbf9a6e7f9c704c8c30f14cf58d5ac9bc365e5cae5d51c8e2cad75f37ca1d64535333ac2ea06be60ae0c164aff8850bf7bf064e629c3975a96e401d6d679a
|
7
|
+
data.tar.gz: 4ed4c0b4fd014fb296d51a97db30d7e7280ffde3ce6e29c8d4b837494ec3b6d5316ed4735f41c5576e318ec751fa26d685b64a9fffd382c3e8e25e36e6a7cd27
|
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.84.0'
|
8
8
|
|
9
9
|
spec.name = 'armitage-rubocop'
|
10
10
|
spec.license = 'MIT'
|
@@ -22,8 +22,8 @@ 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.
|
26
|
-
spec.add_dependency 'rubocop-performance', '= 1.
|
25
|
+
spec.add_dependency 'rubocop', '= 0.84.0'
|
26
|
+
spec.add_dependency 'rubocop-performance', '= 1.6.0'
|
27
27
|
spec.add_dependency 'rubocop-rails', '= 2.5.2'
|
28
28
|
spec.add_dependency 'rubocop-rspec', '= 1.39.0'
|
29
29
|
spec.add_dependency 'rubocop-rake', '= 0.5.1'
|
data/lib/common/layout.yml
CHANGED
@@ -92,6 +92,12 @@ Layout/EmptyLineAfterMagicComment:
|
|
92
92
|
|
93
93
|
Layout/EmptyLinesAroundAttributeAccessor:
|
94
94
|
Enabled: true
|
95
|
+
AllowAliasSyntax: true
|
96
|
+
AllowedMethods:
|
97
|
+
- alias_method
|
98
|
+
- public
|
99
|
+
- protected
|
100
|
+
- private
|
95
101
|
|
96
102
|
Layout/EmptyLineBetweenDefs:
|
97
103
|
Enabled: true
|
data/lib/common/lint.yml
CHANGED
data/lib/common/performance.yml
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
Performance/BindCall:
|
2
|
+
Enabled: true
|
3
|
+
|
1
4
|
Performance/Caller:
|
2
5
|
Enabled: true
|
3
6
|
|
@@ -18,6 +21,12 @@ Performance/Count:
|
|
18
21
|
Enabled: true
|
19
22
|
SafeAutoCorrect: false
|
20
23
|
|
24
|
+
Performance/DeletePrefix:
|
25
|
+
Enabled: true
|
26
|
+
|
27
|
+
Performance/DeleteSuffix:
|
28
|
+
Enabled: true
|
29
|
+
|
21
30
|
Performance/Detect:
|
22
31
|
Enabled: true
|
23
32
|
SafeAutoCorrect: false
|
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.84.0
|
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-05-
|
11
|
+
date: 2020-05-24 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.
|
19
|
+
version: 0.84.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.
|
26
|
+
version: 0.84.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.
|
33
|
+
version: 1.6.0
|
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.
|
40
|
+
version: 1.6.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|