Sha256: 68411889ada000307a1f56d4363def8367dcfafa7a1b337335c6314de2d13a39
Contents?: true
Size: 478 Bytes
Versions: 10
Compression:
Stored size: 478 Bytes
Contents
module Pah module Templates class Database < Pah::Template def call copy_static_file 'config/database.yml' gsub_file 'config/database.yml', /PROJECT/, Pah.configuration.app_name git add: 'config/database.yml' git_commit 'Add config/database.yml.' run 'bundle exec rake db:create db:migrate db:test:clone' git add: 'db/schema.rb' git_commit 'Create database, adding db/schema.rb.' end end end end
Version data entries
10 entries across 10 versions & 1 rubygems