armitage-rubocop 0.16.0 → 0.17.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 +2 -2
- data/lib/general/lint.yml +3 -0
- data/lib/general/rails.yml +6 -0
- data/lib/general/style.yml +1 -3
- 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: 9a32fdc90a66665b555384b1e1eca2abed714b980cdea74b16d236e09f23ecb1
|
4
|
+
data.tar.gz: 38a447f785884391ecaddde7ed86808fae96d6d553779f815ff5a9eb85af57de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6149a675bd1dadb1bd53714af4b0cb5865654da6bb323e849ef75596f3f6ec4ba025c5b7fe77e10eb04930314e64ecc4f2018df3bd57446964aab9681b11e9be
|
7
|
+
data.tar.gz: 994fed7996fb09363801978a2ad707f95903b2609e7899747626d4f746cb910fa8ab5200e62cb14d025b4387705a62b84abbc7deaf647307724244089053e0bd
|
data/armitage-rubocop.gemspec
CHANGED
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
6
6
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
spec.name = 'armitage-rubocop'
|
9
|
-
spec.version = '0.
|
9
|
+
spec.version = '0.17.0'
|
10
10
|
spec.license = 'MIT'
|
11
11
|
spec.authors = ['Rustam Ibragimov']
|
12
12
|
spec.email = ['iamdaiver@icloud.com']
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
22
22
|
end
|
23
23
|
|
24
|
-
spec.add_dependency 'rubocop', '= 0.
|
24
|
+
spec.add_dependency 'rubocop', '= 0.63.0'
|
25
25
|
spec.add_dependency 'rubocop-rspec', '= 1.31.0'
|
26
26
|
|
27
27
|
spec.add_development_dependency 'bundler'
|
data/lib/general/lint.yml
CHANGED
data/lib/general/rails.yml
CHANGED
@@ -17,6 +17,9 @@ Rails/ApplicationRecord:
|
|
17
17
|
Rails/AssertNot:
|
18
18
|
Enabled: true
|
19
19
|
|
20
|
+
Rails/BelongsTo:
|
21
|
+
Enabled: true
|
22
|
+
|
20
23
|
Rails/Blank:
|
21
24
|
Enabled: false
|
22
25
|
|
@@ -71,6 +74,9 @@ Rails/HttpPositionalArguments:
|
|
71
74
|
Rails/HttpStatus:
|
72
75
|
Enabled: false
|
73
76
|
|
77
|
+
Rails/IgnoredSkipActionFilterOption:
|
78
|
+
Enabled: true
|
79
|
+
|
74
80
|
Rails/InverseOf:
|
75
81
|
Enabled: true
|
76
82
|
|
data/lib/general/style.yml
CHANGED
@@ -144,9 +144,6 @@ Style/EvenOdd:
|
|
144
144
|
Style/ExpandPathArguments:
|
145
145
|
Enabled: true
|
146
146
|
|
147
|
-
Style/FlipFlop:
|
148
|
-
Enabled: true
|
149
|
-
|
150
147
|
Style/For:
|
151
148
|
Enabled: true
|
152
149
|
EnforcedStyle: each
|
@@ -536,6 +533,7 @@ Style/WordArray:
|
|
536
533
|
|
537
534
|
Style/YodaCondition:
|
538
535
|
Enabled: false
|
536
|
+
EnforcedStyle: forbid_for_all_comparison_operators
|
539
537
|
|
540
538
|
Style/ZeroLengthPredicate:
|
541
539
|
Enabled: true
|
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.17.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: 2019-01-
|
11
|
+
date: 2019-01-18 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.63.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.63.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|