concord-ruby 0.2.1 → 0.2.3
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 +4 -4
- data/lib/concord.rb +1 -1
- data/lib/gen-rb/bolt_types.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68be6f3feb36885d9317cd9d4103c1f7e7a722ff
|
4
|
+
data.tar.gz: 7b3c5a893642ded74f1c8d661bd5df470ab5d783
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bf83837433087365b91e77b9e7d737e106ff3ee9968e208f2264c4be37afca623387281bc3fe857fe24dfb4f82490c7a4d37e62e161dd3bdb3c74d5e1a3e9b5
|
7
|
+
data.tar.gz: 3aa9bbfd83ad54580c0c3f5bdadc9ceed7fbad3fcbe737979f237afe657a4975debc82546521343f49beea6b37fe8994c87900089d1d92f131e2c949ef3fdbd8
|
data/lib/concord.rb
CHANGED
@@ -229,7 +229,7 @@ module Concord
|
|
229
229
|
cm = ::Concord::Thrift::ComputationMetadata.new
|
230
230
|
cm.name = metadata.name
|
231
231
|
cm.istreams = metadata.istreams.map { |x| enrich_stream(x) }
|
232
|
-
cm.ostreams = metadata.ostreams
|
232
|
+
cm.ostreams = metadata.ostreams
|
233
233
|
cm.proxyEndpoint = ::Concord::Thrift::Endpoint.new
|
234
234
|
cm.proxyEndpoint.ip = proxy_host
|
235
235
|
cm.proxyEndpoint.port = proxy_port
|
data/lib/gen-rb/bolt_types.rb
CHANGED
@@ -125,7 +125,7 @@ module Concord
|
|
125
125
|
NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
|
126
126
|
TASKID => {:type => ::Thrift::Types::STRING, :name => 'taskId'},
|
127
127
|
ISTREAMS => {:type => ::Thrift::Types::LIST, :name => 'istreams', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Concord::Thrift::StreamMetadata}},
|
128
|
-
OSTREAMS => {:type => ::Thrift::Types::LIST, :name => 'ostreams', :element => {:type => ::Thrift::Types::
|
128
|
+
OSTREAMS => {:type => ::Thrift::Types::LIST, :name => 'ostreams', :element => {:type => ::Thrift::Types::STRING}},
|
129
129
|
PROXYENDPOINT => {:type => ::Thrift::Types::STRUCT, :name => 'proxyEndpoint', :class => ::Concord::Thrift::Endpoint}
|
130
130
|
}
|
131
131
|
|
@@ -177,7 +177,7 @@ module Concord
|
|
177
177
|
::Thrift::Struct.generate_accessors self
|
178
178
|
end
|
179
179
|
|
180
|
-
class
|
180
|
+
class PhysicalComputationMetadata
|
181
181
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
182
182
|
TASKID = 1
|
183
183
|
SLAVEID = 2
|
@@ -215,8 +215,8 @@ module Concord
|
|
215
215
|
FIELDS = {
|
216
216
|
NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
|
217
217
|
ISTREAMS => {:type => ::Thrift::Types::LIST, :name => 'istreams', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Concord::Thrift::StreamMetadata}},
|
218
|
-
OSTREAMS => {:type => ::Thrift::Types::LIST, :name => 'ostreams', :element => {:type => ::Thrift::Types::
|
219
|
-
NODES => {:type => ::Thrift::Types::LIST, :name => 'nodes', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Concord::Thrift::
|
218
|
+
OSTREAMS => {:type => ::Thrift::Types::LIST, :name => 'ostreams', :element => {:type => ::Thrift::Types::STRING}},
|
219
|
+
NODES => {:type => ::Thrift::Types::LIST, :name => 'nodes', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Concord::Thrift::PhysicalComputationMetadata}}
|
220
220
|
}
|
221
221
|
|
222
222
|
def struct_fields; FIELDS; end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: concord-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cole Brown
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-09-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thrift
|