Sha256: 453166202e20ef160679355f8a5b78a4f9692898ec226b66d6e729d446b18cdb

Contents?: true

Size: 964 Bytes

Versions: 9

Compression:

Stored size: 964 Bytes

Contents

<%
  connection = case ENV["DB"]
               when "mysql"
                 { :adapter => "mysql2" }
               when "postgresql"
                 { :adapter => "postgresql", :username => ENV['USER'] }
               else
                 { :adapter => "sqlite3", :database => "db/test.sqlite3" }
               end
%>

# SQLite version 3.x
#   gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
  adapter: sqlite3
  database: db/development.sqlite3
  pool: 5
  timeout: 5000

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  adapter: <%= connection[:adapter] %>
  database: <%= connection[:database] || 'typus_test' %>
  username: <%= connection[:username] || 'root' %>
  pool: 5
  timeout: 5000

production:
  adapter: sqlite3
  database: db/production.sqlite3
  pool: 5
  timeout: 5000

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
typus-3.0.11.rc5 test/fixtures/rails_app/config/database.yml
typus-3.0.11.rc4 test/fixtures/rails_app/config/database.yml
typus-3.0.11.rc3 test/fixtures/rails_app/config/database.yml
typus-3.0.11.rc2 test/fixtures/rails_app/config/database.yml
typus-3.0.11.rc1 test/fixtures/rails_app/config/database.yml
typus-3.0.10 test/fixtures/rails_app/config/database.yml
typus-3.0.9 test/fixtures/rails_app/config/database.yml
typus-3.0.8 test/fixtures/rails_app/config/database.yml
typus-3.0.7 test/fixtures/rails_app/config/database.yml