google-protobuf 3.21.8-x64-mingw32 → 3.21.10-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of google-protobuf might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ext/google/protobuf_c/message.c +4 -2
- data/lib/google/2.5/protobuf_c.so +0 -0
- data/lib/google/2.6/protobuf_c.so +0 -0
- data/lib/google/2.7/protobuf_c.so +0 -0
- data/lib/google/3.0/protobuf_c.so +0 -0
- 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: dfa9352f60f48271ffd755bf5bd1134d6f89f909de1818861fd7dbafb72e855b
|
4
|
+
data.tar.gz: 67da5ccee20f16c2d0abb2f29777d72599ee0e531039e50cf1a937ef543710fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf0f87f2324e118c5fe988c03379e6572b28a08ac0b39a9970c0f41678445a9da178cd58eeeda79f2ada5d7470fab2aad9989bd621a6d632ae1e843577d32e37
|
7
|
+
data.tar.gz: f832d7236a4bab1138e2579be8f42509ad5e37fef33652a157e0fee8013bfd94fa1290e5428d82ee5324af97a1a8cb031b5d3ba2b050d7e13240dc006db3187c
|
@@ -1290,7 +1290,9 @@ VALUE build_module_from_enumdesc(VALUE _enumdesc) {
|
|
1290
1290
|
int n = upb_EnumDef_ValueCount(e);
|
1291
1291
|
for (int i = 0; i < n; i++) {
|
1292
1292
|
const upb_EnumValueDef* ev = upb_EnumDef_Value(e, i);
|
1293
|
-
|
1293
|
+
upb_Arena* arena = upb_Arena_New();
|
1294
|
+
const char* src_name = upb_EnumValueDef_Name(ev);
|
1295
|
+
char* name = upb_strdup2(src_name, strlen(src_name), arena);
|
1294
1296
|
int32_t value = upb_EnumValueDef_Number(ev);
|
1295
1297
|
if (name[0] < 'A' || name[0] > 'Z') {
|
1296
1298
|
if (name[0] >= 'a' && name[0] <= 'z') {
|
@@ -1303,7 +1305,7 @@ VALUE build_module_from_enumdesc(VALUE _enumdesc) {
|
|
1303
1305
|
}
|
1304
1306
|
}
|
1305
1307
|
rb_define_const(mod, name, INT2NUM(value));
|
1306
|
-
|
1308
|
+
upb_Arena_Free(arena);
|
1307
1309
|
}
|
1308
1310
|
|
1309
1311
|
rb_define_singleton_method(mod, "lookup", enum_lookup, 1);
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.21.
|
4
|
+
version: 3.21.10
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Protobuf Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler-dock
|
@@ -112,7 +112,7 @@ homepage: https://developers.google.com/protocol-buffers
|
|
112
112
|
licenses:
|
113
113
|
- BSD-3-Clause
|
114
114
|
metadata:
|
115
|
-
source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.
|
115
|
+
source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.10/ruby
|
116
116
|
post_install_message:
|
117
117
|
rdoc_options: []
|
118
118
|
require_paths:
|