google-protobuf 4.33.4-x86-linux-gnu → 4.34.0.rc.1-x86-linux-gnu
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.
- checksums.yaml +4 -4
- data/ext/google/protobuf_c/defs.c +4 -0
- data/ext/google/protobuf_c/ruby-upb.c +2292 -1554
- data/ext/google/protobuf_c/ruby-upb.h +3667 -2542
- data/lib/google/3.1/protobuf_c.so +0 -0
- data/lib/google/3.2/protobuf_c.so +0 -0
- data/lib/google/3.3/protobuf_c.so +0 -0
- data/lib/google/3.4/protobuf_c.so +0 -0
- data/lib/google/protobuf/descriptor_pb.rb +1 -1
- data/lib/google/protobuf/ffi/descriptor_pool.rb +4 -0
- data/lib/google/protobuf/ffi/ffi.rb +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 065e03ce646a12de771c0638585dfbff16896ca3bee7fa59d9256bd4844ad8b4
|
|
4
|
+
data.tar.gz: c55e078f939bce9cc3184f831f2ae4a9b52b1ad86993fc4295b8abdc94324f74
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4cc685adfc9ccaedada17b7842721e9ddb543f48fb0b0fda5cda0077512dcb15b4544ad819d98dc15139e62d6fb83e74836f0ab9a2bc4863f87352b1c23f193
|
|
7
|
+
data.tar.gz: e018036e3896efa3d321e04852d139cc0de78c52b5e2cc657ff50900b62c70726bbe824821b0ea0ee1631e759b05192fc67febd01163ff8288cea8b22920fc3b
|
|
@@ -114,6 +114,10 @@ static VALUE DescriptorPool_alloc(VALUE klass) {
|
|
|
114
114
|
|
|
115
115
|
RB_OBJ_WRITE(ret, &self->def_to_descriptor, rb_hash_new());
|
|
116
116
|
self->symtab = upb_DefPool_New();
|
|
117
|
+
|
|
118
|
+
// Ruby treats all enums as open.
|
|
119
|
+
upb_DefPool_DisableClosedEnumChecking(self->symtab);
|
|
120
|
+
|
|
117
121
|
return ObjectCache_TryAdd(self->symtab, ret);
|
|
118
122
|
}
|
|
119
123
|
|