cfhighlander 0.10.4.alpha.1575860593 → 0.10.4
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 +4 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bce4cedefd49c6f53e87d476d387705d27115821736eaa10d620752d29484e2
|
4
|
+
data.tar.gz: fc39b0946210ed3381eb2da0b06ea127bc8a4434aa6fcee4682b4638b2f93660
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cbf557827067fff6a5a7092b40d86149f74dee5a9b2aafdc9512e50535598afe3fd527b85c4494df319f1fb15ab7469ccf964e9d93bc9c8e4c39fe2c2d0b520
|
7
|
+
data.tar.gz: 787dddd2e93dded4e798d433e476e2ac1d592c919ae10e32949bbaabcc84f66961692857139712a0634264a3e3f8848d58c8b58a8dbcace312c3eedfe8ddfee1
|
@@ -93,14 +93,13 @@ module Cfhighlander
|
|
93
93
|
|
94
94
|
# add condition to parent if conditonal component
|
95
95
|
if @conditional
|
96
|
-
|
97
|
-
@
|
98
|
-
|
99
|
-
CfnDsl::RefDefinition.new(condition),
|
96
|
+
condition_name = @condition.nil? ? "Enable#{@cfn_name}" : @condition
|
97
|
+
@parent.Condition(condition_name, CfnDsl::Fn.new('Equals', [
|
98
|
+
CfnDsl::RefDefinition.new(condition_name),
|
100
99
|
'true'
|
101
100
|
]).to_json)
|
102
101
|
@parent.Parameters do
|
103
|
-
ComponentParam
|
102
|
+
ComponentParam condition_name, enabled.to_s, allowedValues: %w(true false)
|
104
103
|
end
|
105
104
|
end
|
106
105
|
end
|
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.10.4
|
4
|
+
version: 0.10.4
|
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: 2019-12-
|
13
|
+
date: 2019-12-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: highline
|
@@ -271,9 +271,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
271
271
|
version: '0'
|
272
272
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
273
273
|
requirements:
|
274
|
-
- - "
|
274
|
+
- - ">="
|
275
275
|
- !ruby/object:Gem::Version
|
276
|
-
version:
|
276
|
+
version: '0'
|
277
277
|
requirements: []
|
278
278
|
rubyforge_project:
|
279
279
|
rubygems_version: 2.7.7
|