From fbda518e141d15dc7bc094ed229fef46a37d0d7e Mon Sep 17 00:00:00 2001 From: Tony Pitale Date: Mon, 21 Mar 2016 13:12:03 -0500 Subject: Modern gem build and travis configuration --- lib/net/ssh/gateway.rb | 18 ------------------ lib/net/ssh/gateway/version.rb | 7 +++++++ 2 files changed, 7 insertions(+), 18 deletions(-) create mode 100644 lib/net/ssh/gateway/version.rb (limited to 'lib') 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..7f972ac --- /dev/null +++ b/lib/net/ssh/gateway/version.rb @@ -0,0 +1,7 @@ +module Net + module Ssh + module Gateway + VERSION = "1.2.0" + end + end +end -- cgit v1.2.1