upfluence-thrift 2.4.4 → 2.6.8

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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/benchmark/gen-rb/benchmark_constants.rb +1 -1
  3. data/benchmark/gen-rb/benchmark_service.rb +90 -44
  4. data/benchmark/gen-rb/benchmark_types.rb +1 -1
  5. data/lib/thrift/definition.rb +33 -8
  6. data/lib/thrift/processor.rb +96 -0
  7. data/lib/thrift/types/annotation/deprecation/deprecation_constants.rb +17 -0
  8. data/lib/thrift/types/annotation/deprecation/deprecation_types.rb +44 -0
  9. data/lib/thrift/types/annotation/naming/naming.rb +23 -0
  10. data/lib/thrift/types/annotation/naming/naming_constants.rb +17 -0
  11. data/lib/thrift/types/annotation/naming/naming_types.rb +59 -0
  12. data/lib/thrift/types/known/{any.rb → any/any.rb} +1 -1
  13. data/lib/thrift/types/known/{any_constants.rb → any/any_constants.rb} +2 -2
  14. data/lib/thrift/types/known/{any_types.rb → any/any_types.rb} +21 -3
  15. data/lib/thrift/types/known/{duration.rb → duration/duration.rb} +1 -1
  16. data/lib/thrift/types/known/{duration_constants.rb → duration/duration_constants.rb} +2 -2
  17. data/lib/thrift/types/known/{duration_types.rb → duration/duration_types.rb} +21 -3
  18. data/lib/thrift/types/known/{timestamp.rb → timestamp/timestamp.rb} +1 -1
  19. data/lib/thrift/types/known/{timestamp_constants.rb → timestamp/timestamp_constants.rb} +2 -2
  20. data/lib/thrift/types/known/{timestamp_types.rb → timestamp/timestamp_types.rb} +21 -3
  21. data/lib/thrift/types/{value.rb → value/value.rb} +1 -1
  22. data/lib/thrift/types/{value_constants.rb → value/value_constants.rb} +2 -2
  23. data/lib/thrift/types/{value_types.rb → value/value_types.rb} +135 -15
  24. data/lib/thrift.rb +5 -0
  25. data/spec/gen-rb/base/base_service.rb +90 -44
  26. data/spec/gen-rb/base/base_service_constants.rb +1 -1
  27. data/spec/gen-rb/base/base_service_types.rb +14 -2
  28. data/spec/gen-rb/extended/extended_service.rb +74 -40
  29. data/spec/gen-rb/extended/extended_service_constants.rb +1 -1
  30. data/spec/gen-rb/extended/extended_service_types.rb +1 -1
  31. data/spec/gen-rb/flat/namespaced_nonblocking_service.rb +285 -121
  32. data/spec/gen-rb/flat/referenced_constants.rb +1 -1
  33. data/spec/gen-rb/flat/referenced_types.rb +1 -1
  34. data/spec/gen-rb/flat/thrift_namespaced_spec_constants.rb +1 -1
  35. data/spec/gen-rb/flat/thrift_namespaced_spec_types.rb +14 -2
  36. data/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb +285 -121
  37. data/spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_constants.rb +1 -1
  38. data/spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb +14 -2
  39. data/spec/gen-rb/nonblocking_service.rb +285 -121
  40. data/spec/gen-rb/other_namespace/referenced_constants.rb +1 -1
  41. data/spec/gen-rb/other_namespace/referenced_types.rb +1 -1
  42. data/spec/gen-rb/thrift_spec_constants.rb +1 -1
  43. data/spec/gen-rb/thrift_spec_types.rb +531 -57
  44. data/test/debug_proto/gen-rb/debug_proto_test_constants.rb +71 -71
  45. data/test/debug_proto/gen-rb/debug_proto_test_types.rb +1180 -148
  46. data/test/debug_proto/gen-rb/empty_service.rb +12 -3
  47. data/test/debug_proto/gen-rb/inherited.rb +90 -44
  48. data/test/debug_proto/gen-rb/reverse_order_service.rb +102 -44
  49. data/test/debug_proto/gen-rb/service_for_exception_with_a_map.rb +86 -46
  50. data/test/debug_proto/gen-rb/srv.rb +339 -150
  51. metadata +45 -35
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upfluence-thrift
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.4
4
+ version: 2.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thrift Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2024-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.10.0
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 2.10.0
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: thin
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 1.5.0
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 1.5.0
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -161,18 +161,23 @@ extra_rdoc_files:
161
161
  - lib/thrift/transport/socket.rb
162
162
  - lib/thrift/transport/unix_server_socket.rb
163
163
  - lib/thrift/transport/unix_socket.rb
164
- - lib/thrift/types/known/any.rb
165
- - lib/thrift/types/known/any_constants.rb
166
- - lib/thrift/types/known/any_types.rb
167
- - lib/thrift/types/known/duration.rb
168
- - lib/thrift/types/known/duration_constants.rb
169
- - lib/thrift/types/known/duration_types.rb
170
- - lib/thrift/types/known/timestamp.rb
171
- - lib/thrift/types/known/timestamp_constants.rb
172
- - lib/thrift/types/known/timestamp_types.rb
173
- - lib/thrift/types/value.rb
174
- - lib/thrift/types/value_constants.rb
175
- - lib/thrift/types/value_types.rb
164
+ - lib/thrift/types/annotation/deprecation/deprecation_constants.rb
165
+ - lib/thrift/types/annotation/deprecation/deprecation_types.rb
166
+ - lib/thrift/types/annotation/naming/naming.rb
167
+ - lib/thrift/types/annotation/naming/naming_constants.rb
168
+ - lib/thrift/types/annotation/naming/naming_types.rb
169
+ - lib/thrift/types/known/any/any.rb
170
+ - lib/thrift/types/known/any/any_constants.rb
171
+ - lib/thrift/types/known/any/any_types.rb
172
+ - lib/thrift/types/known/duration/duration.rb
173
+ - lib/thrift/types/known/duration/duration_constants.rb
174
+ - lib/thrift/types/known/duration/duration_types.rb
175
+ - lib/thrift/types/known/timestamp/timestamp.rb
176
+ - lib/thrift/types/known/timestamp/timestamp_constants.rb
177
+ - lib/thrift/types/known/timestamp/timestamp_types.rb
178
+ - lib/thrift/types/value/value.rb
179
+ - lib/thrift/types/value/value_constants.rb
180
+ - lib/thrift/types/value/value_types.rb
176
181
  - lib/thrift/types.rb
177
182
  - lib/thrift/union.rb
178
183
  - lib/thrift.rb
@@ -247,18 +252,23 @@ files:
247
252
  - lib/thrift/transport/unix_server_socket.rb
248
253
  - lib/thrift/transport/unix_socket.rb
249
254
  - lib/thrift/types.rb
250
- - lib/thrift/types/known/any.rb
251
- - lib/thrift/types/known/any_constants.rb
252
- - lib/thrift/types/known/any_types.rb
253
- - lib/thrift/types/known/duration.rb
254
- - lib/thrift/types/known/duration_constants.rb
255
- - lib/thrift/types/known/duration_types.rb
256
- - lib/thrift/types/known/timestamp.rb
257
- - lib/thrift/types/known/timestamp_constants.rb
258
- - lib/thrift/types/known/timestamp_types.rb
259
- - lib/thrift/types/value.rb
260
- - lib/thrift/types/value_constants.rb
261
- - lib/thrift/types/value_types.rb
255
+ - lib/thrift/types/annotation/deprecation/deprecation_constants.rb
256
+ - lib/thrift/types/annotation/deprecation/deprecation_types.rb
257
+ - lib/thrift/types/annotation/naming/naming.rb
258
+ - lib/thrift/types/annotation/naming/naming_constants.rb
259
+ - lib/thrift/types/annotation/naming/naming_types.rb
260
+ - lib/thrift/types/known/any/any.rb
261
+ - lib/thrift/types/known/any/any_constants.rb
262
+ - lib/thrift/types/known/any/any_types.rb
263
+ - lib/thrift/types/known/duration/duration.rb
264
+ - lib/thrift/types/known/duration/duration_constants.rb
265
+ - lib/thrift/types/known/duration/duration_types.rb
266
+ - lib/thrift/types/known/timestamp/timestamp.rb
267
+ - lib/thrift/types/known/timestamp/timestamp_constants.rb
268
+ - lib/thrift/types/known/timestamp/timestamp_types.rb
269
+ - lib/thrift/types/value/value.rb
270
+ - lib/thrift/types/value/value_constants.rb
271
+ - lib/thrift/types/value/value_types.rb
262
272
  - lib/thrift/union.rb
263
273
  - spec/BaseService.thrift
264
274
  - spec/ExtendedService.thrift
@@ -349,7 +359,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
349
359
  - !ruby/object:Gem::Version
350
360
  version: '0'
351
361
  requirements: []
352
- rubygems_version: 3.2.32
362
+ rubygems_version: 3.5.3
353
363
  signing_key:
354
364
  specification_version: 4
355
365
  summary: Ruby bindings for Apache Thrift