scrolls/postgresql.rb in appscrolls-0.8.4 vs scrolls/postgresql.rb in appscrolls-0.9.0

- old
+ new

@@ -1,8 +1,11 @@ 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 after_bundler do rake "db:create:all" rakefile("sample.rake") do