rb-zmq 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/extconf.rb +1 -1
  2. data/lib/rb_zmq.rb +4 -1
  3. data/rbzmq.cpp +1 -1
  4. metadata +11 -1
data/extconf.rb CHANGED
@@ -20,7 +20,7 @@ require 'mkmf'
20
20
  dir_config('zmq')
21
21
  if have_library('zmq', 'zmq_init') and have_header('zmq.h')
22
22
  puts "cool, I found your zmq install..."
23
- create_makefile("zmq")
23
+ create_makefile("rbzmq")
24
24
  else
25
25
  raise "Couldn't find zmq library. try setting --with-zmq-dir=<path> to tell me where it is."
26
26
  end
data/lib/rb_zmq.rb CHANGED
@@ -1 +1,4 @@
1
- require 'librbzmq'
1
+ require 'rbzmq'
2
+ module RbZmq
3
+ VERSION='0.0.3'
4
+ end
data/rbzmq.cpp CHANGED
@@ -232,7 +232,7 @@ static VALUE socket_recv (VALUE self_, VALUE flags_)
232
232
  return message;
233
233
  }
234
234
 
235
- extern "C" void Init_librbzmq ()
235
+ extern "C" void Init_rbzmq ()
236
236
  {
237
237
  VALUE context_type = rb_define_class ("Context", rb_cObject);
238
238
  rb_define_alloc_func (context_type, context_alloc);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb-zmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - McClain Looney
@@ -12,6 +12,16 @@ cert_chain: []
12
12
  date: 2010-02-01 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: hoe
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.2.5
24
+ version:
15
25
  - !ruby/object:Gem::Dependency
16
26
  name: gemcutter
17
27
  type: :development