Permalink
Browse files

Pushed to ZMQ 3.2 version

  • Loading branch information...
1 parent 3c2ecb8 commit cdecf83a5e46135a1c64e9a96526b6f27f05a186 @krakatoa krakatoa committed Mar 3, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 lib/pan-zmq/socket.rb
  2. +1 −1 pan-zmq.gemspec
  3. +1 −1 spec/poller_spec.rb
  4. +1 −1 spec/pull_spec.rb
@@ -67,7 +67,7 @@ def send_string(msg)
def recv_string(flags=0)
return false if not @alive
- flags #||= ZMQ::NOBLOCK
+ flags #||= ZMQ::DONTWAIT
msg = ''
@socket.recv_string(msg, flags)
if defined?(@receive_block)
View
@@ -16,5 +16,5 @@ Gem::Specification.new do |gem|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
- gem.add_dependency('ffi-rzmq', '~> 0.9.6')
+ gem.add_dependency('ffi-rzmq', '~> 1.0.0')
end
View
@@ -66,7 +66,7 @@
# @pull.bind "tcp://127.0.0.1:5235"
# @push.connect "tcp://127.0.0.1:5235"
#
- # @pull.recv_string(ZMQ::NOBLOCK).should == ""
+ # @pull.recv_string(ZMQ::DONTWAIT).should == ""
# @push.send_string("request")
View
@@ -50,7 +50,7 @@
@pull.bind "tcp://127.0.0.1:5235"
@push.connect "tcp://127.0.0.1:5235"
- @pull.recv_string(ZMQ::NOBLOCK).should == ""
+ @pull.recv_string(ZMQ::DONTWAIT).should == ""
@push.send_string("request")

0 comments on commit cdecf83

Please sign in to comment.