upfluence-thrift 2.7.4 → 2.7.5
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7364f74deded6f763d331becc4b5daae61421b94363b280eefbf2d8e7ae6d04
|
|
4
|
+
data.tar.gz: ce0fdd32e91d447f715dc703dca1473130b2c1f63472fefe0e306bf830f7ee4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00d26a6747c4af8df633b615759e53b7386de509339b8b3c1e56f9649c17ccbba1e94a06c9a607b45385b40c0b250bc30afece40bca46e9ea4a66ca8edd1d55e
|
|
7
|
+
data.tar.gz: fb343c067f283d0ae87e93de2d5215907e9d4020997129fde989378e5538dce8d3da94521d1796e42d30ace9fd4f5044ef80fa1c56ae8580be544464e6ecee40
|
data/lib/thrift/exceptions.rb
CHANGED
|
@@ -37,9 +37,12 @@ module Thrift
|
|
|
37
37
|
MISSING_RESULT = 5
|
|
38
38
|
INTERNAL_ERROR = 6
|
|
39
39
|
PROTOCOL_ERROR = 7
|
|
40
|
-
|
|
40
|
+
INTERNAL_TIME_OUT_ERROR = 8
|
|
41
|
+
INVALID_TRANSFORM = 11
|
|
41
42
|
INVALID_PROTOCOL = 9
|
|
42
43
|
UNSUPPORTED_CLIENT_TYPE = 10
|
|
44
|
+
METHOD_NOT_IMPLEMENTED = 12
|
|
45
|
+
|
|
43
46
|
|
|
44
47
|
attr_reader :type
|
|
45
48
|
|
|
@@ -40,6 +40,7 @@ module Thrift
|
|
|
40
40
|
THRIFT_FIELD_INDEX_CONSTANTS = 8
|
|
41
41
|
THRIFT_FIELD_INDEX_TYPEDEFS = 9
|
|
42
42
|
THRIFT_FIELD_INDEX_ENUMS = 10
|
|
43
|
+
THRIFT_FIELD_INDEX_STDLIB = 11
|
|
43
44
|
|
|
44
45
|
THRIFT_FIELD_NAME_LEGACY_ANNOTATIONS = {
|
|
45
46
|
}.freeze
|
|
@@ -101,6 +102,12 @@ module Thrift
|
|
|
101
102
|
THRIFT_FIELD_ENUMS_STRUCTURED_ANNOTATIONS = [
|
|
102
103
|
].freeze
|
|
103
104
|
|
|
105
|
+
THRIFT_FIELD_STDLIB_LEGACY_ANNOTATIONS = {
|
|
106
|
+
}.freeze
|
|
107
|
+
|
|
108
|
+
THRIFT_FIELD_STDLIB_STRUCTURED_ANNOTATIONS = [
|
|
109
|
+
].freeze
|
|
110
|
+
|
|
104
111
|
FIELDS = {
|
|
105
112
|
THRIFT_FIELD_INDEX_NAME => {type: ::Thrift::Types::STRING, name: 'name', legacy_annotations: THRIFT_FIELD_NAME_LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_NAME_STRUCTURED_ANNOTATIONS},
|
|
106
113
|
THRIFT_FIELD_INDEX_PATH => {type: ::Thrift::Types::STRING, name: 'path', legacy_annotations: THRIFT_FIELD_PATH_LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_PATH_STRUCTURED_ANNOTATIONS},
|
|
@@ -111,7 +118,8 @@ module Thrift
|
|
|
111
118
|
THRIFT_FIELD_INDEX_SERVICES => {type: ::Thrift::Types::MAP, name: 'services', key: {type: ::Thrift::Types::STRING}, value: {type: ::Thrift::Types::STRUCT, class: ::Thrift::Types::Service_definition::ServiceDefinition}, legacy_annotations: THRIFT_FIELD_SERVICES_LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_SERVICES_STRUCTURED_ANNOTATIONS},
|
|
112
119
|
THRIFT_FIELD_INDEX_CONSTANTS => {type: ::Thrift::Types::MAP, name: 'constants', key: {type: ::Thrift::Types::STRING}, value: {type: ::Thrift::Types::STRUCT, class: ::Thrift::Types::Constant_definition::ConstantDefinition}, legacy_annotations: THRIFT_FIELD_CONSTANTS_LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_CONSTANTS_STRUCTURED_ANNOTATIONS},
|
|
113
120
|
THRIFT_FIELD_INDEX_TYPEDEFS => {type: ::Thrift::Types::MAP, name: 'typedefs', key: {type: ::Thrift::Types::STRING}, value: {type: ::Thrift::Types::STRUCT, class: ::Thrift::Types::Type_definition::TypeDefinition}, legacy_annotations: THRIFT_FIELD_TYPEDEFS_LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_TYPEDEFS_STRUCTURED_ANNOTATIONS},
|
|
114
|
-
THRIFT_FIELD_INDEX_ENUMS => {type: ::Thrift::Types::MAP, name: 'enums', key: {type: ::Thrift::Types::STRING}, value: {type: ::Thrift::Types::STRUCT, class: ::Thrift::Types::Enum_definition::EnumDefinition}, legacy_annotations: THRIFT_FIELD_ENUMS_LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_ENUMS_STRUCTURED_ANNOTATIONS}
|
|
121
|
+
THRIFT_FIELD_INDEX_ENUMS => {type: ::Thrift::Types::MAP, name: 'enums', key: {type: ::Thrift::Types::STRING}, value: {type: ::Thrift::Types::STRUCT, class: ::Thrift::Types::Enum_definition::EnumDefinition}, legacy_annotations: THRIFT_FIELD_ENUMS_LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_ENUMS_STRUCTURED_ANNOTATIONS},
|
|
122
|
+
THRIFT_FIELD_INDEX_STDLIB => {type: ::Thrift::Types::BOOL, name: 'stdlib', legacy_annotations: THRIFT_FIELD_STDLIB_LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_STDLIB_STRUCTURED_ANNOTATIONS}
|
|
115
123
|
}.freeze
|
|
116
124
|
|
|
117
125
|
def struct_fields; FIELDS; end
|
|
@@ -126,6 +134,7 @@ module Thrift
|
|
|
126
134
|
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field constants is unset!') unless @constants
|
|
127
135
|
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field typedefs is unset!') unless @typedefs
|
|
128
136
|
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field enums is unset!') unless @enums
|
|
137
|
+
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field stdlib is unset!') if @stdlib.nil?
|
|
129
138
|
end
|
|
130
139
|
|
|
131
140
|
::Thrift::Struct.generate_accessors self
|