villein 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/villein/client.rb +2 -1
- data/lib/villein/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 312c4f44e76ab04dfc5432713777cab81fe3b841
|
4
|
+
data.tar.gz: de6c4fcf92f268aff30976f55a10efdd53631f89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be8f871517ddb03e03db209d76351546068805aa6d7e4fae44903f0444a944aece28d630551c14333c0b7ec72039280d2047776da780251882e96c9438ad325b
|
7
|
+
data.tar.gz: d1944855fe12a066af5a9bc54a91be22ca47bb09aee40f809e1f09d47fe3a415e65a20c78bf21e70c7f3f48eaeffadd5819e7a1803e901f7efb5855a182d429f
|
data/lib/villein/client.rb
CHANGED
@@ -160,8 +160,9 @@ module Villein
|
|
160
160
|
|
161
161
|
def call_serf(cmd, *args)
|
162
162
|
status, out = IO.popen([@serf, cmd, "-rpc-addr=#{rpc_addr}", *args, err: [:child, :out]], 'r') do |io|
|
163
|
+
o = io.read
|
163
164
|
_, s = Process.waitpid2(io.pid)
|
164
|
-
[s,
|
165
|
+
[s, o]
|
165
166
|
end
|
166
167
|
|
167
168
|
unless status.success?
|
data/lib/villein/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: villein
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shota Fukumori (sora_h)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|