magic_recipes 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/magic_recipes/postgresql.rb +1 -2
  2. metadata +1 -1
@@ -49,8 +49,7 @@ module MagicRecipes
49
49
 
50
50
  desc "Create a database for this application."
51
51
  task :create_database, roles: :db, only: {primary: true} do
52
- # with --createdb for rake commands
53
- run %Q{#{sudo} -u postgres psql -c "create user --createdb #{postgresql_user} with password '#{postgresql_password}';"}
52
+ run %Q{#{sudo} -u postgres psql -c "create user #{postgresql_user} with password '#{postgresql_password}';"}
54
53
  run %Q{#{sudo} -u postgres psql -c "create database #{postgresql_database} owner #{postgresql_user};"}
55
54
  end
56
55
  after "deploy:setup", "postgresql:create_database"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: