diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-11-24 13:10:52 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-11-24 13:10:52 +0100 |
commit | 6989492ceeb3ba8e882bf9ad3773812894bdf31a (patch) | |
tree | 64c56b8c4d38b1d983ef7a43d7a1e9d4d67466a4 | |
parent | 0338a925cd2111140c10dc79967e2f49d1349ba2 (diff) |
opentox-ruby-api-wrapper renamed to opentox-ruby
-rw-r--r-- | application.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application.rb b/application.rb index 545bf60..867fa6a 100644 --- a/application.rb +++ b/application.rb @@ -7,8 +7,8 @@ ENV["CLASSPATH"] = "#{ENV["CLASSPATH"]}:#{java_dir}:#{cdk}:#{jchempaint}" require 'rubygems' require 'rjb' -gem "opentox-ruby-api-wrapper", "= 1.6.6" -require 'opentox-ruby-api-wrapper' +gem "opentox-ruby", "~> 0" +require 'opentox-ruby' before do @inchi = URI.unescape request.env['REQUEST_URI'].sub(/^\//,'').sub(/.*compound\//,'').sub(/\/smarts.*$/,'').sub(/\/image/,'') # hack to avoid sinatra's URI/CGI unescaping, splitting, ..." |