lib/autowow/commands/heroku.rb in autowow-0.14.2 vs lib/autowow/commands/heroku.rb in autowow-0.15.0

- old
+ new

@@ -1,23 +1,23 @@ -module Autowow - module Commands - module Heroku - def cmd - ["heroku"] - end - - def info - cmd + ["info"] - end - - def pb_reset(app_name) - cmd + ["pg:reset", "DATABASE_URL", "--app", app_name, "--confirm", app_name] - end - - def migrate(app_name) - cmd + ["run", "rake", "db:migrate", "--app", app_name] - end - - include ReflectionUtils::CreateModuleFunctions - end - end -end +module Autowow + module Commands + module Heroku + def cmd + ["heroku"] + end + + def info + cmd + ["info"] + end + + def pb_reset(app_name) + cmd + ["pg:reset", "DATABASE_URL", "--app", app_name, "--confirm", app_name] + end + + def migrate(app_name) + cmd + ["run", "rake", "db:migrate", "--app", app_name] + end + + include ReflectionUtils::CreateModuleFunctions + end + end +end