google-protobuf 3.19.0-x86_64-darwin → 3.19.1-x86_64-darwin

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: 8b303ad9d8c0bab6ba81f6ef952a6e287f38262995760af44b37b858cdfe2320
4
- data.tar.gz: 0d0a6cd941618facd4b8dc61377e590a39d092960f6f13fdda5563fa69bd8e6f
3
+ metadata.gz: 603d05163af7dadc58c6a6f1e1009af6b0423e447c5c6d75d45e15b7cbb513a0
4
+ data.tar.gz: 918ed950299dddece42e4b6b6674f2d0e6d67730b5730ff681f435128ef4e1b3
5
5
  SHA512:
6
- metadata.gz: '0759d28a7e432aea26067a57491f915d7726762d3941ed57965b0610e4848baaae8b3ea6c10e6a2830d6fc160c4fb9af92bd68a846f028ff93a4ccedcd9cb500'
7
- data.tar.gz: 6b1d4b6996d1743e7d1d356a29c3341e851b7106ecdce0670a50cb077b0e0a36387431b00c79355dfbc95481ddb7879c98219eec8330d583c9433453e91e5964
6
+ metadata.gz: 391b09eef5d63b834f22ed5ddd8f6a59ad9dec2773efad1ee30fa6650bbe90202230e3fc98a7c439c7272bd86fc1a4e403194d32138bdfa98ec18eb41fd08574
7
+ data.tar.gz: 1564e6af25b9776dc6a639d294b52befe6172c1c931debba626e245c13ef7fd18ef8241b3b93ca7a9358810cde77b854730bd6fc15bd6927261c713d596ec6f7
@@ -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
 
Binary file
Binary file
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.19.0
4
+ version: 3.19.1
5
5
  platform: x86_64-darwin
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
@@ -115,7 +115,7 @@ homepage: https://developers.google.com/protocol-buffers
115
115
  licenses:
116
116
  - BSD-3-Clause
117
117
  metadata:
118
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.19.0/ruby
118
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.19.1/ruby
119
119
  post_install_message:
120
120
  rdoc_options: []
121
121
  require_paths:
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  requirements: []
137
- rubygems_version: 3.2.29
137
+ rubygems_version: 3.2.30
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Protocol Buffers