Sha256: 98a4edb01a3b998575994a44000c092dc874913872eac36d310bc8e09f41261b

Contents?: true

Size: 748 Bytes

Versions: 1

Compression:

Stored size: 748 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, 1, 1]

  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.1.1 lib/bird_grinder.rb