uc3-sam-sceptre 0.0.14 → 0.0.15

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: 5f3193fb7558a8368bab004a1de0f1a796ed4e32d085351156f3cd70ebfcbe07
4
- data.tar.gz: b8b715edb6d73f06e6df37d6b212a0c901186e2978f9f2a6c274a64835d2d7c8
3
+ metadata.gz: c82785ea3fa0317aa56161de1b9461fcdd304103fc497856038bdce3571ada86
4
+ data.tar.gz: 7b9a53091b21d3e6d5c2a2e7da9a338ec7173bcf4348062cd2fbfe1ea4eceee0
5
5
  SHA512:
6
- metadata.gz: 4d6851380e824b54e93a7c7bc8aa1e45f8c8232d18c83417465ebe40e0dcaf0f1540b9f271b213b3e902bc27df9ef062a8154dcd4ee38ed0696d489f74d66ab1
7
- data.tar.gz: 6bd84257335bbda95609f1ec7bd81548d345b59f1244de49f03d1516fb66ddeae00068931c623c5276755fe9d80c2771d0e75b5defc50ac34e9e9759aac40a9b
6
+ metadata.gz: 5cdc3630c9c1303719ddc1d8a4a9e4a0022e4c48b8c9c74676ed02ebc8179a3db9e3953e5702615fc592a661fde090ee20008286d6e9c013116abfa7e4b2d7d9
7
+ data.tar.gz: 5811a96fbabe7b44ee3a9edb1e0bbe2e2feaf53ab373eda28cf60f654632b689c14e1351103488bad18d819be283b6029d62ab5d097014530875d8eaef5e46ff
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.14'
4
+ VERSION = '0.0.15'
5
5
  end
@@ -140,18 +140,13 @@ puts args
140
140
  # Fetch a CloudFormation stack export
141
141
  def _fetch_stack_export(name:)
142
142
  key = name.to_s.downcase.strip
143
+ exp = @stack_exports.select { |exp| exp[:exporting_stack_id].include?(@prefix) && exp[:name].downcase.strip == key }.first
143
144
 
144
- puts "Looking for #{name}"
145
+ puts exp
146
+ puts exp.class.name
147
+ puts exp.first
145
148
 
146
- exports = @stack_exports.select { |exp| exp[:exporting_stack_id].include?(@prefix) && exp[:name].downcase.strip == key }
147
-
148
- puts exports
149
- puts exports.class.name
150
- puts exports.first
151
- puts exports.first.class.name
152
- puts exports.first[:value]
153
-
154
- exports.map(&:value).first
149
+ exp.first[:value]
155
150
  end
156
151
  end
157
152
  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.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley