zas-client 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zas/client.rb +1 -1
- metadata +1 -1
data/lib/zas/client.rb
CHANGED
@@ -38,7 +38,7 @@ module Zas
|
|
38
38
|
def authenticate(credentials)
|
39
39
|
begin
|
40
40
|
socket.send credentials.to_wire
|
41
|
-
if ZMQ.select(socket, nil, nil, timeout)
|
41
|
+
if ZMQ.select([socket], nil, nil, timeout)
|
42
42
|
Hashie::Mash.new(Yajl::Parser.parse(socket.recv))
|
43
43
|
else
|
44
44
|
raise Zas::TimeoutError, "Response from authentication service not received in time"
|