cfhighlander 0.12.2 → 0.12.4.alpha.1620862354
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cfhighlander.model.component.rb +2 -0
- data/lib/cfhighlander.version.rb +1 -1
- data/lib/util/cloudformation.util.rb +7 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b84c51983cc1ba968a7e3fe9d9633f9b06d5c0ea24b26b92fcd44120011148c1
|
4
|
+
data.tar.gz: 3f65d3a1ecf03787cc8addc6044d6af0374e02cb656762f5847f07e91cb90f03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d8f37756b131a9ae93a37566c9312f46b5f5dc79a7618b1fe078911de6d48caad8203ce79d756ed8cc9fd79dea63c89121e17eebd03f65f94f5a953d0bb417d
|
7
|
+
data.tar.gz: 5d80c26ac0c655f21ec0a81bf386969a13a4a82edc1f2268f2bbb87cdf7ef16091a03d4917aa76a4f83846eed4adf6c39381d5154c66619eaf69e816eebd8f74
|
@@ -133,6 +133,8 @@ module Cfhighlander
|
|
133
133
|
@config['template_name'] = @template.template_name
|
134
134
|
@config['template_version'] = @template.template_version
|
135
135
|
@config['template_dir'] = @template.template_location
|
136
|
+
@config['distribution_bucket'] = @distribution_bucket
|
137
|
+
@config['distribution_prefix'] = @distribution_prefix
|
136
138
|
|
137
139
|
Dir[candidate_mappings_path].each do |mapping_file|
|
138
140
|
mappings = YAML.load(File.read(mapping_file))
|
data/lib/cfhighlander.version.rb
CHANGED
@@ -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.
|
4
|
+
version: 0.12.4.alpha.1620862354
|
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:
|
13
|
+
date: 2021-05-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: highline
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1'
|
61
|
+
version: '1.3'
|
62
62
|
- - "<"
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '2'
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
requirements:
|
69
69
|
- - "~>"
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '1'
|
71
|
+
version: '1.3'
|
72
72
|
- - "<"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '2'
|
@@ -274,12 +274,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
274
274
|
requirements:
|
275
275
|
- - ">="
|
276
276
|
- !ruby/object:Gem::Version
|
277
|
-
version: '
|
277
|
+
version: '2.7'
|
278
278
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
279
279
|
requirements:
|
280
|
-
- - "
|
280
|
+
- - ">"
|
281
281
|
- !ruby/object:Gem::Version
|
282
|
-
version:
|
282
|
+
version: 1.3.1
|
283
283
|
requirements: []
|
284
284
|
rubygems_version: 3.0.8
|
285
285
|
signing_key:
|