ffi-rzmq 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +92 -0
- data/README.rdoc +162 -0
- data/Rakefile +19 -0
- data/examples/local_lat.rb +43 -0
- data/examples/local_lat_zerocopy.rb +24 -0
- data/examples/publish_subscribe.rb +52 -0
- data/examples/remote_lat.rb +53 -0
- data/examples/remote_lat_zerocopy.rb +35 -0
- data/examples/reqrep_poll.rb +49 -0
- data/examples/request_response.rb +23 -0
- data/ffi-rzmq.gemspec +43 -0
- data/lib/ffi-rzmq.rb +71 -0
- data/lib/ffi-rzmq/context.rb +99 -0
- data/lib/ffi-rzmq/exceptions.rb +145 -0
- data/lib/ffi-rzmq/message.rb +210 -0
- data/lib/ffi-rzmq/poll.rb +186 -0
- data/lib/ffi-rzmq/poll_items.rb +98 -0
- data/lib/ffi-rzmq/socket.rb +344 -0
- data/lib/ffi-rzmq/wrapper.rb +120 -0
- data/lib/ffi-rzmq/zmq.rb +147 -0
- data/spec/context_spec.rb +96 -0
- data/spec/reqrep_spec.rb +56 -0
- data/spec/socket_spec.rb +111 -0
- data/spec/spec_helper.rb +38 -0
- data/version.txt +1 -0
- metadata +113 -0
data/version.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.5.0
|
metadata
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ffi-rzmq
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 5
|
8
|
+
- 0
|
9
|
+
version: 0.5.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Chuck Remes
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-06-06 00:00:00 -05:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: bones
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 3
|
29
|
+
- 4
|
30
|
+
- 3
|
31
|
+
version: 3.4.3
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
description: |-
|
35
|
+
This gem wraps the ZeroMQ networking library using the ruby FFI (foreign
|
36
|
+
function interface). It's a pure ruby wrapper so this gem can be loaded
|
37
|
+
and run by any ruby runtime that supports FFI. Right now that means
|
38
|
+
MRI 1.8.7, 1.9.1 and JRuby.
|
39
|
+
|
40
|
+
The impetus behind this library was to provide support for ZeroMQ in
|
41
|
+
JRuby which has native threads. Unlike MRI, MacRuby, IronRuby and
|
42
|
+
Rubinius which all have a GIL, JRuby allows for threaded access to ruby
|
43
|
+
code from outside extensions. ZeroMQ is heavily threaded, so until the
|
44
|
+
other runtimes remove their GIL, JRuby will likely be the best
|
45
|
+
environment to run this library.
|
46
|
+
email: cremes@mac.com
|
47
|
+
executables: []
|
48
|
+
|
49
|
+
extensions: []
|
50
|
+
|
51
|
+
extra_rdoc_files:
|
52
|
+
- History.txt
|
53
|
+
- README.rdoc
|
54
|
+
- version.txt
|
55
|
+
files:
|
56
|
+
- History.txt
|
57
|
+
- README.rdoc
|
58
|
+
- Rakefile
|
59
|
+
- examples/local_lat.rb
|
60
|
+
- examples/local_lat_zerocopy.rb
|
61
|
+
- examples/publish_subscribe.rb
|
62
|
+
- examples/remote_lat.rb
|
63
|
+
- examples/remote_lat_zerocopy.rb
|
64
|
+
- examples/reqrep_poll.rb
|
65
|
+
- examples/request_response.rb
|
66
|
+
- ffi-rzmq.gemspec
|
67
|
+
- lib/ffi-rzmq.rb
|
68
|
+
- lib/ffi-rzmq/context.rb
|
69
|
+
- lib/ffi-rzmq/exceptions.rb
|
70
|
+
- lib/ffi-rzmq/message.rb
|
71
|
+
- lib/ffi-rzmq/poll.rb
|
72
|
+
- lib/ffi-rzmq/poll_items.rb
|
73
|
+
- lib/ffi-rzmq/socket.rb
|
74
|
+
- lib/ffi-rzmq/wrapper.rb
|
75
|
+
- lib/ffi-rzmq/zmq.rb
|
76
|
+
- spec/context_spec.rb
|
77
|
+
- spec/reqrep_spec.rb
|
78
|
+
- spec/socket_spec.rb
|
79
|
+
- spec/spec_helper.rb
|
80
|
+
- version.txt
|
81
|
+
has_rdoc: true
|
82
|
+
homepage: http://github.com/chuckremes/ffi-rzmq
|
83
|
+
licenses: []
|
84
|
+
|
85
|
+
post_install_message:
|
86
|
+
rdoc_options:
|
87
|
+
- --main
|
88
|
+
- README.rdoc
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
segments:
|
96
|
+
- 0
|
97
|
+
version: "0"
|
98
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
segments:
|
103
|
+
- 0
|
104
|
+
version: "0"
|
105
|
+
requirements: []
|
106
|
+
|
107
|
+
rubyforge_project: ffi-rzmq
|
108
|
+
rubygems_version: 1.3.6
|
109
|
+
signing_key:
|
110
|
+
specification_version: 3
|
111
|
+
summary: This gem wraps the ZeroMQ networking library using the ruby FFI (foreign function interface)
|
112
|
+
test_files: []
|
113
|
+
|