czmq-ffi-gen 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 739bb30054648efc602eaff62354c63633ed0099
4
- data.tar.gz: 2a81080b5e56231ede1770090e3168172cd0004d
3
+ metadata.gz: ba0ee8a4aee41a7656ec7a4891bd952a3942945a
4
+ data.tar.gz: 5d21b7bb354da3c19f1eb7323df14cbf1ba2a172
5
5
  SHA512:
6
- metadata.gz: 0aeb9fded462ac3262657cf447d34ceeb227b5446ed26b3ea23848634600a7587e899234bb83272753a1f211a0c37010a85c8c5bf19762de204bbe0d33f663ce
7
- data.tar.gz: b6fdf14d753658728786dbd3e4c440a7a6acac96c6f0608d8cb0950079995de5b8a151b474bd4536fdb617d9d5f9aea816e5aa91207922995c0d0510862c1d65
6
+ metadata.gz: f38147470bf967d450ee9f72626cf3cf6776922d45e32ea2467e24ce7b2fa93ed2e220636871ec815c75a3f7fca79b92e692119503c7796b378dd7e4d43a09fb
7
+ data.tar.gz: 294f60d99f21caaecd594f4e615de343c45198c0654a388abe42a5779ab14bb50ebce0a96c4f73c75a4988cd139c5e0d2ccac8ccad20ad95c391e0697d81fa64
data/CHANGES.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.3.0 (12/15/2015)
2
+ -----
3
+ * upgrade CZMQ low-level binding to
4
+ - add Zcert#unset_meta
5
+
1
6
  0.2.1 (12/12/2015)
2
7
  -----
3
8
  * upgrade CZMQ low-level binding to
@@ -160,6 +160,17 @@ module CZMQ
160
160
  result
161
161
  end
162
162
 
163
+ # Unset certificate metadata.
164
+ #
165
+ # @param name [String, #to_s, nil]
166
+ # @return [void]
167
+ def unset_meta(name)
168
+ raise DestroyedError unless @ptr
169
+ self_p = @ptr
170
+ result = ::CZMQ::FFI.zcert_unset_meta(self_p, name)
171
+ result
172
+ end
173
+
163
174
  # Get metadata value from certificate; if the metadata value doesn't
164
175
  # exist, returns NULL.
165
176
  #
@@ -87,6 +87,7 @@ module CZMQ
87
87
  attach_function :zcert_public_txt, [:pointer], :pointer, **opts
88
88
  attach_function :zcert_secret_txt, [:pointer], :pointer, **opts
89
89
  attach_function :zcert_set_meta, [:pointer, :string, :string, :varargs], :void, **opts
90
+ attach_function :zcert_unset_meta, [:pointer, :string], :void, **opts
90
91
  attach_function :zcert_meta, [:pointer, :string], :pointer, **opts
91
92
  attach_function :zcert_meta_keys, [:pointer], :pointer, **opts
92
93
  attach_function :zcert_save, [:pointer, :string], :int, **opts
@@ -1,5 +1,5 @@
1
1
  module CZMQ
2
2
  module FFI
3
- GEM_VERSION = "0.2.1"
3
+ GEM_VERSION = "0.3.0"
4
4
  end
5
5
  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.2.1
4
+ version: 0.3.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: 2015-12-12 00:00:00.000000000 Z
11
+ date: 2015-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi