summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTony Pitale <tpitale@gmail.com>2016-03-21 13:12:03 -0500
committerTony Pitale <tpitale@gmail.com>2016-03-21 13:12:03 -0500
commitfbda518e141d15dc7bc094ed229fef46a37d0d7e (patch)
tree5db91b3afc9fac1637a8b7d4e85fd631e129ca23 /lib
parentf1d43390090cf671ac145f80096dbc51c39c5eb3 (diff)
downloadnet-ssh-gateway-fbda518e141d15dc7bc094ed229fef46a37d0d7e.tar.gz
Modern gem build and travis configuration
Diffstat (limited to 'lib')
-rw-r--r--lib/net/ssh/gateway.rb18
-rw-r--r--lib/net/ssh/gateway/version.rb7
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..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