google-protobuf 3.21.12-x64-mingw32 → 3.22.0.rc.3-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/convert.c +0 -0
- data/ext/google/protobuf_c/convert.h +0 -0
- data/ext/google/protobuf_c/defs.c +3 -3
- data/ext/google/protobuf_c/defs.h +0 -0
- data/ext/google/protobuf_c/extconf.rb +2 -3
- data/ext/google/protobuf_c/map.c +27 -42
- data/ext/google/protobuf_c/map.h +0 -0
- data/ext/google/protobuf_c/message.c +116 -99
- data/ext/google/protobuf_c/message.h +0 -0
- data/ext/google/protobuf_c/protobuf.c +0 -0
- data/ext/google/protobuf_c/protobuf.h +0 -0
- data/ext/google/protobuf_c/repeated_field.c +0 -0
- data/ext/google/protobuf_c/repeated_field.h +0 -0
- data/ext/google/protobuf_c/ruby-upb.c +10546 -9149
- data/ext/google/protobuf_c/ruby-upb.h +7608 -3276
- data/ext/google/protobuf_c/third_party/utf8_range/LICENSE +1 -0
- data/ext/google/protobuf_c/third_party/utf8_range/naive.c +0 -0
- data/ext/google/protobuf_c/third_party/utf8_range/range2-neon.c +1 -1
- data/ext/google/protobuf_c/third_party/utf8_range/range2-sse.c +0 -0
- data/ext/google/protobuf_c/third_party/utf8_range/utf8_range.h +13 -1
- data/ext/google/protobuf_c/wrap_memcpy.c +0 -0
- data/lib/google/2.6/protobuf_c.so +0 -0
- data/lib/google/2.7/protobuf_c.so +0 -0
- data/lib/google/3.0/protobuf_c.so +0 -0
- data/lib/google/protobuf/any_pb.rb +0 -0
- data/lib/google/protobuf/api_pb.rb +0 -0
- data/lib/google/protobuf/descriptor_dsl.rb +0 -0
- data/lib/google/protobuf/descriptor_pb.rb +41 -12
- data/lib/google/protobuf/duration_pb.rb +0 -0
- data/lib/google/protobuf/empty_pb.rb +0 -0
- data/lib/google/protobuf/field_mask_pb.rb +0 -0
- data/lib/google/protobuf/message_exts.rb +5 -0
- data/lib/google/protobuf/plugin_pb.rb +50 -0
- data/lib/google/protobuf/repeated_field.rb +0 -0
- data/lib/google/protobuf/source_context_pb.rb +0 -0
- data/lib/google/protobuf/struct_pb.rb +0 -0
- data/lib/google/protobuf/timestamp_pb.rb +0 -0
- data/lib/google/protobuf/type_pb.rb +0 -0
- data/lib/google/protobuf/wrappers_pb.rb +0 -0
- data/lib/google/protobuf.rb +0 -0
- metadata +12 -18
- data/lib/google/2.5/protobuf_c.so +0 -0
- data/tests/basic.rb +0 -739
- data/tests/generated_code_test.rb +0 -23
- data/tests/stress.rb +0 -38
File without changes
|
File without changes
|
@@ -1,5 +1,11 @@
|
|
1
|
+
#ifndef THIRD_PARTY_UTF8_RANGE_UTF8_RANGE_H_
|
2
|
+
#define THIRD_PARTY_UTF8_RANGE_UTF8_RANGE_H_
|
1
3
|
|
2
|
-
#
|
4
|
+
#ifdef __cplusplus
|
5
|
+
extern "C" {
|
6
|
+
#endif
|
7
|
+
|
8
|
+
#if (defined(__ARM_NEON) && defined(__aarch64__)) || defined(__SSE4_1__)
|
3
9
|
int utf8_range2(const unsigned char* data, int len);
|
4
10
|
#else
|
5
11
|
int utf8_naive(const unsigned char* data, int len);
|
@@ -7,3 +13,9 @@ static inline int utf8_range2(const unsigned char* data, int len) {
|
|
7
13
|
return utf8_naive(data, len);
|
8
14
|
}
|
9
15
|
#endif
|
16
|
+
|
17
|
+
#ifdef __cplusplus
|
18
|
+
} // extern "C"
|
19
|
+
#endif
|
20
|
+
|
21
|
+
#endif // THIRD_PARTY_UTF8_RANGE_UTF8_RANGE_H_
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
@@ -29,6 +29,8 @@ module Google
|
|
29
29
|
FieldOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions").msgclass
|
30
30
|
FieldOptions::CType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.CType").enummodule
|
31
31
|
FieldOptions::JSType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.JSType").enummodule
|
32
|
+
FieldOptions::OptionRetention = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.OptionRetention").enummodule
|
33
|
+
FieldOptions::OptionTargetType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.OptionTargetType").enummodule
|
32
34
|
OneofOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.OneofOptions").msgclass
|
33
35
|
EnumOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumOptions").msgclass
|
34
36
|
EnumValueOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumValueOptions").msgclass
|
@@ -41,6 +43,7 @@ module Google
|
|
41
43
|
SourceCodeInfo::Location = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.SourceCodeInfo.Location").msgclass
|
42
44
|
GeneratedCodeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.GeneratedCodeInfo").msgclass
|
43
45
|
GeneratedCodeInfo::Annotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.GeneratedCodeInfo.Annotation").msgclass
|
46
|
+
GeneratedCodeInfo::Annotation::Semantic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.GeneratedCodeInfo.Annotation.Semantic").enummodule
|
44
47
|
end
|
45
48
|
end
|
46
49
|
|
@@ -48,7 +51,7 @@ __END__
|
|
48
51
|
|
49
52
|
google/protobuf/descriptor.protogoogle.protobuf"G
|
50
53
|
FileDescriptorSet2
|
51
|
-
file (2$.google.protobuf.FileDescriptorProto"�
|
54
|
+
file (2$.google.protobuf.FileDescriptorProto"�
|
52
55
|
FileDescriptorProto
|
53
56
|
name (
|
54
57
|
package (
|
@@ -63,7 +66,8 @@ dependency (
|
|
63
66
|
extension (2%.google.protobuf.FieldDescriptorProto-
|
64
67
|
options (2.google.protobuf.FileOptions9
|
65
68
|
source_code_info (2.google.protobuf.SourceCodeInfo
|
66
|
-
syntax (
|
69
|
+
syntax (
|
70
|
+
edition
|
67
71
|
( "�
|
68
72
|
DescriptorProto
|
69
73
|
name ( 4
|
70
74
|
field (2%.google.protobuf.FieldDescriptorProto8
|
@@ -184,15 +188,16 @@ deprecated (:false
|
|
184
188
|
OptimizeMode
|
185
189
|
SPEED
|
186
190
|
CODE_SIZE
|
187
|
-
LITE_RUNTIME* �����J&'"�
|
191
|
+
LITE_RUNTIME* �����J&'"�
|
188
192
|
MessageOptions&
|
189
193
|
message_set_wire_format (:false.
|
190
194
|
no_standard_descriptor_accessor (:false
|
191
195
|
|
192
196
|
deprecated (:false
|
193
|
-
map_entry (
|
197
|
+
map_entry (2
|
198
|
+
&deprecated_legacy_json_field_conflicts (BC
|
194
199
|
uninterpreted_option� (2$.google.protobuf.UninterpretedOption* �����JJJJ J
|
195
|
-
"
|
200
|
+
"�
|
196
201
|
FieldOptions:
|
197
202
|
ctype (2#.google.protobuf.FieldOptions.CType:STRING
|
198
203
|
packed (?
|
@@ -202,7 +207,10 @@ deprecated (:false
|
|
202
207
|
|
203
208
|
deprecated (:false
|
204
209
|
weak
|
205
|
-
(:false
|
210
|
+
(:false
|
211
|
+
debug_redact (:false@
|
212
|
+
retention (2-.google.protobuf.FieldOptions.OptionRetention>
|
213
|
+
target (2..google.protobuf.FieldOptions.OptionTargetTypeC
|
206
214
|
uninterpreted_option� (2$.google.protobuf.UninterpretedOption"/
|
207
215
|
CType
|
208
216
|
|
@@ -212,13 +220,29 @@ deprecated (:false
|
|
212
220
|
JSType
|
213
221
|
JS_NORMAL
|
214
222
|
JS_STRING
|
215
|
-
JS_NUMBER
|
223
|
+
JS_NUMBER"U
|
224
|
+
OptionRetention
|
225
|
+
RETENTION_UNKNOWN
|
226
|
+
RETENTION_RUNTIME
|
227
|
+
RETENTION_SOURCE"�
|
228
|
+
OptionTargetType
|
229
|
+
TARGET_TYPE_UNKNOWN
|
230
|
+
TARGET_TYPE_FILE
|
231
|
+
TARGET_TYPE_EXTENSION_RANGE
|
232
|
+
TARGET_TYPE_MESSAGE
|
233
|
+
TARGET_TYPE_FIELD
|
234
|
+
TARGET_TYPE_ONEOF
|
235
|
+
TARGET_TYPE_ENUM
|
236
|
+
TARGET_TYPE_ENUM_ENTRY
|
237
|
+
TARGET_TYPE_SERVICE
|
238
|
+
TARGET_TYPE_METHOD * �����J"^
|
216
239
|
OneofOptionsC
|
217
|
-
uninterpreted_option� (2$.google.protobuf.UninterpretedOption* �����"�
|
240
|
+
uninterpreted_option� (2$.google.protobuf.UninterpretedOption* �����"�
|
218
241
|
EnumOptions
|
219
242
|
allow_alias (
|
220
243
|
|
221
|
-
deprecated (:false
|
244
|
+
deprecated (:false2
|
245
|
+
&deprecated_legacy_json_field_conflicts (BC
|
222
246
|
uninterpreted_option� (2$.google.protobuf.UninterpretedOption* �����J"}
|
223
247
|
EnumValueOptions
|
224
248
|
|
@@ -256,14 +280,19 @@ IDEMPOTENT*
|
|
256
280
|
span (B
|
257
281
|
leading_comments (
|
258
282
|
trailing_comments ( !
|
259
|
-
leading_detached_comments ( "
|
283
|
+
leading_detached_comments ( "�
|
260
284
|
GeneratedCodeInfoA
|
261
285
|
|
262
|
-
annotation (2-.google.protobuf.GeneratedCodeInfo.Annotation
|
286
|
+
annotation (2-.google.protobuf.GeneratedCodeInfo.Annotation�
|
263
287
|
|
264
288
|
Annotation
|
265
289
|
path (B
|
266
290
|
source_file (
|
267
291
|
begin (
|
268
|
-
end (
|
292
|
+
end (H
|
293
|
+
semantic (26.google.protobuf.GeneratedCodeInfo.Annotation.Semantic"(
|
294
|
+
Semantic
|
295
|
+
NONE
|
296
|
+
SET
|
297
|
+
ALIASB~
|
269
298
|
com.google.protobufBDescriptorProtosHZ-google.golang.org/protobuf/types/descriptorpb��GPB�Google.Protobuf.Reflection
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/protobuf/compiler/plugin.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/descriptor_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("google/protobuf/compiler/plugin.proto", :syntax => :proto2) do
|
10
|
+
add_message "google.protobuf.compiler.Version" do
|
11
|
+
optional :major, :int32, 1
|
12
|
+
optional :minor, :int32, 2
|
13
|
+
optional :patch, :int32, 3
|
14
|
+
optional :suffix, :string, 4
|
15
|
+
end
|
16
|
+
add_message "google.protobuf.compiler.CodeGeneratorRequest" do
|
17
|
+
repeated :file_to_generate, :string, 1
|
18
|
+
optional :parameter, :string, 2
|
19
|
+
repeated :proto_file, :message, 15, "google.protobuf.FileDescriptorProto"
|
20
|
+
optional :compiler_version, :message, 3, "google.protobuf.compiler.Version"
|
21
|
+
end
|
22
|
+
add_message "google.protobuf.compiler.CodeGeneratorResponse" do
|
23
|
+
optional :error, :string, 1
|
24
|
+
optional :supported_features, :uint64, 2
|
25
|
+
repeated :file, :message, 15, "google.protobuf.compiler.CodeGeneratorResponse.File"
|
26
|
+
end
|
27
|
+
add_message "google.protobuf.compiler.CodeGeneratorResponse.File" do
|
28
|
+
optional :name, :string, 1
|
29
|
+
optional :insertion_point, :string, 2
|
30
|
+
optional :content, :string, 15
|
31
|
+
optional :generated_code_info, :message, 16, "google.protobuf.GeneratedCodeInfo"
|
32
|
+
end
|
33
|
+
add_enum "google.protobuf.compiler.CodeGeneratorResponse.Feature" do
|
34
|
+
value :FEATURE_NONE, 0
|
35
|
+
value :FEATURE_PROTO3_OPTIONAL, 1
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
module Google
|
41
|
+
module Protobuf
|
42
|
+
module Compiler
|
43
|
+
Version = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.compiler.Version").msgclass
|
44
|
+
CodeGeneratorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.compiler.CodeGeneratorRequest").msgclass
|
45
|
+
CodeGeneratorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.compiler.CodeGeneratorResponse").msgclass
|
46
|
+
CodeGeneratorResponse::File = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.compiler.CodeGeneratorResponse.File").msgclass
|
47
|
+
CodeGeneratorResponse::Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.compiler.CodeGeneratorResponse.Feature").enummodule
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/google/protobuf.rb
CHANGED
File without changes
|
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.22.0.rc.3
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Protobuf Authors
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler-dock
|
@@ -85,7 +85,6 @@ files:
|
|
85
85
|
- ext/google/protobuf_c/third_party/utf8_range/range2-sse.c
|
86
86
|
- ext/google/protobuf_c/third_party/utf8_range/utf8_range.h
|
87
87
|
- ext/google/protobuf_c/wrap_memcpy.c
|
88
|
-
- lib/google/2.5/protobuf_c.so
|
89
88
|
- lib/google/2.6/protobuf_c.so
|
90
89
|
- lib/google/2.7/protobuf_c.so
|
91
90
|
- lib/google/3.0/protobuf_c.so
|
@@ -98,6 +97,7 @@ files:
|
|
98
97
|
- lib/google/protobuf/empty_pb.rb
|
99
98
|
- lib/google/protobuf/field_mask_pb.rb
|
100
99
|
- lib/google/protobuf/message_exts.rb
|
100
|
+
- lib/google/protobuf/plugin_pb.rb
|
101
101
|
- lib/google/protobuf/repeated_field.rb
|
102
102
|
- lib/google/protobuf/source_context_pb.rb
|
103
103
|
- lib/google/protobuf/struct_pb.rb
|
@@ -105,15 +105,12 @@ files:
|
|
105
105
|
- lib/google/protobuf/type_pb.rb
|
106
106
|
- lib/google/protobuf/well_known_types.rb
|
107
107
|
- lib/google/protobuf/wrappers_pb.rb
|
108
|
-
- tests/basic.rb
|
109
|
-
- tests/generated_code_test.rb
|
110
|
-
- tests/stress.rb
|
111
108
|
homepage: https://developers.google.com/protocol-buffers
|
112
109
|
licenses:
|
113
110
|
- BSD-3-Clause
|
114
111
|
metadata:
|
115
|
-
source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.
|
116
|
-
post_install_message:
|
112
|
+
source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.22.0-rc3/ruby
|
113
|
+
post_install_message:
|
117
114
|
rdoc_options: []
|
118
115
|
require_paths:
|
119
116
|
- lib
|
@@ -121,21 +118,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
118
|
requirements:
|
122
119
|
- - ">="
|
123
120
|
- !ruby/object:Gem::Version
|
124
|
-
version: '2.
|
121
|
+
version: '2.6'
|
125
122
|
- - "<"
|
126
123
|
- !ruby/object:Gem::Version
|
127
124
|
version: 3.1.dev
|
128
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
126
|
requirements:
|
130
|
-
- - "
|
127
|
+
- - ">"
|
131
128
|
- !ruby/object:Gem::Version
|
132
|
-
version:
|
129
|
+
version: 1.3.1
|
133
130
|
requirements: []
|
134
|
-
rubygems_version: 3.3.
|
135
|
-
signing_key:
|
131
|
+
rubygems_version: 3.3.26
|
132
|
+
signing_key:
|
136
133
|
specification_version: 4
|
137
134
|
summary: Protocol Buffers
|
138
|
-
test_files:
|
139
|
-
- tests/basic.rb
|
140
|
-
- tests/stress.rb
|
141
|
-
- tests/generated_code_test.rb
|
135
|
+
test_files: []
|
Binary file
|