armitage-rubocop 0.74.0.130 → 0.75.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yamllint +50 -0
- data/armitage-rubocop.gemspec +4 -4
- data/lib/common/lint.yml +3 -0
- data/lib/common/performance.yml +2 -2
- data/lib/common/style.yml +1 -0
- data/lib/rspec/rspec.yml +6 -0
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f82eafbb167847ce83d038063d5c99d9bf9a9791334dfc580b8abc9af4631afe
|
4
|
+
data.tar.gz: 152962332d003c8e171c41486233499906e4af3743222f9ebd7d00a3fd87bdfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af27d681d48f32cb2cc5fe563e54fc0b2fcc3ffe6f650d09f5cec5bea6dd02baaff72e638b55aadbd0292c4f9cca046e0d1d951ddd3d636d98c6005475361897
|
7
|
+
data.tar.gz: 978e47c17c7b01b7d91f1dca1d9d18604f7aae546acaf245236167de0459bb2071f3956396de15a80bffc0ce771d9571a1ae09e0cab0ef55c4d7d1c524d0e1c4
|
data/.yamllint
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
extends: default
|
2
|
+
|
3
|
+
yaml-files:
|
4
|
+
- '*.yml'
|
5
|
+
- '*.yaml'
|
6
|
+
|
7
|
+
rules:
|
8
|
+
braces:
|
9
|
+
min-spaces-inside: 1
|
10
|
+
max-spaces-inside: 1
|
11
|
+
min-spaces-inside-empty: 0
|
12
|
+
max-spaces-inside-empty: 0
|
13
|
+
brackets:
|
14
|
+
min-spaces-inside: 0
|
15
|
+
max-spaces-inside: 0
|
16
|
+
min-spaces-inside-empty: 0
|
17
|
+
max-spaces-inside-empty: 0
|
18
|
+
colons:
|
19
|
+
max-spaces-before: 0
|
20
|
+
max-spaces-after: 1
|
21
|
+
commas:
|
22
|
+
max-spaces-before: 0
|
23
|
+
min-spaces-after: 1
|
24
|
+
max-spaces-after: 1
|
25
|
+
comments: disable
|
26
|
+
comments-indentation: {}
|
27
|
+
document-start: disable
|
28
|
+
document-end: disable
|
29
|
+
empty-lines:
|
30
|
+
max: 1
|
31
|
+
empty-values: disable
|
32
|
+
hyphens:
|
33
|
+
max-spaces-after: 1
|
34
|
+
indentation:
|
35
|
+
spaces: 2
|
36
|
+
indent-sequences: whatever
|
37
|
+
check-multi-line-strings: true
|
38
|
+
key-duplicates: {}
|
39
|
+
key-ordering: disable
|
40
|
+
line-length:
|
41
|
+
max: 150
|
42
|
+
allow-non-breakable-words: false
|
43
|
+
new-line-at-end-of-file: enable
|
44
|
+
new-lines:
|
45
|
+
type: unix
|
46
|
+
octal-values:
|
47
|
+
forbid-explicit-octal: true
|
48
|
+
quoted-strings: disable
|
49
|
+
trailing-spaces: {}
|
50
|
+
truthy: {}
|
data/armitage-rubocop.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'armitage-rubocop'
|
8
|
-
spec.version = '0.
|
8
|
+
spec.version = '0.75.0'
|
9
9
|
spec.license = 'MIT'
|
10
10
|
spec.authors = ['Rustam Ibragimov']
|
11
11
|
spec.email = ['iamdaiver@icloud.com']
|
@@ -20,10 +20,10 @@ Gem::Specification.new do |spec|
|
|
20
20
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
21
21
|
end
|
22
22
|
|
23
|
-
spec.add_dependency 'rubocop', '= 0.
|
24
|
-
spec.add_dependency 'rubocop-performance', '= 1.
|
23
|
+
spec.add_dependency 'rubocop', '= 0.75.0'
|
24
|
+
spec.add_dependency 'rubocop-performance', '= 1.5.0'
|
25
25
|
spec.add_dependency 'rubocop-rails', '= 2.3.2'
|
26
|
-
spec.add_dependency 'rubocop-rspec', '= 1.
|
26
|
+
spec.add_dependency 'rubocop-rspec', '= 1.36.0'
|
27
27
|
|
28
28
|
spec.add_development_dependency 'bundler'
|
29
29
|
spec.add_development_dependency 'rake'
|
data/lib/common/lint.yml
CHANGED
data/lib/common/performance.yml
CHANGED
@@ -16,11 +16,11 @@ Performance/CompareWithBlock:
|
|
16
16
|
|
17
17
|
Performance/Count:
|
18
18
|
Enabled: true
|
19
|
-
|
19
|
+
SafeAutoCorrect: false
|
20
20
|
|
21
21
|
Performance/Detect:
|
22
22
|
Enabled: true
|
23
|
-
|
23
|
+
SafeAutoCorrect: false
|
24
24
|
|
25
25
|
Performance/DoubleStartEndWith:
|
26
26
|
Enabled: true
|
data/lib/common/style.yml
CHANGED
data/lib/rspec/rspec.yml
CHANGED
@@ -19,6 +19,9 @@ RSpec/BeEql:
|
|
19
19
|
RSpec/BeforeAfterAll:
|
20
20
|
Enabled: false
|
21
21
|
|
22
|
+
RSpec/ContextMethod:
|
23
|
+
Enabled: false
|
24
|
+
|
22
25
|
RSpec/ContextWording:
|
23
26
|
Enabled: false
|
24
27
|
|
@@ -46,6 +49,9 @@ RSpec/EmptyExampleGroup:
|
|
46
49
|
RSpec/EmptyLineAfterExampleGroup:
|
47
50
|
Enabled: true
|
48
51
|
|
52
|
+
RSpec/EmptyLineAfterExample:
|
53
|
+
Enabled: true
|
54
|
+
|
49
55
|
RSpec/EmptyLineAfterFinalLet:
|
50
56
|
Enabled: true
|
51
57
|
|
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.75.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-
|
11
|
+
date: 2019-10-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.75.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.75.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.5.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.5.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.36.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: 1.
|
68
|
+
version: 1.36.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -118,6 +118,7 @@ extra_rdoc_files: []
|
|
118
118
|
files:
|
119
119
|
- ".gitignore"
|
120
120
|
- ".rubocop.yml"
|
121
|
+
- ".yamllint"
|
121
122
|
- CODE_OF_CONDUCT.md
|
122
123
|
- Gemfile
|
123
124
|
- LICENSE.txt
|