uc3-sam-sceptre 0.0.17 → 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: ba82702479f11d5e218e75984a784946e446af498ea872364300e7c777040f3f
4
- data.tar.gz: 4b537eaeb29b929c26997aa6fea0ff86e8ce8afb7b9b366a5cba8634be2fa6eb
3
+ metadata.gz: d336cd01666611d4ac006f12c8dc569345556e47b49b7d40846f0b4c3a3ba1ce
4
+ data.tar.gz: e29ebc40eb1056423e00859b12cb0a8754827ab0397995daa6c5bda0173273cf
5
5
  SHA512:
6
- metadata.gz: 7d558ee629b83e8dca6a7ee00c01f59d2ceebeb830cb861814a7dad17dc25d752f3d58e8f55d9541ff254a6607e58a7ec49b1e01f741f08a54976c99b6d4123e
7
- data.tar.gz: '09ef75d2373257781780f0589c7e19e5dc1f3ba1e385b8c466c257259b1ce4a11ed866ccb816085461384ed5edc861926c94149b074ea0853f63d3c14a76ed10'
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.17'
4
+ VERSION = '0.0.18'
5
5
  end
@@ -141,20 +141,10 @@ puts args
141
141
  def _fetch_stack_export(name:)
142
142
  key = name.to_s.downcase.strip
143
143
 
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
144
+ param = @stack_exports.select do |export|
145
+ export.exporting_stack_id.include?(@prefix) && export.name.downcase.strip == key
150
146
  end
151
-
152
- puts exp
153
- puts exp.class.name
154
- puts exp.first
155
- puts exp.first.class.name
156
-
157
- exp.nil? ? nil : exp.first[:value]
147
+ param.first&.value
158
148
  end
159
149
  end
160
150
  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.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley