cfhighlander 0.5.0.alpha.1533598770 → 0.5.0.alpha.1533789423

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: 3b49cd3b396b061c0f206802a8c2c6c3e03ca16b63adb6bb56735ae0dbbd80dd
4
- data.tar.gz: 34af7300204b6a7e32d85027f2a34317d69a6bd3efbb1679a41f726e3d1a3b91
3
+ metadata.gz: 37aa9302f83239313e8a1be5746d85f4cf272017225dad216345e2767d31c379
4
+ data.tar.gz: b4418c9a1845aa88a2c5f12b4415fdc04c4efe5f2a86faaaf12dd9b690c0b988
5
5
  SHA512:
6
- metadata.gz: 45696c171086b2ae974ce3555eb2a50c5c5f8ae905821abb09605462728448176df37e805bd2a74a701667af5a23a2f15995350ef08e88a80397b8ac7ac2303c
7
- data.tar.gz: 2b935de2734e82b582350598b71f0d4152cc967e4349eaa2f4d875d183649a1da8ad5c1e706b856b3fe65d32bd9ea133bd164b6439f7ecce4028566cf3ddf27d
6
+ metadata.gz: 683635b1e6247849ceea18814600790039fa1bcb4f56609a69d0d1ce92ac34e2b38f68d048ea80a5dc60ba791fbf5660f21b230fd4a632a9305e91440940ed57
7
+ data.tar.gz: 593fe081405b38803f43913517196abbdb12236fff7e306041540aaf73afa3834469013fb6035c62d672d6d9274cc9f3b8da986f3338ce12e2b7c96d4dfc9945
@@ -128,6 +128,13 @@ module Cfhighlander
128
128
  end
129
129
 
130
130
  def parameter(name:, value:)
131
+ existing_params = @component_loaded.highlander_dsl.parameters.param_list
132
+ param_exists = existing_params.find { |p| p.name == name}
133
+ if (not param_exists)
134
+ @component_loaded.highlander_dsl.Parameters do
135
+ ComponentParam name, '', type: 'String'
136
+ end
137
+ end
131
138
  @param_values[name] = value
132
139
  end
133
140
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfhighlander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.alpha.1533598770
4
+ version: 0.5.0.alpha.1533789423
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Tosic
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-08-06 00:00:00.000000000 Z
13
+ date: 2018-08-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: highline