upfluence-thrift 2.3.1 → 2.4.4

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 (33) 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/lib/thrift/protocol/json_protocol.rb +65 -1
  6. data/spec/gen-rb/base/base_service.rb +106 -0
  7. data/spec/gen-rb/base/base_service_constants.rb +11 -0
  8. data/spec/gen-rb/base/base_service_types.rb +33 -0
  9. data/spec/gen-rb/extended/extended_service.rb +103 -0
  10. data/spec/gen-rb/extended/extended_service_constants.rb +11 -0
  11. data/spec/gen-rb/extended/extended_service_types.rb +12 -0
  12. data/spec/gen-rb/flat/namespaced_nonblocking_service.rb +343 -0
  13. data/spec/gen-rb/flat/referenced_constants.rb +11 -0
  14. data/spec/gen-rb/flat/referenced_types.rb +17 -0
  15. data/spec/gen-rb/flat/thrift_namespaced_spec_constants.rb +11 -0
  16. data/spec/gen-rb/flat/thrift_namespaced_spec_types.rb +35 -0
  17. data/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb +343 -0
  18. data/spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_constants.rb +11 -0
  19. data/spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb +35 -0
  20. data/spec/gen-rb/nonblocking_service.rb +343 -0
  21. data/spec/gen-rb/other_namespace/referenced_constants.rb +11 -0
  22. data/spec/gen-rb/other_namespace/referenced_types.rb +17 -0
  23. data/spec/gen-rb/thrift_spec_constants.rb +11 -0
  24. data/spec/gen-rb/thrift_spec_types.rb +699 -0
  25. data/spec/json_protocol_spec.rb +17 -0
  26. data/test/debug_proto/gen-rb/debug_proto_test_constants.rb +274 -0
  27. data/test/debug_proto/gen-rb/debug_proto_test_types.rb +936 -0
  28. data/test/debug_proto/gen-rb/empty_service.rb +39 -0
  29. data/test/debug_proto/gen-rb/inherited.rb +105 -0
  30. data/test/debug_proto/gen-rb/reverse_order_service.rb +107 -0
  31. data/test/debug_proto/gen-rb/service_for_exception_with_a_map.rb +106 -0
  32. data/test/debug_proto/gen-rb/srv.rb +410 -0
  33. metadata +60 -2
@@ -0,0 +1,11 @@
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
+ require 'other_namespace/referenced_types'
9
+
10
+ module OtherNamespace
11
+ end
@@ -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
@@ -0,0 +1,11 @@
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
+ require 'thrift_spec_types'
9
+
10
+ module SpecNamespace
11
+ end