google-protobuf 3.21.12-x86-linux → 3.22.0.rc.3-x86-linux

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.

Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/ext/google/protobuf_c/convert.c +0 -0
  3. data/ext/google/protobuf_c/convert.h +0 -0
  4. data/ext/google/protobuf_c/defs.c +3 -3
  5. data/ext/google/protobuf_c/defs.h +0 -0
  6. data/ext/google/protobuf_c/extconf.rb +2 -3
  7. data/ext/google/protobuf_c/map.c +27 -42
  8. data/ext/google/protobuf_c/map.h +0 -0
  9. data/ext/google/protobuf_c/message.c +116 -99
  10. data/ext/google/protobuf_c/message.h +0 -0
  11. data/ext/google/protobuf_c/protobuf.c +0 -0
  12. data/ext/google/protobuf_c/protobuf.h +0 -0
  13. data/ext/google/protobuf_c/repeated_field.c +0 -0
  14. data/ext/google/protobuf_c/repeated_field.h +0 -0
  15. data/ext/google/protobuf_c/ruby-upb.c +10546 -9149
  16. data/ext/google/protobuf_c/ruby-upb.h +7608 -3276
  17. data/ext/google/protobuf_c/third_party/utf8_range/LICENSE +1 -0
  18. data/ext/google/protobuf_c/third_party/utf8_range/naive.c +0 -0
  19. data/ext/google/protobuf_c/third_party/utf8_range/range2-neon.c +1 -1
  20. data/ext/google/protobuf_c/third_party/utf8_range/range2-sse.c +0 -0
  21. data/ext/google/protobuf_c/third_party/utf8_range/utf8_range.h +13 -1
  22. data/ext/google/protobuf_c/wrap_memcpy.c +0 -0
  23. data/lib/google/2.6/protobuf_c.so +0 -0
  24. data/lib/google/2.7/protobuf_c.so +0 -0
  25. data/lib/google/3.0/protobuf_c.so +0 -0
  26. data/lib/google/3.1/protobuf_c.so +0 -0
  27. data/lib/google/3.2/protobuf_c.so +0 -0
  28. data/lib/google/protobuf/any_pb.rb +0 -0
  29. data/lib/google/protobuf/api_pb.rb +0 -0
  30. data/lib/google/protobuf/descriptor_dsl.rb +0 -0
  31. data/lib/google/protobuf/descriptor_pb.rb +41 -12
  32. data/lib/google/protobuf/duration_pb.rb +0 -0
  33. data/lib/google/protobuf/empty_pb.rb +0 -0
  34. data/lib/google/protobuf/field_mask_pb.rb +0 -0
  35. data/lib/google/protobuf/message_exts.rb +5 -0
  36. data/lib/google/protobuf/plugin_pb.rb +50 -0
  37. data/lib/google/protobuf/repeated_field.rb +0 -0
  38. data/lib/google/protobuf/source_context_pb.rb +0 -0
  39. data/lib/google/protobuf/struct_pb.rb +0 -0
  40. data/lib/google/protobuf/timestamp_pb.rb +0 -0
  41. data/lib/google/protobuf/type_pb.rb +0 -0
  42. data/lib/google/protobuf/wrappers_pb.rb +0 -0
  43. data/lib/google/protobuf.rb +0 -0
  44. metadata +14 -19
  45. data/lib/google/2.5/protobuf_c.so +0 -0
  46. data/tests/basic.rb +0 -739
  47. data/tests/generated_code_test.rb +0 -23
  48. data/tests/stress.rb +0 -38
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2019 Yibo Cai
4
+ Copyright 2022 Google LLC
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
File without changes
@@ -2,7 +2,7 @@
2
2
  * Process 2x16 bytes in each iteration.
3
3
  * Comments removed for brevity. See range-neon.c for details.
4
4
  */
5
- #if defined(__aarch64__) && defined(__ARM_NEON)
5
+ #ifdef __aarch64__
6
6
 
7
7
  #include <stdio.h>
8
8
  #include <stdint.h>
@@ -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
- #if ((defined(__ARM_NEON) && defined(__aarch64__)) || defined(__SSE4_1__)) && !defined(TRUFFLERUBY)
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
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 (C
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
- (:falseC
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* �����J"^
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 (:falseC
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.AnnotationO
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 (B~
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
@@ -49,5 +49,10 @@ module Google
49
49
  end
50
50
 
51
51
  end
52
+ class AbstractMessage
53
+ include MessageExts
54
+ extend MessageExts::ClassMethods
55
+ end
56
+ private_constant :AbstractMessage
52
57
  end
53
58
  end
@@ -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
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.21.12
4
+ version: 3.22.0.rc.3
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Protobuf Authors
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-14 00:00:00.000000000 Z
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,11 +85,11 @@ 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
92
91
  - lib/google/3.1/protobuf_c.so
92
+ - lib/google/3.2/protobuf_c.so
93
93
  - lib/google/protobuf.rb
94
94
  - lib/google/protobuf/any_pb.rb
95
95
  - lib/google/protobuf/api_pb.rb
@@ -99,6 +99,7 @@ files:
99
99
  - lib/google/protobuf/empty_pb.rb
100
100
  - lib/google/protobuf/field_mask_pb.rb
101
101
  - lib/google/protobuf/message_exts.rb
102
+ - lib/google/protobuf/plugin_pb.rb
102
103
  - lib/google/protobuf/repeated_field.rb
103
104
  - lib/google/protobuf/source_context_pb.rb
104
105
  - lib/google/protobuf/struct_pb.rb
@@ -106,15 +107,12 @@ files:
106
107
  - lib/google/protobuf/type_pb.rb
107
108
  - lib/google/protobuf/well_known_types.rb
108
109
  - lib/google/protobuf/wrappers_pb.rb
109
- - tests/basic.rb
110
- - tests/generated_code_test.rb
111
- - tests/stress.rb
112
110
  homepage: https://developers.google.com/protocol-buffers
113
111
  licenses:
114
112
  - BSD-3-Clause
115
113
  metadata:
116
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.12/ruby
117
- post_install_message:
114
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.22.0-rc3/ruby
115
+ post_install_message:
118
116
  rdoc_options: []
119
117
  require_paths:
120
118
  - lib
@@ -122,21 +120,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
122
120
  requirements:
123
121
  - - ">="
124
122
  - !ruby/object:Gem::Version
125
- version: '2.5'
123
+ version: '2.6'
126
124
  - - "<"
127
125
  - !ruby/object:Gem::Version
128
- version: 3.2.dev
126
+ version: 3.3.dev
129
127
  required_rubygems_version: !ruby/object:Gem::Requirement
130
128
  requirements:
131
- - - ">="
129
+ - - ">"
132
130
  - !ruby/object:Gem::Version
133
- version: '0'
131
+ version: 1.3.1
134
132
  requirements: []
135
- rubygems_version: 3.3.4
136
- signing_key:
133
+ rubygems_version: 3.3.26
134
+ signing_key:
137
135
  specification_version: 4
138
136
  summary: Protocol Buffers
139
- test_files:
140
- - tests/basic.rb
141
- - tests/stress.rb
142
- - tests/generated_code_test.rb
137
+ test_files: []
Binary file