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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5504579a7f36a554a5b9b4097b1a989e6dfec869
4
- data.tar.gz: 0cbdf8a76aaf7b70139a038137819e43f4321a51
3
+ metadata.gz: 312c4f44e76ab04dfc5432713777cab81fe3b841
4
+ data.tar.gz: de6c4fcf92f268aff30976f55a10efdd53631f89
5
5
  SHA512:
6
- metadata.gz: 9410e54f2bf7c519d186f3189696ffe32940aae6ad3cea9e92d73a50c93c2a981f086a41f014ac05e8e20f66b9f72b76f2511cd6be8e92f4f9360c99d17c80d4
7
- data.tar.gz: c755c0fdbd9c297a018a3ed004d73e2e13320022bb5bdf982ccea89862eaa00257df83dfc1d5e364065ec59759bf57b1573fe423eb9fd6ff2dbffd7eb976c8c0
6
+ metadata.gz: be8f871517ddb03e03db209d76351546068805aa6d7e4fae44903f0444a944aece28d630551c14333c0b7ec72039280d2047776da780251882e96c9438ad325b
7
+ data.tar.gz: d1944855fe12a066af5a9bc54a91be22ca47bb09aee40f809e1f09d47fe3a415e65a20c78bf21e70c7f3f48eaeffadd5819e7a1803e901f7efb5855a182d429f
@@ -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, io.read]
165
+ [s, o]
165
166
  end
166
167
 
167
168
  unless status.success?
@@ -1,3 +1,3 @@
1
1
  module Villein
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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-05-27 00:00:00.000000000 Z
11
+ date: 2014-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec