opentox-ruby-api-wrapper 1.2.4 → 1.2.5

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/task.rb +4 -3
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.4
1
+ 1.2.5
@@ -22,12 +22,13 @@ module OpenTox
22
22
  @@config[:services]["opentox-task"]
23
23
  end
24
24
 
25
- def start
26
- RestClient.put File.join(@uri,'started'), nil
25
+ def started
26
+ #LOGGER.info File.join(@uri,'started')
27
+ RestClient.put File.join(@uri,'started'), {}
27
28
  end
28
29
 
29
30
  def cancel
30
- RestClient.put File.join(@uri,'cancelled'), nil
31
+ RestClient.put File.join(@uri,'cancelled'), {}
31
32
  end
32
33
 
33
34
  def completed(uri)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentox-ruby-api-wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Helma
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-09 00:00:00 +01:00
12
+ date: 2010-01-11 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency