public
Description: Pure Ruby implementation of an SSH (protocol 2) client
Homepage: http://rubyforge.org/projects/net-ssh
Clone URL: git://github.com/jamis/net-ssh.git
Search Repo:
Make Net::SSH::Version comparable.

Previously, the docs showed examples using '<' to compare Net::SSH
version objects, but Net::SSH::Version did not actually include
Comparable, so such comparisons did not actually work.
jamis (author)
Fri Jun 27 09:17:48 -0700 2008
commit  60b38c8f5d012451e0a29ce972f6dc2ccaa1bb67
tree    a50b6ce5130e0d8a7d458114aff729915873d016
parent  cdcb65ac9ed69be4ecaeed54326b927c99e2075e
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 === *unreleased*
0
 
0
+* Make Net::SSH::Version comparable [Brian Candler]
0
+
0
 * Fix errors in port forwarding when a channel could not be opened due to a typo in the exception name [Matthew Todd]
0
 
0
 * Use #chomp instead of #strip when cleaning the version string reported by the remote host, so that trailing whitespace is preserved (this is to play nice with servers like Mocana SSH) [Timo Gatsonides]
...
12
13
14
 
 
15
16
17
...
12
13
14
15
16
17
18
19
0
@@ -12,6 +12,8 @@ module Net; module SSH
0
   # abort "your software is too old!"
0
   # end
0
   class Version
0
+ include Comparable
0
+
0
     # A convenience method for instantiating a new Version instance with the
0
     # given +major+, +minor+, and +tiny+ components.
0
     def self.[](major, minor, tiny)

Comments

    No one has commented yet.