ruby-sfn-local 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sfn/aws_cli.rb +2 -2
- data/lib/sfn/execution_log.rb +0 -1
- 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: 1d87496719dd8f50c7c11aabea2f8491490bf9de3d343c71a8bf81d977061711
|
4
|
+
data.tar.gz: 971cf0f7a5bc42bac1bc696a88c70493675e868d3e02005765c215a171211eea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3a80927e8f087ad773be0eb0c64e4b4be550a10929be43b45a79efad5923325f8bfc579906b1bb6e4520ea56e2a14e18010e538fa80e8a16b2f43eee57410cc
|
7
|
+
data.tar.gz: f639bd302f6622747d3743745ed1264aca5d96103716d9e678f9d8a5e0b5bbf8b40d3959e19824da34ab71881bbcede1f7509d031c37b4dd913ae1a814746743
|
data/lib/sfn/aws_cli.rb
CHANGED
@@ -13,11 +13,11 @@ module Sfn
|
|
13
13
|
"--#{k}=#{v}"
|
14
14
|
end.join(' ')} \
|
15
15
|
--no-cli-pager"
|
16
|
-
|
17
16
|
stdout, stderr, _status = Open3.capture3(cmd)
|
17
|
+
|
18
18
|
raise raise ExecutionError, "#{stderr.strip}\n#{debug_info}" unless stderr.strip.empty?
|
19
19
|
|
20
|
-
stdout = `#{cmd}`
|
20
|
+
stdout = `#{cmd}` if command == 'get-execution-history'
|
21
21
|
unless key.nil?
|
22
22
|
data = JSON.parse(stdout)
|
23
23
|
return data[key].strip if data.key?(key)
|
data/lib/sfn/execution_log.rb
CHANGED