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 +4 -4
- data/lib/uc3-sam-sceptre/version.rb +1 -1
- data/lib/uc3-sam-sceptre.rb +3 -13
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d336cd01666611d4ac006f12c8dc569345556e47b49b7d40846f0b4c3a3ba1ce
|
4
|
+
data.tar.gz: e29ebc40eb1056423e00859b12cb0a8754827ab0397995daa6c5bda0173273cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95b9596eea1af3b54cff4b6c63a13da8367ed72230c2891c547c653661868d824c52ccc9742dedea73b5dac86f37e346d9da3be274db077546ca0f520947ed9d
|
7
|
+
data.tar.gz: f33fae7659ffd49451013aa605224ac5386b498591a35caa837f40d98f978c004673c4092712d5ac07d5126de7995112808766297803dfd45c2d2124576586df
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -141,20 +141,10 @@ puts args
|
|
141
141
|
def _fetch_stack_export(name:)
|
142
142
|
key = name.to_s.downcase.strip
|
143
143
|
|
144
|
-
|
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
|