Sha256: ef80137e96a972a964b28a9019377b8fa9b77c1526fee9b04aa623ba38555766

Contents?: true

Size: 620 Bytes

Versions: 4

Compression:

Stored size: 620 Bytes

Contents

require 'active_support/all'

require File.join(File.dirname(__FILE__), 'backgrounded', 'handler', 'inprocess_handler')
require File.join(File.dirname(__FILE__), 'backgrounded', 'concern')
require File.join(File.dirname(__FILE__), 'backgrounded', 'active_record_extension')

module Backgrounded
  class << self
    attr_accessor :logger, :handler
  end
end

# default handler to the basic in process handler
Backgrounded.handler = Backgrounded::Handler::InprocessHandler.new

# configure default logger to standard out with info log level
Backgrounded.logger = Logger.new STDOUT
Backgrounded.logger.level = Logger::INFO

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
backgrounded-2.1.0 lib/backgrounded.rb
backgrounded-2.0.0 lib/backgrounded.rb
backgrounded-2.0.0.rc2 lib/backgrounded.rb
backgrounded-2.0.0.rc1 lib/backgrounded.rb