Lint the whole project

This commit is contained in:
Dzmitry Plashchynski
2015-03-13 20:32:27 +02:00
parent 1aa27baca8
commit a9798acb35
23 changed files with 203 additions and 172 deletions
@@ -11,8 +11,8 @@ module Crono
ActiveRecord::Generators::Base.next_migration_number(path)
end
desc "Installs crono and generates the necessary configuration files"
source_root File.expand_path("../templates", __FILE__)
desc 'Installs crono and generates the necessary configuration files'
source_root File.expand_path('../templates', __FILE__)
def copy_config
template 'cronotab.rb.erb', 'config/cronotab.rb'
@@ -7,9 +7,9 @@
#
# class TestJob
# def perform
# puts "Test!"
# puts 'Test!'
# end
# end
#
# Crono.perform(TestJob).every 2.days, at: "15:30"
# Crono.perform(TestJob).every 2.days, at: '15:30'
#