forward 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/forward/client.rb +1 -1
- data/lib/forward/config.rb +1 -1
- data/lib/forward/version.rb +1 -1
- metadata +2 -2
data/lib/forward/client.rb
CHANGED
|
@@ -57,7 +57,7 @@ module Forward
|
|
|
57
57
|
@session = Net::SSH.start(@tunnel.tunneler, Forward.ssh_user, @client.ssh_options)
|
|
58
58
|
|
|
59
59
|
Forward.log(:debug, "Starting remote forward at #{@tunnel.subdomain}.fwd.wf on port #{@tunnel.port}")
|
|
60
|
-
puts "Forwarding port #{@tunnel.hostport} at \033[04mhttps://#{@tunnel.subdomain}.fwd.wf\033[
|
|
60
|
+
puts "Forwarding port #{@tunnel.hostport} at \033[04mhttps://#{@tunnel.subdomain}.fwd.wf\033[0m\nCtrl-C to stop forwarding"
|
|
61
61
|
|
|
62
62
|
@session.forward.remote(@tunnel.hostport, @tunnel.host, @tunnel.port)
|
|
63
63
|
@session.loop { watch_session(@session) }
|
data/lib/forward/config.rb
CHANGED
|
@@ -151,7 +151,7 @@ module Forward
|
|
|
151
151
|
|
|
152
152
|
config.write
|
|
153
153
|
else
|
|
154
|
-
Client.cleanup_and_exit!("You'll need a Forward account first. You can create one at \033[04mhttps://forwardhq.com\033[
|
|
154
|
+
Client.cleanup_and_exit!("You'll need a Forward account first. You can create one at \033[04mhttps://forwardhq.com\033[0m")
|
|
155
155
|
end
|
|
156
156
|
end
|
|
157
157
|
|
data/lib/forward/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forward
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-10-
|
|
12
|
+
date: 2012-10-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json
|