google-protobuf 3.18.0-x86-mingw32 → 3.18.1-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: 83f77bca390fa407ab153ea64ed83d35a82dac2602037a9f0fa06ac34dbc1106
4
- data.tar.gz: 671a5183a5aecdb257d1050ea0dedc68804b045071d894d2f2908909e7a0d3ea
3
+ metadata.gz: 12decc51f51b49a2f9b6546f8988e2c2c69ee6a740a153a91f22dad033ecf2cc
4
+ data.tar.gz: 34fcb283acf2258b35e54edb1d4d721ce2d2bd1def0b7a2e5d9673d761bd79f4
5
5
  SHA512:
6
- metadata.gz: f5c7c2067ee8f2ef70562344db05bcbaba609f7ffeae8c39d6940357bd1e7dbac13292bfe2dbc73ed6bdd169dec0bb86aff7f0cb5f53332114802402bf1ae4ff
7
- data.tar.gz: 17efe4af6de697b2b2e303ace8dbb33489ef7d14328d0ee8f8919d98c7bcff8766e198218ccb70b4d60a738f15762e20e9a57702dc825f5b9dfa3bdcbace7dc0
6
+ metadata.gz: d1211b562ef5e70a0f4efaaf02d535f0276d865c357fe511bc806ab9940e9c0216ca0271d0d33fce2c55249dfa2fa7dad24c99f6673a2f0e1446bb75686e7911
7
+ data.tar.gz: 5f5556772a5cd43605050b1ef2215cd1384228eb6c17b1d0358add43abbc025388ec77168930e4287031181a543562c2ff314a4031346a097d3aeeeca03c4738
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: x86-mingw32
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: