Rakefile in koine-db_bkp-0.1.0 vs Rakefile in koine-db_bkp-0.1.1
- old
+ new
@@ -1,11 +1,14 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "koine/db_bkp"
-import 'lib/koine/tasks/mysql_dump.rake'
-import 'lib/koine/tasks/mysql_rails_dump.rake'
+Koine::Tasks::MysqlDump.new
+
+Koine::Tasks::RailsMysqlDump.new do |t|
+ t.task_name = 'rails:mysql_dump'
+end
RSpec::Core::RakeTask.new(:spec)
task :default => :spec