manageiq-style 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.codeclimate.yml +1 -0
- data/lib/manageiq/style/cli.rb +14 -1
- data/lib/manageiq/style/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cefc023612d2679b08016e3a668833a3f5e3f256462602d03614a43743548b5
|
4
|
+
data.tar.gz: 9b42391cbbb94cca8d8f8b87e8a462e3fcd94c771d5b59c23695cc138f4d0308
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 182cfd27f1dedcba66d141b6d124f1f4f44793cbeee8f83e6e3ae7bf294e30ad773161edb1c1ec67c060441e3429b6ef4c7ce520866bd018c6e40120b2e94be4
|
7
|
+
data.tar.gz: ba0b026ae966900ce44d9990a26307278dc7d5db03c64fec2a375fce03c973581e8cc0b9742f07fe95cfc1e57abf1b73c173550bb3fa84dafb63b005c0f9f259
|
data/.codeclimate.yml
CHANGED
data/lib/manageiq/style/cli.rb
CHANGED
@@ -92,7 +92,9 @@ module ManageIQ
|
|
92
92
|
data["prepare"] = {
|
93
93
|
"fetch" => [
|
94
94
|
{"url" => "https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_base.yml", "path" => ".rubocop_base.yml"},
|
95
|
-
{"url" => "https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_cc_base.yml", "path" => ".rubocop_cc_base.yml"}
|
95
|
+
{"url" => "https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_cc_base.yml", "path" => ".rubocop_cc_base.yml"},
|
96
|
+
{"url" => "https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/base.yml", "path" => "styles/base.yml"},
|
97
|
+
{"url" => "https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/cc_base.yml", "path" => "styles/cc_base.yml"},
|
96
98
|
]
|
97
99
|
}
|
98
100
|
|
@@ -104,6 +106,17 @@ module ManageIQ
|
|
104
106
|
"config" => ".rubocop_cc.yml",
|
105
107
|
"channel" => cc_rubocop_channel,
|
106
108
|
}
|
109
|
+
data["engines"]&.each do |engine, config|
|
110
|
+
data["plugins"][engine] = config
|
111
|
+
end
|
112
|
+
|
113
|
+
data.delete("engines") # moved to plugins
|
114
|
+
data.delete("ratings") # deprecated
|
115
|
+
|
116
|
+
exclude_paths = data.delete("exclude_paths") # renamed
|
117
|
+
data["exclude_patterns"] = exclude_paths if exclude_paths
|
118
|
+
|
119
|
+
data["version"] ||= "2"
|
107
120
|
|
108
121
|
File.write(".codeclimate.yml", data.to_yaml.sub("---\n", ""))
|
109
122
|
end
|
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.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: more_core_extensions
|