Sha256: 5c82c478d9588b9131d9940d6bfff5a11fe08a7cf4ae64c50933e74111b5ed38
Contents?: true
Size: 1.41 KB
Versions: 3
Compression:
Stored size: 1.41 KB
Contents
require 'quebert/version' module Quebert autoload :Logging, 'quebert/logging' autoload :Serializer, 'quebert/serializer' autoload :Configuration, 'quebert/configuration' autoload :Timeout, 'quebert/timeout' autoload :Job, 'quebert/job' autoload :Controller, 'quebert/controller' autoload :Backend, 'quebert/backend' autoload :Support, 'quebert/support' autoload :Worker, 'quebert/worker' autoload :CommandLineRunner, 'quebert/command_line_runner' autoload :AsyncSender, 'quebert/async_sender' class << self def configuration @configuration ||= Configuration.new end alias_method :config, :configuration # Registry for quebert backends def backends @backends ||= Support::Registry.new end def serializers @serializers ||= Support::ClassRegistry.new end # Make this easier for elsewhere in the app def logger config.logger end # Deprecation notice for code within block. def deprecate(message, &block) logger.warn "Quebert Deprecation Notice: #{message}" block.call end end # Register built-in Quebert backends Quebert.backends.register :beanstalk, Backend::Beanstalk Quebert.backends.register :in_process, Backend::InProcess Quebert.backends.register :sync, Backend::Sync end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quebert-2.0.2 | lib/quebert.rb |
quebert-2.0.1 | lib/quebert.rb |
quebert-2.0.0 | lib/quebert.rb |