lib/pah/templates/heroku.rb in pah-0.0.23 vs lib/pah/templates/heroku.rb in pah-0.0.24

- old
+ new

@@ -1,8 +1,8 @@ class HerokuApp < Rails::Generators::AppGenerator - DEFAULT_ADDONS = %w(heroku-postgresql:dev logentries - mandrill:starter rollbar newrelic:wayne librato) + DEFAULT_ADDONS = %w(heroku-postgresql logentries sendgrid rollbar newrelic + librato) attr_reader :name, :description, :config def initialize(config) @config = config @@ -55,10 +55,10 @@ say 'Configuring LIBRATO_SOURCE environment variable on Heroku'.green run "heroku config:set LIBRATO_SOURCE=#{name} --app #{name}" end def schedule_backup - run "heroku pg:backups schedule DATABASE_URL --app #{name}" + run "heroku pg:backups schedule DATABASE_URL --at '02:00 America/Sao_Paulo' --app #{name}" end def open say 'Pushing application to heroku...'.green run 'git push heroku master'