Rakefile in memdash-0.0.1 vs Rakefile in memdash-0.1.0
- old
+ new
@@ -1,10 +1,14 @@
#!/usr/bin/env rake
-require 'bundler/gem_tasks'
+require 'bundler/gem_helper'
require 'rspec/core/rake_task'
-ADAPTERS = %w(active_record)
+Bundler::GemHelper.install_tasks(:name => 'memdash')
+Bundler::GemHelper.install_tasks(:name => 'memdash-activerecord')
+Bundler::GemHelper.install_tasks(:name => 'memdash-mongo_mapper')
+
+ADAPTERS = %w(active_record mongo_mapper)
task :default => :test
desc 'Run tests'
task :test => ADAPTERS.map{|a| "#{a}:test" }