Class: SnapDeploy::Provider::Heroku
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- SnapDeploy::Provider::Heroku
- Includes:
- Rake::FileUtilsExt, CLI::DefaultOptions, Helpers
- Defined in:
- lib/snap_deploy/provider/heroku.rb
Defined Under Namespace
Modules: API
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(*args) ⇒ Heroku
constructor
A new instance of Heroku.
Methods included from Helpers
#access_key_id, #deploy_comment, #encoding_for, #error, #info, #log, #logger, #manually_triggered_by, #pipeline_counter, #pull_request_number, #secret_access_key, #short_commit, #snap_branch, #snap_commit, #snap_upstream_branch
Methods included from CLI::DefaultOptions
Constructor Details
#initialize(*args) ⇒ Heroku
Returns a new instance of Heroku.
48 49 50 51 52 53 54 55 |
# File 'lib/snap_deploy/provider/heroku.rb', line 48 def initialize(*args) super require 'snap_deploy/provider/heroku/api' require 'netrc' require 'ansi' require 'rendezvous' require 'tempfile' end |
Instance Method Details
#execute ⇒ Object
57 58 59 60 61 62 63 |
# File 'lib/snap_deploy/provider/heroku.rb', line 57 def execute check_auth maybe_create_app setup_configuration git_push maybe_db_migrate end |