armitage-rubocop 0.84.0 → 0.85.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 +0 -1
- data/lib/common/lint.yml +4 -0
- data/lib/common/naming.yml +2 -0
- data/lib/common/style.yml +6 -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: 91749a541750dacdef58261bb3296b67996a172ae83f9dec0fd58fcb07d221a5
|
4
|
+
data.tar.gz: 65584d9054bf9e11b01ca13ba5f8c11c0d8f139a001e9906f7f1fa49c7b27a45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6fdf68ad7b80de4e2966326de6c9b0b2107597a6ce1f766123b2e26a070c71c429d05913d0621f3f6bfe72862c9ed3776cf0839f405e51e3f8964f5cc3981af
|
7
|
+
data.tar.gz: afd4fbd1c1c3a8db627ea933e27ee737d8858388a72c2497c4a9d2d98711e3c599331f084853a7d399c5d46113d44b223bf7a41f50192ab18232cd37a8b69468
|
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.85.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.6.
|
25
|
+
spec.add_dependency 'rubocop', '= 0.85.0'
|
26
|
+
spec.add_dependency 'rubocop-performance', '= 1.6.1'
|
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
data/lib/common/lint.yml
CHANGED
@@ -112,6 +112,10 @@ Lint/Loop:
|
|
112
112
|
Lint/MissingCopEnableDirective:
|
113
113
|
Enabled: true
|
114
114
|
|
115
|
+
Lint/MixedRegexpCaptureTypes:
|
116
|
+
Enabled: true
|
117
|
+
# NOTE: if you use named captures - numbered captures will be ignored. it is bad. validate it.
|
118
|
+
|
115
119
|
Lint/MultipleComparison:
|
116
120
|
Enabled: true
|
117
121
|
|
data/lib/common/naming.yml
CHANGED
@@ -9,6 +9,7 @@ Naming/BinaryOperatorParameterName:
|
|
9
9
|
|
10
10
|
Naming/ClassAndModuleCamelCase:
|
11
11
|
Enabled: true
|
12
|
+
AllowedNames: []
|
12
13
|
|
13
14
|
Naming/ConstantName:
|
14
15
|
Enabled: true
|
@@ -17,6 +18,7 @@ Naming/FileName:
|
|
17
18
|
Enabled: true
|
18
19
|
ExpectMatchingDefinition: false
|
19
20
|
IgnoreExecutableScripts: true
|
21
|
+
CheckDefinitionPathHierarchy: false
|
20
22
|
|
21
23
|
Naming/HeredocDelimiterCase:
|
22
24
|
Enabled: true
|
data/lib/common/style.yml
CHANGED
@@ -398,6 +398,12 @@ Style/RedundantBegin:
|
|
398
398
|
Style/RedundantConditional:
|
399
399
|
Enabled: true
|
400
400
|
|
401
|
+
Style/RedundantRegexpCharacterClass:
|
402
|
+
Enabled: true
|
403
|
+
|
404
|
+
Style/RedundantRegexpEscape:
|
405
|
+
Enabled: true
|
406
|
+
|
401
407
|
Style/RedundantException:
|
402
408
|
Enabled: false
|
403
409
|
|
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.85.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-
|
11
|
+
date: 2020-06-07 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.85.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.85.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.6.
|
33
|
+
version: 1.6.1
|
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.6.
|
40
|
+
version: 1.6.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|