ruby-amqp/bunny — pull request #80 by celldee (2013-01-04 15:02:39+00:00)
Title: Fix problem when queue is not created after being deleted and redeclared

A problem was reported on the ruby-amqp mailing list where a queue was declared, then deleted and finally redeclared. After the last redeclaration the queue was not being recreated because it was still cached in the Bunny::Channel hash @queues.

This patch is to make sure that when exchanges and queues are deleted they are removed from Bunny::Channel hashes @exchanges and @queues.