lib/jumpup/heroku/configuration.rb in jumpup-heroku-0.0.4 vs lib/jumpup/heroku/configuration.rb in jumpup-heroku-0.0.5

- old
+ new

@@ -29,9 +29,18 @@ def valid? boolean_run_database_tasks? && (only_app? || only_production_and_staging_apps?) end + def deploy_branch + 'master' + end + + def deploy_to_production_branch + return 'production' if production_app + 'master' + end + private def current_account (ENV["HEROKU_ACCOUNT"] || %x{ git config heroku.account }.chomp).to_sym end