Sha256: e9a8398b891496960063588f8247c036a3223f73950fe39cf4e1e9288dbacacf

Contents?: true

Size: 304 Bytes

Versions: 55

Compression:

Stored size: 304 Bytes

Contents

require 'rake'
require_relative 'migration_initializer'
require_relative 'migration_tasks'

module Appfuel
  module Db
    module MigrationRunner
      def self.call(cmd, data = {})
        tasks = MigrationTasks.new
        tasks.install_tasks
        Rake::Task[cmd].invoke
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
appfuel-0.7.0 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.16 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.15 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.14 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.13 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.12 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.11 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.10 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.9 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.8 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.7 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.6 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.5 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.4 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.3 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.6.1 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.5.16 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.5.15 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.5.14 lib/appfuel/storage/db/migration_runner.rb
appfuel-0.5.13 lib/appfuel/storage/db/migration_runner.rb