jitera-google-protobuf 3.21.12.pre.beta.1 → 3.21.12.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/google/protobuf_c/message.c +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bc9a6c6ac68c0017122ef60ca231d20756f039f5c588fa0efe52a454bee2ba7
|
4
|
+
data.tar.gz: e821575abe661e0066325019ec58b06afee421e8793ad7808e7eea8573c252c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7efa3dba9522563a5d6575df46539fdc448e20c870eaae119bf5636ccd8d8ebda41e982d3688c1c1e7ead69d42e000824e98dbb99762511c2433fbf74ca01645
|
7
|
+
data.tar.gz: 4df0517029a5a787272d3166810a3b331e4ff7b835f770e668c94ac90a00d52ef878ea37fb5ffa32d2cb9ad109ac47f6e161c0ca8e54daa63f97a5d421463373
|
@@ -1171,6 +1171,11 @@ static VALUE Message_encode_json(int argc, VALUE* argv, VALUE klass) {
|
|
1171
1171
|
Qfalse))) {
|
1172
1172
|
options |= upb_JsonEncode_EmitDefaults;
|
1173
1173
|
}
|
1174
|
+
|
1175
|
+
if (RTEST(rb_hash_lookup2(hash_args, ID2SYM(rb_intern("enums_as_integers")),
|
1176
|
+
Qfalse))) {
|
1177
|
+
options |= upb_JsonEncode_FormatEnumsAsIntegers;
|
1178
|
+
}
|
1174
1179
|
}
|
1175
1180
|
|
1176
1181
|
upb_Status_Clear(&status);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jitera-google-protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.21.12.pre.beta.
|
4
|
+
version: 3.21.12.pre.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Protobuf Authors
|
@@ -106,7 +106,7 @@ homepage: https://developers.google.com/protocol-buffers
|
|
106
106
|
licenses:
|
107
107
|
- BSD-3-Clause
|
108
108
|
metadata:
|
109
|
-
source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.12.pre.beta.
|
109
|
+
source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.12.pre.beta.2/ruby
|
110
110
|
post_install_message:
|
111
111
|
rdoc_options: []
|
112
112
|
require_paths:
|