Sha256: 2e55b8af2bc619f7a5a0e3577790236d2b71eab3bed8e161a4bb815396636f25
Contents?: true
Size: 827 Bytes
Versions: 5
Compression:
Stored size: 827 Bytes
Contents
require 'dump' desc 'Short for dump:create' << Dump::Env.explain_variables_for_command(:create) task :dump => 'dump:create' namespace :dump do desc 'Show avaliable versions' << Dump::Env.explain_variables_for_command(:versions) task :versions => :environment do Dump.versions(Dump::Env.for_command(:versions)) end desc 'Create dump' << Dump::Env.explain_variables_for_command(:create) task :create => :environment do Dump.create(Dump::Env.for_command(:create)) end desc 'Restore dump' << Dump::Env.explain_variables_for_command(:restore) task :restore => :environment do Dump.restore(Dump::Env.for_command(:restore)) end desc 'Cleanup dumps' << Dump::Env.explain_variables_for_command(:cleanup) task :cleanup => :environment do Dump.cleanup(Dump::Env.for_command(:cleanup)) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
dump-1.2.0 | lib/tasks/dump.rake |
dump-1.1.0 | lib/tasks/dump.rake |
dump-1.0.8 | lib/tasks/dump.rake |
dump-1.0.7 | lib/tasks/dump.rake |
dump-1.0.6 | lib/tasks/dump.rake |