ffi-rzmq-core 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/ffi-rzmq-core/libzmq.rb +4 -0
- data/lib/ffi-rzmq-core/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96d011bc8e933b61a4c64eaac4220eccc8adf85d
|
4
|
+
data.tar.gz: 31c4e376ca5400c5fb44af9331328e405d0fc2b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91f118d04d3507fa041c60599d5a0d2e25b02f1464ab3765b9bb94102df4118c99ef442f58b8d809596e98b6db3efa9d24a6052e9543eeaa817f831bf4fd8474
|
7
|
+
data.tar.gz: cfb7aaae1e8efd9776b6703e3750c605fbd6857f974e53afc24825828363698ee6f2d7f06786b43ae831bb750e0f72af0af7896ef92827897fba13890900f971
|
data/README.md
CHANGED
@@ -10,6 +10,9 @@ hoping this encourages other library writers to create their own. Rather than du
|
|
10
10
|
wrapping code, they can just pull in this gem and build a more idiomatic library around the
|
11
11
|
basic definitions.
|
12
12
|
|
13
|
+
As of zeromq 4.2.x, this library does not yet support the `zmq_atomic_counter_*` functions or many
|
14
|
+
of the other newly exposed functions. Pull requests encouraged!
|
15
|
+
|
13
16
|
See [ffi-rzmq]
|
14
17
|
|
15
18
|
### Development
|
data/lib/ffi-rzmq-core/libzmq.rb
CHANGED
@@ -37,6 +37,10 @@ module LibZMQ
|
|
37
37
|
ZMQ_LIB_PATHS = ([inside_gem] + env_path + local_path + [rbconfig_path] + [
|
38
38
|
'/usr/local/lib', '/opt/local/lib', homebrew_path, '/usr/lib64'
|
39
39
|
]).compact.map{|path| "#{path}/libzmq.#{FFI::Platform::LIBSUFFIX}"}
|
40
|
+
|
41
|
+
# Recent versions of libzmq do not put all symbols into the global namespace so
|
42
|
+
# lazy linking can fail at runtime. Force all symbols to global namespace.
|
43
|
+
ffi_lib_flags :now, :global
|
40
44
|
ffi_lib(ZMQ_LIB_PATHS + %w{libzmq})
|
41
45
|
|
42
46
|
rescue LoadError
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi-rzmq-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chuck Remes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.
|
105
|
+
rubygems_version: 2.6.8
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: This gem provides only the FFI wrapper for the ZeroMQ (0mq) networking library.
|