mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-21 08:21:36 +02:00
Lint web
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
module Crono
|
||||
# PerformerProxy is a proxy used in cronotab.rb semantic
|
||||
# Crono::PerformerProxy is a proxy used in cronotab.rb semantic
|
||||
class PerformerProxy
|
||||
def initialize(performer, scheduler)
|
||||
@performer = performer
|
||||
|
||||
@@ -4,6 +4,7 @@ require 'rails/generators/active_record'
|
||||
|
||||
module Crono
|
||||
module Generators
|
||||
# rails generate crono:install
|
||||
class InstallGenerator < ::Rails::Generators::Base
|
||||
include Rails::Generators::Migration
|
||||
|
||||
@@ -19,7 +20,8 @@ module Crono
|
||||
end
|
||||
|
||||
def create_migrations
|
||||
migration_template 'migrations/create_crono_jobs.rb', 'db/migrate/create_crono_jobs.rb'
|
||||
migration_template 'migrations/create_crono_jobs.rb',
|
||||
'db/migrate/create_crono_jobs.rb'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user