google-protobuf 3.21.11-x86-mingw32 → 3.21.12-x86-mingw32

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: 72bd8f74521bd813375f5af649ea000630f03cfff2ccaf12b9caf3c71795018b
4
- data.tar.gz: 725f994b72cbb32cae09dd0ca837e32ab36db17c5213e312671a8ca3483713d8
3
+ metadata.gz: ff28070bc657c5f77329e9ebea202a227da0176a44be034b0c081b270f3855f3
4
+ data.tar.gz: c9b1ea1e0e6677e23a6bec0f781cdefcda6296cd2d37fe6d30f886f62539502e
5
5
  SHA512:
6
- metadata.gz: b43212159697df973022142aa831205874eefe12f85a76e40aa8e9be4044a68e2e49bb3ed60120d334228296447462e427349c7a380dd58c2a29a2bfb25bb46b
7
- data.tar.gz: d7e2a9fce19e72df37df9f5635c7a1808ec26a12e7f091cc38f60ede4031fa6028b7893fd69987db747a0d55fab6929046c7fc03f6dca175cb62fe4f205cc445
6
+ metadata.gz: ed2ab608a8b096af6a83a02a717b9d32d868dfc11091dfc4b07a79953c9aefb9701e8bdc4cb36739031e8f01f5427323c3d0b82a7efd4bf577e26943fb9c7a5b
7
+ data.tar.gz: 6c307bdac4b8d6abc88a5183d5fe8ce7fbca6ec164f0b307ed78338ed28caddb547430091c77534bfbb7c77c9c7b36fee4d2da307d169860f813314b7d0809a8
@@ -5814,7 +5814,6 @@ upb_EnumReservedRange* _upb_EnumReservedRanges_New(
5814
5814
  google_protobuf_EnumDescriptorProto_EnumReservedRange_start(protos[i]);
5815
5815
  const int32_t end =
5816
5816
  google_protobuf_EnumDescriptorProto_EnumReservedRange_end(protos[i]);
5817
- const int32_t max = kUpb_MaxFieldNumber + 1;
5818
5817
 
5819
5818
  // A full validation would also check that each range is disjoint, and that
5820
5819
  // none of the fields overlap with the extension ranges, but we are just
@@ -5822,7 +5821,7 @@ upb_EnumReservedRange* _upb_EnumReservedRanges_New(
5822
5821
 
5823
5822
  // Note: Not a typo! Unlike extension ranges and message reserved ranges,
5824
5823
  // the end value of an enum reserved range is *inclusive*!
5825
- if (start < 1 || end < start || end > max) {
5824
+ if (end < start) {
5826
5825
  symtab_errf(ctx, "Reserved range (%d, %d) is invalid, enum=%s\n",
5827
5826
  (int)start, (int)end, upb_EnumDef_FullName(e));
5828
5827
  }
@@ -7855,7 +7854,7 @@ static void create_fielddef(
7855
7854
  CHK_OOM(
7856
7855
  upb_strtable_insert(&oneof->ntof, name.data, name.size, v, ctx->arena));
7857
7856
  } else {
7858
- if (f->proto3_optional_) {
7857
+ if (f->proto3_optional_ && !is_extension) {
7859
7858
  symtab_errf(ctx, "field with proto3_optional was not in a oneof (%s)",
7860
7859
  f->full_name);
7861
7860
  }
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.21.11
4
+ version: 3.21.12
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Protobuf Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-08 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler-dock
@@ -113,7 +113,7 @@ homepage: https://developers.google.com/protocol-buffers
113
113
  licenses:
114
114
  - BSD-3-Clause
115
115
  metadata:
116
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.11/ruby
116
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.12/ruby
117
117
  post_install_message:
118
118
  rdoc_options: []
119
119
  require_paths: