Sha256: b9c75f616c7be11e31cd6091a1d8c1631bca34e26c371baf1cf0dfa2971ccf8b
Contents?: true
Size: 785 Bytes
Versions: 10
Compression:
Stored size: 785 Bytes
Contents
require 'rails' require 'active_record' 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
10 entries across 10 versions & 1 rubygems