diff options
Diffstat (limited to 'lib/net/ssh')
-rw-r--r-- | lib/net/ssh/gateway.rb | 18 | ||||
-rw-r--r-- | lib/net/ssh/gateway/version.rb | 7 |
2 files changed, 7 insertions, 18 deletions
diff --git a/lib/net/ssh/gateway.rb b/lib/net/ssh/gateway.rb index 7bbaf47..557c479 100644 --- a/lib/net/ssh/gateway.rb +++ b/lib/net/ssh/gateway.rb @@ -34,24 +34,6 @@ require 'net/ssh/version' # a port is already in use, this is detected and a different port will be # assigned. class Net::SSH::Gateway - # A trivial class for representing the version of this library. - class Version < Net::SSH::Version - # The major component of the library's version - MAJOR = 1 - - # The minor component of the library's version - MINOR = 2 - - # The tiny component of the library's version - TINY = 0 - - # The library's version as a Version instance - CURRENT = new(MAJOR, MINOR, TINY) - - # The library's version as a String instance - STRING = CURRENT.to_s - end - # The maximum port number that the gateway will attempt to use to forward # connections from. MAX_PORT = 65535 diff --git a/lib/net/ssh/gateway/version.rb b/lib/net/ssh/gateway/version.rb new file mode 100644 index 0000000..d1f0b63 --- /dev/null +++ b/lib/net/ssh/gateway/version.rb @@ -0,0 +1,7 @@ +module Net + module SSH + class Gateway + VERSION = "2.0.0" + end + end +end |