google-protobuf 3.19.3-x64-mingw32 → 3.19.5-x64-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: 40530bbbd45fe7b4d0c312cd97e0933ab4dd6dde87d2f29d9c4a5db49c072ab6
4
- data.tar.gz: 91d1bc857dffc3c3bba3773cec72cba74face5c3cdc9768821b2dc171c1dbaa7
3
+ metadata.gz: a92d77063b16b859cba79b1336f4307df289a3f88ce4d4e2438d5830bd78be28
4
+ data.tar.gz: e344c4ee4928ca09e3e0110a64c99f7cb94fff39e4fa5d94a90344ecb81feae8
5
5
  SHA512:
6
- metadata.gz: d9d8fa406852cc3d749f747e26eee4671266f58df97808ab941e2eab15105c4f01f95ef3f12a37396f461207ea7e6d0e3961581a1816d5c339df06dd2b531d34
7
- data.tar.gz: d920f53325a369b4d4eca1967efee372b4695895576955f53f4ab7607f86d4ab89a2ed2c897f60b328f61e89ff8d577acbf97e88b44a9afc387f4be9914b9b96
6
+ metadata.gz: e1c661899afd284137d759079980277d8d006f620605b8b149f64bde13346b10cd90175f5b6c85cb28247a199c61d54debbbd3574e266442628ef6972cbdcb3a
7
+ data.tar.gz: 34f123eede78875a0fd6563116c933ee67412879439b7abae3ba101595e19c12c931a9ef4eb2f8044f327107cd0bff99c37924d2dd6c7bf21c4f41ba1f4ed726
@@ -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.5
5
5
  platform: x64-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-09-13 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.5/ruby
111
111
  post_install_message:
112
112
  rdoc_options: []
113
113
  require_paths: