Sha256: 2e8bc43208ac7f31355fc3306b8dad81d2910d38e5b3d70462fd8c22a656d663
Contents?: true
Size: 512 Bytes
Versions: 2
Compression:
Stored size: 512 Bytes
Contents
require 'rake' module PhobosDBCheckpoint module Tasks extend Rake::DSL if defined? Rake::DSL namespace :db do task :environment do PhobosDBCheckpoint.configure end task :load_config do PhobosDBCheckpoint.load_db_config task_db_config = Hash[PhobosDBCheckpoint.env, PhobosDBCheckpoint.db_config] ActiveRecord::Tasks::DatabaseTasks.database_configuration = task_db_config end end load 'active_record/railties/databases.rake' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phobos_db_checkpoint-0.1.1 | lib/phobos_db_checkpoint/tasks.rb |
phobos_db_checkpoint-0.1.0 | lib/phobos_db_checkpoint/tasks.rb |