google-protobuf 3.19.3-x86-mingw32 → 3.19.4-x86-mingw32

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: 54225327eb34b2526f7a4ffdd523351b9bcc89b464c133e917eb195648b4df9f
4
- data.tar.gz: bbc9baf466ba7c68a5879deebd75eb18d992594a3479dc82683376363397e858
3
+ metadata.gz: bb94e3e146a046cc5b3a00725137ce212a7073a13a7790fee186708ff9fc3f17
4
+ data.tar.gz: 7075c6644c0e2c1776a05e94f258184248f065de6013ae1734e0f75f3b38ad36
5
5
  SHA512:
6
- metadata.gz: 6711a83efe5009f086a91b36ce7227ddd2e0e10b9b9337185185769a64633c9f1d7c0d7577a893b9cb5594c69d20ff9af2bb145bf35ab2ee0b02161afafa72d0
7
- data.tar.gz: 4ff7d01e7522e438192cdcacd727c36d43c8aa2ad2acf048634bc6d805b31cf4993b89a3a18886f8ea9e5a3ee2bf92efb3858b44398bf3f1f89caf492614f985
6
+ metadata.gz: a9c87776814db92ef8ad0530a2fca49c89f71c19fdea3f736d1bc5f97ae8e8fa6bace12b485e668947ccb41eac081a88a009dee0ae53b83f6336eb9823b5af47
7
+ data.tar.gz: 5dc7d8b8a69aeac5ab62a05ece2f1879bf3e343b37c13a5da8c56d5ad4e946cba38e38baa68aade722166422bc238f1b75bd287b397cec815374e01748192af9
@@ -5583,7 +5583,7 @@ static void make_layout(symtab_addctx *ctx, const upb_msgdef *m) {
5583
5583
  }
5584
5584
 
5585
5585
  /* Account for space used by hasbits. */
5586
- l->size = div_round_up(hasbit, 8);
5586
+ l->size = div_round_up(hasbit + 1, 8);
5587
5587
 
5588
5588
  /* Allocate non-oneof fields. */
5589
5589
  for (upb_msg_field_begin(&it, m); !upb_msg_field_done(&it);
Binary file
Binary file
Binary file
Binary file
data/tests/basic.rb CHANGED
@@ -71,6 +71,14 @@ module BasicTest
71
71
  TestMessage.encode(msg)
72
72
  end
73
73
 
74
+ def test_issue_9440
75
+ msg = HelloRequest.new
76
+ msg.id = 8
77
+ assert_equal 8, msg.id
78
+ msg.version = '1'
79
+ assert_equal 8, msg.id
80
+ end
81
+
74
82
  def test_has_field
75
83
  m = TestSingularFields.new
76
84
  assert !m.has_singular_msg?
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.3
4
+ version: 3.19.4
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-01-11 00:00:00.000000000 Z
11
+ date: 2022-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler-dock
@@ -107,7 +107,7 @@ homepage: https://developers.google.com/protocol-buffers
107
107
  licenses:
108
108
  - BSD-3-Clause
109
109
  metadata:
110
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.19.3/ruby
110
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.19.4/ruby
111
111
  post_install_message:
112
112
  rdoc_options: []
113
113
  require_paths: