armitage-rubocop 1.7.0.1 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +19 -19
- data/armitage-rubocop.gemspec +6 -6
- data/lib/common/lint.yml +9 -0
- data/lib/common/naming.yml +1 -0
- data/lib/common/style.yml +4 -0
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d115bd853f8351f1635a08a301ccfc7834b340af7d345aedf5e04c714c9b1846
|
4
|
+
data.tar.gz: 9cc526fdef9b598f3ae8d3491608ef2cd900c549f207394c3869477a25238d8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d94de8fa682d367a6ca45dd819ffc0379a9c71556b32256054c6628dbb64cf0f26b3fab1b7e001d2f40d4fe2a65e4cc4c147c15a53a2fe005dd141d489e423be
|
7
|
+
data.tar.gz: fe6987953af5ebeca44ee9b0a0e1cbebdca4d991047af4615fa8451c1f5aae23d0e13f6cc547888a4202d24ba96361aa92de374c21c52fd18849521c532264c7
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
armitage-rubocop (1.
|
5
|
-
rubocop (= 1.
|
6
|
-
rubocop-performance (= 1.9.
|
4
|
+
armitage-rubocop (1.8.1)
|
5
|
+
rubocop (= 1.8.1)
|
6
|
+
rubocop-performance (= 1.9.2)
|
7
7
|
rubocop-rails (= 2.9.1)
|
8
8
|
rubocop-rake (= 0.5.1)
|
9
9
|
rubocop-rspec (= 2.1.0)
|
@@ -11,19 +11,19 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
activesupport (6.1.
|
14
|
+
activesupport (6.1.1)
|
15
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
16
|
i18n (>= 1.6, < 2)
|
17
17
|
minitest (>= 5.1)
|
18
18
|
tzinfo (~> 2.0)
|
19
19
|
zeitwerk (~> 2.3)
|
20
|
-
ast (2.4.
|
20
|
+
ast (2.4.2)
|
21
21
|
coderay (1.1.3)
|
22
|
-
concurrent-ruby (1.1.
|
23
|
-
i18n (1.8.
|
22
|
+
concurrent-ruby (1.1.8)
|
23
|
+
i18n (1.8.7)
|
24
24
|
concurrent-ruby (~> 1.0)
|
25
25
|
method_source (1.0.0)
|
26
|
-
minitest (5.14.
|
26
|
+
minitest (5.14.3)
|
27
27
|
parallel (1.20.1)
|
28
28
|
parser (3.0.0.0)
|
29
29
|
ast (~> 2.4.1)
|
@@ -33,20 +33,20 @@ GEM
|
|
33
33
|
rack (2.2.3)
|
34
34
|
rainbow (3.0.0)
|
35
35
|
rake (13.0.3)
|
36
|
-
regexp_parser (2.0.
|
36
|
+
regexp_parser (2.0.3)
|
37
37
|
rexml (3.2.4)
|
38
|
-
rubocop (1.
|
38
|
+
rubocop (1.8.1)
|
39
39
|
parallel (~> 1.10)
|
40
|
-
parser (>=
|
40
|
+
parser (>= 3.0.0.0)
|
41
41
|
rainbow (>= 2.2.2, < 4.0)
|
42
42
|
regexp_parser (>= 1.8, < 3.0)
|
43
43
|
rexml
|
44
44
|
rubocop-ast (>= 1.2.0, < 2.0)
|
45
45
|
ruby-progressbar (~> 1.7)
|
46
|
-
unicode-display_width (>= 1.4.0, <
|
47
|
-
rubocop-ast (1.
|
46
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
47
|
+
rubocop-ast (1.4.1)
|
48
48
|
parser (>= 2.7.1.5)
|
49
|
-
rubocop-performance (1.9.
|
49
|
+
rubocop-performance (1.9.2)
|
50
50
|
rubocop (>= 0.90.0, < 2.0)
|
51
51
|
rubocop-ast (>= 0.4.0)
|
52
52
|
rubocop-rails (2.9.1)
|
@@ -58,10 +58,10 @@ GEM
|
|
58
58
|
rubocop-rspec (2.1.0)
|
59
59
|
rubocop (~> 1.0)
|
60
60
|
rubocop-ast (>= 1.1.0)
|
61
|
-
ruby-progressbar (1.
|
61
|
+
ruby-progressbar (1.11.0)
|
62
62
|
tzinfo (2.0.4)
|
63
63
|
concurrent-ruby (~> 1.0)
|
64
|
-
unicode-display_width (
|
64
|
+
unicode-display_width (2.0.0)
|
65
65
|
zeitwerk (2.4.2)
|
66
66
|
|
67
67
|
PLATFORMS
|
@@ -70,9 +70,9 @@ PLATFORMS
|
|
70
70
|
|
71
71
|
DEPENDENCIES
|
72
72
|
armitage-rubocop!
|
73
|
-
bundler
|
74
|
-
pry
|
75
|
-
rake
|
73
|
+
bundler (~> 2.2)
|
74
|
+
pry (~> 0.13)
|
75
|
+
rake (~> 13.0)
|
76
76
|
|
77
77
|
BUNDLED WITH
|
78
78
|
2.2.3
|
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 = '1.
|
7
|
+
spec.version = '1.8.1'
|
8
8
|
|
9
9
|
spec.name = 'armitage-rubocop'
|
10
10
|
spec.license = 'MIT'
|
@@ -22,13 +22,13 @@ 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', '= 1.
|
26
|
-
spec.add_dependency 'rubocop-performance', '= 1.9.
|
25
|
+
spec.add_dependency 'rubocop', '= 1.8.1'
|
26
|
+
spec.add_dependency 'rubocop-performance', '= 1.9.2'
|
27
27
|
spec.add_dependency 'rubocop-rails', '= 2.9.1'
|
28
28
|
spec.add_dependency 'rubocop-rspec', '= 2.1.0'
|
29
29
|
spec.add_dependency 'rubocop-rake', '= 0.5.1'
|
30
30
|
|
31
|
-
spec.add_development_dependency 'bundler'
|
32
|
-
spec.add_development_dependency 'rake'
|
33
|
-
spec.add_development_dependency 'pry'
|
31
|
+
spec.add_development_dependency 'bundler', '~> 2.2'
|
32
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
33
|
+
spec.add_development_dependency 'pry', '~> 0.13'
|
34
34
|
end
|
data/lib/common/lint.yml
CHANGED
@@ -39,6 +39,9 @@ Lint/ConstantResolution:
|
|
39
39
|
Lint/Debugger:
|
40
40
|
Enabled: true
|
41
41
|
|
42
|
+
Lint/DeprecatedConstants:
|
43
|
+
Enabled: true
|
44
|
+
|
42
45
|
Lint/DeprecatedClassMethods:
|
43
46
|
Enabled: true
|
44
47
|
|
@@ -163,6 +166,9 @@ Lint/InterpolationCheck:
|
|
163
166
|
Enabled: true
|
164
167
|
AutoCorrect: true
|
165
168
|
|
169
|
+
Lint/LambdaWithoutLiteralBlock:
|
170
|
+
Enabled: true
|
171
|
+
|
166
172
|
Lint/LiteralAsCondition:
|
167
173
|
Enabled: true
|
168
174
|
|
@@ -230,6 +236,9 @@ Lint/RaiseException:
|
|
230
236
|
Lint/RandOne:
|
231
237
|
Enabled: true
|
232
238
|
|
239
|
+
Lint/RedundantDirGlobSort:
|
240
|
+
Enabled: true
|
241
|
+
|
233
242
|
Lint/RedundantSafeNavigation:
|
234
243
|
Enabled: true
|
235
244
|
AllowedMethods:
|
data/lib/common/naming.yml
CHANGED
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: 1.
|
4
|
+
version: 1.8.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:
|
11
|
+
date: 2021-01-25 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: 1.
|
19
|
+
version: 1.8.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: 1.
|
26
|
+
version: 1.8.1
|
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.9.
|
33
|
+
version: 1.9.2
|
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.9.
|
40
|
+
version: 1.9.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,44 +84,44 @@ dependencies:
|
|
84
84
|
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '2.2'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '2.2'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
103
|
+
version: '13.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
110
|
+
version: '13.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: pry
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
117
|
+
version: '0.13'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
124
|
+
version: '0.13'
|
125
125
|
description: 'A set of rubocop settings used in my own projects.Support for: vanilla
|
126
126
|
ruby, rspec, rails.'
|
127
127
|
email:
|