uc3-sam-sceptre 0.0.16 → 0.0.18

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: e34abfdedcb68558d3f3a0ad093f32cd0408f6eb3c154f68afc18f9d885732ee
4
- data.tar.gz: 5b5f54954042cfe3885a74086a69300551393a88a8a450135cd722ad2181707b
3
+ metadata.gz: d336cd01666611d4ac006f12c8dc569345556e47b49b7d40846f0b4c3a3ba1ce
4
+ data.tar.gz: e29ebc40eb1056423e00859b12cb0a8754827ab0397995daa6c5bda0173273cf
5
5
  SHA512:
6
- metadata.gz: bb63600d6953502c9c65065dd3d4263c3c2a6cfd9bc62d27593b720d96205f14bc0db246e0b43ab793f6f271a45457ac7b26f4320cf8408264cee26a9afaff7d
7
- data.tar.gz: 9212170205983875dcf52db9175e03ce27d75b40f75e4df74d054a610a54683b390df097ca1061b20a785ab866eef5276b6996a5df1aeaf27378c43d8c3739a8
6
+ metadata.gz: 95b9596eea1af3b54cff4b6c63a13da8367ed72230c2891c547c653661868d824c52ccc9742dedea73b5dac86f37e346d9da3be274db077546ca0f520947ed9d
7
+ data.tar.gz: f33fae7659ffd49451013aa605224ac5386b498591a35caa837f40d98f978c004673c4092712d5ac07d5126de7995112808766297803dfd45c2d2124576586df
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.16'
4
+ VERSION = '0.0.18'
5
5
  end
@@ -141,15 +141,10 @@ puts args
141
141
  def _fetch_stack_export(name:)
142
142
  key = name.to_s.downcase.strip
143
143
 
144
- puts "Looking for: #{name}, stack prefix: #{@prefix}"
145
-
146
- exp = @stack_exports.select { |exp| exp[:exporting_stack_id].include?(@prefix) && exp[:name].downcase.strip == key }.first
147
-
148
- puts exp
149
- puts exp.class.name
150
- puts exp.first
151
-
152
- exp.nil? ? nil : exp.first[:value]
144
+ param = @stack_exports.select do |export|
145
+ export.exporting_stack_id.include?(@prefix) && export.name.downcase.strip == key
146
+ end
147
+ param.first&.value
153
148
  end
154
149
  end
155
150
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-sam-sceptre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-04 00:00:00.000000000 Z
11
+ date: 2023-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-cloudformation