rbczmq 0.7 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +35 -0
- data/Gemfile.lock +1 -1
- data/README.rdoc +0 -2
- data/ext/czmq.tar.gz +0 -0
- data/ext/rbczmq/frame.c +6 -2
- data/ext/rbczmq/message.c +2 -2
- data/lib/zmq/version.rb +1 -1
- metadata +11 -8
data/CHANGELOG.rdoc
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
= Changelog
|
2
|
+
|
3
|
+
== 0.8 (June 25, 2012)
|
4
|
+
* Remove entries from the frames pointer map when managed frame objects are freed during GC
|
5
|
+
* czmq's addstr and pushstr functions expect a format string, users of the library aren't (presently) expecting that (James Tucker)
|
6
|
+
* Bumped czmq to upstream head (bugfixes and compat for the upcoming upgrade to libzmq 3.2)
|
7
|
+
|
8
|
+
== 0.7 (May 12, 2012)
|
9
|
+
* Remove send && recv timeout accessors from the zmq_sock_wrapper struct - delegated to libzmq
|
10
|
+
* Respect ZMQ_SNDTIMEO && ZMQ_RCVTIMEO socket options for all rewbies
|
11
|
+
* Intercept EMTHREAD and raise a meaningful error for transports that require at least one I/O thread
|
12
|
+
|
13
|
+
== 0.6 (May 10, 2012)
|
14
|
+
* He who forgets to coerce to string shall release often
|
15
|
+
|
16
|
+
== 0.5 (May 10, 2012)
|
17
|
+
* Resolv SRV record targets as well
|
18
|
+
|
19
|
+
== 0.4 (April 27, 2012)
|
20
|
+
* Bumped czmq
|
21
|
+
* Introduce initial support for endpoint resolution through DNS SRV records
|
22
|
+
|
23
|
+
== 0.3 (April 18, 2012)
|
24
|
+
* Compile czmq with -fPIC on linux
|
25
|
+
|
26
|
+
== 0.2 (April 8, 2012)
|
27
|
+
* Introduce support for sending frames non-blocking
|
28
|
+
* Introduce a ZMQ::Context#hwm attribute
|
29
|
+
* Introduce support for sndtimeo && rcvtimeo socket options
|
30
|
+
* Bump to czmq && zeromq to release 2.2.1
|
31
|
+
* Depend on libzmq 2.1.12
|
32
|
+
* Include Travis CI build status in README
|
33
|
+
|
34
|
+
== 0.1 ( February 21, 2012)
|
35
|
+
* Initial public release
|
data/Gemfile.lock
CHANGED
data/README.rdoc
CHANGED
data/ext/czmq.tar.gz
CHANGED
Binary file
|
data/ext/rbczmq/frame.c
CHANGED
@@ -37,8 +37,12 @@ VALUE rb_czmq_alloc_frame(zframe_t *frame)
|
|
37
37
|
*/
|
38
38
|
void rb_czmq_free_frame(zframe_t *frame)
|
39
39
|
{
|
40
|
-
if (frame)
|
41
|
-
if (st_lookup(frames_map, (st_data_t)frame, 0))
|
40
|
+
if (frame) {
|
41
|
+
if (st_lookup(frames_map, (st_data_t)frame, 0)) {
|
42
|
+
st_delete(frames_map, (st_data_t*)&frame, 0);
|
43
|
+
zframe_destroy(&frame);
|
44
|
+
}
|
45
|
+
}
|
42
46
|
}
|
43
47
|
|
44
48
|
/*
|
data/ext/rbczmq/message.c
CHANGED
@@ -318,7 +318,7 @@ static VALUE rb_czmq_message_pushstr(VALUE obj, VALUE str)
|
|
318
318
|
errno = 0;
|
319
319
|
ZmqGetMessage(obj);
|
320
320
|
Check_Type(str, T_STRING);
|
321
|
-
rc =
|
321
|
+
rc = zmsg_pushmem(message->message, StringValueCStr(str), RSTRING_LEN(str));
|
322
322
|
ZmqAssert(rc);
|
323
323
|
return Qtrue;
|
324
324
|
}
|
@@ -341,7 +341,7 @@ static VALUE rb_czmq_message_addstr(VALUE obj, VALUE str)
|
|
341
341
|
errno = 0;
|
342
342
|
ZmqGetMessage(obj);
|
343
343
|
Check_Type(str, T_STRING);
|
344
|
-
rc =
|
344
|
+
rc = zmsg_addmem(message->message, StringValueCStr(str), RSTRING_LEN(str));
|
345
345
|
ZmqAssert(rc);
|
346
346
|
return Qtrue;
|
347
347
|
}
|
data/lib/zmq/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbczmq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3451978084848223320
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: "0.
|
8
|
+
- 8
|
9
|
+
version: "0.8"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- "Lourens Naud\xC3\xA9"
|
@@ -15,7 +15,8 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-06-25 00:00:00 +01:00
|
19
|
+
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: rake-compiler
|
@@ -25,7 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ~>
|
27
28
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
29
|
+
hash: 289844351982071926
|
29
30
|
segments:
|
30
31
|
- 0
|
31
32
|
- 8
|
@@ -46,6 +47,7 @@ extra_rdoc_files: []
|
|
46
47
|
files:
|
47
48
|
- .gitignore
|
48
49
|
- .travis.yml
|
50
|
+
- CHANGELOG.rdoc
|
49
51
|
- Gemfile
|
50
52
|
- Gemfile.lock
|
51
53
|
- MIT-LICENSE
|
@@ -144,6 +146,7 @@ files:
|
|
144
146
|
- test/test_threading.rb
|
145
147
|
- test/test_timer.rb
|
146
148
|
- test/test_zmq.rb
|
149
|
+
has_rdoc: true
|
147
150
|
homepage: http://github.com/methodmissing/rbczmq
|
148
151
|
licenses: []
|
149
152
|
|
@@ -157,7 +160,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
157
160
|
requirements:
|
158
161
|
- - ">="
|
159
162
|
- !ruby/object:Gem::Version
|
160
|
-
hash:
|
163
|
+
hash: 2002549777813010636
|
161
164
|
segments:
|
162
165
|
- 0
|
163
166
|
version: "0"
|
@@ -166,14 +169,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
169
|
requirements:
|
167
170
|
- - ">="
|
168
171
|
- !ruby/object:Gem::Version
|
169
|
-
hash:
|
172
|
+
hash: 2002549777813010636
|
170
173
|
segments:
|
171
174
|
- 0
|
172
175
|
version: "0"
|
173
176
|
requirements: []
|
174
177
|
|
175
178
|
rubyforge_project:
|
176
|
-
rubygems_version: 1.
|
179
|
+
rubygems_version: 1.5.2
|
177
180
|
signing_key:
|
178
181
|
specification_version: 3
|
179
182
|
summary: "Ruby extension for CZMQ - High-level C Binding for \xC3\x98MQ (http://czmq.zeromq.org)"
|