lib/message_driver/adapters/bunny_adapter.rb in message-driver-0.2.0.rc2 vs lib/message_driver/adapters/bunny_adapter.rb in message-driver-0.2.0

- old
+ new

@@ -397,13 +397,13 @@ end private def validate_bunny_version - required = Gem::Requirement.create('>= 0.9.3') + required = Gem::Requirement.create('>= 0.10.8') current = Gem::Version.create(Bunny::VERSION) unless required.satisfied_by? current - raise MessageDriver::Error, "bunny 0.9.3 or later is required for the bunny adapter" + raise MessageDriver::Error, "bunny 0.10.8 or later is required for the bunny adapter" end end end end end