thrift 0.10.0.0 → 0.11.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/benchmark/gen-rb/benchmark_constants.rb +11 -0
- data/benchmark/gen-rb/benchmark_service.rb +80 -0
- data/benchmark/gen-rb/benchmark_types.rb +10 -0
- data/lib/thrift/processor.rb +10 -1
- data/lib/thrift/protocol/json_protocol.rb +1 -1
- data/spec/gen-rb/base/base_service.rb +80 -0
- data/spec/gen-rb/base/base_service_constants.rb +11 -0
- data/spec/gen-rb/base/base_service_types.rb +26 -0
- data/spec/gen-rb/extended/extended_service.rb +78 -0
- data/spec/gen-rb/extended/extended_service_constants.rb +11 -0
- data/spec/gen-rb/extended/extended_service_types.rb +12 -0
- data/spec/gen-rb/flat/namespaced_nonblocking_service.rb +272 -0
- data/spec/gen-rb/flat/referenced_constants.rb +11 -0
- data/spec/gen-rb/flat/referenced_types.rb +17 -0
- data/spec/gen-rb/flat/thrift_namespaced_spec_constants.rb +11 -0
- data/spec/gen-rb/flat/thrift_namespaced_spec_types.rb +28 -0
- data/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb +272 -0
- data/spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_constants.rb +11 -0
- data/spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb +28 -0
- data/spec/gen-rb/nonblocking_service.rb +272 -0
- data/spec/gen-rb/other_namespace/referenced_constants.rb +11 -0
- data/spec/gen-rb/other_namespace/referenced_types.rb +17 -0
- data/spec/gen-rb/thrift_spec_constants.rb +11 -0
- data/spec/gen-rb/thrift_spec_types.rb +538 -0
- data/spec/server_spec.rb +1 -0
- data/test/debug_proto/gen-rb/debug_proto_test_constants.rb +278 -0
- data/test/debug_proto/gen-rb/debug_proto_test_types.rb +781 -0
- data/test/debug_proto/gen-rb/empty_service.rb +28 -0
- data/test/debug_proto/gen-rb/inherited.rb +83 -0
- data/test/debug_proto/gen-rb/reverse_order_service.rb +86 -0
- data/test/debug_proto/gen-rb/service_for_exception_with_a_map.rb +85 -0
- data/test/debug_proto/gen-rb/srv.rb +395 -0
- metadata +132 -75
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thrift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thrift Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -108,71 +108,74 @@ extensions:
|
|
108
108
|
- ext/extconf.rb
|
109
109
|
extra_rdoc_files:
|
110
110
|
- README.md
|
111
|
-
- ext/
|
111
|
+
- ext/strlcpy.c
|
112
112
|
- ext/bytes.c
|
113
|
+
- ext/binary_protocol_accelerated.c
|
113
114
|
- ext/compact_protocol.c
|
114
115
|
- ext/memory_buffer.c
|
115
116
|
- ext/protocol.c
|
116
|
-
- ext/strlcpy.c
|
117
|
-
- ext/struct.c
|
118
117
|
- ext/thrift_native.c
|
119
|
-
- ext/
|
120
|
-
- ext/
|
121
|
-
- ext/
|
118
|
+
- ext/struct.c
|
119
|
+
- ext/protocol.h
|
120
|
+
- ext/struct.h
|
122
121
|
- ext/constants.h
|
123
122
|
- ext/macros.h
|
124
|
-
- ext/
|
125
|
-
- ext/protocol.h
|
123
|
+
- ext/bytes.h
|
126
124
|
- ext/strlcpy.h
|
127
|
-
- ext/
|
125
|
+
- ext/compact_protocol.h
|
126
|
+
- ext/binary_protocol_accelerated.h
|
127
|
+
- ext/memory_buffer.h
|
128
128
|
- ext/extconf.rb
|
129
|
-
- lib/thrift
|
130
|
-
- lib/thrift/client.rb
|
131
|
-
- lib/thrift/core_ext/fixnum.rb
|
129
|
+
- lib/thrift.rb
|
132
130
|
- lib/thrift/core_ext.rb
|
133
|
-
- lib/thrift/exceptions.rb
|
134
|
-
- lib/thrift/multiplexed_processor.rb
|
135
|
-
- lib/thrift/processor.rb
|
136
|
-
- lib/thrift/protocol/base_protocol.rb
|
137
|
-
- lib/thrift/protocol/binary_protocol.rb
|
138
|
-
- lib/thrift/protocol/binary_protocol_accelerated.rb
|
139
|
-
- lib/thrift/protocol/compact_protocol.rb
|
140
|
-
- lib/thrift/protocol/json_protocol.rb
|
141
|
-
- lib/thrift/protocol/multiplexed_protocol.rb
|
142
|
-
- lib/thrift/protocol/protocol_decorator.rb
|
143
|
-
- lib/thrift/serializer/deserializer.rb
|
144
|
-
- lib/thrift/serializer/serializer.rb
|
145
|
-
- lib/thrift/server/base_server.rb
|
146
|
-
- lib/thrift/server/mongrel_http_server.rb
|
147
|
-
- lib/thrift/server/nonblocking_server.rb
|
148
|
-
- lib/thrift/server/simple_server.rb
|
149
|
-
- lib/thrift/server/thin_http_server.rb
|
150
|
-
- lib/thrift/server/thread_pool_server.rb
|
151
|
-
- lib/thrift/server/threaded_server.rb
|
152
|
-
- lib/thrift/struct.rb
|
153
131
|
- lib/thrift/struct_union.rb
|
154
|
-
- lib/thrift/
|
132
|
+
- lib/thrift/struct.rb
|
133
|
+
- lib/thrift/union.rb
|
134
|
+
- lib/thrift/serializer/serializer.rb
|
135
|
+
- lib/thrift/serializer/deserializer.rb
|
136
|
+
- lib/thrift/transport/ssl_socket.rb
|
155
137
|
- lib/thrift/transport/base_server_transport.rb
|
156
|
-
- lib/thrift/transport/base_transport.rb
|
157
|
-
- lib/thrift/transport/buffered_transport.rb
|
158
138
|
- lib/thrift/transport/framed_transport.rb
|
159
|
-
- lib/thrift/transport/http_client_transport.rb
|
160
|
-
- lib/thrift/transport/io_stream_transport.rb
|
161
|
-
- lib/thrift/transport/memory_buffer_transport.rb
|
162
|
-
- lib/thrift/transport/server_socket.rb
|
163
139
|
- lib/thrift/transport/socket.rb
|
140
|
+
- lib/thrift/transport/base_transport.rb
|
141
|
+
- lib/thrift/transport/server_socket.rb
|
142
|
+
- lib/thrift/transport/unix_socket.rb
|
143
|
+
- lib/thrift/transport/memory_buffer_transport.rb
|
164
144
|
- lib/thrift/transport/ssl_server_socket.rb
|
165
|
-
- lib/thrift/transport/
|
145
|
+
- lib/thrift/transport/io_stream_transport.rb
|
146
|
+
- lib/thrift/transport/buffered_transport.rb
|
166
147
|
- lib/thrift/transport/unix_server_socket.rb
|
167
|
-
- lib/thrift/transport/
|
148
|
+
- lib/thrift/transport/http_client_transport.rb
|
149
|
+
- lib/thrift/bytes.rb
|
150
|
+
- lib/thrift/core_ext/fixnum.rb
|
151
|
+
- lib/thrift/multiplexed_processor.rb
|
152
|
+
- lib/thrift/thrift_native.rb
|
153
|
+
- lib/thrift/exceptions.rb
|
154
|
+
- lib/thrift/server/threaded_server.rb
|
155
|
+
- lib/thrift/server/mongrel_http_server.rb
|
156
|
+
- lib/thrift/server/thread_pool_server.rb
|
157
|
+
- lib/thrift/server/simple_server.rb
|
158
|
+
- lib/thrift/server/nonblocking_server.rb
|
159
|
+
- lib/thrift/server/thin_http_server.rb
|
160
|
+
- lib/thrift/server/base_server.rb
|
161
|
+
- lib/thrift/protocol/binary_protocol_accelerated.rb
|
162
|
+
- lib/thrift/protocol/base_protocol.rb
|
163
|
+
- lib/thrift/protocol/protocol_decorator.rb
|
164
|
+
- lib/thrift/protocol/json_protocol.rb
|
165
|
+
- lib/thrift/protocol/multiplexed_protocol.rb
|
166
|
+
- lib/thrift/protocol/binary_protocol.rb
|
167
|
+
- lib/thrift/protocol/compact_protocol.rb
|
168
|
+
- lib/thrift/processor.rb
|
168
169
|
- lib/thrift/types.rb
|
169
|
-
- lib/thrift/
|
170
|
-
- lib/thrift.rb
|
170
|
+
- lib/thrift/client.rb
|
171
171
|
files:
|
172
172
|
- README.md
|
173
173
|
- benchmark/Benchmark.thrift
|
174
174
|
- benchmark/benchmark.rb
|
175
175
|
- benchmark/client.rb
|
176
|
+
- benchmark/gen-rb/benchmark_constants.rb
|
177
|
+
- benchmark/gen-rb/benchmark_service.rb
|
178
|
+
- benchmark/gen-rb/benchmark_types.rb
|
176
179
|
- benchmark/server.rb
|
177
180
|
- benchmark/thin_server.rb
|
178
181
|
- ext/binary_protocol_accelerated.c
|
@@ -250,6 +253,25 @@ files:
|
|
250
253
|
- spec/compact_protocol_spec.rb
|
251
254
|
- spec/exception_spec.rb
|
252
255
|
- spec/flat_spec.rb
|
256
|
+
- spec/gen-rb/base/base_service.rb
|
257
|
+
- spec/gen-rb/base/base_service_constants.rb
|
258
|
+
- spec/gen-rb/base/base_service_types.rb
|
259
|
+
- spec/gen-rb/extended/extended_service.rb
|
260
|
+
- spec/gen-rb/extended/extended_service_constants.rb
|
261
|
+
- spec/gen-rb/extended/extended_service_types.rb
|
262
|
+
- spec/gen-rb/flat/namespaced_nonblocking_service.rb
|
263
|
+
- spec/gen-rb/flat/referenced_constants.rb
|
264
|
+
- spec/gen-rb/flat/referenced_types.rb
|
265
|
+
- spec/gen-rb/flat/thrift_namespaced_spec_constants.rb
|
266
|
+
- spec/gen-rb/flat/thrift_namespaced_spec_types.rb
|
267
|
+
- spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb
|
268
|
+
- spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_constants.rb
|
269
|
+
- spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb
|
270
|
+
- spec/gen-rb/nonblocking_service.rb
|
271
|
+
- spec/gen-rb/other_namespace/referenced_constants.rb
|
272
|
+
- spec/gen-rb/other_namespace/referenced_types.rb
|
273
|
+
- spec/gen-rb/thrift_spec_constants.rb
|
274
|
+
- spec/gen-rb/thrift_spec_types.rb
|
253
275
|
- spec/http_client_spec.rb
|
254
276
|
- spec/json_protocol_spec.rb
|
255
277
|
- spec/namespaced_spec.rb
|
@@ -268,6 +290,13 @@ files:
|
|
268
290
|
- spec/types_spec.rb
|
269
291
|
- spec/union_spec.rb
|
270
292
|
- spec/unix_socket_spec.rb
|
293
|
+
- test/debug_proto/gen-rb/debug_proto_test_constants.rb
|
294
|
+
- test/debug_proto/gen-rb/debug_proto_test_types.rb
|
295
|
+
- test/debug_proto/gen-rb/empty_service.rb
|
296
|
+
- test/debug_proto/gen-rb/inherited.rb
|
297
|
+
- test/debug_proto/gen-rb/reverse_order_service.rb
|
298
|
+
- test/debug_proto/gen-rb/service_for_exception_with_a_map.rb
|
299
|
+
- test/debug_proto/gen-rb/srv.rb
|
271
300
|
homepage: http://thrift.apache.org
|
272
301
|
licenses:
|
273
302
|
- Apache 2.0
|
@@ -295,47 +324,75 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
324
|
version: '0'
|
296
325
|
requirements: []
|
297
326
|
rubyforge_project: thrift
|
298
|
-
rubygems_version: 2.
|
327
|
+
rubygems_version: 2.5.1
|
299
328
|
signing_key:
|
300
329
|
specification_version: 4
|
301
330
|
summary: Ruby bindings for Apache Thrift
|
302
331
|
test_files:
|
332
|
+
- test/debug_proto/gen-rb/debug_proto_test_constants.rb
|
333
|
+
- test/debug_proto/gen-rb/debug_proto_test_types.rb
|
334
|
+
- test/debug_proto/gen-rb/service_for_exception_with_a_map.rb
|
335
|
+
- test/debug_proto/gen-rb/inherited.rb
|
336
|
+
- test/debug_proto/gen-rb/reverse_order_service.rb
|
337
|
+
- test/debug_proto/gen-rb/empty_service.rb
|
338
|
+
- test/debug_proto/gen-rb/srv.rb
|
339
|
+
- spec/ThriftSpec.thrift
|
340
|
+
- spec/struct_nested_containers_spec.rb
|
341
|
+
- spec/http_client_spec.rb
|
342
|
+
- spec/thin_http_server_spec.rb
|
343
|
+
- spec/spec_helper.rb
|
344
|
+
- spec/compact_protocol_spec.rb
|
303
345
|
- spec/base_protocol_spec.rb
|
304
|
-
- spec/base_transport_spec.rb
|
305
|
-
- spec/BaseService.thrift
|
306
|
-
- spec/binary_protocol_accelerated_spec.rb
|
307
|
-
- spec/binary_protocol_spec.rb
|
308
|
-
- spec/binary_protocol_spec_shared.rb
|
309
|
-
- spec/bytes_spec.rb
|
310
346
|
- spec/client_spec.rb
|
311
|
-
- spec/compact_protocol_spec.rb
|
312
|
-
- spec/exception_spec.rb
|
313
|
-
- spec/ExtendedService.thrift
|
314
|
-
- spec/flat_spec.rb
|
315
|
-
- spec/http_client_spec.rb
|
316
|
-
- spec/json_protocol_spec.rb
|
317
|
-
- spec/namespaced_spec.rb
|
318
|
-
- spec/nonblocking_server_spec.rb
|
319
|
-
- spec/processor_spec.rb
|
320
|
-
- spec/Referenced.thrift
|
321
|
-
- spec/serializer_spec.rb
|
322
|
-
- spec/server_socket_spec.rb
|
323
347
|
- spec/server_spec.rb
|
348
|
+
- spec/server_socket_spec.rb
|
349
|
+
- spec/bytes_spec.rb
|
350
|
+
- spec/BaseService.thrift
|
324
351
|
- spec/socket_spec.rb
|
325
|
-
- spec/
|
326
|
-
- spec/spec_helper.rb
|
352
|
+
- spec/json_protocol_spec.rb
|
327
353
|
- spec/ssl_socket_spec.rb
|
328
|
-
- spec/
|
329
|
-
- spec/
|
330
|
-
- spec/
|
331
|
-
- spec/
|
332
|
-
- spec/
|
354
|
+
- spec/Referenced.thrift
|
355
|
+
- spec/binary_protocol_spec.rb
|
356
|
+
- spec/binary_protocol_accelerated_spec.rb
|
357
|
+
- spec/unix_socket_spec.rb
|
358
|
+
- spec/ExtendedService.thrift
|
333
359
|
- spec/types_spec.rb
|
360
|
+
- spec/gen-rb/flat/thrift_namespaced_spec_constants.rb
|
361
|
+
- spec/gen-rb/flat/namespaced_nonblocking_service.rb
|
362
|
+
- spec/gen-rb/flat/referenced_constants.rb
|
363
|
+
- spec/gen-rb/flat/referenced_types.rb
|
364
|
+
- spec/gen-rb/flat/thrift_namespaced_spec_types.rb
|
365
|
+
- spec/gen-rb/other_namespace/referenced_constants.rb
|
366
|
+
- spec/gen-rb/other_namespace/referenced_types.rb
|
367
|
+
- spec/gen-rb/extended/extended_service.rb
|
368
|
+
- spec/gen-rb/extended/extended_service_types.rb
|
369
|
+
- spec/gen-rb/extended/extended_service_constants.rb
|
370
|
+
- spec/gen-rb/thrift_spec_constants.rb
|
371
|
+
- spec/gen-rb/nonblocking_service.rb
|
372
|
+
- spec/gen-rb/thrift_spec_types.rb
|
373
|
+
- spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_constants.rb
|
374
|
+
- spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb
|
375
|
+
- spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb
|
376
|
+
- spec/gen-rb/base/base_service.rb
|
377
|
+
- spec/gen-rb/base/base_service_constants.rb
|
378
|
+
- spec/gen-rb/base/base_service_types.rb
|
379
|
+
- spec/exception_spec.rb
|
380
|
+
- spec/ThriftNamespacedSpec.thrift
|
381
|
+
- spec/struct_spec.rb
|
334
382
|
- spec/union_spec.rb
|
335
|
-
- spec/
|
336
|
-
-
|
383
|
+
- spec/namespaced_spec.rb
|
384
|
+
- spec/serializer_spec.rb
|
385
|
+
- spec/socket_spec_shared.rb
|
386
|
+
- spec/binary_protocol_spec_shared.rb
|
387
|
+
- spec/processor_spec.rb
|
388
|
+
- spec/flat_spec.rb
|
389
|
+
- spec/base_transport_spec.rb
|
390
|
+
- spec/nonblocking_server_spec.rb
|
337
391
|
- benchmark/Benchmark.thrift
|
392
|
+
- benchmark/gen-rb/benchmark_service.rb
|
393
|
+
- benchmark/gen-rb/benchmark_constants.rb
|
394
|
+
- benchmark/gen-rb/benchmark_types.rb
|
338
395
|
- benchmark/client.rb
|
339
|
-
- benchmark/
|
396
|
+
- benchmark/benchmark.rb
|
340
397
|
- benchmark/thin_server.rb
|
341
|
-
|
398
|
+
- benchmark/server.rb
|