Sha256: 414476318ef62d2733a8c27497aca4867754354a606747e478fcbda818c0eebf

Contents?: true

Size: 611 Bytes

Versions: 4

Compression:

Stored size: 611 Bytes

Contents

default: &default
  adapter: postgresql
  encoding: utf8
  pool: <%%= ENV["DB_POOL"] || 5  %>
  database: <%%= ENV['DB_NAME'] || '<%= @project_name %>_dev' %>
  username: <%%= ENV['DB_USER'] || ENV['USER'] %>
  password: <%%= ENV['DB_PASS'] %>
  host: <%%= ENV["DB_HOST"] %>
  url: <%%= ENV['DATABASE_URL'] %> # takes higher precedence than other settings

development:
  <<: *default
  database: <%%= ENV['DB_NAME'] || '<%= @project_name %>_dev' %>

test:
  <<: *default
  database: <%= @project_name %>_test

production:
  <<: *default
  database: <%= @project_name %>_prod
  url: <%%= ENV['DATABASE_URL'] %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jets-0.10.4 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-0.10.3 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-0.10.2 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-0.10.1 lib/jets/commands/templates/skeleton/config/database.yml.tt