ruby-sfn-local 0.1.29 → 0.1.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sfn/mock_macros/step_function.rb +1 -1
- data/lib/sfn/mock_macros.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f39a29fcb4267d151c127c9cb1bb087225f8bfcec17fcbd86fae7e728509472
|
4
|
+
data.tar.gz: 96cf6b8922ef7b7bdb6a77fef72f985bd8212f6386f13a214fa8955fd5f62ccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02cd2a8099569ab7e0cbf86f38b5b95ac325b8ae3912b406709d93bdf09f70d24f82e63da8c7ace09204d4354d47ab5838c9163034548f8c52cab59f9fa73130
|
7
|
+
data.tar.gz: d40f6ee1da4a101fe4e8e226b450518f24784dcda34e93c5de918b5231a05c71da280fb25df51e12a17c0d5b61b54510cb5550d066ac9ff86e4c0ef6a9d2f028
|
@@ -7,7 +7,7 @@ module Sfn
|
|
7
7
|
data = [data] if data.is_a?(Hash)
|
8
8
|
data.map! do |val|
|
9
9
|
if val.key?(:error)
|
10
|
-
{
|
10
|
+
{ Return: { Error: val[:error], Cause: val[:cause], Status: 'FAILED' } }
|
11
11
|
else
|
12
12
|
val[:output] ||= val[:payload]
|
13
13
|
val[:output] ||= val[:response]
|
data/lib/sfn/mock_macros.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-sfn-local
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gianni Mazza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-release
|