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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTJiZWFjODgwMjJiZDhiNDE5MmE2YTE2NmVhNzY0NjkxOTc0YzY2ZA==
4
+ MDViMzNkYTYyMjgzZjg4NjM5ZTExYjNhZTI2NTRhZjZkN2I0ZmMwNQ==
5
5
  data.tar.gz: !binary |-
6
- YTE5MTYxZGM5M2Q0YjMwY2JhMzRlOTc3MjQxYTE2ZGIzNzA4MjgwOA==
6
+ OTgwYzI5MWZiODc2MDkxMjE1ZWE2OWMzZGE4ZDA2NzIwYjlmNjQ2NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjUyNjMzZTUyMTE1NjZhNjg1MGQ1Y2FmYmY3MmVmZWNhMGZhZThlYjc1YTc4
10
- NGE5NGYxMzcyNTMzZTIyYTMyNzkwY2QzYjBmODk3MWM3ZTEyMzk5ZGI0OWVk
11
- ZGE4NGY4NGNkODI0NDRkNjM3MDJhZGEyNzAwZjIyNWY4M2E4YjI=
9
+ MGUxNGUxZjJkZjcxYjE5MzNhNThiZWE5MjJiZWJhZGQxMmE4YzgxODBhMGQ3
10
+ YzYyZDM4YjJjNGY3ZDBkMjNiOWE4ZDZmNjA0NzY1MjNiYTI0MThhYzZkYmIz
11
+ MjY5YjBlNzZjMzA2YzVmNzliYzNhYTRhOGNmNDA2Zjc5M2NiNTQ=
12
12
  data.tar.gz: !binary |-
13
- MmRmMjlhODJmNDY3YTU4OTgzYTcyOGY3MzY4ZTMwNWU5N2FhMWJkMWZhNGVi
14
- MzNkMGZkYzA4NDBjZjc5ZjhkMTUyYzY3ZmQ5OTEzOTQxNzU2YzI0NDY4ZDY3
15
- NjExNDE4MWQ3MjA5ZmIzZDZjZmMyOTE4Nzg3NzkyMjYyNGE3NDE=
13
+ MTM0ZmQ2Zjg0Y2JlN2ZjODYzYzA4ZDFkMTFhMzVmZWRiMDBmODE3ZGVkN2Q1
14
+ Y2NiNzhkZTYzNWQ5NGFlMmE0Zjg4MGU2YTk0MDYzOGY5MzI5NjBkZGNiOTIy
15
+ ZmU4NzVjYmFhNWNjMTgzZTQxNGEyYTVmMjBkZGI0Y2YzMGFkMjg=
@@ -1,4 +1,4 @@
1
- version: 0.1.31
1
+ version: 0.1.32
2
2
 
3
3
  author: Niek Bartholomeus
4
4
  email: niek.bartholomeus@gmail.com
@@ -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"] = "no"
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"] = "no"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brpm_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.31
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niek Bartholomeus