lib/tasks/status_cat.rake in status_cat-0.1.1 vs lib/tasks/status_cat.rake in status_cat-5.0.0
- old
+ new
@@ -1,14 +1,13 @@
namespace :status_cat do
desc 'Run all checkers and output results'
- task :check => :environment do
+ task check: :environment do
include StatusCat::StatusHelper
- Kernel.puts status_report( StatusCat::Status.all )
+ Kernel.puts status_report(StatusCat::Status.all)
end
desc 'Run all checkers and email failures'
- task :cron => :environment do
+ task cron: :environment do
StatusCat::Status.cron
end
-
end