updating readme and gemspec
This commit is contained in:
parent
80378f81a1
commit
3ac1c7fe0c
18
README.rdoc
18
README.rdoc
|
@ -1,18 +1,12 @@
|
|||
= localtunnel -- instant public tunnel for local web servers
|
||||
= localtunnel -- instant public tunnel to your local web server
|
||||
|
||||
Dependencies:
|
||||
- Ruby (with libopenssl) and Rubygems.
|
||||
- A public key.
|
||||
== Install
|
||||
|
||||
To get the dependencies, type:
|
||||
To get the dependencies if you don't have them, type:
|
||||
|
||||
sudo apt-get install ruby ruby1.8-dev rubygems1.8 libopenssl-ruby
|
||||
|
||||
If you have never made a public key, then run:
|
||||
|
||||
ssh-keygen
|
||||
|
||||
== Install
|
||||
Now you can install localtunnel with RubyGems:
|
||||
|
||||
sudo gem install localtunnel
|
||||
|
||||
|
@ -20,7 +14,6 @@ or to get the source:
|
|||
|
||||
git clone http://github.com/progrium/localtunnel.git
|
||||
|
||||
|
||||
== Usage
|
||||
|
||||
localtunnel [options] <localport>
|
||||
|
@ -34,8 +27,7 @@ debugging, unit tests, demos, etc.
|
|||
This is how you make your local port 8080 public:
|
||||
|
||||
$ localtunnel 8080
|
||||
|
||||
Port 8080 is now publicly accessible from http://8bv2.localtunnel.com ...
|
||||
Port 8080 is now publicly accessible from http://8bv2.localtunnel.com ...
|
||||
|
||||
Using localtunnel is comparable to using SSH reverse/remote port
|
||||
forwarding on a remote host that has GatewayPorts enabled, but without
|
||||
|
|
2
Rakefile
2
Rakefile
|
@ -3,7 +3,7 @@ require 'rake'
|
|||
require 'echoe'
|
||||
|
||||
Echoe.new('localtunnel', '0.2') do |p|
|
||||
p.description = "instant reverse tunnel for local web servers"
|
||||
p.description = "instant public tunnel to your local web server"
|
||||
p.url = "http://github.com/progrium/localtunnel"
|
||||
p.author = "Jeff Lindsay"
|
||||
p.email = "jeff.lindsay@twilio.com"
|
||||
|
|
|
@ -1,18 +1,42 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "localtunnel"
|
||||
s.version = "0.2"
|
||||
s.authors = ["Jeff Lindsay"]
|
||||
s.email = "progrium@twilio.com"
|
||||
s.homepage = "http://github.com/progrium/localtunnel"
|
||||
s.summary = ""
|
||||
s.description = <<-EOS.strip
|
||||
LocalTunnel
|
||||
EOS
|
||||
s.name = %q{localtunnel}
|
||||
s.version = "0.2"
|
||||
|
||||
s.add_dependency "net-ssh"
|
||||
s.add_dependency "net-ssh-gateway"
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
||||
s.authors = ["Jeff Lindsay"]
|
||||
s.cert_chain = ["/Users/progrium/.gem/gem-public_cert.pem"]
|
||||
s.date = %q{2011-05-02}
|
||||
s.default_executable = %q{localtunnel}
|
||||
s.description = %q{instant public tunnel to your local web server}
|
||||
s.email = %q{jeff.lindsay@twilio.com}
|
||||
s.executables = ["localtunnel"]
|
||||
s.extra_rdoc_files = ["lib/localtunnel.rb", "bin/localtunnel"]
|
||||
s.files = ["Rakefile", "lib/localtunnel.rb", "bin/localtunnel", "server.py", "Manifest", "localtunnel.gemspec"]
|
||||
s.homepage = %q{http://github.com/progrium/localtunnel}
|
||||
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Localtunnel", "--main", "README.rdoc"]
|
||||
s.require_paths = ["lib"]
|
||||
s.rubyforge_project = %q{localtunnel}
|
||||
s.rubygems_version = %q{1.4.1}
|
||||
s.signing_key = %q{/Users/progrium/.gem/gem-private_key.pem}
|
||||
s.summary = %q{instant public tunnel to your local web server}
|
||||
|
||||
s.files = Dir['lib/*']
|
||||
s.test_files = Dir['test/**/*.rb']
|
||||
if s.respond_to? :specification_version then
|
||||
s.specification_version = 3
|
||||
|
||||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
||||
s.add_runtime_dependency(%q<json>, [">= 1.2.4"])
|
||||
s.add_runtime_dependency(%q<net-ssh>, [">= 2.0.22"])
|
||||
s.add_runtime_dependency(%q<net-ssh-gateway>, [">= 1.0.1"])
|
||||
else
|
||||
s.add_dependency(%q<json>, [">= 1.2.4"])
|
||||
s.add_dependency(%q<net-ssh>, [">= 2.0.22"])
|
||||
s.add_dependency(%q<net-ssh-gateway>, [">= 1.0.1"])
|
||||
end
|
||||
else
|
||||
s.add_dependency(%q<json>, [">= 1.2.4"])
|
||||
s.add_dependency(%q<net-ssh>, [">= 2.0.22"])
|
||||
s.add_dependency(%q<net-ssh-gateway>, [">= 1.0.1"])
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue