vagrant 0.8.8 → 0.8.10
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.
- data/CHANGELOG.md +5 -0
- data/lib/vagrant/ssh.rb +2 -7
- data/lib/vagrant/version.rb +1 -1
- metadata +4 -4
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/lib/vagrant/ssh.rb
    CHANGED
    
    | @@ -115,15 +115,10 @@ module Vagrant | |
| 115 115 |  | 
| 116 116 | 
             
                  require 'timeout'
         | 
| 117 117 | 
             
                  Timeout.timeout(env.config.ssh.timeout) do
         | 
| 118 | 
            -
                    execute(:timeout => env.config.ssh.timeout, :port => ssh_port)  | 
| 119 | 
            -
                      # We run a basic command to test that the shell is up and
         | 
| 120 | 
            -
                      # ready to receive commands. Only then is our SSH connection
         | 
| 121 | 
            -
                      # truly "up"
         | 
| 122 | 
            -
                      return ssh.exec!("echo hello") == "hello\n"
         | 
| 123 | 
            -
                    end
         | 
| 118 | 
            +
                    execute(:timeout => env.config.ssh.timeout, :port => ssh_port) { |ssh| }
         | 
| 124 119 | 
             
                  end
         | 
| 125 120 |  | 
| 126 | 
            -
                   | 
| 121 | 
            +
                  true
         | 
| 127 122 | 
             
                rescue Net::SSH::AuthenticationFailed
         | 
| 128 123 | 
             
                  raise Errors::SSHAuthenticationFailed
         | 
| 129 124 | 
             
                rescue Timeout::Error, Errno::ECONNREFUSED, Net::SSH::Disconnect,
         | 
    
        data/lib/vagrant/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,13 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: vagrant
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              hash:  | 
| 4 | 
            +
              hash: 43
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
              segments: 
         | 
| 7 7 | 
             
              - 0
         | 
| 8 8 | 
             
              - 8
         | 
| 9 | 
            -
              -  | 
| 10 | 
            -
              version: 0.8. | 
| 9 | 
            +
              - 10
         | 
| 10 | 
            +
              version: 0.8.10
         | 
| 11 11 | 
             
            platform: ruby
         | 
| 12 12 | 
             
            authors: 
         | 
| 13 13 | 
             
            - Mitchell Hashimoto
         | 
| @@ -16,7 +16,7 @@ autorequire: | |
| 16 16 | 
             
            bindir: bin
         | 
| 17 17 | 
             
            cert_chain: []
         | 
| 18 18 |  | 
| 19 | 
            -
            date: 2011-12- | 
| 19 | 
            +
            date: 2011-12-11 00:00:00 Z
         | 
| 20 20 | 
             
            dependencies: 
         | 
| 21 21 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 22 22 | 
             
              version_requirements: &id001 !ruby/object:Gem::Requirement 
         |