upfluence-thrift 2.3.0 → 2.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/benchmark/gen-rb/benchmark_constants.rb +11 -0
  3. data/benchmark/gen-rb/benchmark_service.rb +106 -0
  4. data/benchmark/gen-rb/benchmark_types.rb +10 -0
  5. data/ext/extconf.rb +1 -4
  6. data/lib/thrift/protocol/json_protocol.rb +65 -1
  7. data/spec/gen-rb/base/base_service.rb +106 -0
  8. data/spec/gen-rb/base/base_service_constants.rb +11 -0
  9. data/spec/gen-rb/base/base_service_types.rb +33 -0
  10. data/spec/gen-rb/extended/extended_service.rb +103 -0
  11. data/spec/gen-rb/extended/extended_service_constants.rb +11 -0
  12. data/spec/gen-rb/extended/extended_service_types.rb +12 -0
  13. data/spec/gen-rb/flat/namespaced_nonblocking_service.rb +343 -0
  14. data/spec/gen-rb/flat/referenced_constants.rb +11 -0
  15. data/spec/gen-rb/flat/referenced_types.rb +17 -0
  16. data/spec/gen-rb/flat/thrift_namespaced_spec_constants.rb +11 -0
  17. data/spec/gen-rb/flat/thrift_namespaced_spec_types.rb +35 -0
  18. data/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb +343 -0
  19. data/spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_constants.rb +11 -0
  20. data/spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb +35 -0
  21. data/spec/gen-rb/nonblocking_service.rb +343 -0
  22. data/spec/gen-rb/other_namespace/referenced_constants.rb +11 -0
  23. data/spec/gen-rb/other_namespace/referenced_types.rb +17 -0
  24. data/spec/gen-rb/thrift_spec_constants.rb +11 -0
  25. data/spec/gen-rb/thrift_spec_types.rb +699 -0
  26. data/spec/json_protocol_spec.rb +17 -0
  27. data/test/debug_proto/gen-rb/debug_proto_test_constants.rb +274 -0
  28. data/test/debug_proto/gen-rb/debug_proto_test_types.rb +936 -0
  29. data/test/debug_proto/gen-rb/empty_service.rb +39 -0
  30. data/test/debug_proto/gen-rb/inherited.rb +105 -0
  31. data/test/debug_proto/gen-rb/reverse_order_service.rb +107 -0
  32. data/test/debug_proto/gen-rb/service_for_exception_with_a_map.rb +106 -0
  33. data/test/debug_proto/gen-rb/srv.rb +410 -0
  34. metadata +150 -92
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upfluence-thrift
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thrift Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-08 00:00:00.000000000 Z
11
+ date: 2023-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -102,85 +102,88 @@ extensions:
102
102
  - ext/extconf.rb
103
103
  extra_rdoc_files:
104
104
  - README.md
105
- - ext/strlcpy.c
106
- - ext/bytes.c
107
105
  - ext/binary_protocol_accelerated.c
106
+ - ext/bytes.c
108
107
  - ext/compact_protocol.c
109
108
  - ext/memory_buffer.c
110
109
  - ext/protocol.c
111
- - ext/thrift_native.c
110
+ - ext/strlcpy.c
112
111
  - ext/struct.c
113
- - ext/protocol.h
114
- - ext/struct.h
115
- - ext/constants.h
116
- - ext/macros.h
112
+ - ext/thrift_native.c
113
+ - ext/binary_protocol_accelerated.h
117
114
  - ext/bytes.h
118
- - ext/strlcpy.h
119
115
  - ext/compact_protocol.h
120
- - ext/binary_protocol_accelerated.h
116
+ - ext/constants.h
117
+ - ext/macros.h
121
118
  - ext/memory_buffer.h
119
+ - ext/protocol.h
120
+ - ext/strlcpy.h
121
+ - ext/struct.h
122
122
  - ext/extconf.rb
123
- - lib/thrift.rb
124
- - lib/thrift/core_ext.rb
125
- - lib/thrift/struct_union.rb
126
- - lib/thrift/struct.rb
127
- - lib/thrift/middleware.rb
128
- - lib/thrift/union.rb
129
- - lib/thrift/serializer/serializer.rb
130
- - lib/thrift/serializer/deserializer.rb
131
- - lib/thrift/types/value.rb
132
- - lib/thrift/types/value_constants.rb
133
- - lib/thrift/types/value_types.rb
134
- - lib/thrift/types/known/any_types.rb
135
- - lib/thrift/types/known/any.rb
136
- - lib/thrift/types/known/timestamp.rb
137
- - lib/thrift/types/known/timestamp_types.rb
138
- - lib/thrift/types/known/any_constants.rb
139
- - lib/thrift/types/known/timestamp_constants.rb
140
- - lib/thrift/types/known/duration.rb
141
- - lib/thrift/types/known/duration_types.rb
142
- - lib/thrift/types/known/duration_constants.rb
143
- - lib/thrift/transport/base_server_transport.rb
144
- - lib/thrift/transport/framed_transport.rb
145
- - lib/thrift/transport/socket.rb
146
- - lib/thrift/transport/base_transport.rb
147
- - lib/thrift/transport/server_socket.rb
148
- - lib/thrift/transport/unix_socket.rb
149
- - lib/thrift/transport/memory_buffer_transport.rb
150
- - lib/thrift/transport/io_stream_transport.rb
151
- - lib/thrift/transport/buffered_transport.rb
152
- - lib/thrift/transport/unix_server_socket.rb
153
- - lib/thrift/transport/http_client_transport.rb
154
123
  - lib/thrift/bytes.rb
124
+ - lib/thrift/client.rb
155
125
  - lib/thrift/core_ext/fixnum.rb
126
+ - lib/thrift/core_ext.rb
156
127
  - lib/thrift/definition.rb
157
- - lib/thrift/multiplexed_processor.rb
158
- - lib/thrift/thrift_native.rb
159
128
  - lib/thrift/exceptions.rb
160
- - lib/thrift/server/threaded_server.rb
161
- - lib/thrift/server/rack_application.rb
162
- - lib/thrift/server/mongrel_http_server.rb
163
- - lib/thrift/server/thread_pool_server.rb
164
- - lib/thrift/server/simple_server.rb
165
- - lib/thrift/server/nonblocking_server.rb
166
- - lib/thrift/server/thin_http_server.rb
167
- - lib/thrift/server/base_server.rb
168
- - lib/thrift/protocol/binary_protocol_accelerated.rb
129
+ - lib/thrift/metrics.rb
130
+ - lib/thrift/middleware.rb
131
+ - lib/thrift/multiplexed_processor.rb
132
+ - lib/thrift/processor.rb
169
133
  - lib/thrift/protocol/base_protocol.rb
170
- - lib/thrift/protocol/protocol_decorator.rb
171
- - lib/thrift/protocol/json_protocol.rb
172
- - lib/thrift/protocol/multiplexed_protocol.rb
173
134
  - lib/thrift/protocol/binary_protocol.rb
135
+ - lib/thrift/protocol/binary_protocol_accelerated.rb
174
136
  - lib/thrift/protocol/compact_protocol.rb
175
- - lib/thrift/processor.rb
137
+ - lib/thrift/protocol/json_protocol.rb
138
+ - lib/thrift/protocol/multiplexed_protocol.rb
139
+ - lib/thrift/protocol/protocol_decorator.rb
140
+ - lib/thrift/serializer/deserializer.rb
141
+ - lib/thrift/serializer/serializer.rb
142
+ - lib/thrift/server/base_server.rb
143
+ - lib/thrift/server/mongrel_http_server.rb
144
+ - lib/thrift/server/nonblocking_server.rb
145
+ - lib/thrift/server/rack_application.rb
146
+ - lib/thrift/server/simple_server.rb
147
+ - lib/thrift/server/thin_http_server.rb
148
+ - lib/thrift/server/thread_pool_server.rb
149
+ - lib/thrift/server/threaded_server.rb
150
+ - lib/thrift/struct.rb
151
+ - lib/thrift/struct_union.rb
152
+ - lib/thrift/thrift_native.rb
153
+ - lib/thrift/transport/base_server_transport.rb
154
+ - lib/thrift/transport/base_transport.rb
155
+ - lib/thrift/transport/buffered_transport.rb
156
+ - lib/thrift/transport/framed_transport.rb
157
+ - lib/thrift/transport/http_client_transport.rb
158
+ - lib/thrift/transport/io_stream_transport.rb
159
+ - lib/thrift/transport/memory_buffer_transport.rb
160
+ - lib/thrift/transport/server_socket.rb
161
+ - lib/thrift/transport/socket.rb
162
+ - lib/thrift/transport/unix_server_socket.rb
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
176
176
  - lib/thrift/types.rb
177
- - lib/thrift/client.rb
178
- - lib/thrift/metrics.rb
177
+ - lib/thrift/union.rb
178
+ - lib/thrift.rb
179
179
  files:
180
180
  - README.md
181
181
  - benchmark/Benchmark.thrift
182
182
  - benchmark/benchmark.rb
183
183
  - benchmark/client.rb
184
+ - benchmark/gen-rb/benchmark_constants.rb
185
+ - benchmark/gen-rb/benchmark_service.rb
186
+ - benchmark/gen-rb/benchmark_types.rb
184
187
  - benchmark/server.rb
185
188
  - benchmark/thin_server.rb
186
189
  - ext/binary_protocol_accelerated.c
@@ -272,6 +275,25 @@ files:
272
275
  - spec/compact_protocol_spec.rb
273
276
  - spec/exception_spec.rb
274
277
  - spec/flat_spec.rb
278
+ - spec/gen-rb/base/base_service.rb
279
+ - spec/gen-rb/base/base_service_constants.rb
280
+ - spec/gen-rb/base/base_service_types.rb
281
+ - spec/gen-rb/extended/extended_service.rb
282
+ - spec/gen-rb/extended/extended_service_constants.rb
283
+ - spec/gen-rb/extended/extended_service_types.rb
284
+ - spec/gen-rb/flat/namespaced_nonblocking_service.rb
285
+ - spec/gen-rb/flat/referenced_constants.rb
286
+ - spec/gen-rb/flat/referenced_types.rb
287
+ - spec/gen-rb/flat/thrift_namespaced_spec_constants.rb
288
+ - spec/gen-rb/flat/thrift_namespaced_spec_types.rb
289
+ - spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb
290
+ - spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_constants.rb
291
+ - spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb
292
+ - spec/gen-rb/nonblocking_service.rb
293
+ - spec/gen-rb/other_namespace/referenced_constants.rb
294
+ - spec/gen-rb/other_namespace/referenced_types.rb
295
+ - spec/gen-rb/thrift_spec_constants.rb
296
+ - spec/gen-rb/thrift_spec_types.rb
275
297
  - spec/http_client_spec.rb
276
298
  - spec/json_protocol_spec.rb
277
299
  - spec/namespaced_spec.rb
@@ -294,6 +316,13 @@ files:
294
316
  - spec/types_spec.rb
295
317
  - spec/union_spec.rb
296
318
  - spec/unix_socket_spec.rb
319
+ - test/debug_proto/gen-rb/debug_proto_test_constants.rb
320
+ - test/debug_proto/gen-rb/debug_proto_test_types.rb
321
+ - test/debug_proto/gen-rb/empty_service.rb
322
+ - test/debug_proto/gen-rb/inherited.rb
323
+ - test/debug_proto/gen-rb/reverse_order_service.rb
324
+ - test/debug_proto/gen-rb/service_for_exception_with_a_map.rb
325
+ - test/debug_proto/gen-rb/srv.rb
297
326
  homepage: http://thrift.apache.org
298
327
  licenses:
299
328
  - Apache 2.0
@@ -320,50 +349,79 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
349
  - !ruby/object:Gem::Version
321
350
  version: '0'
322
351
  requirements: []
323
- rubygems_version: 3.0.3
352
+ rubygems_version: 3.2.32
324
353
  signing_key:
325
354
  specification_version: 4
326
355
  summary: Ruby bindings for Apache Thrift
327
356
  test_files:
328
- - spec/ThriftSpec.thrift
329
- - spec/struct_nested_containers_spec.rb
330
- - spec/http_client_spec.rb
331
- - spec/thin_http_server_spec.rb
332
- - spec/spec_helper.rb
333
- - spec/rack_application_spec.rb
334
- - spec/compact_protocol_spec.rb
335
- - spec/base_protocol_spec.rb
336
- - spec/client_spec.rb
337
- - spec/types/value_spec.rb
338
- - spec/types/known/timestamp_spec.rb
339
- - spec/types/known/duration_spec.rb
340
- - spec/types/known/any_spec.rb
341
- - spec/server_spec.rb
342
- - spec/server_socket_spec.rb
343
- - spec/bytes_spec.rb
357
+ - test/debug_proto/gen-rb/debug_proto_test_constants.rb
358
+ - test/debug_proto/gen-rb/debug_proto_test_types.rb
359
+ - test/debug_proto/gen-rb/empty_service.rb
360
+ - test/debug_proto/gen-rb/inherited.rb
361
+ - test/debug_proto/gen-rb/reverse_order_service.rb
362
+ - test/debug_proto/gen-rb/service_for_exception_with_a_map.rb
363
+ - test/debug_proto/gen-rb/srv.rb
344
364
  - spec/BaseService.thrift
345
- - spec/socket_spec.rb
346
- - spec/json_protocol_spec.rb
365
+ - spec/ExtendedService.thrift
347
366
  - spec/Referenced.thrift
348
- - spec/binary_protocol_spec.rb
367
+ - spec/ThriftNamespacedSpec.thrift
368
+ - spec/ThriftSpec.thrift
369
+ - spec/base_protocol_spec.rb
370
+ - spec/base_transport_spec.rb
349
371
  - spec/binary_protocol_accelerated_spec.rb
350
- - spec/unix_socket_spec.rb
351
- - spec/ExtendedService.thrift
352
- - spec/types_spec.rb
372
+ - spec/binary_protocol_spec.rb
373
+ - spec/binary_protocol_spec_shared.rb
374
+ - spec/bytes_spec.rb
375
+ - spec/client_spec.rb
376
+ - spec/compact_protocol_spec.rb
353
377
  - spec/exception_spec.rb
354
- - spec/ThriftNamespacedSpec.thrift
355
- - spec/struct_spec.rb
356
- - spec/union_spec.rb
378
+ - spec/flat_spec.rb
379
+ - spec/gen-rb/base/base_service.rb
380
+ - spec/gen-rb/base/base_service_constants.rb
381
+ - spec/gen-rb/base/base_service_types.rb
382
+ - spec/gen-rb/extended/extended_service.rb
383
+ - spec/gen-rb/extended/extended_service_constants.rb
384
+ - spec/gen-rb/extended/extended_service_types.rb
385
+ - spec/gen-rb/flat/namespaced_nonblocking_service.rb
386
+ - spec/gen-rb/flat/referenced_constants.rb
387
+ - spec/gen-rb/flat/referenced_types.rb
388
+ - spec/gen-rb/flat/thrift_namespaced_spec_constants.rb
389
+ - spec/gen-rb/flat/thrift_namespaced_spec_types.rb
390
+ - spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb
391
+ - spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_constants.rb
392
+ - spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb
393
+ - spec/gen-rb/nonblocking_service.rb
394
+ - spec/gen-rb/other_namespace/referenced_constants.rb
395
+ - spec/gen-rb/other_namespace/referenced_types.rb
396
+ - spec/gen-rb/thrift_spec_constants.rb
397
+ - spec/gen-rb/thrift_spec_types.rb
398
+ - spec/http_client_spec.rb
399
+ - spec/json_protocol_spec.rb
357
400
  - spec/namespaced_spec.rb
401
+ - spec/nonblocking_server_spec.rb
402
+ - spec/processor_spec.rb
403
+ - spec/rack_application_spec.rb
358
404
  - spec/serializer_spec.rb
405
+ - spec/server_socket_spec.rb
406
+ - spec/server_spec.rb
407
+ - spec/socket_spec.rb
359
408
  - spec/socket_spec_shared.rb
360
- - spec/binary_protocol_spec_shared.rb
361
- - spec/processor_spec.rb
362
- - spec/flat_spec.rb
363
- - spec/base_transport_spec.rb
364
- - spec/nonblocking_server_spec.rb
409
+ - spec/spec_helper.rb
410
+ - spec/struct_nested_containers_spec.rb
411
+ - spec/struct_spec.rb
412
+ - spec/thin_http_server_spec.rb
413
+ - spec/types/known/any_spec.rb
414
+ - spec/types/known/duration_spec.rb
415
+ - spec/types/known/timestamp_spec.rb
416
+ - spec/types/value_spec.rb
417
+ - spec/types_spec.rb
418
+ - spec/union_spec.rb
419
+ - spec/unix_socket_spec.rb
365
420
  - benchmark/Benchmark.thrift
366
- - benchmark/client.rb
367
421
  - benchmark/benchmark.rb
368
- - benchmark/thin_server.rb
422
+ - benchmark/client.rb
423
+ - benchmark/gen-rb/benchmark_constants.rb
424
+ - benchmark/gen-rb/benchmark_service.rb
425
+ - benchmark/gen-rb/benchmark_types.rb
369
426
  - benchmark/server.rb
427
+ - benchmark/thin_server.rb