portpublisher 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/portpublisher +1 -1
- data/lib/portpublisher/version.rb +1 -1
- metadata +4 -4
data/bin/portpublisher
CHANGED
@@ -11,7 +11,7 @@ if ARGV.size < 2
|
|
11
11
|
usage
|
12
12
|
else
|
13
13
|
server, localport, externport = ARGV
|
14
|
-
externport =
|
14
|
+
externport = localport unless externport
|
15
15
|
s = "ssh -A -g -R 36750:localhost:#{localport} #{server} ssh -g -L #{externport}:localhost:36750 #{server}"
|
16
16
|
puts s
|
17
17
|
system(s)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: portpublisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jan Steinmetz
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-24 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|