self_msgproto 0.0.7 → 0.0.8

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
  SHA256:
3
- metadata.gz: 92de4efe71d9d560fd6248b80b9216df8a607d7b7c3890834d6e7b3b19da24f8
4
- data.tar.gz: 1aea72d9ccd7b02ae8ef2111f1902ddd9eff8858710111b9f4675ef13d0daefc
3
+ metadata.gz: cab7cc6b6f6a48df982c1ee3d9b170e85cfd55178f79bdab9e6ced5676f52199
4
+ data.tar.gz: 88f152ebe1b13969258c96be8d1fb98036a51509957e236bdf2ece2a15c18389
5
5
  SHA512:
6
- metadata.gz: abeedc01c37d7d9e19981ea17253eabbc764cb1a24a8dce802fa1e2bf1de0575df03ae79e8215931a6061215efba7f670cc4e8f0a858031e7f222c49d0dab054
7
- data.tar.gz: cb923f0a7d6fd4b7794aefa5d8b67ad08b91af728bd48bc3d9b08b8879b99dcbb5c12648069d847e8aeba03d1f993a76b48ebdb60a0ab5300fa0f328b367caae
6
+ metadata.gz: 7903916cb4d14f524c312b582b92b19d18094a582df509ae8e2cb3df8621d2b852dae659d6faf306b6402a4335c96faed5309495e997ee80cb93095baedc1255
7
+ data.tar.gz: 84fa5070a8d235c1e42ca4b8a93407861288b3ccb62ac307dadebb62482055afbdeca52907aaa3bae85341d29a04bc397e1f5de82694715ddc48deb78d50a370
@@ -85,6 +85,7 @@ VALUE acl_to_fb(VALUE self)
85
85
 
86
86
  u_char *payloadstr;
87
87
  long payloadlen;
88
+ flatbuffers::Offset<flatbuffers::Vector<uint8_t>> payload;
88
89
 
89
90
  if (payloadv != Qnil) {
90
91
  payloadstr = (u_char *)RSTRING_PTR(payloadv);
@@ -94,7 +95,10 @@ VALUE acl_to_fb(VALUE self)
94
95
  flatbuffers::FlatBufferBuilder builder(1024);
95
96
 
96
97
  auto id = builder.CreateString(idstr);
97
- auto payload = builder.CreateVector(payloadstr, payloadlen);
98
+
99
+ if (payloadv != Qnil) {
100
+ payload = builder.CreateVector(payloadstr, payloadlen);
101
+ }
98
102
 
99
103
  ACLBuilder acl_builder(builder);
100
104
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SelfMsg
4
4
 
5
- VERSION="0.0.7"
5
+ VERSION="0.0.8"
6
6
 
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: self_msgproto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Bevan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-27 00:00:00.000000000 Z
11
+ date: 2021-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rice