Sha256: 4965504f97910bdd8218b166ca7e1eb06f59ce882d473599fac4102a1d065ee5

Contents?: true

Size: 505 Bytes

Versions: 17

Compression:

Stored size: 505 Bytes

Contents

# store your custom template at foo/bar/database.yml.erb `set :template_dir, "foo/bar"`
#
# example of database template

base: &base
  adapter: postgresql
  encoding: unicode
  timeout: 5000
  username: deployer
# password: <%#= ask(:db_password, SecureRandom.base64(6)) && fetch(:db_password) %>
# host: localhost
# port: 5432

test:
  database: <%= fetch(:application) %>_test
  <<: *base

<%= fetch(:rails_env).to_s %>:
  database: <%= fetch(:application) %>_<%= fetch(:rails_env).to_s %>
  <<: *base

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
j-cap-recipes-0.0.18 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.17 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.16 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.15 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.14 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.13 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.12 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.11 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.10 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.9 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.8 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.7 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.5 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.4 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.3 lib/j-cap-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.2 lib/capistrano-recipes/tasks/templates/database.yml.erb
j-cap-recipes-0.0.1 lib/capistrano-recipes/tasks/templates/database.yml.erb