google-protobuf 3.7.0 → 3.19.0

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.

Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/ext/google/protobuf_c/convert.c +348 -0
  3. data/ext/google/protobuf_c/convert.h +72 -0
  4. data/ext/google/protobuf_c/defs.c +611 -1584
  5. data/ext/google/protobuf_c/defs.h +107 -0
  6. data/ext/google/protobuf_c/extconf.rb +4 -7
  7. data/ext/google/protobuf_c/map.c +315 -470
  8. data/ext/google/protobuf_c/map.h +67 -0
  9. data/ext/google/protobuf_c/message.c +941 -346
  10. data/ext/google/protobuf_c/message.h +101 -0
  11. data/ext/google/protobuf_c/protobuf.c +400 -51
  12. data/ext/google/protobuf_c/protobuf.h +47 -543
  13. data/ext/google/protobuf_c/repeated_field.c +313 -308
  14. data/ext/google/protobuf_c/repeated_field.h +63 -0
  15. data/ext/google/protobuf_c/ruby-upb.c +9171 -0
  16. data/ext/google/protobuf_c/ruby-upb.h +4704 -0
  17. data/lib/google/protobuf/any_pb.rb +1 -1
  18. data/lib/google/protobuf/api_pb.rb +4 -3
  19. data/lib/google/protobuf/descriptor_dsl.rb +458 -0
  20. data/lib/google/protobuf/descriptor_pb.rb +268 -0
  21. data/lib/google/protobuf/duration_pb.rb +1 -1
  22. data/lib/google/protobuf/empty_pb.rb +1 -1
  23. data/lib/google/protobuf/field_mask_pb.rb +1 -1
  24. data/lib/google/protobuf/source_context_pb.rb +1 -1
  25. data/lib/google/protobuf/struct_pb.rb +4 -4
  26. data/lib/google/protobuf/timestamp_pb.rb +1 -1
  27. data/lib/google/protobuf/type_pb.rb +9 -8
  28. data/lib/google/protobuf/well_known_types.rb +13 -2
  29. data/lib/google/protobuf/wrappers_pb.rb +9 -9
  30. data/lib/google/protobuf.rb +2 -0
  31. data/tests/basic.rb +350 -71
  32. data/tests/generated_code_test.rb +0 -0
  33. data/tests/stress.rb +1 -1
  34. metadata +28 -30
  35. data/ext/google/protobuf_c/encode_decode.c +0 -1574
  36. data/ext/google/protobuf_c/storage.c +0 -1019
  37. data/ext/google/protobuf_c/upb.c +0 -17318
  38. data/ext/google/protobuf_c/upb.h +0 -9755
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-protobuf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Protobuf Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-01 00:00:00.000000000 Z
11
+ date: 2021-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler-dock
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.1.0
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 0.6.0
22
+ version: '2.0'
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: 0.6.0
29
+ version: 1.1.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '2.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake-compiler
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: 0.9.5
39
+ version: 1.1.0
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: 0.9.5
46
+ version: 1.1.0
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: test-unit
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -58,20 +64,6 @@ dependencies:
58
64
  - - ">="
59
65
  - !ruby/object:Gem::Version
60
66
  version: 3.0.9
61
- - !ruby/object:Gem::Dependency
62
- name: rubygems-tasks
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: 0.2.4
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: 0.2.4
75
67
  description: Protocol Buffers are Google's data interchange format.
76
68
  email: protobuf@googlegroups.com
77
69
  executables: []
@@ -79,21 +71,27 @@ extensions:
79
71
  - ext/google/protobuf_c/extconf.rb
80
72
  extra_rdoc_files: []
81
73
  files:
74
+ - ext/google/protobuf_c/convert.c
75
+ - ext/google/protobuf_c/convert.h
82
76
  - ext/google/protobuf_c/defs.c
83
- - ext/google/protobuf_c/encode_decode.c
77
+ - ext/google/protobuf_c/defs.h
84
78
  - ext/google/protobuf_c/extconf.rb
85
79
  - ext/google/protobuf_c/map.c
80
+ - ext/google/protobuf_c/map.h
86
81
  - ext/google/protobuf_c/message.c
82
+ - ext/google/protobuf_c/message.h
87
83
  - ext/google/protobuf_c/protobuf.c
88
84
  - ext/google/protobuf_c/protobuf.h
89
85
  - ext/google/protobuf_c/repeated_field.c
90
- - ext/google/protobuf_c/storage.c
91
- - ext/google/protobuf_c/upb.c
92
- - ext/google/protobuf_c/upb.h
86
+ - ext/google/protobuf_c/repeated_field.h
87
+ - ext/google/protobuf_c/ruby-upb.c
88
+ - ext/google/protobuf_c/ruby-upb.h
93
89
  - ext/google/protobuf_c/wrap_memcpy.c
94
90
  - lib/google/protobuf.rb
95
91
  - lib/google/protobuf/any_pb.rb
96
92
  - lib/google/protobuf/api_pb.rb
93
+ - lib/google/protobuf/descriptor_dsl.rb
94
+ - lib/google/protobuf/descriptor_pb.rb
97
95
  - lib/google/protobuf/duration_pb.rb
98
96
  - lib/google/protobuf/empty_pb.rb
99
97
  - lib/google/protobuf/field_mask_pb.rb
@@ -111,7 +109,8 @@ files:
111
109
  homepage: https://developers.google.com/protocol-buffers
112
110
  licenses:
113
111
  - BSD-3-Clause
114
- metadata: {}
112
+ metadata:
113
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.19.0/ruby
115
114
  post_install_message:
116
115
  rdoc_options: []
117
116
  require_paths:
@@ -120,15 +119,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
119
  requirements:
121
120
  - - ">="
122
121
  - !ruby/object:Gem::Version
123
- version: '0'
122
+ version: '2.3'
124
123
  required_rubygems_version: !ruby/object:Gem::Requirement
125
124
  requirements:
126
125
  - - ">="
127
126
  - !ruby/object:Gem::Version
128
127
  version: '0'
129
128
  requirements: []
130
- rubyforge_project:
131
- rubygems_version: 2.7.8
129
+ rubygems_version: 3.2.29
132
130
  signing_key:
133
131
  specification_version: 4
134
132
  summary: Protocol Buffers