stompgem/stomp — pull request #68 by ismith (2013-08-16 05:12:18+00:00)
Title: Stomp::Client#unreceive should not off-by-one max_redeliveries.

Script to demonstrate the incorrect behavior is here: https://gist.github.com/ismith/6247478

E.g., ruby file.rb 0 should print once (no retries), ruby file.rb 1 should print once (one retry), and so on, but there's an off-by-one error such that it retries once more than it should.