Skip to content

Commit

Permalink
require amq/protocol from exchange.rb
Browse files Browse the repository at this point in the history
This is needed in order to load exchange.rb in solitude e.g. from a unit
test.

Issue ruby-amqp#410
  • Loading branch information
camelpunch committed Jun 13, 2016
1 parent c67d123 commit 6eea36e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bunny/exchange.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'amq/protocol'

module Bunny
# Represents AMQP 0.9.1 exchanges.
#
Expand Down

0 comments on commit 6eea36e

Please sign in to comment.