uc3-sam-sceptre 0.0.6 → 0.0.8

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: 7e03b622a3e43e876825d8d6f6aa6f3ad596bcaaceab514404285c409630d4ac
4
- data.tar.gz: 906a724eb85a5856802a62552824ace1cf2c242f445cb1680167cffd06d12036
3
+ metadata.gz: 78d2f80c031e7cb6c2637b8d42edfa38aa27a8b3c1f3ebf6655b3df494450137
4
+ data.tar.gz: 5a207b2f37e91d4c520ae568875e5e26ee9b39c6637533e2c0f2fd98f7ff98ef
5
5
  SHA512:
6
- metadata.gz: 5db8398b1fbae1c78e8ecfc554e6de8cbb19c8a02c6659afc8df1d4ffb8410ac8bb85a525747f09a1413742479cd742521439d754f7eff609a90c855d68e64c7
7
- data.tar.gz: df58714eef33bc4c1e1202b437bd961a18ba760b4a77cdfd3da968e250fe58d7af329d908dc8e8edc429da407a2c6f1253b93a48e14d86a75aa101049f7572ae
6
+ metadata.gz: 0d6c3363ba2f991a3b5d773fd8c6a0c8e9d93be717372fda4741dc4ff827a38c42ea49fcaff4a285732ae409572a53f17663cadc7bf1cef9b94d08e3593e7f18
7
+ data.tar.gz: da5932c46ed7a5f66857a3b3cd0c2e4aaef51bc2f8e7bc2599427c5bcc2eccabea1be3ab2990996e136b641d7d4b02f42dce25538a500349f5315e4f17308a4b
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.6'
4
+ VERSION = '0.0.8'
5
5
  end
@@ -103,15 +103,15 @@ module Uc3SamSceptre
103
103
  overrides = [_sam_param(key: 'Env', value: @env)]
104
104
 
105
105
  @fetchable_cf_params.each do |hash|
106
- val = _locate_value(name: hash[:stack_name])
106
+ val = _locate_value(key: hash[:stack_name])
107
107
  msg = "Unable to locate value for #{hash[:stack_export_name]}! Make sure you have exported it from the CF Stack."
108
108
  raise ProxyError, msg if val.nil?
109
109
 
110
110
  overrides << _sam_param(key: hash.fetch(:template_param_name, hash[:stack_export_name]), value: val)
111
111
  end
112
112
 
113
- @static_cf_params.each do { |hash| overrides << _sam_param(key: hash[:template_param_name], value: hash[:value]) }
114
- overrides
113
+ @static_cf_params.each { |hash| overrides << _sam_param(key: hash[:template_param_name], value: hash[:value]) }
114
+ overrides.flatten.uniq
115
115
  end
116
116
 
117
117
  # Convert the Hash key and value into SAM deploy args
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-sam-sceptre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley