cfhighlander 0.10.4.alpha.1575543782 → 0.10.4.alpha.1575860593

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: 6429727b671be259b4a45e5eb2866e8048e82a50e3ab0081895f8c138271f7f9
4
- data.tar.gz: ca62164af33efebd992e34f37ba0212c7bc6c35632d6f00eefbda22b894a2fbc
3
+ metadata.gz: e9a2efcb268f7fb58d37b41d2e5749f685069c106d54fdd2f4ff5a80a872c6ce
4
+ data.tar.gz: 4c46fedcdaa7620784d844ad72a8d79a1a252c9a280e19232bf6511a1f6c7457
5
5
  SHA512:
6
- metadata.gz: ab5e6cbf9f210fde2970436a595e47bac2fbb7e4088f133420fa3863f41ef5302a2ef5bb1a82bbc3872dc36f04715aaa61266dbd2d331eb04c3fb89ee8e9d780
7
- data.tar.gz: c8ec94cc3f5420300639a9850176cf6eeca3b2820bed5027751895b55b1d819eb3b06a697fdf7d5c745e712d22e0b22c3e359726e85ef369cb6a9d829068aec4
6
+ metadata.gz: 5e5cbf130bc7783cea0e671c910de2c4f61016ed8c5cf984c59b87d42fd6810a06dcf3b7cfc755d3df11810ad073df668209a381336519a5ea89a67918511dcd
7
+ data.tar.gz: 47982a96d52f4202c191b6d6b352185b0c98879813da09959b769a8ac711fc471abfb606fa99786bdc0c717c46406ca598e06c1f2f7a8b1752cd4c11e07c31cb
@@ -93,13 +93,14 @@ module Cfhighlander
93
93
 
94
94
  # add condition to parent if conditonal component
95
95
  if @conditional
96
- condition_name = @condition.nil? ? "Enable#{@cfn_name}" : @condition
97
- @parent.Condition(condition_name, CfnDsl::Fn.new('Equals', [
98
- CfnDsl::RefDefinition.new(condition_name),
96
+ condition = "Enable#{@cfn_name}" if @condition.nil?
97
+ @condition = condition
98
+ @parent.Condition(condition, CfnDsl::Fn.new('Equals', [
99
+ CfnDsl::RefDefinition.new(condition),
99
100
  'true'
100
101
  ]).to_json)
101
102
  @parent.Parameters do
102
- ComponentParam condition_name, enabled.to_s, allowedValues: %w(true false)
103
+ ComponentParam condition, enabled.to_s, allowedValues: %w(true false)
103
104
  end
104
105
  end
105
106
  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.alpha.1575543782
4
+ version: 0.10.4.alpha.1575860593
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-05 00:00:00.000000000 Z
13
+ date: 2019-12-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: highline