Sha256: b6e7249faef358df39cbccaf115f7dc6d8d22508fa86873ea14af78a23f20e77

Contents?: true

Size: 638 Bytes

Versions: 2

Compression:

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

    # @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

2 entries across 2 versions & 1 rubygems

Version Path
mixed_gauge-0.2.1 lib/mixed_gauge.rb
mixed_gauge-0.2.0 lib/mixed_gauge.rb