diff options
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | lib/rest_client_wrapper.rb | 2 | ||||
-rw-r--r-- | opentox-ruby-api-wrapper.gemspec | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -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"] |