Sha256: 1c3efaf2839be29701404812e5d9d1142fc4c31096d2aca10762052c79b09211

Contents?: true

Size: 126 Bytes

Versions: 35

Compression:

Stored size: 126 Bytes

Contents

require 'singleton'

class ClientRegistry
  include Singleton

  def global_client(name)
    Mongoid.default_client
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
mongoid-8.0.10 spec/support/client_registry.rb
mongoid-8.1.10 spec/support/client_registry.rb
mongoid-8.1.9 spec/support/client_registry.rb
mongoid-8.0.9 spec/support/client_registry.rb
mongoid-8.1.8 spec/support/client_registry.rb
mongoid-8.1.7 spec/support/client_registry.rb
mongoid-8.1.6 spec/support/client_registry.rb
mongoid-8.0.8 spec/support/client_registry.rb
mongoid-8.1.5 spec/support/client_registry.rb
mongoid-8.1.4 spec/support/client_registry.rb
mongoid-8.0.7 spec/support/client_registry.rb
mongoid-8.1.3 spec/support/client_registry.rb
mongoid-8.1.2 spec/support/client_registry.rb
mongoid-8.0.6 spec/support/client_registry.rb
mongoid-7.5.4 spec/support/client_registry.rb
mongoid-8.1.1 spec/support/client_registry.rb
mongoid-8.0.5 spec/support/client_registry.rb
mongoid-8.1.0 spec/support/client_registry.rb
mongoid-7.5.3 spec/support/client_registry.rb
mongoid-8.0.4 spec/support/client_registry.rb