lamby 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/lamby/runner.rb +5 -3
- data/lib/lamby/version.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: c6ae3826f4ce744519216bb6ab16623d5bdc883f001659ca5ad41587741bafce
|
4
|
+
data.tar.gz: 1121aba0a89a081171e4b22f6298982d289481b4a80c97e3d1593b24b08bb4aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51ed673525f7bb529bf9964c0d799db699c90605bf8e0156289069ad8e460dca8f82a0048544866f43e7add5a5f604281d4ba6e61be38cf27c24dd187bd2a523
|
7
|
+
data.tar.gz: 11e89941e727d448b0b9b5052a145cf813a3aded320c3dde45e8fd82b22eee52dbe74afa962e77a206befa22412a50d226492fa71d502bd92ab3724e51596b12
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/lamby/runner.rb
CHANGED
@@ -23,16 +23,18 @@ module Lamby
|
|
23
23
|
|
24
24
|
def initialize(event)
|
25
25
|
@event = event
|
26
|
+
@body = ''
|
26
27
|
end
|
27
28
|
|
28
29
|
def call
|
29
30
|
validate!
|
30
31
|
status = Open3.popen3(command, chdir: chdir) do |_stdin, stdout, stderr, thread|
|
31
|
-
|
32
|
-
|
32
|
+
@body << stdout.read
|
33
|
+
@body << stderr.read
|
34
|
+
puts @body
|
33
35
|
thread.value.exitstatus
|
34
36
|
end
|
35
|
-
[status, {}, StringIO.new(
|
37
|
+
[status, {}, StringIO.new(@body)]
|
36
38
|
end
|
37
39
|
|
38
40
|
def command
|
data/lib/lamby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lamby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|