Sha256: 5e7f2a70b64252ed87d1bb3a7f19fbc78af3b2dee1f5572b39bcfba86b8f9f55

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'tasks/standalone_migrations'
require 'appstats/tasks'

begin
  AppstatsTasks.new
  
  MigratorTasks.new do |t|
    t.migrations = "db/migrations"
    t.config = "db/config.yml"
    t.schema = "db/schema.rb"
    t.env = "DB"
    t.default_env = "development"
    t.verbose = true
    t.log_level = Logger::ERROR
  end
rescue LoadError => e
  puts "gem install standalone_migrations to get db:migrate:* tasks! (Error: #{e})"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
appstats-0.0.5 Rakefile
appstats-0.0.4 Rakefile