Sha256: bb3842f4f534ec399ddaecce3e6d28ee12061089a665f9bbc9d502089f3aa5b1

Contents?: true

Size: 743 Bytes

Versions: 5

Compression:

Stored size: 743 Bytes

Contents

# This is to allow testing on different DB systems by setting
# the DB environment variable.
#
# MySQL and Postgresql username and password are set to
# match expecations on Travis-CI to simplify automatic testing.
#
# Set the DB environment variable when running specs etc.
#
# sqlite3 is the default.

sqlite: &sqlite
  adapter: sqlite3
  database: db/test.sqlite3

mysql: &mysql
  adapter: mysql2
  username: root
  password:
  database: has_vcard_test

postgresql: &postgresql
  adapter: postgresql
  username: postgres
  password:
  database: has_vcard_test

test:
  pool: 5
  timeout: 5000
  host: localhost
  <<: *<%= ENV['DB'] || 'sqlite' %>

development:
  pool: 5
  timeout: 5000
  host: localhost
  <<: *<%= ENV['DB'] || 'mysql' %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
has_vcards-1.1.2 spec/dummy/config/database.yml
has_vcards-1.1.1 spec/dummy/config/database.yml
has_vcards-1.1.0 spec/dummy/config/database.yml
has_vcards-1.0.0 spec/dummy/config/database.yml
has_vcards-1.0.0.rc0 spec/dummy/config/database.yml