Sha256: e8c71ecdc12b199bb43336052476b30811e08c70ea4edac1ef447416d726e18d

Contents?: true

Size: 745 Bytes

Versions: 1

Compression:

Stored size: 745 Bytes

Contents

lib_path = File.dirname(__FILE__)
$LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)
require 'perennial'
require 'yajl'
require 'eventmachine'
require 'em-http'

module BirdGrinder
  include Perennial
  
  VERSION = [0, 1, 2]

  def self.version(include_minor = false)
    VERSION[0, (include_minor ? 4 : 3)].join(".")
  end
  
  manifest do |m, l|
    Settings.lookup_key_path = []
    Settings.root = __FILE__.to_pathname.dirname.dirname
    l.register_controller :client,  'BirdGrinder::Client'
    l.register_controller :console, 'BirdGrinder::Console'
  end
  
  has_library :cacheable, :tweeter, :client, :base, :command_handler,
              :console, :queue_processor, :stream_handler
  
  extends_library :loader
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
birdgrinder-0.1.2 lib/bird_grinder.rb