digital-transport 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/digital/transport/adapters/tcp.rb +1 -1
 - data/lib/digital/transport/version.rb +1 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: c8049be40a3e3b583d7bd139f725f8970b19cad9
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 5af871b954f84474022cd6945249b66cd1ee7215
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 0bf2e6aab9e46c8b95c7e21a7e365a915f89b9ba90058771ebe3e4885a9c87e72992402c563d96d53519a872f1d30f160a9fe5f0dd73867d3b095923e4a48437
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: a3a649d45353ee204e39fdb560f358cd686239dc7797c4dd0cc8bbfc815314998db9aea1602f722b49864430c276af2ffeb0c857ae1b388dc8ce347261eece4e
         
     | 
| 
         @@ -97,7 +97,7 @@ module Digital 
     | 
|
| 
       97 
97 
     | 
    
         
             
                    def connect_nonblock(io_like, endpoint, timeout)
         
     | 
| 
       98 
98 
     | 
    
         
             
                      # IO.connect_nonblock retrun value is different across multiple platform.
         
     | 
| 
       99 
99 
     | 
    
         
             
                      io_like.connect_nonblock(endpoint) 
         
     | 
| 
       100 
     | 
    
         
            -
                       
     | 
| 
      
 100 
     | 
    
         
            +
                      Either.right(self)
         
     | 
| 
       101 
101 
     | 
    
         
             
                    rescue Errno::EINPROGRESS # connection in progress, wait a bit.
         
     | 
| 
       102 
102 
     | 
    
         
             
                      IO.select(nil, [io_like], nil, timeout) ? retry : nil
         
     | 
| 
       103 
103 
     | 
    
         
             
                    rescue Errno::EISCONN # The socket is already connected.
         
     |