taverna-t2flow 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = Changes log for the T2Flow Ruby Gem
2
2
 
3
+ == Version 0.4.3
4
+
5
+ * Fixed issue with nested workflow names and control links not being connected.
6
+
3
7
  == Version 0.4.2
4
8
 
5
9
  * Altered colours of various activities to align with the latest version of Taverna.
data/Rakefile CHANGED
@@ -14,7 +14,7 @@ require 'jeweler'
14
14
 
15
15
  task :default => [:test]
16
16
 
17
- T2FLOW_GEM_VERSION = "0.4.2"
17
+ T2FLOW_GEM_VERSION = "0.4.3"
18
18
 
19
19
  Jeweler::Tasks.new do |s|
20
20
  s.name = "taverna-t2flow"
data/lib/t2flow/dot.rb CHANGED
@@ -122,7 +122,7 @@ module T2Flow
122
122
  # nested workflows
123
123
  if "#{processor.type}" == "workflow"
124
124
  dataflow = @t2flow_model.dataflow(processor.dataflow_id)
125
- write_dataflow(stream, dataflow, prefix + dataflow.annotations.name, dataflow.annotations.name, depth.next)
125
+ write_dataflow(stream, dataflow, prefix + processor.name, processor.name, depth.next)
126
126
  else
127
127
  stream.puts " \"#{prefix}#{processor.name}\" ["
128
128
  stream.puts " fillcolor=\"#{get_colour processor.type}\","
@@ -204,7 +204,7 @@ module T2Flow
204
204
  processor = dataflow.processors.select{|p| p.name == link.source.split(':')[0]}[0]
205
205
  if "#{processor.type}" == "workflow"
206
206
  df = @t2flow_model.dataflow(processor.dataflow_id)
207
- stream.write " \"#{prefix}#{df.annotations.name}WORKFLOWINTERNALSINK_#{link.source.split(':')[1]}\""
207
+ stream.write " \"#{prefix}#{processor.name}WORKFLOWINTERNALSINK_#{link.source.split(':')[1]}\""
208
208
  else
209
209
  stream.write " \"#{prefix}#{processor.name}\""
210
210
  end
@@ -216,7 +216,7 @@ module T2Flow
216
216
  processor = dataflow.processors.select{|p| p.name == link.sink.split(':')[0]}[0]
217
217
  if "#{processor.type}" == "workflow"
218
218
  df = @t2flow_model.dataflow(processor.dataflow_id)
219
- stream.write "\"#{prefix}#{df.annotations.name}WORKFLOWINTERNALSOURCE_#{link.sink.split(':')[1]}\""
219
+ stream.write "\"#{prefix}#{processor.name}WORKFLOWINTERNALSOURCE_#{link.sink.split(':')[1]}\""
220
220
  else
221
221
  stream.write "\"#{prefix}#{processor.name}\""
222
222
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "taverna-t2flow"
8
- s.version = "0.4.2"
8
+ s.version = "0.4.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Finn Bacall", "Robert Haines", "David Withers", "Mannie Tagarira"]
12
- s.date = "2013-01-28"
12
+ s.date = "2013-01-29"
13
13
  s.description = "This a gem developed by myGrid for the purpose of interacting with Taverna 2 workflows. An example use would be the image genaration for the model representing Taverna 2 workflows as used in myExperiment."
14
14
  s.email = ["finn.bacall@cs.man.ac.uk", "rhaines@manchester.ac.uk"]
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,10 +1,15 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: taverna-t2flow
3
- version: !ruby/object:Gem::Version
4
- version: 0.4.2
3
+ version: !ruby/object:Gem::Version
4
+ hash: 9
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 4
9
+ - 3
10
+ version: 0.4.3
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Finn Bacall
9
14
  - Robert Haines
10
15
  - David Withers
@@ -12,85 +17,86 @@ authors:
12
17
  autorequire:
13
18
  bindir: bin
14
19
  cert_chain: []
15
- date: 2013-01-28 00:00:00.000000000 Z
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
18
- name: rake
19
- requirement: !ruby/object:Gem::Requirement
20
+
21
+ date: 2013-01-29 00:00:00 Z
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
20
26
  none: false
21
- requirements:
27
+ requirements:
22
28
  - - ~>
23
- - !ruby/object:Gem::Version
29
+ - !ruby/object:Gem::Version
30
+ hash: 63
31
+ segments:
32
+ - 0
33
+ - 9
34
+ - 2
24
35
  version: 0.9.2
25
36
  type: :development
37
+ name: rake
38
+ version_requirements: *id001
39
+ - !ruby/object:Gem::Dependency
26
40
  prerelease: false
27
- version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ~>
31
- - !ruby/object:Gem::Version
32
- version: 0.9.2
33
- - !ruby/object:Gem::Dependency
34
- name: rdoc
35
- requirement: !ruby/object:Gem::Requirement
41
+ requirement: &id002 !ruby/object:Gem::Requirement
36
42
  none: false
37
- requirements:
38
- - - ! '>='
39
- - !ruby/object:Gem::Version
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ hash: 43
47
+ segments:
48
+ - 3
49
+ - 9
50
+ - 4
40
51
  version: 3.9.4
41
52
  type: :development
53
+ name: rdoc
54
+ version_requirements: *id002
55
+ - !ruby/object:Gem::Dependency
42
56
  prerelease: false
43
- version_requirements: !ruby/object:Gem::Requirement
44
- none: false
45
- requirements:
46
- - - ! '>='
47
- - !ruby/object:Gem::Version
48
- version: 3.9.4
49
- - !ruby/object:Gem::Dependency
50
- name: jeweler
51
- requirement: !ruby/object:Gem::Requirement
57
+ requirement: &id003 !ruby/object:Gem::Requirement
52
58
  none: false
53
- requirements:
59
+ requirements:
54
60
  - - ~>
55
- - !ruby/object:Gem::Version
61
+ - !ruby/object:Gem::Version
62
+ hash: 49
63
+ segments:
64
+ - 1
65
+ - 8
66
+ - 3
56
67
  version: 1.8.3
57
68
  type: :development
69
+ name: jeweler
70
+ version_requirements: *id003
71
+ - !ruby/object:Gem::Dependency
58
72
  prerelease: false
59
- version_requirements: !ruby/object:Gem::Requirement
60
- none: false
61
- requirements:
62
- - - ~>
63
- - !ruby/object:Gem::Version
64
- version: 1.8.3
65
- - !ruby/object:Gem::Dependency
66
- name: libxml-ruby
67
- requirement: !ruby/object:Gem::Requirement
73
+ requirement: &id004 !ruby/object:Gem::Requirement
68
74
  none: false
69
- requirements:
70
- - - ! '>='
71
- - !ruby/object:Gem::Version
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ hash: 27
79
+ segments:
80
+ - 1
81
+ - 1
82
+ - 4
72
83
  version: 1.1.4
73
84
  type: :runtime
74
- prerelease: false
75
- version_requirements: !ruby/object:Gem::Requirement
76
- none: false
77
- requirements:
78
- - - ! '>='
79
- - !ruby/object:Gem::Version
80
- version: 1.1.4
81
- description: This a gem developed by myGrid for the purpose of interacting with Taverna
82
- 2 workflows. An example use would be the image genaration for the model representing
83
- Taverna 2 workflows as used in myExperiment.
84
- email:
85
+ name: libxml-ruby
86
+ version_requirements: *id004
87
+ description: This a gem developed by myGrid for the purpose of interacting with Taverna 2 workflows. An example use would be the image genaration for the model representing Taverna 2 workflows as used in myExperiment.
88
+ email:
85
89
  - finn.bacall@cs.man.ac.uk
86
90
  - rhaines@manchester.ac.uk
87
91
  executables: []
92
+
88
93
  extensions: []
89
- extra_rdoc_files:
94
+
95
+ extra_rdoc_files:
90
96
  - CHANGES.rdoc
91
97
  - LICENCE
92
98
  - README.rdoc
93
- files:
99
+ files:
94
100
  - .rvmrc
95
101
  - CHANGES.rdoc
96
102
  - LICENCE
@@ -122,30 +128,38 @@ files:
122
128
  - test/test_starter_pack_workflows.rb
123
129
  homepage: http://www.taverna.org.uk/
124
130
  licenses: []
131
+
125
132
  post_install_message:
126
- rdoc_options:
133
+ rdoc_options:
127
134
  - -N
128
135
  - --tab-width=2
129
136
  - --main=README.rdoc
130
- require_paths:
137
+ require_paths:
131
138
  - lib
132
- required_ruby_version: !ruby/object:Gem::Requirement
139
+ required_ruby_version: !ruby/object:Gem::Requirement
133
140
  none: false
134
- requirements:
135
- - - ! '>='
136
- - !ruby/object:Gem::Version
137
- version: '0'
138
- required_rubygems_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ hash: 3
145
+ segments:
146
+ - 0
147
+ version: "0"
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
149
  none: false
140
- requirements:
141
- - - ! '>='
142
- - !ruby/object:Gem::Version
143
- version: '0'
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ hash: 3
154
+ segments:
155
+ - 0
156
+ version: "0"
144
157
  requirements: []
158
+
145
159
  rubyforge_project:
146
160
  rubygems_version: 1.8.24
147
161
  signing_key:
148
162
  specification_version: 3
149
163
  summary: Support for interacting with Taverna 2 workflows.
150
- test_files:
164
+ test_files:
151
165
  - test/run_tests.rb