From ae96cc17613281d053cea06f4adbb98c1a3afe8f Mon Sep 17 00:00:00 2001 From: ch Date: Fri, 21 May 2010 17:42:54 +0200 Subject: check for MAIL constant fixed --- lib/config/config_ru.rb | 2 +- opentox-ruby-api-wrapper.gemspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/config/config_ru.rb b/lib/config/config_ru.rb index 34dfdf1..3d8dce2 100644 --- a/lib/config/config_ru.rb +++ b/lib/config/config_ru.rb @@ -18,7 +18,7 @@ set :raise_errors, true end use Rack::ShowExceptions -if MAIL +if defined?(MAIL) # monkeypatch with the original method # strangely enough my mailserver returns "Connection refused - connect(2)" errors without this patch diff --git a/opentox-ruby-api-wrapper.gemspec b/opentox-ruby-api-wrapper.gemspec index a6e64f0..a0841eb 100644 --- a/opentox-ruby-api-wrapper.gemspec +++ b/opentox-ruby-api-wrapper.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |s| s.date = %q{2010-05-21} s.description = %q{Ruby wrapper for the OpenTox REST API (http://www.opentox.org)} s.email = %q{helma@in-silico.ch} - s.executables = ["opentox-install-ubuntu.sh", "yaml2owl.rb", "opentox-install-debian.sh"] + s.executables = ["opentox-install-debian.sh", "opentox-install-ubuntu.sh", "yaml2owl.rb"] s.extra_rdoc_files = [ "LICENSE", "README.rdoc" @@ -49,7 +49,7 @@ Gem::Specification.new do |s| s.homepage = %q{http://github.com/helma/opentox-ruby-api-wrapper} s.rdoc_options = ["--charset=UTF-8"] s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.6} + s.rubygems_version = %q{1.3.5} s.summary = %q{Ruby wrapper for the OpenTox REST API} if s.respond_to? :specification_version then -- cgit v1.2.3