class Rockstart::Deployment::HerokuGenerator
Public Instance Methods
add_deploy_script()
click to toggle source
# File lib/generators/rockstart/deployment/heroku/heroku_generator.rb, line 40 def add_deploy_script script_template "deploy-heroku" end
add_rack_task()
click to toggle source
# File lib/generators/rockstart/deployment/heroku/heroku_generator.rb, line 36 def add_rack_task template "heroku.rake", "lib/tasks/heroku.rake" end
add_slugignore()
click to toggle source
# File lib/generators/rockstart/deployment/heroku/heroku_generator.rb, line 32 def add_slugignore copy_file "slugignore", ".slugignore" end
create_app_json()
click to toggle source
# File lib/generators/rockstart/deployment/heroku/heroku_generator.rb, line 28 def create_app_json template "app.json" end
create_procfile()
click to toggle source
# File lib/generators/rockstart/deployment/heroku/heroku_generator.rb, line 24 def create_procfile template "Procfile" end
Private Instance Methods
free_tier?()
click to toggle source
# File lib/generators/rockstart/deployment/heroku/heroku_generator.rb, line 46 def free_tier? options.fetch(:free_tier) end