summaryrefslogtreecommitdiff
path: root/lib/tasks/opentox.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-01-09 18:22:47 +0100
committerChristoph Helma <helma@in-silico.de>2010-01-09 18:22:47 +0100
commitea3829ca583ea706cd96a9544e22949bd751158b (patch)
treec9199ea2768b4de2feb6426d302900671db0eb4b /lib/tasks/opentox.rb
parentc4d68eb599a6b563ac9967d3884ea31b0d619e38 (diff)
tasks added
Diffstat (limited to 'lib/tasks/opentox.rb')
-rw-r--r--lib/tasks/opentox.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/tasks/opentox.rb b/lib/tasks/opentox.rb
index 38202dd..e330c87 100644
--- a/lib/tasks/opentox.rb
+++ b/lib/tasks/opentox.rb
@@ -1,24 +1,4 @@
require File.join(File.dirname(__FILE__), '..', 'opentox-ruby-api-wrapper.rb')
-require File.join(File.dirname(__FILE__), 'redis.rb')
-
-namespace :redis do
-
- desc "Flush Redis testing database"
- task :flush do
- require 'redis'
- r = Redis.new :db => 2
- r.flush_db
- end
-
- desc "Flush all Redis databases"
- task :flushall do
- require 'redis'
- r = Redis.new
- r.flush_all
- end
-
-
-end
namespace :opentox do