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 +4 -4
- data/lib/cfhighlander.dsl.subcomponent.rb +7 -0
- 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: 37aa9302f83239313e8a1be5746d85f4cf272017225dad216345e2767d31c379
|
4
|
+
data.tar.gz: b4418c9a1845aa88a2c5f12b4415fdc04c4efe5f2a86faaaf12dd9b690c0b988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
13
|
+
date: 2018-08-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: highline
|