Sha256: 44fe171c39e8c48304dce55fd83efb12ad5746a4820493c62eee61a5bc5c77e1
Contents?: true
Size: 817 Bytes
Versions: 9
Compression:
Stored size: 817 Bytes
Contents
require 'rails' require 'active_record' require 'batch_manager/version' require 'batch_manager/engine' module BatchManager mattr_accessor :logger class << self def batch_dir Rails.application.config.batch_manager.batch_dir end def log_dir path = Rails.application.config.batch_manager.log_dir path = File.join(Rails.root, path) unless path.start_with?("/") path end def save_log? Rails.application.config.batch_manager.save_log end def signal "=Batch Manager=" end def logger @@logger ||= ::Logger.new(STDOUT) end end end require 'batch_manager/utils' require 'batch_manager/schema_batch' require 'batch_manager/batch_status' require 'batch_manager/executor' require 'batch_manager/monitor' require "batch_manager/logger"
Version data entries
9 entries across 9 versions & 1 rubygems