uc3-sam-sceptre 0.0.17 → 0.0.19

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: ba82702479f11d5e218e75984a784946e446af498ea872364300e7c777040f3f
4
- data.tar.gz: 4b537eaeb29b929c26997aa6fea0ff86e8ce8afb7b9b366a5cba8634be2fa6eb
3
+ metadata.gz: 3721db43aa3f9a5fb084481ca472b236e9fe3f0ac6d824a3c0075561ad932cda
4
+ data.tar.gz: 9d784c9d86c817e37a3c1160916a6526f491e75a39917e65302a7718b55f27b4
5
5
  SHA512:
6
- metadata.gz: 7d558ee629b83e8dca6a7ee00c01f59d2ceebeb830cb861814a7dad17dc25d752f3d58e8f55d9541ff254a6607e58a7ec49b1e01f741f08a54976c99b6d4123e
7
- data.tar.gz: '09ef75d2373257781780f0589c7e19e5dc1f3ba1e385b8c466c257259b1ce4a11ed866ccb816085461384ed5edc861926c94149b074ea0853f63d3c14a76ed10'
6
+ metadata.gz: 896346d454268dce1b8c601c94db8f8015188249202eae131596dde616c5fc22f861f6fded8659ab26921496776d01cc4a1aa0d299f2a1d824e180e60a6063cf
7
+ data.tar.gz: 04231db00bea96db9842152d5cff13b90e8fc8f883c058fe581f135f29dfa98241dda98f6644064db6cc75c86a295d9ef6fdd5d1c44ab92f15c875a74b0a59c2
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.17'
4
+ VERSION = '0.0.19'
5
5
  end
@@ -118,6 +118,9 @@ puts args
118
118
 
119
119
  # Convert the Hash key and value into SAM deploy args
120
120
  def _sam_param(key:, value:)
121
+
122
+ puts "Makin SAM Key: #{key} => #{value}"
123
+
121
124
  return '' if key.nil? || value.nil?
122
125
 
123
126
  "ParameterKey=#{key},ParameterValue=#{value}"
@@ -141,20 +144,16 @@ puts args
141
144
  def _fetch_stack_export(name:)
142
145
  key = name.to_s.downcase.strip
143
146
 
144
- puts @stack_exports
145
-
146
- puts "Looking for: #{name}, stack prefix: #{@prefix}"
147
-
148
- exp = @stack_exports.select do |hash|
149
- hash[:exporting_stack_id].include?(@prefix) && hash[:name].downcase.strip == key
147
+ param = @stack_exports.select do |export|
148
+ export.exporting_stack_id.include?(@prefix) && export.name.downcase.strip == key
150
149
  end
151
150
 
152
- puts exp
153
- puts exp.class.name
154
- puts exp.first
155
- puts exp.first.class.name
151
+ puts @stack_exports.first
152
+ puts "Lookin for stack #{@prefix} with #{key}"
153
+ puts param.class.name
154
+ puts param.first&.value
156
155
 
157
- exp.nil? ? nil : exp.first[:value]
156
+ param.first&.value
158
157
  end
159
158
  end
160
159
  end
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.17
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley