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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac63cd14d6f3c558076b2f7b8a12c7a546c6e93e
4
- data.tar.gz: 2bf376daeda84bd1c3114e1170c4d3ca1122c081
3
+ metadata.gz: 68be6f3feb36885d9317cd9d4103c1f7e7a722ff
4
+ data.tar.gz: 7b3c5a893642ded74f1c8d661bd5df470ab5d783
5
5
  SHA512:
6
- metadata.gz: 16863bef8c89d75bd4d00b1fefa0b3ca58803d058b1981b46aa3fc5b6c98b5ce984da147cf186bbbcba246fa6829eb195981bb7d69d5de0ea0387608b8016fec
7
- data.tar.gz: 54803103190fad5b9c7c1e7476a48d934cab78a48f26ed23aa82a0fe0fff1a90e426f08c1ea805e1e1f2744563fd1bbf323244c7ac8d6a091d53196479e68154
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.map { |x| enrich_stream(x) }
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
@@ -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::STRUCT, :class => ::Concord::Thrift::StreamMetadata}},
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 PhysicalComputationMetdata
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::STRUCT, :class => ::Concord::Thrift::StreamMetadata}},
219
- NODES => {:type => ::Thrift::Types::LIST, :name => 'nodes', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Concord::Thrift::PhysicalComputationMetdata}}
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.1
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-06-20 00:00:00.000000000 Z
12
+ date: 2015-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thrift