opentox-ruby-api-wrapper 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/task.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.1
|
data/lib/task.rb
CHANGED
@@ -55,7 +55,7 @@ module OpenTox
|
|
55
55
|
end
|
56
56
|
|
57
57
|
def cancel
|
58
|
-
resource = RestClient::Resource.new(
|
58
|
+
resource = RestClient::Resource.new(File.join(@uri,'cancelled'), :user => @@users[:users].keys[0], :password => @@users[:users].values[0])
|
59
59
|
resource.put({})
|
60
60
|
end
|
61
61
|
|
@@ -80,7 +80,7 @@ module OpenTox
|
|
80
80
|
=end
|
81
81
|
def failed
|
82
82
|
#RestClient.put File.join(@uri,'failed'), {}
|
83
|
-
resource = RestClient::Resource.new(
|
83
|
+
resource = RestClient::Resource.new(File.join(@uri,'failed'), :user => @@users[:users].keys[0], :password => @@users[:users].values[0])
|
84
84
|
resource.put({})
|
85
85
|
end
|
86
86
|
|
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.3.
|
4
|
+
version: 1.3.1
|
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-03-
|
12
|
+
date: 2010-03-02 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|