google-protobuf 3.14.0 → 4.31.1
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.
- checksums.yaml +4 -4
- data/ext/google/protobuf_c/Rakefile +3 -0
- data/ext/google/protobuf_c/convert.c +335 -0
- data/ext/google/protobuf_c/convert.h +50 -0
- data/ext/google/protobuf_c/defs.c +1174 -1608
- data/ext/google/protobuf_c/defs.h +82 -0
- data/ext/google/protobuf_c/extconf.rb +31 -8
- data/ext/google/protobuf_c/glue.c +135 -0
- data/ext/google/protobuf_c/map.c +380 -485
- data/ext/google/protobuf_c/map.h +48 -0
- data/ext/google/protobuf_c/message.c +1098 -531
- data/ext/google/protobuf_c/message.h +82 -0
- data/ext/google/protobuf_c/protobuf.c +313 -92
- data/ext/google/protobuf_c/protobuf.h +59 -624
- data/ext/google/protobuf_c/repeated_field.c +358 -353
- data/ext/google/protobuf_c/repeated_field.h +45 -0
- data/ext/google/protobuf_c/ruby-upb.c +18305 -0
- data/ext/google/protobuf_c/ruby-upb.h +16315 -0
- data/ext/google/protobuf_c/shared_convert.c +69 -0
- data/ext/google/protobuf_c/shared_convert.h +26 -0
- data/ext/google/protobuf_c/shared_message.c +37 -0
- data/ext/google/protobuf_c/shared_message.h +21 -0
- data/ext/google/protobuf_c/third_party/utf8_range/LICENSE +22 -0
- data/ext/google/protobuf_c/third_party/utf8_range/utf8_range.c +207 -0
- data/ext/google/protobuf_c/third_party/utf8_range/utf8_range.h +22 -0
- data/ext/google/protobuf_c/third_party/utf8_range/utf8_range_neon.inc +117 -0
- data/ext/google/protobuf_c/third_party/utf8_range/utf8_range_sse.inc +272 -0
- data/ext/google/protobuf_c/wrap_memcpy.c +7 -29
- data/lib/google/protobuf/any_pb.rb +6 -8
- data/lib/google/protobuf/api_pb.rb +7 -26
- data/lib/google/protobuf/descriptor_pb.rb +70 -0
- data/lib/google/protobuf/duration_pb.rb +6 -8
- data/lib/google/protobuf/empty_pb.rb +6 -6
- data/lib/google/protobuf/ffi/descriptor.rb +175 -0
- data/lib/google/protobuf/ffi/descriptor_pool.rb +79 -0
- data/lib/google/protobuf/ffi/enum_descriptor.rb +183 -0
- data/lib/google/protobuf/ffi/ffi.rb +214 -0
- data/lib/google/protobuf/ffi/field_descriptor.rb +346 -0
- data/lib/google/protobuf/ffi/file_descriptor.rb +85 -0
- data/lib/google/protobuf/ffi/internal/arena.rb +60 -0
- data/lib/google/protobuf/ffi/internal/convert.rb +292 -0
- data/lib/google/protobuf/ffi/internal/pointer_helper.rb +36 -0
- data/lib/google/protobuf/ffi/internal/type_safety.rb +25 -0
- data/lib/google/protobuf/ffi/map.rb +433 -0
- data/lib/google/protobuf/ffi/message.rb +783 -0
- data/lib/google/protobuf/ffi/method_descriptor.rb +124 -0
- data/lib/google/protobuf/ffi/object_cache.rb +30 -0
- data/lib/google/protobuf/ffi/oneof_descriptor.rb +107 -0
- data/lib/google/protobuf/ffi/repeated_field.rb +411 -0
- data/lib/google/protobuf/ffi/service_descriptor.rb +117 -0
- data/lib/google/protobuf/field_mask_pb.rb +6 -7
- data/lib/google/protobuf/internal/object_cache.rb +99 -0
- data/lib/google/protobuf/message_exts.rb +14 -28
- data/lib/google/protobuf/plugin_pb.rb +25 -0
- data/lib/google/protobuf/repeated_field.rb +22 -33
- data/lib/google/protobuf/source_context_pb.rb +6 -7
- data/lib/google/protobuf/struct_pb.rb +6 -23
- data/lib/google/protobuf/timestamp_pb.rb +6 -8
- data/lib/google/protobuf/type_pb.rb +7 -71
- data/lib/google/protobuf/well_known_types.rb +17 -36
- data/lib/google/protobuf/wrappers_pb.rb +6 -31
- data/lib/google/protobuf.rb +32 -118
- data/lib/google/protobuf_ffi.rb +52 -0
- data/lib/google/protobuf_native.rb +19 -0
- data/lib/google/tasks/ffi.rake +100 -0
- metadata +107 -38
- data/ext/google/protobuf_c/encode_decode.c +0 -1795
- data/ext/google/protobuf_c/storage.c +0 -1198
- data/ext/google/protobuf_c/upb.c +0 -13817
- data/ext/google/protobuf_c/upb.h +0 -6777
- data/tests/basic.rb +0 -543
- data/tests/generated_code_test.rb +0 -23
- data/tests/stress.rb +0 -38
metadata
CHANGED
@@ -1,109 +1,181 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.31.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Protobuf Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: bigdecimal
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '2.0'
|
23
|
-
type: :development
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
31
32
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
33
|
+
version: '13'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '13'
|
33
41
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
42
|
+
name: ffi
|
35
43
|
requirement: !ruby/object:Gem::Requirement
|
36
44
|
requirements:
|
37
45
|
- - "~>"
|
38
46
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1
|
47
|
+
version: '1'
|
40
48
|
type: :development
|
41
49
|
prerelease: false
|
42
50
|
version_requirements: !ruby/object:Gem::Requirement
|
43
51
|
requirements:
|
44
52
|
- - "~>"
|
45
53
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1
|
54
|
+
version: '1'
|
47
55
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
56
|
+
name: ffi-compiler
|
49
57
|
requirement: !ruby/object:Gem::Requirement
|
50
58
|
requirements:
|
51
59
|
- - "~>"
|
52
60
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
54
|
-
|
61
|
+
version: '1'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
55
67
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
68
|
+
version: '1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake-compiler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.2'
|
57
76
|
type: :development
|
58
77
|
prerelease: false
|
59
78
|
version_requirements: !ruby/object:Gem::Requirement
|
60
79
|
requirements:
|
61
80
|
- - "~>"
|
62
81
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
64
|
-
|
82
|
+
version: '1.2'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake-compiler-dock
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
65
88
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
89
|
+
version: '1.9'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.9'
|
67
97
|
- !ruby/object:Gem::Dependency
|
68
|
-
name:
|
98
|
+
name: test-unit
|
69
99
|
requirement: !ruby/object:Gem::Requirement
|
70
100
|
requirements:
|
71
101
|
- - "~>"
|
72
102
|
- !ruby/object:Gem::Version
|
73
|
-
version: 0
|
103
|
+
version: '3.0'
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 3.0.9
|
74
107
|
type: :development
|
75
108
|
prerelease: false
|
76
109
|
version_requirements: !ruby/object:Gem::Requirement
|
77
110
|
requirements:
|
78
111
|
- - "~>"
|
79
112
|
- !ruby/object:Gem::Version
|
80
|
-
version: 0
|
113
|
+
version: '3.0'
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 3.0.9
|
81
117
|
description: Protocol Buffers are Google's data interchange format.
|
82
118
|
email: protobuf@googlegroups.com
|
83
119
|
executables: []
|
84
120
|
extensions:
|
85
121
|
- ext/google/protobuf_c/extconf.rb
|
122
|
+
- ext/google/protobuf_c/Rakefile
|
86
123
|
extra_rdoc_files: []
|
87
124
|
files:
|
125
|
+
- ext/google/protobuf_c/Rakefile
|
126
|
+
- ext/google/protobuf_c/convert.c
|
127
|
+
- ext/google/protobuf_c/convert.h
|
88
128
|
- ext/google/protobuf_c/defs.c
|
89
|
-
- ext/google/protobuf_c/
|
129
|
+
- ext/google/protobuf_c/defs.h
|
90
130
|
- ext/google/protobuf_c/extconf.rb
|
131
|
+
- ext/google/protobuf_c/glue.c
|
91
132
|
- ext/google/protobuf_c/map.c
|
133
|
+
- ext/google/protobuf_c/map.h
|
92
134
|
- ext/google/protobuf_c/message.c
|
135
|
+
- ext/google/protobuf_c/message.h
|
93
136
|
- ext/google/protobuf_c/protobuf.c
|
94
137
|
- ext/google/protobuf_c/protobuf.h
|
95
138
|
- ext/google/protobuf_c/repeated_field.c
|
96
|
-
- ext/google/protobuf_c/
|
97
|
-
- ext/google/protobuf_c/upb.c
|
98
|
-
- ext/google/protobuf_c/upb.h
|
139
|
+
- ext/google/protobuf_c/repeated_field.h
|
140
|
+
- ext/google/protobuf_c/ruby-upb.c
|
141
|
+
- ext/google/protobuf_c/ruby-upb.h
|
142
|
+
- ext/google/protobuf_c/shared_convert.c
|
143
|
+
- ext/google/protobuf_c/shared_convert.h
|
144
|
+
- ext/google/protobuf_c/shared_message.c
|
145
|
+
- ext/google/protobuf_c/shared_message.h
|
146
|
+
- ext/google/protobuf_c/third_party/utf8_range/LICENSE
|
147
|
+
- ext/google/protobuf_c/third_party/utf8_range/utf8_range.c
|
148
|
+
- ext/google/protobuf_c/third_party/utf8_range/utf8_range.h
|
149
|
+
- ext/google/protobuf_c/third_party/utf8_range/utf8_range_neon.inc
|
150
|
+
- ext/google/protobuf_c/third_party/utf8_range/utf8_range_sse.inc
|
99
151
|
- ext/google/protobuf_c/wrap_memcpy.c
|
100
152
|
- lib/google/protobuf.rb
|
101
153
|
- lib/google/protobuf/any_pb.rb
|
102
154
|
- lib/google/protobuf/api_pb.rb
|
155
|
+
- lib/google/protobuf/descriptor_pb.rb
|
103
156
|
- lib/google/protobuf/duration_pb.rb
|
104
157
|
- lib/google/protobuf/empty_pb.rb
|
158
|
+
- lib/google/protobuf/ffi/descriptor.rb
|
159
|
+
- lib/google/protobuf/ffi/descriptor_pool.rb
|
160
|
+
- lib/google/protobuf/ffi/enum_descriptor.rb
|
161
|
+
- lib/google/protobuf/ffi/ffi.rb
|
162
|
+
- lib/google/protobuf/ffi/field_descriptor.rb
|
163
|
+
- lib/google/protobuf/ffi/file_descriptor.rb
|
164
|
+
- lib/google/protobuf/ffi/internal/arena.rb
|
165
|
+
- lib/google/protobuf/ffi/internal/convert.rb
|
166
|
+
- lib/google/protobuf/ffi/internal/pointer_helper.rb
|
167
|
+
- lib/google/protobuf/ffi/internal/type_safety.rb
|
168
|
+
- lib/google/protobuf/ffi/map.rb
|
169
|
+
- lib/google/protobuf/ffi/message.rb
|
170
|
+
- lib/google/protobuf/ffi/method_descriptor.rb
|
171
|
+
- lib/google/protobuf/ffi/object_cache.rb
|
172
|
+
- lib/google/protobuf/ffi/oneof_descriptor.rb
|
173
|
+
- lib/google/protobuf/ffi/repeated_field.rb
|
174
|
+
- lib/google/protobuf/ffi/service_descriptor.rb
|
105
175
|
- lib/google/protobuf/field_mask_pb.rb
|
176
|
+
- lib/google/protobuf/internal/object_cache.rb
|
106
177
|
- lib/google/protobuf/message_exts.rb
|
178
|
+
- lib/google/protobuf/plugin_pb.rb
|
107
179
|
- lib/google/protobuf/repeated_field.rb
|
108
180
|
- lib/google/protobuf/source_context_pb.rb
|
109
181
|
- lib/google/protobuf/struct_pb.rb
|
@@ -111,14 +183,14 @@ files:
|
|
111
183
|
- lib/google/protobuf/type_pb.rb
|
112
184
|
- lib/google/protobuf/well_known_types.rb
|
113
185
|
- lib/google/protobuf/wrappers_pb.rb
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
186
|
+
- lib/google/protobuf_ffi.rb
|
187
|
+
- lib/google/protobuf_native.rb
|
188
|
+
- lib/google/tasks/ffi.rake
|
117
189
|
homepage: https://developers.google.com/protocol-buffers
|
118
190
|
licenses:
|
119
191
|
- BSD-3-Clause
|
120
192
|
metadata:
|
121
|
-
source_code_uri: https://github.com/protocolbuffers/protobuf/tree/
|
193
|
+
source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v4.31.1/ruby
|
122
194
|
post_install_message:
|
123
195
|
rdoc_options: []
|
124
196
|
require_paths:
|
@@ -127,18 +199,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
127
199
|
requirements:
|
128
200
|
- - ">="
|
129
201
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
202
|
+
version: '3.1'
|
131
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
204
|
requirements:
|
133
205
|
- - ">="
|
134
206
|
- !ruby/object:Gem::Version
|
135
207
|
version: '0'
|
136
208
|
requirements: []
|
137
|
-
rubygems_version: 3.
|
209
|
+
rubygems_version: 3.5.16
|
138
210
|
signing_key:
|
139
211
|
specification_version: 4
|
140
212
|
summary: Protocol Buffers
|
141
|
-
test_files:
|
142
|
-
- tests/basic.rb
|
143
|
-
- tests/stress.rb
|
144
|
-
- tests/generated_code_test.rb
|
213
|
+
test_files: []
|