Sha256: ba7409421fee882b397a2f317aab637340ec9e4a4b56c1f5a1e83e9162da4825

Contents?: true

Size: 626 Bytes

Versions: 3

Compression:

Stored size: 626 Bytes

Contents

$:.unshift File.expand_path(File.dirname(__FILE__))

# Ruby standard libraries
%w[socket thread timeout].each do |file|
	require file
end

require 'qrack/qrack'

require 'bunny/client'
require 'bunny/exchange'
require 'bunny/queue'

module Bunny
	
	include Qrack

	class ProtocolError < StandardError; end
	class ServerDownError < StandardError; end
	class ConnectionError < StandardError; end
	class MessageError < StandardError; end
	
	VERSION = '0.4.0'
	
	# Returns the Bunny version number

	def self.version
		VERSION
	end
	
	# Instantiates new Bunny::Client
	
	def self.new(opts = {})
		Bunny::Client.new(opts)
	end

end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
celldee-bunny-0.4.0 lib/bunny.rb
fotonauts-bunny-0.4.0 lib/bunny.rb
bunny-0.4.0 lib/bunny.rb