czmq-ffi-gen 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +8 -0
  3. data/lib/czmq-ffi-gen/czmq/ffi/zactor.rb +40 -7
  4. data/lib/czmq-ffi-gen/czmq/ffi/zargs.rb +259 -0
  5. data/lib/czmq-ffi-gen/czmq/ffi/zarmour.rb +3 -3
  6. data/lib/czmq-ffi-gen/czmq/ffi/zcert.rb +15 -6
  7. data/lib/czmq-ffi-gen/czmq/ffi/zcertstore.rb +25 -11
  8. data/lib/czmq-ffi-gen/czmq/ffi/zchunk.rb +18 -18
  9. data/lib/czmq-ffi-gen/czmq/ffi/zclock.rb +6 -6
  10. data/lib/czmq-ffi-gen/czmq/ffi/zconfig.rb +27 -17
  11. data/lib/czmq-ffi-gen/czmq/ffi/zdigest.rb +4 -4
  12. data/lib/czmq-ffi-gen/czmq/ffi/zdir.rb +36 -36
  13. data/lib/czmq-ffi-gen/czmq/ffi/zdir_patch.rb +1 -1
  14. data/lib/czmq-ffi-gen/czmq/ffi/zfile.rb +27 -19
  15. data/lib/czmq-ffi-gen/czmq/ffi/zframe.rb +22 -21
  16. data/lib/czmq-ffi-gen/czmq/ffi/zhash.rb +54 -54
  17. data/lib/czmq-ffi-gen/czmq/ffi/zhashx.rb +82 -80
  18. data/lib/czmq-ffi-gen/czmq/ffi/ziflist.rb +30 -0
  19. data/lib/czmq-ffi-gen/czmq/ffi/zlist.rb +30 -30
  20. data/lib/czmq-ffi-gen/czmq/ffi/zlistx.rb +44 -44
  21. data/lib/czmq-ffi-gen/czmq/ffi/zloop.rb +39 -39
  22. data/lib/czmq-ffi-gen/czmq/ffi/zmsg.rb +46 -46
  23. data/lib/czmq-ffi-gen/czmq/ffi/zpoller.rb +16 -16
  24. data/lib/czmq-ffi-gen/czmq/ffi/zproc.rb +237 -34
  25. data/lib/czmq-ffi-gen/czmq/ffi/zsock.rb +1201 -973
  26. data/lib/czmq-ffi-gen/czmq/ffi/zstr.rb +58 -19
  27. data/lib/czmq-ffi-gen/czmq/ffi/zsys.rb +836 -0
  28. data/lib/czmq-ffi-gen/czmq/ffi/ztimerset.rb +6 -6
  29. data/lib/czmq-ffi-gen/czmq/ffi/ztrie.rb +10 -10
  30. data/lib/czmq-ffi-gen/czmq/ffi/zuuid.rb +4 -4
  31. data/lib/czmq-ffi-gen/czmq/ffi.rb +224 -698
  32. data/lib/czmq-ffi-gen/gem_version.rb +1 -1
  33. data/lib/czmq-ffi-gen/vendor.rb +9 -1
  34. metadata +5 -3
@@ -1,5 +1,5 @@
1
1
  module CZMQ
2
2
  module FFI
3
- GEM_VERSION = "0.13.0"
3
+ GEM_VERSION = "0.14.0"
4
4
  end
5
5
  end
@@ -1,5 +1,13 @@
1
1
  base_dir = File.expand_path(File.join(__dir__, "..", ".."))
2
2
  vendor_bin_dir = File.join(base_dir, "vendor", "local", "bin")
3
3
  if File.exist?(vendor_bin_dir)
4
- ENV["PATH"] = [vendor_bin_dir, ENV["PATH"]].join(File::PATH_SEPARATOR)
4
+ # On Windows, RubyInstaller2 uses kernel32's SetDefaultDllDirectories
5
+ # and AddDllDirectory, which disables the lookup of DLLs in the PATH, see
6
+ # https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers#dll-loading
7
+ begin
8
+ require 'ruby_installer'
9
+ RubyInstaller::Runtime.add_dll_directory vendor_bin_dir
10
+ rescue LoadError
11
+ ENV["PATH"] = [vendor_bin_dir, ENV["PATH"]].join(File::PATH_SEPARATOR)
12
+ end
5
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: czmq-ffi-gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrik Wenger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-01 00:00:00.000000000 Z
11
+ date: 2017-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -96,6 +96,7 @@ files:
96
96
  - lib/czmq-ffi-gen/czmq/ffi.rb
97
97
  - lib/czmq-ffi-gen/czmq/ffi/version.rb
98
98
  - lib/czmq-ffi-gen/czmq/ffi/zactor.rb
99
+ - lib/czmq-ffi-gen/czmq/ffi/zargs.rb
99
100
  - lib/czmq-ffi-gen/czmq/ffi/zarmour.rb
100
101
  - lib/czmq-ffi-gen/czmq/ffi/zcert.rb
101
102
  - lib/czmq-ffi-gen/czmq/ffi/zcertstore.rb
@@ -118,6 +119,7 @@ files:
118
119
  - lib/czmq-ffi-gen/czmq/ffi/zproc.rb
119
120
  - lib/czmq-ffi-gen/czmq/ffi/zsock.rb
120
121
  - lib/czmq-ffi-gen/czmq/ffi/zstr.rb
122
+ - lib/czmq-ffi-gen/czmq/ffi/zsys.rb
121
123
  - lib/czmq-ffi-gen/czmq/ffi/ztimerset.rb
122
124
  - lib/czmq-ffi-gen/czmq/ffi/ztrie.rb
123
125
  - lib/czmq-ffi-gen/czmq/ffi/zuuid.rb
@@ -148,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
150
  version: '0'
149
151
  requirements: []
150
152
  rubyforge_project:
151
- rubygems_version: 2.5.1
153
+ rubygems_version: 2.6.8
152
154
  signing_key:
153
155
  specification_version: 4
154
156
  summary: The low-level Ruby binding for CZMQ (generated using zproject)