Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use amqp 0.9.0

  • Loading branch information...
commit 774c5b7c8ac7ca955b6ce9ec4b9bc71ca12ccbf4 1 parent 462eed2
@grantr authored
Showing with 9 additions and 3 deletions.
  1. +8 −2 Gemfile.lock
  2. +1 −1  sensu.gemspec
View
10 Gemfile.lock
@@ -2,7 +2,7 @@ PATH
remote: .
specs:
sensu (0.9.3.beta.1)
- amqp (= 0.7.4)
+ amqp (>= 0.9.0)
async_sinatra
bundler
cabin (= 0.1.8)
@@ -17,7 +17,13 @@ GEM
remote: http://rubygems.org/
specs:
addressable (2.2.6)
- amqp (0.7.4)
+ amq-client (0.9.0)
+ amq-protocol (>= 0.9.0)
+ eventmachine
+ amq-protocol (0.9.0)
+ amqp (0.9.0)
+ amq-client (~> 0.9.0)
+ amq-protocol (>= 0.9.0)
eventmachine
async_sinatra (0.5.0)
rack (>= 1.2.1)
View
2  sensu.gemspec
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency "bundler"
s.add_runtime_dependency "eventmachine", "~> 1.0.0.beta.4"
- s.add_runtime_dependency "amqp", "0.7.4"
+ s.add_runtime_dependency "amqp", ">= 0.9.0"
s.add_runtime_dependency "json"
s.add_runtime_dependency "hashie"
s.add_runtime_dependency "cabin", "0.1.8"

4 comments on commit 774c5b7

@portertech

Have they fixed "This library works with Ruby 1.8.7 (except for p249, see the FAQ)"?

@grantr
Owner

According to the readme, supporting p249 would require a big refactor, so I'm guessing no.

I am not stuck on p249 so it's better for me to get the bug fixes and features from the 0.8 and 0.9 series. I'd understand if mainline needed to preserve compatibility.

@portertech

One thing to note, I don't know how channel/connection failures are handled in the newer versions.

@grantr
Owner

0.8 introduced support for automatic channel recovery for consumers, and 0.9 added the same thing for publishers. Recovery handling options are very comprehensive. I've been testing those features and find them very useful.

http://rubyamqp.info/articles/error_handling/

Please sign in to comment.
Something went wrong with that request. Please try again.