cfhighlander 0.10.4 → 0.10.5.alpha.1575860656

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bce4cedefd49c6f53e87d476d387705d27115821736eaa10d620752d29484e2
4
- data.tar.gz: fc39b0946210ed3381eb2da0b06ea127bc8a4434aa6fcee4682b4638b2f93660
3
+ metadata.gz: d81f26335b2dc6e6e0cdff20116c2fb18ae7f179b9784157439e5ef9d50e1237
4
+ data.tar.gz: 86aed41901c3fb59dd9b4d280982974b0d3efa5b36154602cbb0264fd024a099
5
5
  SHA512:
6
- metadata.gz: 9cbf557827067fff6a5a7092b40d86149f74dee5a9b2aafdc9512e50535598afe3fd527b85c4494df319f1fb15ab7469ccf964e9d93bc9c8e4c39fe2c2d0b520
7
- data.tar.gz: 787dddd2e93dded4e798d433e476e2ac1d592c919ae10e32949bbaabcc84f66961692857139712a0634264a3e3f8848d58c8b58a8dbcace312c3eedfe8ddfee1
6
+ metadata.gz: 3a6d166dee208a39ef85da7aafc71085bafb9e1333848851f61dd39e61bd24f5263060851a09401068447bc87841b9006a3adc1532834891fe3653df1481d990
7
+ data.tar.gz: c353ec717198717ed3dfed57024c6997c625c19b78459430829ab31cdd7ed72a44804beaad7c9fa3ec8fa6e6ec4ab5b66078826e49071a715aa8a4b2c94f200d
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Cfhighlander
2
- VERSION="0.10.4".freeze
2
+ VERSION="0.10.5".freeze
3
3
  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.5.alpha.1575860656
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
@@ -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: '0'
276
+ version: 1.3.1
277
277
  requirements: []
278
278
  rubyforge_project:
279
279
  rubygems_version: 2.7.7