cfhighlander 0.12.2.alpha.1603236787 → 0.12.4.alpha.1616763884

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: d160b0c44c1e25a1fbcd9525a23fb48380035ec2f3567af0c4470088ef6ec8d6
4
- data.tar.gz: '083bf6f5eeefc20d94ba90c1de9fb4162fd71c16ac0d24dea11830149da118db'
3
+ metadata.gz: 971fd05e850846f424be114850c75274e7476eab5c6b5dc3e8f78579174e9b25
4
+ data.tar.gz: c936f08a81eab73aaedc8b152d4179c977cbaea2f39773581c9a1a910fb8fdef
5
5
  SHA512:
6
- metadata.gz: 037d811aef701656f57aa102d77d18e6729eb434ac53fa63f59dd280a4047c39594ae3914ec51facb6760d004d52b2d7e4ee7fcf354ad1ceac8535055c7732a2
7
- data.tar.gz: cf3348f683377b133a362d1b4e19ee349aeeea8ebdf46368cd195569c79c705b5f10f794004428b7e1c95423340d646f7a241ff37e201fb3e95b92a54b4bb784
6
+ metadata.gz: 3f21780ef6a21d184b8cbee2ebbc31b64d85921fcb3e3f31b9f0e8ca0cad30803b5a93d0269eeb407e71fa67d7972bd0acc894839ef0057372c0a097e29bc723
7
+ data.tar.gz: 747e582672f985bb7259c3d9e14125750430f11f94aa52848c48e96b0037db16276dc10918b050d619a137fce919fe750c4056940b6c18c2f43adbe0be478566
@@ -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))
@@ -1,3 +1,3 @@
1
1
  module Cfhighlander
2
- VERSION="0.12.2".freeze
2
+ VERSION="0.12.4".freeze
3
3
  end
@@ -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
- parent_model[element_name] = {} unless parent_model.key? element_name
114
- parent_model[element_name][resource] = value
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.2.alpha.1603236787
4
+ version: 0.12.4.alpha.1616763884
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: 2020-10-20 00:00:00.000000000 Z
13
+ date: 2021-03-26 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,7 +274,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
274
274
  requirements:
275
275
  - - ">="
276
276
  - !ruby/object:Gem::Version
277
- version: '0'
277
+ version: '2.7'
278
278
  required_rubygems_version: !ruby/object:Gem::Requirement
279
279
  requirements:
280
280
  - - ">"