bunny 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/bunny.gemspec +1 -1
- data/examples/simple.rb +1 -1
- data/examples/simple_ack.rb +1 -1
- data/examples/simple_consumer.rb +1 -1
- data/examples/simple_fanout.rb +1 -1
- data/examples/simple_publisher.rb +1 -1
- data/examples/simple_topic.rb +1 -1
- data/lib/bunny.rb +7 -1
- data/spec/bunny_spec.rb +1 -1
- data/spec/exchange_spec.rb +1 -1
- data/spec/queue_spec.rb +1 -1
- metadata +1 -1
data/README
CHANGED
data/bunny.gemspec
CHANGED
data/examples/simple.rb
CHANGED
data/examples/simple_ack.rb
CHANGED
data/examples/simple_consumer.rb
CHANGED
data/examples/simple_fanout.rb
CHANGED
data/examples/simple_topic.rb
CHANGED
data/lib/bunny.rb
CHANGED
@@ -27,12 +27,18 @@ module Bunny
|
|
27
27
|
class ConnectionError < StandardError; end
|
28
28
|
class MessageError < StandardError; end
|
29
29
|
|
30
|
-
VERSION = '0.3.
|
30
|
+
VERSION = '0.3.1'
|
31
31
|
|
32
32
|
# Returns the Bunny version number
|
33
33
|
|
34
34
|
def self.version
|
35
35
|
VERSION
|
36
36
|
end
|
37
|
+
|
38
|
+
# Instantiates new Bunny::Client
|
39
|
+
|
40
|
+
def self.new(opts = {})
|
41
|
+
Bunny::Client.new(opts)
|
42
|
+
end
|
37
43
|
|
38
44
|
end
|
data/spec/bunny_spec.rb
CHANGED
data/spec/exchange_spec.rb
CHANGED
data/spec/queue_spec.rb
CHANGED