lib/ubiquo/template.erb in ubiquo-0.4.2 vs lib/ubiquo/template.erb in ubiquo-0.4.3

- old
+ new

@@ -86,10 +86,11 @@ config.notifier_email_from = 'railsmail@gnuine.com' end end CODE # Initializer for ubiquo crontab +if opts[:template] == :edge initializer 'ubiquo_crontab.rb', <<-CODE # -*- coding: utf-8 -*- Ubiquo::Cron::Crontab.schedule do |cron| # Who to mail on errors # cron.mailto = 'errors@change.me' @@ -127,9 +128,10 @@ # Executes a script/runner like task # cron.runner "* * * * *", "puts 6+6" end CODE +end # Initializer for exception notifier # Needs 3 params: # appname -> Application name (Ex: test) # exception_recipient -> email to deliver application error messages (Ex: developers@foo.com) # sender_adress -> email to user in from when delivering error message (Ex: notifier@foo.com)