summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-06-28 17:15:59 +0200
committermguetlein <martin.guetlein@gmail.com>2010-06-28 17:15:59 +0200
commit6fb9ec6db40d25d2892d4d1bb9de33e56979a945 (patch)
tree0d4f56aae540b6f714cdda78b30d88e2725e4c56
parent5cdd09a98b1edfb8be3e4693a4b129b9b35ad9f2 (diff)
new wrapper version
-rw-r--r--VERSION2
-rw-r--r--lib/rest_client_wrapper.rb2
-rw-r--r--opentox-ruby-api-wrapper.gemspec4
3 files changed, 4 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index eac1e0a..f01291b 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.5.6
+1.5.7
diff --git a/lib/rest_client_wrapper.rb b/lib/rest_client_wrapper.rb
index 4f8b0ee..1282bee 100644
--- a/lib/rest_client_wrapper.rb
+++ b/lib/rest_client_wrapper.rb
@@ -110,7 +110,7 @@ module OpenTox
task = nil
case res.content_type
- when /application\/rdf\+xml|text\/x-yaml/
+ when /application\/rdf\+xml|application\/x-yaml/
task = OpenTox::Task.from_data(res, res.content_type, res.code, base_uri)
when /text\//
raise "uri list has more than one entry, should be a task" if res.content_type=~/text\/uri-list/ and
diff --git a/opentox-ruby-api-wrapper.gemspec b/opentox-ruby-api-wrapper.gemspec
index d158479..221d53d 100644
--- a/opentox-ruby-api-wrapper.gemspec
+++ b/opentox-ruby-api-wrapper.gemspec
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{opentox-ruby-api-wrapper}
- s.version = "1.5.6"
+ s.version = "1.5.7"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Christoph Helma, Martin Guetlein"]
- s.date = %q{2010-06-25}
+ s.date = %q{2010-06-28}
s.description = %q{Ruby wrapper for the OpenTox REST API (http://www.opentox.org)}
s.email = %q{helma@in-silico.ch}
s.executables = ["yaml2owl.rb", "opentox-install-ubuntu.sh", "opentox-install-debian.sh"]