net-ssh 4.0.0.beta2 → 4.0.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES.txt +4 -0
- data/lib/net/ssh/connection/session.rb +5 -1
- data/lib/net/ssh/transport/packet_stream.rb +6 -1
- data/lib/net/ssh/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 146419fe3e2b0cf850b18f87d8697a309a169370
|
4
|
+
data.tar.gz: c578d63fd847d87466e31bda279b188efe89cb58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99e33fcbc5bdd89c5f0068e6610798b87d7b78b87e6c18a969d2e894ccfea1a89d01847e3a2bed1006db21a3032e847df416ca854988d2ef004b4feb60a99186
|
7
|
+
data.tar.gz: 551f47778fa0921ad2cffbee6cfdc0c08df7fde716f83cf95f4330892a16c851fa22be10197a3d3bf6ab87ebc20d9642f9fd54b77a31353e8662717702d302a6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGES.txt
CHANGED
@@ -120,7 +120,11 @@ module Net; module SSH; module Connection
|
|
120
120
|
def close
|
121
121
|
info { "closing remaining channels (#{channels.length} open)" }
|
122
122
|
channels.each { |id, channel| channel.close }
|
123
|
-
|
123
|
+
begin
|
124
|
+
loop(0.1) { channels.any? }
|
125
|
+
rescue Net::SSH::Disconnect
|
126
|
+
raise unless channels.empty?
|
127
|
+
end
|
124
128
|
transport.close
|
125
129
|
end
|
126
130
|
|
@@ -86,7 +86,12 @@ module Net; module SSH; module Transport
|
|
86
86
|
when :nonblock then
|
87
87
|
if available_for_read?
|
88
88
|
if fill <= 0
|
89
|
-
|
89
|
+
result = poll_next_packet
|
90
|
+
if result.nil?
|
91
|
+
raise Net::SSH::Disconnect, "connection closed by remote host"
|
92
|
+
else
|
93
|
+
return result
|
94
|
+
end
|
90
95
|
end
|
91
96
|
end
|
92
97
|
poll_next_packet
|
data/lib/net/ssh/version.rb
CHANGED
@@ -55,7 +55,7 @@ module Net; module SSH
|
|
55
55
|
|
56
56
|
# The prerelease component of this version of the Net::SSH library
|
57
57
|
# nil allowed
|
58
|
-
PRE = "
|
58
|
+
PRE = "beta3"
|
59
59
|
|
60
60
|
# The current version of the Net::SSH library as a Version instance
|
61
61
|
CURRENT = new(*[MAJOR, MINOR, TINY, PRE].compact)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.
|
4
|
+
version: 4.0.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamis Buck
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
s/ZUKye79ELwFYKJOhjW5g725OL3hy+llhEleytwKRwgXFQBPTC4f5UkdxZVVWGH
|
32
32
|
e2C9M1m/2odPZo8h
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-08-
|
34
|
+
date: 2016-08-14 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rbnacl-libsodium
|
metadata.gz.sig
CHANGED
Binary file
|