google-protobuf 3.19.0 → 3.19.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dae1f262f909f97327200c07b09e59b6a9a6b2c26978e30d19eebbb6f435926e
4
- data.tar.gz: d4a9653753efa570086b3c58489d13d3c0cd32bfb61013a3427a21ed6e4f9258
3
+ metadata.gz: 2a7485f1fc8d0d8ed8af84137ec365bcdc391674987b4db9c1b48e3e9be60a4e
4
+ data.tar.gz: 4158ac5aa052a96975a26ef4c4c491920cb84ec0a1739c0aad02a73f4b6d7f56
5
5
  SHA512:
6
- metadata.gz: fb8728853ed93560c7be922cebbe8f276dcae62871bc238d0940a13953b802f0df15de508348dc6cfc0eda66a7cccf29a0bd303c2d63db26ae93fed3f0d7307a
7
- data.tar.gz: a1c8a9bdff23884e7c5e5ae2a8ec36fc2e0b5f78d8e0985411ba40c335160ee0ea38bcb1b74a8ed73da1c80140b02520a338d8c38e02ca11bcfd672be776cd8a
6
+ metadata.gz: 23820237278d42df4366dc0bbd8d21d1834a493a67e82832d7c36c9d60984ba4106be49cbbacfd9cb7ab0c6bed772333d1e10f0598d48788d1c419db06474f8f
7
+ data.tar.gz: '019518d126196c733375e1b4ed0f34a438c5953991a1cd34c8eff6b33c8dd714954babb570bd4e779eb6c2af26eb9dca29564653ea2162c76ab1ded2fa1279e9'
@@ -1012,7 +1012,6 @@ static VALUE Message_decode_json(int argc, VALUE* argv, VALUE klass) {
1012
1012
  */
1013
1013
  static VALUE Message_encode(VALUE klass, VALUE msg_rb) {
1014
1014
  Message* msg = ruby_to_Message(msg_rb);
1015
- upb_arena *arena = upb_arena_new();
1016
1015
  const char *data;
1017
1016
  size_t size;
1018
1017
 
@@ -1020,6 +1019,8 @@ static VALUE Message_encode(VALUE klass, VALUE msg_rb) {
1020
1019
  rb_raise(rb_eArgError, "Message of wrong type.");
1021
1020
  }
1022
1021
 
1022
+ upb_arena *arena = upb_arena_new();
1023
+
1023
1024
  data = upb_encode(msg->msg, upb_msgdef_layout(msg->msgdef), arena,
1024
1025
  &size);
1025
1026
 
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.19.0
4
+ version: 3.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Protobuf Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-20 00:00:00.000000000 Z
11
+ date: 2021-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler-dock
@@ -110,7 +110,7 @@ homepage: https://developers.google.com/protocol-buffers
110
110
  licenses:
111
111
  - BSD-3-Clause
112
112
  metadata:
113
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.19.0/ruby
113
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.19.1/ruby
114
114
  post_install_message:
115
115
  rdoc_options: []
116
116
  require_paths:
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.2.29
129
+ rubygems_version: 3.2.30
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Protocol Buffers