Sha256: 3f95155dc8350f690d9a2b9e318d5e367f737cd9f58d0283d9bc00b805de2107

Contents?: true

Size: 810 Bytes

Versions: 9

Compression:

Stored size: 810 Bytes

Contents

development:
  # Configure available database sessions. (required)
  sessions:
    # Defines the default session. (required)
    default:
      # Defines the name of the default database that Mongoid can connect to.
      # (required).
      database: mailcannon_development
      # Provides the hosts the default session can connect to. Must be an array
      # of host:port pairs. (required)
      hosts:
        - localhost:<%= ENV['MONGODB_PORT'] || '27017' %>
test:
  sessions:
    default:
      database: mailcannon_test
      hosts:
        - localhost:<%= ENV['MONGODB_PORT'] || '27017' %>
      options:
        consistency: :strong
        # In the test environment we lower the retries and retry interval to
        # low amounts for fast failures.
        max_retries: 1
        retry_interval: 0

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mailcannon-0.1.1 spec/support/mongoid.yml
mailcannon-0.1.0.pre.1 spec/support/mongoid.yml
mailcannon-0.0.8.pre.1 spec/support/mongoid.yml
mailcannon-0.0.8 spec/support/mongoid.yml
mailcannon-0.0.6 spec/support/mongoid.yml
mailcannon-0.0.5 spec/support/mongoid.yml
mailcannon-0.0.4 spec/support/mongoid.yml
mailcannon-0.0.3 spec/support/mongoid.yml
mailcannon-0.0.2 spec/support/mongoid.yml