google-protobuf 3.6.1-x64-mingw32 → 3.7.0.rc.2-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of google-protobuf might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ext/google/protobuf_c/defs.c +554 -71
- data/ext/google/protobuf_c/encode_decode.c +238 -66
- data/ext/google/protobuf_c/extconf.rb +5 -1
- data/ext/google/protobuf_c/message.c +135 -69
- data/ext/google/protobuf_c/protobuf.c +4 -0
- data/ext/google/protobuf_c/protobuf.h +62 -2
- data/ext/google/protobuf_c/storage.c +211 -104
- data/ext/google/protobuf_c/upb.c +4126 -1721
- data/ext/google/protobuf_c/upb.h +1125 -339
- data/ext/google/protobuf_c/wrap_memcpy.c +1 -1
- data/lib/google/2.3/protobuf_c.so +0 -0
- data/lib/google/2.4/protobuf_c.so +0 -0
- data/lib/google/2.5/protobuf_c.so +0 -0
- data/lib/google/2.6/protobuf_c.so +0 -0
- data/lib/google/protobuf.rb +3 -2
- data/lib/google/protobuf/any_pb.rb +5 -3
- data/lib/google/protobuf/api_pb.rb +23 -21
- data/lib/google/protobuf/duration_pb.rb +5 -3
- data/lib/google/protobuf/empty_pb.rb +3 -1
- data/lib/google/protobuf/field_mask_pb.rb +4 -2
- data/lib/google/protobuf/repeated_field.rb +1 -1
- data/lib/google/protobuf/source_context_pb.rb +4 -2
- data/lib/google/protobuf/struct_pb.rb +19 -17
- data/lib/google/protobuf/timestamp_pb.rb +5 -3
- data/lib/google/protobuf/type_pb.rb +68 -66
- data/lib/google/protobuf/well_known_types.rb +12 -0
- data/lib/google/protobuf/wrappers_pb.rb +28 -26
- data/tests/basic.rb +137 -1181
- data/tests/generated_code_test.rb +5 -3
- metadata +6 -8
- data/lib/google/2.0/protobuf_c.so +0 -0
- data/lib/google/2.1/protobuf_c.so +0 -0
- data/lib/google/2.2/protobuf_c.so +0 -0
@@ -14,8 +14,10 @@ class GeneratedCodeTest < Test::Unit::TestCase
|
|
14
14
|
# is to ensure that the output of the code generator is valid Ruby and
|
15
15
|
# successfully creates message definitions and classes, not to test every
|
16
16
|
# aspect of the extension (basic.rb is for that).
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
A::B::C::TestMessage.new
|
18
|
+
A::B::C::TestMessage::NestedMessage.new
|
19
|
+
A::B::C::TestLowercaseNested::Lowercase.new
|
20
|
+
FooBar::TestImportedMessage.new
|
21
|
+
A::B::TestRubyPackageMessage.new
|
20
22
|
end
|
21
23
|
end
|
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.
|
4
|
+
version: 3.7.0.rc.2
|
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:
|
11
|
+
date: 2019-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler-dock
|
@@ -90,12 +90,10 @@ files:
|
|
90
90
|
- ext/google/protobuf_c/upb.c
|
91
91
|
- ext/google/protobuf_c/upb.h
|
92
92
|
- ext/google/protobuf_c/wrap_memcpy.c
|
93
|
-
- lib/google/2.0/protobuf_c.so
|
94
|
-
- lib/google/2.1/protobuf_c.so
|
95
|
-
- lib/google/2.2/protobuf_c.so
|
96
93
|
- lib/google/2.3/protobuf_c.so
|
97
94
|
- lib/google/2.4/protobuf_c.so
|
98
95
|
- lib/google/2.5/protobuf_c.so
|
96
|
+
- lib/google/2.6/protobuf_c.so
|
99
97
|
- lib/google/protobuf.rb
|
100
98
|
- lib/google/protobuf/any_pb.rb
|
101
99
|
- lib/google/protobuf/api_pb.rb
|
@@ -128,12 +126,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
126
|
version: '0'
|
129
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
128
|
requirements:
|
131
|
-
- - "
|
129
|
+
- - ">"
|
132
130
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
131
|
+
version: 1.3.1
|
134
132
|
requirements: []
|
135
133
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.7.
|
134
|
+
rubygems_version: 2.7.8
|
137
135
|
signing_key:
|
138
136
|
specification_version: 4
|
139
137
|
summary: Protocol Buffers
|
Binary file
|
Binary file
|
Binary file
|