iron-io / iron_mq_ruby

Ruby library for IronMQ.
http://www.iron.io
BSD 2-Clause "Simplified" License
35 stars 17 forks source link

post_messages (batch) incompatible with ruby 1.8.7 #53

Closed eshao closed 11 years ago

eshao commented 11 years ago

Your current implementation of post_messages uses the Enumerable method #each_with_object, which is not in ruby 1.8.7.

Either use a different method or change/document dependencies to note that a higher version of ruby is required.

Thanks!

featalion commented 11 years ago

Will fix it soon. On Mar 25, 2013 7:17 AM, "Edwin Shao" notifications@github.com wrote:

Your current implementation of post_messages uses the Enumerable method

each_with_object, which is not in ruby 1.8.7http://ruby-doc.org/core-1.8.7/Enumerable.html.

Either use a different object or change/document dependencies to note that a higher version of ruby is required.

Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/iron-io/iron_mq_ruby/issues/53 .

featalion commented 11 years ago

@eshao fixed in version 4.0.3