localshred/ragnar — pull request #4 by teubanks (2012-08-06 19:15:51+00:00)
Title: turned auto recovery on for publishing and subscribing

Auto recovery tells the AMQP gem to keep trying to reconnect to the broker if something happens to the network connection.
Also pulled out common functionality of publish and subscribe and stuck that in a private method.

Didn't write specs for auto_recovery = true, I figure it's tested enough in the AMQP/AMQ/EventMachine code.