lib/message_driver/adapters/bunny_adapter.rb in message-driver-0.7.2 vs lib/message_driver/adapters/bunny_adapter.rb in message-driver-1.0.0

- old
+ new

@@ -545,10 +545,10 @@ rescue => e logger.error exception_to_str(e) end def validate_bunny_version - required = Gem::Requirement.create('>= 1.7.0') + required = Gem::Requirement.create('>= 2.7.0') current = Gem::Version.create(Bunny::VERSION) unless required.satisfied_by? current raise MessageDriver::Error, 'bunny 1.7.0 or later is required for the bunny adapter' end end