Sha256: 96dff6954a1108643792995065b5b691e3b6657d9c7303466d3597eb823d2016

Contents?: true

Size: 246 Bytes

Versions: 4

Compression:

Stored size: 246 Bytes

Contents

namespace :active_mocker do
  desc('Rebuild mocks.')
  task :build => :environment do
    ActiveMocker::Generate.new
  end

end

['db:migrate'].each do |task|
  Rake::Task[task].enhance do
    Rake::Task['active_mocker:build'].invoke
  end
end


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_mocker-1.6.2 lib/active_mocker/task.rake
active_mocker-1.6.1 lib/active_mocker/task.rake
active_mocker-1.6 lib/active_mocker/task.rake
active_mocker-1.5.2 lib/active_mocker/task.rake