morellon/stomp — pull request #25 by onyx (2011-12-13 22:23:46+00:00)
Title: Allow @reliable to be passed in when Connection is being initialized with a hash.

Stomp::Connection now accepts a :reliable parameter when being initialized by a hash. @reliable will still default to true if this parameter is not specified in the hash.

We need this as we have a desire to use the Hash version of the arguments {:hosts=>[], :connect_headers => {:something=>:xyz}} but currently this means the @reliable attribute of connection is set to true. We want it to be false.

Thanks and let us know if you have any questions/comments about this.