Module: Autowow::Commands::Heroku
- Includes:
- ReflectionUtils::CreateModuleFunctions
- Included in:
- Features::Gem
- Defined in:
- lib/autowow/commands/heroku.rb
Instance Method Summary collapse
Instance Method Details
#cmd ⇒ Object
4 5 6 |
# File 'lib/autowow/commands/heroku.rb', line 4 def cmd ["heroku"] end |
#info ⇒ Object
8 9 10 |
# File 'lib/autowow/commands/heroku.rb', line 8 def info cmd + ["info"] end |
#migrate(app_name) ⇒ Object
16 17 18 |
# File 'lib/autowow/commands/heroku.rb', line 16 def migrate(app_name) cmd + ["run", "rake", "db:migrate", "--app", app_name] end |
#pb_reset(app_name) ⇒ Object
12 13 14 |
# File 'lib/autowow/commands/heroku.rb', line 12 def pb_reset(app_name) cmd + ["pg:reset", "DATABASE_URL", "--app", app_name, "--confirm", app_name] end |