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 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"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{hsume2-localtunnel}
5
- s.version = "0.3.beta"
5
+ s.version = "0.3.beta.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jeff Lindsay"]
@@ -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: 31098141
4
+ hash: 62196297
5
5
  prerelease: 4
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - beta
10
- version: 0.3.beta
10
+ - 1
11
+ version: 0.3.beta.1
11
12
  platform: ruby
12
13
  authors:
13
14
  - Jeff Lindsay