armitage-rubocop 0.7.0 → 0.8.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/general/bundler.yml +3 -0
- data/lib/general/layout.yml +1 -0
- data/lib/general/performance.yml +4 -0
- data/lib/general/rails.yml +2 -0
- data/lib/general/style.yml +7 -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: 8fa1d853ad4501f578f8ca7ffb91dce9f11e6ac1db48df89f6dd6d82a7185c7c
|
4
|
+
data.tar.gz: 31b6e0ef4350e827f4218c1c579b17be232df6ea556c17c48ca3c241debbdd30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9063ce6e93eaeed66c7f970b0a64cf6e37b68a53fc1d96830dd8b0c91fafd31960d82d34fa1fc3cd00f08f8d17a49c0e002e223a681be9d5dddc4d4e0435029d
|
7
|
+
data.tar.gz: d3e22da828f76a01900a81ce0a36c9c62845328f9e0254b1180fbd7dbc9f217b2b72725b4075f0625c75234f8ec3cfff34c887f58885d77a9cff67ae1a137f19
|
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.8.0'
|
10
10
|
spec.license = 'MIT'
|
11
11
|
spec.authors = ['Rustam Ibragimov']
|
12
12
|
spec.email = ['iamdaiver@icloud.com']
|
@@ -21,8 +21,8 @@ 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',
|
25
|
-
spec.add_dependency 'rubocop-rspec', '= 1.29.
|
24
|
+
spec.add_dependency 'rubocop', '= 0.59.1'
|
25
|
+
spec.add_dependency 'rubocop-rspec', '= 1.29.1'
|
26
26
|
|
27
27
|
spec.add_development_dependency 'bundler'
|
28
28
|
spec.add_development_dependency 'rake'
|
data/lib/general/bundler.yml
CHANGED
data/lib/general/layout.yml
CHANGED
data/lib/general/performance.yml
CHANGED
data/lib/general/rails.yml
CHANGED
@@ -106,6 +106,7 @@ Rails/RefuteMethods:
|
|
106
106
|
|
107
107
|
Rails/RelativeDateConstant:
|
108
108
|
Enabled: true
|
109
|
+
AutoCorrect: false
|
109
110
|
|
110
111
|
Rails/RequestReferer:
|
111
112
|
Enabled: true
|
@@ -119,6 +120,7 @@ Rails/SafeNavigation:
|
|
119
120
|
|
120
121
|
Rails/SaveBang:
|
121
122
|
Enabled: true
|
123
|
+
AllowImplicitReturn: true
|
122
124
|
|
123
125
|
Rails/ScopeArgs:
|
124
126
|
Enabled: true
|
data/lib/general/style.yml
CHANGED
@@ -86,6 +86,7 @@ Style/Copyright:
|
|
86
86
|
|
87
87
|
Style/DateTime:
|
88
88
|
Enabled: true
|
89
|
+
AllowCoercion: false
|
89
90
|
|
90
91
|
Style/DefWithParentheses:
|
91
92
|
Enabled: true
|
@@ -149,6 +150,7 @@ Style/FlipFlop:
|
|
149
150
|
Style/For:
|
150
151
|
Enabled: true
|
151
152
|
EnforcedStyle: each
|
153
|
+
AutoCorrect: true
|
152
154
|
|
153
155
|
Style/FormatString:
|
154
156
|
Enabled: true
|
@@ -264,6 +266,9 @@ Style/MultilineMemoization:
|
|
264
266
|
Enabled: true
|
265
267
|
EnforcedStyle: keyword
|
266
268
|
|
269
|
+
Style/MultilineMethodSignature:
|
270
|
+
Enabled: false
|
271
|
+
|
267
272
|
Style/MultilineTernaryOperator:
|
268
273
|
Enabled: false
|
269
274
|
|
@@ -296,6 +301,7 @@ Style/Next:
|
|
296
301
|
|
297
302
|
Style/NilComparison:
|
298
303
|
Enabled: true
|
304
|
+
EnforcedStyle: predicate
|
299
305
|
|
300
306
|
Style/NonNilCheck:
|
301
307
|
Enabled: true
|
@@ -315,6 +321,7 @@ Style/NumericPredicate:
|
|
315
321
|
Enabled: true
|
316
322
|
EnforcedStyle: predicate
|
317
323
|
AutoCorrect: false
|
324
|
+
IgnoredMethods: []
|
318
325
|
|
319
326
|
Style/OneLineConditional:
|
320
327
|
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.8.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: 2018-
|
11
|
+
date: 2018-09-16 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.59.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: 0.
|
26
|
+
version: 0.59.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.29.
|
33
|
+
version: 1.29.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.29.
|
40
|
+
version: 1.29.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|