t2-server 0.0.2 → 0.0.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.
@@ -45,7 +45,11 @@ def get_outputs(run, pout, dir="")
45
45
  dirs.each {|d| get_outputs(run, pout, "#{dir}/#{d}")}
46
46
  files.each do |out|
47
47
  print " #{dir}/#{out} -> "
48
- output_name = "#{dir[1..-1]}/#{out}"
48
+ if dir == ""
49
+ output_name = out
50
+ else
51
+ output_name = "#{dir[1..-1]}/#{out}"
52
+ end
49
53
  data = run.get_output(output_name)
50
54
  if pout
51
55
  p data
@@ -35,6 +35,6 @@ require 't2server/server'
35
35
  require 't2server/run'
36
36
 
37
37
  module T2Server
38
- GEM_VERSION = "0.0.2"
38
+ GEM_VERSION = "0.0.3"
39
39
  API_VERSION = "2.2.0a1"
40
40
  end
@@ -41,7 +41,7 @@ module T2Server
41
41
  end
42
42
 
43
43
  module Fragments
44
- WORKFLOW = "<t2s:scufl xmlns:t2s=\"#{Namespaces::SERVER}\">\n %s\n</t2s:scufl>"
44
+ WORKFLOW = "<t2s:workflow xmlns:t2s=\"#{Namespaces::SERVER}\">\n %s\n</t2s:workflow>"
45
45
  RUNINPUT = "<t2sr:runInput xmlns:t2sr=\"#{Namespaces::REST}\">\n %s\n</t2sr:runInput>"
46
46
  RUNINPUTVALUE = RUNINPUT % "<t2sr:value>%s</t2sr:value>"
47
47
  RUNINPUTFILE = RUNINPUT % "<t2sr:file>%s</t2sr:file>"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: t2-server
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Robert Haines
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-22 00:00:00 +01:00
18
+ date: 2010-07-26 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies: []
21
21