Sha256: 860b0f923f1cfe13779521895991841b7f75e1e0bfbc545139666bd4db34664b

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 Bytes

Contents

require 'active_record'
require 'expeditor'

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/all_shards_in_parallel'
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.4 lib/mixed_gauge.rb