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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8840f6c593105a9a76b6b2f765e2789a9448d623c5cf67737fa0bb032ba7106f
4
- data.tar.gz: b593378d58deaf202a70bad993bf9316b671d7eda9519400eeb2ad0f86158591
3
+ metadata.gz: 26372475b01723e1fc01fc5779ed19d5e8f4d71e385efe98b8a10c357217c191
4
+ data.tar.gz: 8078d20448d582315cf388037a186fa15c0c3edc429a6731b4a341c6a7cb48f1
5
5
  SHA512:
6
- metadata.gz: f7fbd6bbbc966d1caf340007040012503dcfa83ae4ee4b4394d6ad589953cb4bff8f7639506b5473227897e0ff4ed7018eafa0eaf0f6fbe6bfc131e5eb1909df
7
- data.tar.gz: 7d13f41a40b884feca8310d68ffc735f037ccf0cda87d9d752ca85f9b02e6cddf204cf8f77fbb2852ebceddeebd6bb6f556eed9a95589063e964f3366e404cce
6
+ metadata.gz: 556620286f615581543b904bda9d5badb6f745516381f54dfb73b6990ae48c500c4c39f4e3fa65782c4906153fbfa88841c8072574d72d4335086184e683a996
7
+ data.tar.gz: d2a0a9c6d90bd55c67a1a089dc3d5ff2d727fe5b9fcfa322a8737376247ebff3c3599525d129fe992cbe8ae91982c65baba2ee104ab035de8bbed643c4c7c21f
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module Style
3
- VERSION = "1.2.0"
3
+ VERSION = "1.3.0"
4
4
  end
5
5
  end
@@ -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", "~> 0.82.0"
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: disable
6
+ NewCops: enable
7
7
  Exclude:
8
8
  - spec/manageiq/**/*
9
9
  - vendor/**/*
10
- TargetRubyVersion: 2.5
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.2.0
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-01-27 00:00:00.000000000 Z
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: 0.82.0
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: 0.82.0
54
+ version: '1.13'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-performance
57
57
  requirement: !ruby/object:Gem::Requirement