lib/ubiquo/template.erb in ubiquo-0.5.3 vs lib/ubiquo/template.erb in ubiquo-0.5.4

- old
+ new

@@ -86,9 +86,24 @@ else config.notifier_email_from = 'railsmail@gnuine.com' end end CODE + +# Rakefile to avoid deprecation warnings for Rdoc +file 'Rakefile', <<-CODE +# Add your own tasks in files placed in lib/tasks ending in .rake, +# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. + +require(File.join(File.dirname(__FILE__), 'config', 'boot')) + +require 'rake' +require 'rake/testtask' +require 'rdoc/task' + +require 'tasks/rails' +CODE + # Initializer for ubiquo crontab <% if @opts[:template] == :edge %> initializer 'ubiquo_crontab.rb', <<-CODE # -*- coding: utf-8 -*- Ubiquo::Cron::Crontab.schedule do |cron|