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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ca33b8f0bd85f47befdb4255d39e7bd45eae96c3cb52c294a88cec38e441a65
4
- data.tar.gz: a65e43adaa23f53160c773a82f3efb6c96f84ae8947a4db2f3a2e2604f428c03
3
+ metadata.gz: 0bc9a6c6ac68c0017122ef60ca231d20756f039f5c588fa0efe52a454bee2ba7
4
+ data.tar.gz: e821575abe661e0066325019ec58b06afee421e8793ad7808e7eea8573c252c2
5
5
  SHA512:
6
- metadata.gz: 24d1983d0221c26aebc26d0fb2bb4af696921ef106ddd7b09219ad54374bf40759c545aad18765b97a1123523f5f1f435234a6b9f363a1789ef63213dd6d7832
7
- data.tar.gz: 82cc4715a7d9d6416b5d20a68eb7c4d9e4124e6bd786b0a65d21a630496b14ac037d82709981f943227fa67f7f60ecd2e637862277bc64cca0965d9568af85e6
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.1
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.1/ruby
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: