google-protobuf 3.18.0-universal-darwin → 3.18.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: 2d8197f351f070c8656cd578b92c40eed4d7391c759eee67da9f603f5e36922a
4
- data.tar.gz: 1fd5445288ee800fc425a7273a0a42d15345ae30782c0f5ca26e96a5bb310174
3
+ metadata.gz: ebfab344205c155665d81025584d75482ac968ff0d037df60687ba78b3ae6511
4
+ data.tar.gz: 4a4d4baf60defdd98dd206511eb337440073b3af82127638f60340f766915e3c
5
5
  SHA512:
6
- metadata.gz: 3a3568c4e4a8fd3c2b565ea6eaa52cce807efa843987a370d06182f6229c4538eb4d45820ed35674e5fe6d3bee0225d8e4c57b34311e3566587555f836fda8c8
7
- data.tar.gz: 47239e5c24e0f60120f046c3d273303af1fae1e9d937fecef06a90d5243e6d6b83a9c3ab0c995bc08077196fff36a0132a3059589c97e2d3f73aaac36d3160b9
6
+ metadata.gz: c16e1ea1ff8c84b3346c19192ae53b4ec6597bb8092e638a5de6befb8870fc30a5fcd9c0d55e13bfdd493fa44370d7dc222fe9c5bbb33a213f9c42cd3d847e23
7
+ data.tar.gz: 03a513ec37f8c03937be81e3f590715dd21bd386a055159756fa2e13a1fa6aabb73a32d11dcde72e60e790fede8d97200da5ae49be9471384fefc31d26babd9f
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/tests/basic.rb CHANGED
@@ -168,6 +168,17 @@ module BasicTest
168
168
  assert_equal nil, m.singular_msg
169
169
  end
170
170
 
171
+ def test_import_proto2
172
+ m = TestMessage.new
173
+ assert !m.has_optional_proto2_submessage?
174
+ m.optional_proto2_submessage = ::FooBar::Proto2::TestImportedMessage.new
175
+ assert m.has_optional_proto2_submessage?
176
+ assert TestMessage.descriptor.lookup('optional_proto2_submessage').has?(m)
177
+
178
+ m.clear_optional_proto2_submessage
179
+ assert !m.has_optional_proto2_submessage?
180
+ end
181
+
171
182
  def test_clear_repeated_fields
172
183
  m = TestMessage.new
173
184
 
@@ -487,6 +498,7 @@ module BasicTest
487
498
  :optional_int64=>0,
488
499
  :optional_msg=>nil,
489
500
  :optional_msg2=>nil,
501
+ :optional_proto2_submessage=>nil,
490
502
  :optional_string=>"foo",
491
503
  :optional_uint32=>0,
492
504
  :optional_uint64=>0,
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.18.0
4
+ version: 3.18.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-09-15 00:00:00.000000000 Z
11
+ date: 2021-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler-dock
@@ -129,7 +129,7 @@ homepage: https://developers.google.com/protocol-buffers
129
129
  licenses:
130
130
  - BSD-3-Clause
131
131
  metadata:
132
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.18.0/ruby
132
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.18.1/ruby
133
133
  post_install_message:
134
134
  rdoc_options: []
135
135
  require_paths:
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  requirements: []
151
- rubygems_version: 3.2.27
151
+ rubygems_version: 3.2.28
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: Protocol Buffers