google-protobuf 3.15.8-universal-darwin → 3.16.0.rc.1-universal-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: 430bbc7dfeb6ebd87956b58e912b9833d852a4368e646aaaff244bb9d9c035dd
4
- data.tar.gz: 96b390806ace39d4cd46d6ccc18345e1fe1a099fcc8fae3419381b4fa54a5291
3
+ metadata.gz: 1650c8011215890a53e2acaa17d3279dc6b28467bbf8ba67725231ad2a745624
4
+ data.tar.gz: 2d5176caa3bc7d3063314967fcb2193c784e48d95be6058772e865219b2eefa5
5
5
  SHA512:
6
- metadata.gz: 8a9226b330cac0db3ed59c83752a4ca6315878d3dfd2393be66688849140f90aaa5e4d2ad23e9d2eddb0ca22214a0bfc11e07b31252c8b3be116b889fb4e30ba
7
- data.tar.gz: 90d6c425c36843440f8eb2739af6d7efa39f529d8e2484bb8b7030e139b779246c29e2031a22383950d2d9951e0fede1619fc60240dc0327e0b1cd6846c0246e
6
+ metadata.gz: 3ba8e046faa929eb7b7117334b47d5336bb52118d84816c8f8d935ec459b5cb5454ccbc8b7c0a366a04254e006ad2c7e571998b82e960c9008b683c64572fc17
7
+ data.tar.gz: 17259cd7ef1eb5926ad736189faed6c9a55757d19bc8eeab278bc289b67c4e99e947e7c9e41676033d52fa52aac846aea9ac67f97c86a4bf4699c5188a959e9c
@@ -37,7 +37,7 @@
37
37
  #include "message.h"
38
38
  #include "repeated_field.h"
39
39
 
40
- VALUE cError;
40
+ VALUE cParseError;
41
41
  VALUE cTypeError;
42
42
 
43
43
  const upb_fielddef* map_field_key(const upb_fielddef* field) {
@@ -180,7 +180,6 @@ static void Arena_mark(void *data) {
180
180
  static void Arena_free(void *data) {
181
181
  Arena *arena = data;
182
182
  upb_arena_free(arena->arena);
183
- xfree(arena);
184
183
  }
185
184
 
186
185
  static VALUE cArena;
@@ -442,8 +441,10 @@ void Init_protobuf_c() {
442
441
  Map_register(protobuf);
443
442
  Message_register(protobuf);
444
443
 
445
- cError = rb_const_get(protobuf, rb_intern("Error"));
444
+ cParseError = rb_const_get(protobuf, rb_intern("ParseError"));
445
+ rb_gc_register_mark_object(cParseError);
446
446
  cTypeError = rb_const_get(protobuf, rb_intern("TypeError"));
447
+ rb_gc_register_mark_object(cTypeError);
447
448
 
448
449
  rb_define_singleton_method(protobuf, "discard_unknown",
449
450
  Google_Protobuf_discard_unknown, 1);
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.15.8
4
+ version: 3.16.0.rc.1
5
5
  platform: universal-darwin
6
6
  authors:
7
7
  - Protobuf Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-08 00:00:00.000000000 Z
11
+ date: 2021-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler-dock
@@ -128,7 +128,7 @@ homepage: https://developers.google.com/protocol-buffers
128
128
  licenses:
129
129
  - BSD-3-Clause
130
130
  metadata:
131
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.15.8/ruby
131
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.16.0-rc1/ruby
132
132
  post_install_message:
133
133
  rdoc_options: []
134
134
  require_paths:
@@ -143,9 +143,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
143
  version: 3.1.dev
144
144
  required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  requirements:
146
- - - ">="
146
+ - - ">"
147
147
  - !ruby/object:Gem::Version
148
- version: '0'
148
+ version: 1.3.1
149
149
  requirements: []
150
150
  rubygems_version: 3.2.15
151
151
  signing_key: