armitage-rubocop 1.6.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -12
- data/armitage-rubocop.gemspec +4 -4
- data/lib/common/layout.yml +3 -0
- data/lib/common/lint.yml +7 -1
- data/lib/common/style.yml +5 -0
- data/lib/rspec/rspec.yml +1 -0
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c5153c757dee7ef848bdec1c157b73cd5a7cae96d393b7935edf646d1f79fce
|
4
|
+
data.tar.gz: 20e4863749407ce8de46271303cb676cc9b457ca9f0efa9dd57f0df4317e518c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8622bfd73ee8dcc9b871c259b981ef008e990d898b03ee972e046d90949f54390d7db9d3eb011efdfe99d01b377b8fcfd654c48b727c57b17de054bb74f26a57
|
7
|
+
data.tar.gz: 4329947f5313b190a42deef88085646313b6ad43d262952af0fbd44205d055ecc8a916f7cc4d6b953e645d1a29554b3b54577d98e4d364dbd2226cf982da66b7
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
armitage-rubocop (1.
|
5
|
-
rubocop (= 1.
|
4
|
+
armitage-rubocop (1.7.0)
|
5
|
+
rubocop (= 1.7.0)
|
6
6
|
rubocop-performance (= 1.9.1)
|
7
|
-
rubocop-rails (= 2.9.
|
7
|
+
rubocop-rails (= 2.9.1)
|
8
8
|
rubocop-rake (= 0.5.1)
|
9
|
-
rubocop-rspec (= 2.0
|
9
|
+
rubocop-rspec (= 2.1.0)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
@@ -25,17 +25,17 @@ GEM
|
|
25
25
|
method_source (1.0.0)
|
26
26
|
minitest (5.14.2)
|
27
27
|
parallel (1.20.1)
|
28
|
-
parser (
|
28
|
+
parser (3.0.0.0)
|
29
29
|
ast (~> 2.4.1)
|
30
30
|
pry (0.13.1)
|
31
31
|
coderay (~> 1.1)
|
32
32
|
method_source (~> 1.0)
|
33
33
|
rack (2.2.3)
|
34
34
|
rainbow (3.0.0)
|
35
|
-
rake (13.0.
|
36
|
-
regexp_parser (2.0.
|
35
|
+
rake (13.0.3)
|
36
|
+
regexp_parser (2.0.2)
|
37
37
|
rexml (3.2.4)
|
38
|
-
rubocop (1.
|
38
|
+
rubocop (1.7.0)
|
39
39
|
parallel (~> 1.10)
|
40
40
|
parser (>= 2.7.1.5)
|
41
41
|
rainbow (>= 2.2.2, < 4.0)
|
@@ -49,17 +49,17 @@ GEM
|
|
49
49
|
rubocop-performance (1.9.1)
|
50
50
|
rubocop (>= 0.90.0, < 2.0)
|
51
51
|
rubocop-ast (>= 0.4.0)
|
52
|
-
rubocop-rails (2.9.
|
52
|
+
rubocop-rails (2.9.1)
|
53
53
|
activesupport (>= 4.2.0)
|
54
54
|
rack (>= 1.1)
|
55
55
|
rubocop (>= 0.90.0, < 2.0)
|
56
56
|
rubocop-rake (0.5.1)
|
57
57
|
rubocop
|
58
|
-
rubocop-rspec (2.0
|
58
|
+
rubocop-rspec (2.1.0)
|
59
59
|
rubocop (~> 1.0)
|
60
60
|
rubocop-ast (>= 1.1.0)
|
61
61
|
ruby-progressbar (1.10.1)
|
62
|
-
tzinfo (2.0.
|
62
|
+
tzinfo (2.0.4)
|
63
63
|
concurrent-ruby (~> 1.0)
|
64
64
|
unicode-display_width (1.7.0)
|
65
65
|
zeitwerk (2.4.2)
|
@@ -75,4 +75,4 @@ DEPENDENCIES
|
|
75
75
|
rake
|
76
76
|
|
77
77
|
BUNDLED WITH
|
78
|
-
2.2.
|
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.7.0'
|
8
8
|
|
9
9
|
spec.name = 'armitage-rubocop'
|
10
10
|
spec.license = 'MIT'
|
@@ -22,10 +22,10 @@ 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.
|
25
|
+
spec.add_dependency 'rubocop', '= 1.7.0'
|
26
26
|
spec.add_dependency 'rubocop-performance', '= 1.9.1'
|
27
|
-
spec.add_dependency 'rubocop-rails', '= 2.9.
|
28
|
-
spec.add_dependency 'rubocop-rspec', '= 2.0
|
27
|
+
spec.add_dependency 'rubocop-rails', '= 2.9.1'
|
28
|
+
spec.add_dependency 'rubocop-rspec', '= 2.1.0'
|
29
29
|
spec.add_dependency 'rubocop-rake', '= 0.5.1'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler'
|
data/lib/common/layout.yml
CHANGED
data/lib/common/lint.yml
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
Lint/
|
1
|
+
Lint/AmbiguousAssignment:
|
2
2
|
Enabled: false
|
3
3
|
|
4
|
+
Lint/AmbiguousBlockAssociation:
|
5
|
+
Enabled: true
|
6
|
+
|
4
7
|
Lint/AmbiguousOperator:
|
5
8
|
Enabled: false
|
6
9
|
|
@@ -48,6 +51,8 @@ Lint/DisjunctiveAssignmentInConstructor:
|
|
48
51
|
|
49
52
|
Lint/DuplicateBranch:
|
50
53
|
Enabled: true
|
54
|
+
IgnoreLiteralBranches: false
|
55
|
+
IgnoreConstantBranches: false
|
51
56
|
|
52
57
|
Lint/DuplicateCaseCondition:
|
53
58
|
Enabled: true
|
@@ -327,6 +332,7 @@ Lint/RedundantRequireStatement:
|
|
327
332
|
|
328
333
|
Lint/RedundantSplatExpansion:
|
329
334
|
Enabled: true
|
335
|
+
AllowPercentLiteralArrayArgument: true
|
330
336
|
|
331
337
|
Lint/UnreachableCode:
|
332
338
|
Enabled: true
|
data/lib/common/style.yml
CHANGED
@@ -113,6 +113,7 @@ Style/CommentAnnotation:
|
|
113
113
|
|
114
114
|
Style/CommentedKeyword:
|
115
115
|
Enabled: false
|
116
|
+
AutoCorrect: true
|
116
117
|
|
117
118
|
Style/ConditionalAssignment:
|
118
119
|
Enabled: false
|
@@ -237,6 +238,9 @@ Style/HashAsLastArrayItem:
|
|
237
238
|
EnforcedStyle: braces
|
238
239
|
AutoCorrect: true
|
239
240
|
|
241
|
+
Style/HashExcept:
|
242
|
+
Enabled: true
|
243
|
+
|
240
244
|
Style/HashLikeCase:
|
241
245
|
Enabled: false
|
242
246
|
MinBranchesCount: 4
|
@@ -351,6 +355,7 @@ Style/MultilineMemoization:
|
|
351
355
|
|
352
356
|
Style/MultilineMethodSignature:
|
353
357
|
Enabled: false
|
358
|
+
AutoCorrect: true
|
354
359
|
|
355
360
|
Style/MultilineTernaryOperator:
|
356
361
|
Enabled: false
|
data/lib/rspec/rspec.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.7.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-12-
|
11
|
+
date: 2020-12-25 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: 1.
|
19
|
+
version: 1.7.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: 1.
|
26
|
+
version: 1.7.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.9.
|
47
|
+
version: 2.9.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.9.
|
54
|
+
version: 2.9.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.0
|
61
|
+
version: 2.1.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.0
|
68
|
+
version: 2.1.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
|
-
rubygems_version: 3.2.
|
183
|
+
rubygems_version: 3.2.3
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: A set of rubocop settings
|