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.
- checksums.yaml +4 -4
- data/benchmark/gen-rb/benchmark_constants.rb +11 -0
- data/benchmark/gen-rb/benchmark_service.rb +106 -0
- data/benchmark/gen-rb/benchmark_types.rb +10 -0
- data/ext/extconf.rb +1 -4
- data/lib/thrift/protocol/json_protocol.rb +65 -1
- data/spec/gen-rb/base/base_service.rb +106 -0
- data/spec/gen-rb/base/base_service_constants.rb +11 -0
- data/spec/gen-rb/base/base_service_types.rb +33 -0
- data/spec/gen-rb/extended/extended_service.rb +103 -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 +343 -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 +35 -0
- data/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb +343 -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 +35 -0
- data/spec/gen-rb/nonblocking_service.rb +343 -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 +699 -0
- data/spec/json_protocol_spec.rb +17 -0
- data/test/debug_proto/gen-rb/debug_proto_test_constants.rb +274 -0
- data/test/debug_proto/gen-rb/debug_proto_test_types.rb +936 -0
- data/test/debug_proto/gen-rb/empty_service.rb +39 -0
- data/test/debug_proto/gen-rb/inherited.rb +105 -0
- data/test/debug_proto/gen-rb/reverse_order_service.rb +107 -0
- data/test/debug_proto/gen-rb/service_for_exception_with_a_map.rb +106 -0
- data/test/debug_proto/gen-rb/srv.rb +410 -0
- metadata +150 -92
@@ -0,0 +1,17 @@
|
|
1
|
+
#
|
2
|
+
# Autogenerated by Thrift Compiler (2.4.0-upfluence)
|
3
|
+
#
|
4
|
+
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
5
|
+
#
|
6
|
+
|
7
|
+
require 'thrift'
|
8
|
+
|
9
|
+
module OtherNamespace
|
10
|
+
module SomeEnum
|
11
|
+
ONE = 0
|
12
|
+
TWO = 1
|
13
|
+
VALUE_MAP = {0 => "ONE", 1 => "TWO"}
|
14
|
+
VALID_VALUES = Set.new([ONE, TWO]).freeze
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|