lib/kapify/pg/configuration.rb in kapify-0.0.9 vs lib/kapify/pg/configuration.rb in kapify-0.0.10
- old
+ new
@@ -2,12 +2,12 @@
require 'kapify/base'
Capistrano::Configuration.instance.load do
set_default(:pg_host) { find_servers(roles: :pg)[0] || "localhost" }
set_default(:pg_port, "5432")
- set_default(:pg_database, application)
+ set_default(:pg_database) { application }
set_default(:pg_pool, 5)
- set_default(:pg_user, application)
+ set_default(:pg_user) { application }
set_default(:pg_password) { Capistrano::CLI.password_prompt "PG password: " }
set_default(:pg_create_db, true)
namespace :kapify do
namespace :pg do