google-protobuf 3.19.3-x86_64-linux → 3.19.4-x86_64-linux

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: fe68573bf1da527b42ced97e29f813ae6323e023523f59116401ee756cda77d9
4
- data.tar.gz: e43acf47b810c0648574080d6a0d2e850733280275df3a1f233444c71f1c0c83
3
+ metadata.gz: 4aee59bb117e317ed4ee36be86854fd1a4c3070af4066791bcc4630b3acfb287
4
+ data.tar.gz: 2a61481804d161b84c8bf0e8df6eb1f76081b54b658f15b78d689d09a5ce92a2
5
5
  SHA512:
6
- metadata.gz: 304df98f707da961c4a0697381433514160d567507409b579d0b6d082f0a3773d510e7e023615e39db0e83d6dd31cbb129e7863452a7d7919f2898f12eac7bbc
7
- data.tar.gz: 91f81fac5c03b8e21671ed17bed91f4797b0f635898ef27033a35d58165ac2bd1242b963162240595e0f48d9247d8176a7ac81a3bbd9a073ae4e41f439803eec
6
+ metadata.gz: 6fa99359b6e2dccc7ced61c00555750c71c7157e110e9704240eeec36681522757595a84f477f196ab4851127da8bcaa4b3dd793c9eb3bec46c3c5de0d233731
7
+ data.tar.gz: 17512a7c68260a8cc993464cfb3aabd18c931510eb24269867d18d4141294c3bac6642e54562a4accbf2ddc57a15d53ed76c86778ee99719e71a2326bcc6c24a
@@ -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_64-linux
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: