Sha256: 295ad3a7ed848a7b6795efcfc2095282b07f0ff7189dc97d309740cce702f75b

Contents?: true

Size: 871 Bytes

Versions: 2

Compression:

Stored size: 871 Bytes

Contents

ENV['RACK_ENV'] ||= 'development'

require 'firehose/version'
require 'em-hiredis' # TODO Move this into a Redis module so that we can auto-load it. Lots of the CLI tools don't need this.
require 'firehose/logging'
require 'firehose/rails' if defined?(::Rails::Engine) # TODO Detect Sprockets instead of the jankin Rails::Engine test.

module Firehose
  autoload :Subscriber,   'firehose/subscriber'
  autoload :Publisher,    'firehose/publisher'
  autoload :Producer,     'firehose/producer' # TODO Move this into the Firehose::Client namespace.
  autoload :Default,      'firehose/default'
  autoload :Rack,         'firehose/rack'
  autoload :CLI,          'firehose/cli'
  autoload :Client,       'firehose/client'
  autoload :Server,       'firehose/server'
  autoload :Channel,      'firehose/channel'
  autoload :SwfPolicyRequest, 'firehose/swf_policy_request'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
firehose-0.2.alpha.3 lib/firehose.rb
firehose-0.2.alpha.2 lib/firehose.rb