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

- old
+ new

@@ -114,13 +114,13 @@ raise MessageDriver::ConnectionError, conn.connection_frame.to_s unless conn.open? conn end def validate_stomp_version - required = Gem::Requirement.create('~> 1.2.10') + required = Gem::Requirement.create('~> 1.3.1') current = Gem::Version.create(Stomp::Version::STRING) unless required.satisfied_by? current - raise MessageDriver::Error, "stomp 1.2.10 or a later version of the 1.2.x series is required for the stomp adapter" + raise MessageDriver::Error, "stomp 1.3.1 or a later version of the 1.3.x series is required for the stomp adapter" end end end end end