Sha256: a6833e6158a3a2eb78195e604cd5dca3855f1fd413c2321ebf4523736ee1e83c

Contents?: true

Size: 397 Bytes

Versions: 15

Compression:

Stored size: 397 Bytes

Contents

module DataMigrate
  include ActiveSupport::Configurable
  class << self

    def configure
      yield config
    end

    def config
      @config ||= Config.new
    end
  end

  class Config
    attr_accessor :data_migrations_path, :db_configuration, :spec_name

    def initialize
      @data_migrations_path = "db/data/"
      @db_configuration = nil
      @spec_name = nil
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
data_migrate-8.4.2 lib/data_migrate/config.rb
data_migrate-8.4.1 lib/data_migrate/config.rb
data_migrate-8.4.0 lib/data_migrate/config.rb
data_migrate-8.3.0 lib/data_migrate/config.rb
data_migrate-8.2.0 lib/data_migrate/config.rb
data_migrate-8.1.1 lib/data_migrate/config.rb
data_migrate-8.1.0 lib/data_migrate/config.rb
data_migrate-8.0.0 lib/data_migrate/config.rb
data_migrate-8.0.0.rc2 lib/data_migrate/config.rb
data_migrate-8.0.0.rc1 lib/data_migrate/config.rb
data_migrate-7.0.2 lib/data_migrate/config.rb
data_migrate-7.0.1 lib/data_migrate/config.rb
data_migrate-7.0.0 lib/data_migrate/config.rb
data_migrate-6.8.0 lib/data_migrate/config.rb
data_migrate-6.7.0 lib/data_migrate/config.rb