lib/stomp/constants.rb in stomp-1.3.5 vs lib/stomp/constants.rb in stomp-1.4.0

- old
+ new

@@ -173,13 +173,17 @@ ["SRP-RSA-3DES-EDE-CBC-SHA","TLSv1/SSLv3",168,168], ["SRP-RSA-AES-128-CBC-SHA","TLSv1/SSLv3",128,128], ["SRP-RSA-AES-256-CBC-SHA","TLSv1/SSLv3",256,256], ] + original_verbose, $VERBOSE = $VERBOSE, nil # try to shut off warnings + # stomp URL regex pattern, for e.g. login:passcode@host:port or host:port URL_REPAT = '((([\w~!@#$%^&*()\-+=.?:<>,.]*\w):([\w~!@#$%^&*()\-+=.?:<>,.]*))?@)?([\w\.\-]+):(\d+)' # Failover URL regex, for e.g. #failover:(stomp+ssl://login1:passcode1@remotehost1:61612,stomp://login2:passcode2@remotehost2:61613) FAILOVER_REGEX = /^failover:(\/\/)?\(stomp(\+ssl)?:\/\/#{URL_REPAT}(,stomp(\+ssl)?:\/\/#{URL_REPAT})*\)(\?(.*))?$/ + $VERBOSE = original_verbose + end # Module Stomp