Sha256: 32211bceaef6059f8a0b9930cf43ba60b3f7fd607a4347f74fd8219dc492101c

Contents?: true

Size: 539 Bytes

Versions: 1

Compression:

Stored size: 539 Bytes

Contents

require 'active_record'

require 'mixed_gauge/version'
require 'mixed_gauge/errors'
require 'mixed_gauge/cluster_config'
require 'mixed_gauge/config'
require 'mixed_gauge/routing'
require 'mixed_gauge/sub_model_repository'
require 'mixed_gauge/model'

module MixedGauge
  class << self
    # @return [MixedGauge::Config]
    def config
      @config ||= Config.new
    end

    def configure(&block)
      config.instance_eval(&block)
    end
  end
end

require 'mixed_gauge/database_tasks'
require 'mixed_gauge/railtie' if defined? Rails

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mixed_gauge-0.1.3 lib/mixed_gauge.rb