Sha256: 044fb003d6b4ad69934b447044da9ead17f997598cd4f31d3e13422dceceddd5

Contents?: true

Size: 313 Bytes

Versions: 15

Compression:

Stored size: 313 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

    def initialize
      @data_migrations_path = "db/data/"
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
data_migrate-6.5.0 lib/data_migrate/config.rb
data_migrate-6.4.0 lib/data_migrate/config.rb
data_migrate-6.3.0 lib/data_migrate/config.rb
data_migrate-6.2.0 lib/data_migrate/config.rb
data_migrate-6.1.0 lib/data_migrate/config.rb
data_migrate-6.0.7 lib/data_migrate/config.rb
data_migrate-6.0.6 lib/data_migrate/config.rb
data_migrate-6.0.5 lib/data_migrate/config.rb
data_migrate-6.0.4.beta lib/data_migrate/config.rb
data_migrate-6.0.3.beta lib/data_migrate/config.rb
data_migrate-6.0.1.beta lib/data_migrate/config.rb
data_migrate-6.0.0.beta lib/data_migrate/config.rb
data_migrate-5.3.2 lib/data_migrate/config.rb
data_migrate-5.3.1 lib/data_migrate/config.rb
data_migrate-5.3.0 lib/data_migrate/config.rb