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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9a2efcb268f7fb58d37b41d2e5749f685069c106d54fdd2f4ff5a80a872c6ce
4
- data.tar.gz: 4c46fedcdaa7620784d844ad72a8d79a1a252c9a280e19232bf6511a1f6c7457
3
+ metadata.gz: 1bce4cedefd49c6f53e87d476d387705d27115821736eaa10d620752d29484e2
4
+ data.tar.gz: fc39b0946210ed3381eb2da0b06ea127bc8a4434aa6fcee4682b4638b2f93660
5
5
  SHA512:
6
- metadata.gz: 5e5cbf130bc7783cea0e671c910de2c4f61016ed8c5cf984c59b87d42fd6810a06dcf3b7cfc755d3df11810ad073df668209a381336519a5ea89a67918511dcd
7
- data.tar.gz: 47982a96d52f4202c191b6d6b352185b0c98879813da09959b769a8ac711fc471abfb606fa99786bdc0c717c46406ca598e06c1f2f7a8b1752cd4c11e07c31cb
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
- condition = "Enable#{@cfn_name}" if @condition.nil?
97
- @condition = condition
98
- @parent.Condition(condition, CfnDsl::Fn.new('Equals', [
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 condition, enabled.to_s, allowedValues: %w(true false)
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.alpha.1575860593
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-09 00:00:00.000000000 Z
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: 1.3.1
276
+ version: '0'
277
277
  requirements: []
278
278
  rubyforge_project:
279
279
  rubygems_version: 2.7.7