Sha256: 42c88c36eb2966d1317bfc238ae5457df88da6257c6cf9f424799dc116e0d118

Contents?: true

Size: 372 Bytes

Versions: 6

Compression:

Stored size: 372 Bytes

Contents

default: &default
  adapter: postgresql
  encoding: unicode
  pool: 5
  <%= "user: #{@config[:db][:user]}" if @config[:db][:user].present? %>
  <%= "password: #{@config[:db][:password]}" if @config[:db][:password].present? %>

development:
  <<: *default
  database: <%= @config[:db][:name] %>_development

test:
  <<: *default
  database: <%= @config[:db][:name] %>_test

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cambium-0.3.0 lib/generators/cambium/templates/config/database.pg.yml.erb
cambium-0.2.2 lib/generators/cambium/templates/config/database.pg.yml.erb
cambium-0.2.1 lib/generators/cambium/templates/config/database.pg.yml.erb
cambium-0.2.0 lib/generators/cambium/templates/config/database.pg.yml.erb
cambium-0.0.2 lib/generators/cambium/templates/config/database.pg.yml.erb
cambium-0.0.1 lib/generators/cambium/templates/config/database.pg.yml.erb