Sha256: ec9c50a097b45d3e47b210ab83604f3fe8d78a36dda13ca46b0009d49515b7aa
Contents?: true
Size: 355 Bytes
Versions: 1
Compression:
Stored size: 355 Bytes
Contents
namespace :hypershield do task refresh: :environment do $stderr.puts "[hypershield] Refreshing schemas" Hypershield.refresh $stderr.puts "[hypershield] Success!" end end Rake::Task["db:migrate"].enhance do Rake::Task["hypershield:refresh"].invoke end Rake::Task["db:rollback"].enhance do Rake::Task["hypershield:refresh"].invoke end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hypershield-0.1.1 | lib/tasks/hypershield.rake |