@@ -1308,7 +1308,7 @@ def ipaddr=(addr)
13081308 # Sets the maximum number of times to retry an idempotent request in case of
13091309 # \Gem::Net::ReadTimeout, IOError, EOFError, Errno::ECONNRESET,
13101310 # Errno::ECONNABORTED, Errno::EPIPE, OpenSSL::SSL::SSLError,
1311- # Timeout::Error.
1311+ # Gem:: Timeout::Error.
13121312 # The initial value is 1.
13131313 #
13141314 # Argument +retries+ must be a non-negative numeric value:
@@ -1598,7 +1598,7 @@ def connect
15981598 end
15991599
16001600 debug "opening connection to #{ conn_addr } :#{ conn_port } ..."
1601- s = Timeout . timeout ( @open_timeout , Gem ::Net ::OpenTimeout ) {
1601+ s = Gem :: Timeout . timeout ( @open_timeout , Gem ::Net ::OpenTimeout ) {
16021602 begin
16031603 TCPSocket . open ( conn_addr , conn_port , @local_host , @local_port )
16041604 rescue => e
@@ -2358,7 +2358,7 @@ def transport_request(req)
23582358 Errno ::ECONNRESET , Errno ::ECONNABORTED , Errno ::EPIPE , Errno ::ETIMEDOUT ,
23592359 # avoid a dependency on OpenSSL
23602360 defined? ( OpenSSL ::SSL ) ? OpenSSL ::SSL ::SSLError : IOError ,
2361- Timeout ::Error => exception
2361+ Gem :: Timeout ::Error => exception
23622362 if count < max_retries && IDEMPOTENT_METHODS_ . include? ( req . method )
23632363 count += 1
23642364 @socket . close if @socket
0 commit comments