net-ssh 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.1.0</strong><br />
18
- Manual Last Updated: <strong>2007-05-01 04:05 UTC</strong>
17
+ Net::SSH Version: <strong>1.1.1</strong><br />
18
+ Manual Last Updated: <strong>2007-05-10 04:06 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.1.0</strong><br />
18
- Manual Last Updated: <strong>2007-05-01 04:05 UTC</strong>
17
+ Net::SSH Version: <strong>1.1.1</strong><br />
18
+ Manual Last Updated: <strong>2007-05-10 04:06 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.1.0</strong><br />
18
- Manual Last Updated: <strong>2007-05-01 04:05 UTC</strong>
17
+ Net::SSH Version: <strong>1.1.1</strong><br />
18
+ Manual Last Updated: <strong>2007-05-10 04:06 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.1.0</strong><br />
18
- Manual Last Updated: <strong>2007-05-01 04:05 UTC</strong>
17
+ Net::SSH Version: <strong>1.1.1</strong><br />
18
+ Manual Last Updated: <strong>2007-05-10 04:06 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.1.0</strong><br />
18
- Manual Last Updated: <strong>2007-05-01 04:05 UTC</strong>
17
+ Net::SSH Version: <strong>1.1.1</strong><br />
18
+ Manual Last Updated: <strong>2007-05-10 04:06 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.1.0</strong><br />
18
- Manual Last Updated: <strong>2007-05-01 04:05 UTC</strong>
17
+ Net::SSH Version: <strong>1.1.1</strong><br />
18
+ Manual Last Updated: <strong>2007-05-10 04:06 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.1.0</strong><br />
18
- Manual Last Updated: <strong>2007-05-01 04:05 UTC</strong>
17
+ Net::SSH Version: <strong>1.1.1</strong><br />
18
+ Manual Last Updated: <strong>2007-05-10 04:06 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.1.0</strong><br />
18
- Manual Last Updated: <strong>2007-05-01 04:05 UTC</strong>
17
+ Net::SSH Version: <strong>1.1.1</strong><br />
18
+ Manual Last Updated: <strong>2007-05-10 04:06 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -61,7 +61,7 @@ module Net
61
61
  keys << { :host => args[:peer][:host], :port => args[:peer][:port], :ip => args[:peer][:ip], :type => args[:key].ssh_type, :key => args[:key_blob] }
62
62
 
63
63
  key_directory = File.dirname(user_key_file)
64
- File.mkdir(key_directory, :mode => 0700) if !File.exists?(key_directory)
64
+ Dir.mkdir(key_directory, 0700) if !File.exists?(key_directory)
65
65
 
66
66
  File.open(user_key_file, "a") do |f|
67
67
  host = args[:peer][:host]
@@ -105,7 +105,7 @@ module Net
105
105
  def peer
106
106
  @peer ||= begin
107
107
  addr = @socket.getpeername
108
- ip_address = Socket.getnameinfo(addr, Socket::NI_NUMERICHOST).first
108
+ ip_address = Socket.getnameinfo(addr, Socket::NI_NUMERICHOST | Socket::NI_NUMERICSERV).first
109
109
  { :ip => ip_address, :port => @port.to_i, :host => @host }
110
110
  end
111
111
  end
@@ -20,7 +20,7 @@ module Net
20
20
 
21
21
  MAJOR = 1
22
22
  MINOR = 1
23
- TINY = 0
23
+ TINY = 1
24
24
 
25
25
  STRING = [ MAJOR, MINOR, TINY ].join( "." )
26
26
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: net-ssh
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.0
7
- date: 2007-04-30 00:00:00 -06:00
6
+ version: 1.1.1
7
+ date: 2007-05-09 00:00:00 -06:00
8
8
  summary: Net::SSH is a pure-Ruby implementation of the SSH2 client protocol.
9
9
  require_paths:
10
10
  - lib