Sha256: aa919e9ca821898bf9f77c47ab252fc43b93515d79e8f8259666c16c79cd5e4d

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

require 'rake_ext'

require 'rad/tasks'
require 'rad/assets/tasks'
require 'mongo/migration/tasks'

namespace :db do
  desc "Internal task to prepare migration environment"
  task migration_evnironment: :environment do
    require 'mongo/migration'

    Dir["#{rad.runtime_path}/db/**/*.rb"].each{|f| require f.sub(/\.rb$/, '')}
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rad_kit-0.0.10 lib/kit/tasks.rb
rad_kit-0.0.9 lib/kit/tasks.rb