manageiq-style 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/manageiq/style/version.rb +1 -1
- data/manageiq-style.gemspec +1 -1
- data/styles/base.yml +9 -2
- data/styles/cc_base.yml +2 -2
- 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: 26372475b01723e1fc01fc5779ed19d5e8f4d71e385efe98b8a10c357217c191
|
4
|
+
data.tar.gz: 8078d20448d582315cf388037a186fa15c0c3edc429a6731b4a341c6a7cb48f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 556620286f615581543b904bda9d5badb6f745516381f54dfb73b6990ae48c500c4c39f4e3fa65782c4906153fbfa88841c8072574d72d4335086184e683a996
|
7
|
+
data.tar.gz: d2a0a9c6d90bd55c67a1a089dc3d5ff2d727fe5b9fcfa322a8737376247ebff3c3599525d129fe992cbe8ae91982c65baba2ee104ab035de8bbed643c4c7c21f
|
data/manageiq-style.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.add_runtime_dependency "more_core_extensions"
|
27
27
|
spec.add_runtime_dependency "optimist"
|
28
|
-
spec.add_runtime_dependency "rubocop", "~>
|
28
|
+
spec.add_runtime_dependency "rubocop", "~> 1.13"
|
29
29
|
spec.add_runtime_dependency "rubocop-performance"
|
30
30
|
spec.add_runtime_dependency "rubocop-rails"
|
31
31
|
|
data/styles/base.yml
CHANGED
@@ -3,11 +3,12 @@ require:
|
|
3
3
|
- rubocop-performance
|
4
4
|
|
5
5
|
AllCops:
|
6
|
-
NewCops:
|
6
|
+
NewCops: enable
|
7
7
|
Exclude:
|
8
8
|
- spec/manageiq/**/*
|
9
9
|
- vendor/**/*
|
10
|
-
|
10
|
+
SuggestExtensions: false
|
11
|
+
TargetRubyVersion: 2.6
|
11
12
|
Layout/HashAlignment:
|
12
13
|
EnforcedHashRocketStyle: table
|
13
14
|
EnforcedColonStyle: table
|
@@ -17,6 +18,8 @@ Layout/EndAlignment:
|
|
17
18
|
AutoCorrect: true
|
18
19
|
Layout/ExtraSpacing:
|
19
20
|
AutoCorrect: true
|
21
|
+
Exclude:
|
22
|
+
- Gemfile
|
20
23
|
Layout/LineLength:
|
21
24
|
Enabled: false
|
22
25
|
Layout/SpaceAroundMethodCallOperator:
|
@@ -248,6 +251,10 @@ Style/MethodCallWithArgsParentheses:
|
|
248
251
|
# Rake
|
249
252
|
- desc
|
250
253
|
- task
|
254
|
+
Style/NegatedIf:
|
255
|
+
Enabled: false
|
256
|
+
Style/NegatedIfElseCondition:
|
257
|
+
Enabled: false
|
251
258
|
Style/NumericLiterals:
|
252
259
|
AutoCorrect: false
|
253
260
|
Style/NumericPredicate:
|
data/styles/cc_base.yml
CHANGED
@@ -23,6 +23,8 @@ Security:
|
|
23
23
|
Enabled: true
|
24
24
|
Style:
|
25
25
|
Enabled: false
|
26
|
+
Layout/LineLength:
|
27
|
+
Enabled: false
|
26
28
|
Metrics/AbcSize:
|
27
29
|
Enabled: false
|
28
30
|
Metrics/BlockLength:
|
@@ -34,8 +36,6 @@ Metrics/ClassLength:
|
|
34
36
|
Metrics/CyclomaticComplexity:
|
35
37
|
Enabled: true
|
36
38
|
Max: 11
|
37
|
-
Metrics/LineLength:
|
38
|
-
Enabled: false
|
39
39
|
Metrics/MethodLength:
|
40
40
|
Enabled: false
|
41
41
|
Metrics/ModuleLength:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: more_core_extensions
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '1.13'
|
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:
|
54
|
+
version: '1.13'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-performance
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|