mirror of
https://github.com/plashchynski/crono.git
synced 2026-05-26 01:39:17 +02:00
Lint the whole project
This commit is contained in:
@@ -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'
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user