lib/ubiquo/template.erb in ubiquo-0.4.4 vs lib/ubiquo/template.erb in ubiquo-0.4.5

- old
+ new

@@ -86,11 +86,11 @@ config.notifier_email_from = 'railsmail@gnuine.com' end end CODE # Initializer for ubiquo crontab -if @opts[:template] == :edge +<% 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' @@ -128,10 +128,10 @@ # Executes a script/runner like task # cron.runner "* * * * *", "puts 6+6" end CODE -end +<% 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)