dougbarth / amqp-utils

Command line utils for interacting with an AMQP based queue
MIT License
78 stars 11 forks source link

minor bug in the released gem w/default message format #6

Closed ghost closed 13 years ago

ghost commented 13 years ago

We just upgraded to amqp-utils 0.4.1 and found that we could no longer publish using -m. After forking the repo and looking at the code, we think we see what was intended and made an update. This pull request should contain the fix - having the default formatter's load return a map with the message in it or nil so the EM loop is exited.

Please let me know if this works and if you make a new release that resolves the issue for us -- and thanks again for a great library!

Best Regards,

Kyle Burton kyle.burton@gmail.com

dougbarth commented 13 years ago

I released v0.4.2 with this fix. Thanks for the patch.

kyleburton commented 13 years ago

Very awesome thank you!