cfhighlander 0.12.3.alpha.1612330154 → 0.12.3.alpha.1616763759
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/util/cloudformation.util.rb +7 -2
- 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: 05fe31ed9c6e37265bcea110b6722160922d9a499c8e6d7895e7d6ca74643e50
|
4
|
+
data.tar.gz: 365024110ee40f76afe96eb337f53111866b58cb9eb7d9e524615c70d9d4686f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c20826deb51168c566c70a09205f38775fdfe01e937917ebfc56653346ce5dfd4df0eff4717847e7afe558528010f00d49c9e039016bd43bfc1e0faefa8c278b
|
7
|
+
data.tar.gz: 9ea39ee3a9c9ad3ab88c62d4a89e10de4c59248ac9bac6cb544ed6b80194d8502be6c80683a4c803591cba09c705ce124c01c096b9b3fb84eece618d5a326c96
|
@@ -110,8 +110,13 @@ module Cfhighlander
|
|
110
110
|
model = sub_component.component_loaded.cfn_model_raw
|
111
111
|
model[element_name].each do |resource, value|
|
112
112
|
# effective extraction of child resource into parent
|
113
|
-
|
114
|
-
|
113
|
+
# allows for line components to use - or _ in the component name
|
114
|
+
# and still generate valid references
|
115
|
+
safe_resource_name = resource.gsub('-','').gsub('_','')
|
116
|
+
unless element_name == 'Outputs' && resource.end_with?('CfTemplateUrl')
|
117
|
+
parent_model[element_name] = {} unless parent_model.key? element_name
|
118
|
+
parent_model[element_name][safe_resource_name] = value
|
119
|
+
end
|
115
120
|
end if model.key? element_name
|
116
121
|
end
|
117
122
|
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.12.3.alpha.
|
4
|
+
version: 0.12.3.alpha.1616763759
|
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: 2021-
|
13
|
+
date: 2021-03-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: highline
|