brpm_content 0.1.31 → 0.1.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/modules/framework/config.yml +1 -1
- data/modules/framework/lib/module_installer.rb +2 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDViMzNkYTYyMjgzZjg4NjM5ZTExYjNhZTI2NTRhZjZkN2I0ZmMwNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTgwYzI5MWZiODc2MDkxMjE1ZWE2OWMzZGE4ZDA2NzIwYjlmNjQ2NA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MGUxNGUxZjJkZjcxYjE5MzNhNThiZWE5MjJiZWJhZGQxMmE4YzgxODBhMGQ3
|
10
|
+
YzYyZDM4YjJjNGY3ZDBkMjNiOWE4ZDZmNjA0NzY1MjNiYTI0MThhYzZkYmIz
|
11
|
+
MjY5YjBlNzZjMzA2YzVmNzliYzNhYTRhOGNmNDA2Zjc5M2NiNTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTM0ZmQ2Zjg0Y2JlN2ZjODYzYzA4ZDFkMTFhMzVmZWRiMDBmODE3ZGVkN2Q1
|
14
|
+
Y2NiNzhkZTYzNWQ5NGFlMmE0Zjg4MGU2YTk0MDYzOGY5MzI5NjBkZGNiOTIy
|
15
|
+
ZmU4NzVjYmFhNWNjMTgzZTQxNGEyYTVmMjBkZGI0Y2YzMGFkMjg=
|
@@ -216,8 +216,6 @@ class ModuleInstaller
|
|
216
216
|
if auto_script_config["params"].size > 0
|
217
217
|
params_content = auto_script_config["params"].to_yaml
|
218
218
|
params_content.sub!("---\n", "") # Remove the yaml document separator line
|
219
|
-
params_content.gsub!("required: 'yes'", "required: yes") # yaml adding quotes to reserved keywords yes and no :-(
|
220
|
-
params_content.gsub!("required: 'no'", "required: no") # yaml adding quotes to reserved keywords yes and no :-(
|
221
219
|
params_content.gsub!(/(^)+/, "# ") # Prepend "# " to each line
|
222
220
|
wrapper_script_content = "###\n#{params_content}###\n"
|
223
221
|
end
|
@@ -288,13 +286,13 @@ class ModuleInstaller
|
|
288
286
|
|
289
287
|
module_version_param = {}
|
290
288
|
module_version_param["name"] = "module_version"
|
291
|
-
module_version_param["required"] =
|
289
|
+
module_version_param["required"] = false
|
292
290
|
module_version_param["position"] = "A#{auto_script_params.size + 1}:C#{auto_script_params.size + 1}" if include_position_attribute
|
293
291
|
auto_script_params["module_version"] = module_version_param
|
294
292
|
|
295
293
|
framework_version_param = {}
|
296
294
|
framework_version_param["name"] = "framework_version"
|
297
|
-
framework_version_param["required"] =
|
295
|
+
framework_version_param["required"] = false
|
298
296
|
framework_version_param["position"] = "A#{auto_script_params.size + 1}:C#{auto_script_params.size + 1}" if include_position_attribute
|
299
297
|
auto_script_params["framework_version"] = framework_version_param
|
300
298
|
end
|