t2-web 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,5 +1,8 @@
1
1
  = Changes log for the Taverna via the Web Gem
2
2
 
3
+ == Version 0.1.3
4
+ * Added /t2web in route to check status.. /runs/...
5
+
3
6
  == Version 0.1.2
4
7
  * Moved everything in /public into /public/t2web to be able to redirect from apache et al.
5
8
 
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
  Authors:: Konstantinos Karasavvas
5
- Gem Version:: 0.1.2
5
+ Gem Version:: 0.1.3
6
6
  Contact:: mailto:kostas.karasavvas@nbic.nl
7
7
  Licence:: MIT (See LICENCE or http://www.opensource.org/licenses/mit-license)
8
8
  Copyright:: (c) 2012 Netherlands Bioinformatics Centre, The Netherlands
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rdoc/task'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 't2-web'
15
- s.version = '0.1.2'
15
+ s.version = '0.1.3'
16
16
  s.extra_rdoc_files = ['README', 'LICENSE', 'CHANGES']
17
17
  s.summary = 'Web application that generates a Web UI form for a Taverna2 workflow, given its myExperiment id, for ease of execution. The only requirement for the user is a web browser.'
18
18
  s.description = s.summary
@@ -258,7 +258,7 @@ END
258
258
 
259
259
 
260
260
  # Proxy operation (to bypass cross-domain AJAX) to get T2 run's status
261
- get '/runs/:uuid/status' do
261
+ get "/#{WEB_APP_NAME}/runs/:uuid/status" do
262
262
  uuid = params[:uuid]
263
263
  t2_server = params[:server]
264
264
 
@@ -26,7 +26,7 @@ function readTmpOutput(t2_server, uuid, output, wid, wkf_version) {
26
26
 
27
27
  function checkRunStatus(t2_server, uuid, wid, wkf_version) {
28
28
  // t2 server REST call to uuid's status
29
- var httpcall = "http://" + document.location.host + "/runs/" + uuid + "/status?server=" + t2_server;
29
+ var httpcall = "http://" + document.location.host + "/t2web/runs/" + uuid + "/status?server=" + t2_server;
30
30
 
31
31
  // ajax request to confirm finished execution
32
32
  //$.get(httpcall, function (result) {
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: t2-web
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kostas Karasavvas