Sha256: e75cecd3dc6656e29945e5a68595662aa609af1e68637d81d097202f6bcb044e

Contents?: true

Size: 676 Bytes

Versions: 3

Compression:

Stored size: 676 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/shard_repository'
require 'mixed_gauge/replication_mapping'
require 'mixed_gauge/all_shards_in_parallel'
require 'mixed_gauge/model'

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

    # @yield [MixedGauge::Config]
    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

3 entries across 3 versions & 1 rubygems

Version Path
mixed_gauge-1.2.0.beta2 lib/mixed_gauge.rb
mixed_gauge-1.2.0.beta1 lib/mixed_gauge.rb
mixed_gauge-1.1.0 lib/mixed_gauge.rb