Sha256: 75ff0a666ee7ceeb3b969f17a431a82ac1fdd1f1b4e896c0d08b2aa955677129
Contents?: true
Size: 231 Bytes
Versions: 1
Compression:
Stored size: 231 Bytes
Contents
namespace :db do desc 'Dump database' task :dump do list = Rake::Task.tasks.map(&:name) %w(mysql:dump postgresql:dump mongodb:dump).each do |name| Rake::Task[name].execute if list.include?(name) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
h2ocube_rails_tasks-0.0.10 | lib/h2ocube_rails_tasks/tasks/db.rb |