scrolls/postgresql.rb in appscrolls-0.10.0 vs scrolls/postgresql.rb in appscrolls-0.10.1
- old
+ new
@@ -1,7 +1,5 @@
-gem "pg"
-
gsub_file "config/database.yml", /username: .*/, "username: #{config['pg_username']}"
gsub_file "config/database.yml", /password: .*/, "password: #{config['pg_password']}"
%w[development test production].each do |env|
gsub_file "config/database.yml", /^#{env}:/, "#{env}:\n host: localhost"
end
@@ -29,10 +27,10 @@
author: drnic
exclusive: orm
category: persistence
-run_before: [eycloud]
+run_before: [eycloud, cf]
args: -d postgresql
config:
- pg_username: