google-protobuf 3.18.0-x64-mingw32 → 3.18.1-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: 873831ecf4be368fa9aae72af7803571602884e28d441bac03f1d30ffc7aa9ff
4
- data.tar.gz: a49e1f77f68877c33ac2e41dd4dc136b94d173530af02eb5f06e7dfb1ab37851
3
+ metadata.gz: ae4d4615860a6ee3d3e7cfd29e82e3ad98519bbfa31eec231bf1e358d49e448f
4
+ data.tar.gz: 7fcf106f62846d9c1d7bd6cb52bb1252c8c884339f365ec0d40d2679b94eac8c
5
5
  SHA512:
6
- metadata.gz: d1a1671aa076427a011ebff72d4e35d21cbb5c4ed81a9e36a5cf7ced83c6d5cbb4c02852627d171e5949a6c349d16ac3b288abab48d465778e849764bf3c596a
7
- data.tar.gz: acf29f7034a7b77f9be0f11788f2efd69fcb8fae28d64fce1a774be68d71739d85c51a4dce3d79e027e0966529161d9a080131d80672c109a789b5a12c27d3a5
6
+ metadata.gz: '053090269904838290da94278b8741efd469cb1e03c6df1b6585e3b59634d1153542ab0c164356afb928b935b191082fb5398408a254e1c9b0cb5029392738b2'
7
+ data.tar.gz: 83a25e3315e5be2ea8f491736f2ab78f1713e2b03613318387f5d624bfdbfc817c151c066ebeae0a46670ffa6120ef049bf742a1b0f60e237ed8accff90fb07a
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: x64-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: