hsume2-localtunnel 0.3.beta → 0.3.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/hsume2-localtunnel.gemspec +1 -1
- data/lib/localtunnel/tunnel.rb +1 -1
- metadata +3 -2
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('hsume2-localtunnel', '0.3.beta') do |p|
|
5
|
+
Echoe.new('hsume2-localtunnel', '0.3.beta.1') do |p|
|
6
6
|
p.description = "instant public tunnel to your local web server"
|
7
7
|
p.url = "http://github.com/hsume2/localtunnel"
|
8
8
|
p.author = "Jeff Lindsay"
|
data/hsume2-localtunnel.gemspec
CHANGED
data/lib/localtunnel/tunnel.rb
CHANGED
@@ -57,7 +57,7 @@ class LocalTunnel::Tunnel
|
|
57
57
|
|
58
58
|
error = ''
|
59
59
|
|
60
|
-
status = Open4::popen4("ssh -nNT -g -R *:#{tunnel['through_port']}:0.0.0.0:#{port} #{tunnel['user']}@#{@host} -o PasswordAuthentication=no") do |pid, i, o, e|
|
60
|
+
status = Open4::popen4("ssh -nNT -g -R *:#{tunnel['through_port']}:0.0.0.0:#{port} #{tunnel['user']}@#{@host} -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null") do |pid, i, o, e|
|
61
61
|
puts " " << tunnel['banner'] if tunnel.has_key? 'banner'
|
62
62
|
if File.exists?(File.expand_path(SHELL_HOOK_FILE))
|
63
63
|
system "#{SHELL_HOOK_FILE} ""#{tunnel['host']}""" if File.exists?(File.expand_path(SHELL_HOOK_FILE))
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hsume2-localtunnel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 62196297
|
5
5
|
prerelease: 4
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
9
|
- beta
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 0.3.beta.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Jeff Lindsay
|