Sha256: 7719dc07923a8563359735087c7626a197d94f31303bbc36a474ef9c4585463c

Contents?: true

Size: 509 Bytes

Versions: 3

Compression:

Stored size: 509 Bytes

Contents

%w(
  null_logger
  active_support/core_ext/class/attribute
).each { |lib| require lib }

base_path = File.dirname(__FILE__) + '/worker_glass'

%w(
  version
  errors
  timeout
  reentrancy
).each { |lib| require File.join(base_path, lib) }

# Background worker wrappers that provides optional timeout and after failure (reentrancy)
module WorkerGlass
  class << self
    attr_writer :logger

    # @return [Logger] logger that we want to use
    def logger
      @logger ||= NullLogger.new
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
worker-glass-0.2.2 lib/worker_glass.rb
worker-glass-0.2.1 lib/worker_glass.rb
worker-glass-0.2.0 lib/worker_glass.rb