Sha256: d6ae8f6032cfa7148d204974c0b4757ecb789065a2578a6ed778b9acdf46ffd6

Contents?: true

Size: 687 Bytes

Versions: 2

Compression:

Stored size: 687 Bytes

Contents

require 'sequel'
require 'yaml'
require 'find'
require 'benchmark'
require 'time'

require 'sql_migrations/version'
require 'sql_migrations/database'
require 'sql_migrations/supervisor'
require 'sql_migrations/sql_script'
require 'sql_migrations/migration'
require 'sql_migrations/seed'
require 'sql_migrations/fixture'

module SqlMigrations
  class << self
    attr_reader :options

    def load_tasks
      load "sql_migrations/tasks/migrate.rake"
      load "sql_migrations/tasks/seed.rake"
      load "sql_migrations/tasks/seed_test.rake"
      load "sql_migrations/tasks/list.rake"
    end

    def load!(config_file)
      @options = YAML::load_file(config_file)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sql_migrations-1.1.0 lib/sql_migrations.rb
sql_migrations-1.0.0 lib/sql_migrations.rb