Sha256: cb976f40942e7a5e28790b54e4ff210d4b5a3d89999ea2efb454963c5365bfa3

Contents?: true

Size: 352 Bytes

Versions: 75

Compression:

Stored size: 352 Bytes

Contents

gem 'pg'

stategies << lambda do
  opts = {}
  opts[:database_name] = ask("What's the name of the database?")
  opts[:database_username] = ask("Database username?")
  opts[:database_password] = ask("Password?  ***  Will show in plain text on your screen")
  create_file 'config/database.yml',
    load_template('postgresql.yml', 'database', opts)
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
wheels-0.1.30 lib/generators/recipes/postgresql.rb
wheels-0.1.28 lib/generators/recipes/postgresql.rb
wheels-0.1.27 lib/generators/recipes/postgresql.rb
wheels-0.1.25 lib/generators/recipes/postgresql.rb
wheels-0.1.24 lib/generators/recipes/postgresql.rb
wheels-0.1.23 lib/generators/recipes/postgresql.rb
wheels-0.1.22 lib/generators/recipes/postgresql.rb
wheels-0.1.21 lib/generators/recipes/postgresql.rb
wheels-0.1.20 lib/generators/recipes/postgresql.rb
wheels-0.1.19 lib/generators/recipes/postgresql.rb
wheels-0.1.18 lib/generators/recipes/postgresql.rb
wheels-0.1.17 lib/generators/recipes/postgresql.rb
wheels-0.1.16 lib/generators/recipes/postgresql.rb
wheels-0.1.15 lib/generators/recipes/postgresql.rb
wheels-0.1.14 lib/generators/recipes/postgresql.rb
wheels-0.1.13 lib/generators/recipes/postgresql.rb
wheels-0.1.12 lib/generators/recipes/postgresql.rb
wheels-0.1.11 lib/generators/wheels/recipes/postgresql.rb
wheels-0.1.10 lib/generators/recipes/postgresql.rb
wheels-0.1.9 lib/generators/recipes/postgresql.rb