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.
Files changed (2) hide show
  1. data/lib/zas/client.rb +1 -1
  2. 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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zas-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: