zerg 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1 +1,5 @@
1
- v0.0.1. Claims the 'zerg' gem name.
1
+ v0.0.3. Updated Rakefile to work on Windows.
2
+
3
+ v0.0.2. Refined the gem install hook.
4
+
5
+ v0.0.1. Claims the 'zerg' gem name.
data/Manifest CHANGED
@@ -1,7 +1,7 @@
1
- ext/zerg_setup_hook/extconf.rb
1
+ Manifest
2
+ ext/zerg_geminstall_hook/extconf.rb
2
3
  CHANGELOG
3
4
  LICENSE
4
5
  bin/zerg
5
6
  README
6
7
  Rakefile
7
- Manifest
data/README CHANGED
@@ -1,61 +0,0 @@
1
- INSTALL
2
- -
3
-
4
- on server and local machine:
5
-
6
- `gem sources -a http://gems.github.com`
7
-
8
- `sudo gem install coderrr-rtunnel`
9
-
10
- If you don't have root access on server, you can use either the rtunnel_server_linux binary (only works with linux), or extract the .tar.gz and use `rtunnel_server.rb` (all function the same)
11
-
12
- USAGE
13
- -
14
-
15
- on server (myserver.com):
16
-
17
- `rtunnel_server`
18
-
19
- on your local machine:
20
-
21
- `rtunnel_client -c myserver.com -f 4000 -t 3000`
22
-
23
- This would reverse tunnel myserver.com:4000 to localhost:3000 so that if you had a web server running at port 3000 on your local machine, anyone on the internet could access it by going to http://myserver.com:4000
24
-
25
- **News**
26
-
27
- * 0.3.6 released, new protocol
28
- * created gem for easier installation
29
- * 0.2.1 released, minor bugfix, cmdline options change
30
- * 0.2.0 released, much simpler
31
- * 0.1.2 released
32
- * Created rtunnel_server binary for linux so you don't need Ruby installed on the host you want to reverse tunnel from
33
- * 0.1.1 released
34
- * Added default control port of 19050, no longer have to specify this on client or server unless you care to change it
35
-
36
- RTunnel?
37
- -
38
-
39
- This client/server allow you to reverse tunnel traffic. Reverse tunneling is useful if you want to run a server behind a NAT and you do not have the ability use port forwarding. The specific reason I created this program was to reduce the pain of Facebook App development on a crappy internet connection that drops often. ssh -R was not cutting it.
40
-
41
- **How does reverse tunneling work?**
42
-
43
- * tunnel\_client makes connection to tunnel\_server (through NAT)
44
- * tunnel_server listens on port X
45
- * internet_user connects to port X on tunnel server
46
- * tunnel\_server uses existing connection to tunnel internet user's request back to tunnel\_client
47
- * tunnel_client connects to local server on port Y
48
- * tunnel_client tunnels internet users connection through to local server
49
-
50
- or:
51
-
52
- * establish connection: tunnel\_client --NAT--> tunnel\_server
53
- * reverse tunnel: internet\_user -> tunnel_server --(NAT)--> tunnel\_client -> server\_running\_behind\_nat
54
-
55
- **How is this different than normal tunneling?**
56
-
57
- With tunneling, usually your connections are made in the same direction you create the tunnel connection. With reverse tunneling, you tunnel your connections the opposite direction of which you made the tunnel connection. So you initiate the tunnel with A -> B, but connections are tunneled from B -> A.
58
-
59
- **Why not just use ssh -R?**
60
-
61
- The same thing can be achieved with ssh -R, why not just use it? A lot of ssh servers don't have the GatewayPorts sshd option set up to allow you to reverse tunnel. If you are not in control of the server and it is not setup correctly then you are SOL. RTunnel does not require you are in control of the server. ssh -R has other annoyances. When your connection drops and you try to re-initiate the reverse tunnel sometimes you get an address already in use error because the old tunnel process is still laying around. This requires you to kill the existing sshd process. RTunnel does not have this problem.
data/Rakefile CHANGED
@@ -3,20 +3,19 @@ gem 'echoe'
3
3
  require 'echoe'
4
4
 
5
5
  Echoe.new('zerg') do |p|
6
- p.project = 'rails-pwnage' # rubyforge project
6
+ p.project = 'zerglings' # rubyforge project
7
7
 
8
8
  p.author = 'Victor Costan'
9
9
  p.email = 'victor@zergling.net'
10
- p.summary = 'Umbrella gem for the Zergling tools.'
10
+ p.summary = 'Umbrella gem for the Zergling.Net deployment tools.'
11
11
  p.url = 'http://www.zergling.net'
12
12
  p.dependencies = ['zerg_support >=0.0.1']
13
- p.extensions = ['ext/zerg_setup_hook/extconf.rb']
14
13
  p.eval = proc do |p|
15
- p.default_executable = 'bin/rpwn'
14
+ p.default_executable = 'bin/zerg'
16
15
  end
17
16
 
18
- p.need_tar_gz = true
19
- p.need_zip = true
17
+ p.need_tar_gz = !Platform.windows?
18
+ p.need_zip = !Platform.windows?
20
19
  p.rdoc_pattern = /^(lib|bin|tasks|ext)|^BUILD|^README|^CHANGELOG|^TODO|^LICENSE|^COPYING$/
21
20
  end
22
21
 
data/bin/zerg CHANGED
File without changes
@@ -9,4 +9,4 @@ Zerg::Support::Gems.ensure_on_path 'zerg'
9
9
  # we really shouldn't be abusing rubygems' root; then again, the Debian
10
10
  # maintainers shouldn't be abusing the patience of Ruby developers
11
11
 
12
- Zerg::Support::Gems.emulate_extension_install 'zerg_setup'
12
+ Zerg::Support::Gems.emulate_extension_install 'zerg_geminstall_hook'
@@ -2,25 +2,25 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{zerg}
5
- s.version = "0.0.1"
5
+ s.version = "0.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Victor Costan"]
9
- s.date = %q{2008-11-12}
10
- s.default_executable = %q{bin/rpwn}
11
- s.description = %q{Umbrella gem for the Zergling tools.}
9
+ s.date = %q{2009-02-24}
10
+ s.default_executable = %q{bin/zerg}
11
+ s.description = %q{Umbrella gem for the Zergling.Net deployment tools.}
12
12
  s.email = %q{victor@zergling.net}
13
13
  s.executables = ["zerg"]
14
- s.extensions = ["ext/zerg_setup_hook/extconf.rb"]
15
- s.extra_rdoc_files = ["ext/zerg_setup_hook/extconf.rb", "CHANGELOG", "LICENSE", "bin/zerg", "README"]
16
- s.files = ["ext/zerg_setup_hook/extconf.rb", "CHANGELOG", "LICENSE", "bin/zerg", "README", "Rakefile", "Manifest", "zerg.gemspec"]
14
+ s.extensions = ["ext/zerg_geminstall_hook/extconf.rb"]
15
+ s.extra_rdoc_files = ["ext/zerg_geminstall_hook/extconf.rb", "CHANGELOG", "LICENSE", "bin/zerg", "README"]
16
+ s.files = ["Manifest", "ext/zerg_geminstall_hook/extconf.rb", "CHANGELOG", "LICENSE", "bin/zerg", "README", "Rakefile", "zerg.gemspec"]
17
17
  s.has_rdoc = true
18
18
  s.homepage = %q{http://www.zergling.net}
19
19
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Zerg", "--main", "README"]
20
20
  s.require_paths = ["ext"]
21
- s.rubyforge_project = %q{rails-pwnage}
21
+ s.rubyforge_project = %q{zerglings}
22
22
  s.rubygems_version = %q{1.3.1}
23
- s.summary = %q{Umbrella gem for the Zergling tools.}
23
+ s.summary = %q{Umbrella gem for the Zergling.Net deployment tools.}
24
24
 
25
25
  if s.respond_to? :specification_version then
26
26
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
@@ -28,13 +28,10 @@ Gem::Specification.new do |s|
28
28
 
29
29
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
30
30
  s.add_runtime_dependency(%q<zerg_support>, [">= 0.0.1"])
31
- s.add_development_dependency(%q<echoe>, [">= 0"])
32
31
  else
33
32
  s.add_dependency(%q<zerg_support>, [">= 0.0.1"])
34
- s.add_dependency(%q<echoe>, [">= 0"])
35
33
  end
36
34
  else
37
35
  s.add_dependency(%q<zerg_support>, [">= 0.0.1"])
38
- s.add_dependency(%q<echoe>, [">= 0"])
39
36
  end
40
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zerg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Costan
@@ -9,8 +9,8 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-12 00:00:00 -05:00
13
- default_executable: bin/rpwn
12
+ date: 2009-02-24 00:00:00 -05:00
13
+ default_executable: bin/zerg
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: zerg_support
@@ -22,36 +22,26 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 0.0.1
24
24
  version:
25
- - !ruby/object:Gem::Dependency
26
- name: echoe
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: "0"
34
- version:
35
- description: Umbrella gem for the Zergling tools.
25
+ description: Umbrella gem for the Zergling.Net deployment tools.
36
26
  email: victor@zergling.net
37
27
  executables:
38
28
  - zerg
39
29
  extensions:
40
- - ext/zerg_setup_hook/extconf.rb
30
+ - ext/zerg_geminstall_hook/extconf.rb
41
31
  extra_rdoc_files:
42
- - ext/zerg_setup_hook/extconf.rb
32
+ - ext/zerg_geminstall_hook/extconf.rb
43
33
  - CHANGELOG
44
34
  - LICENSE
45
35
  - bin/zerg
46
36
  - README
47
37
  files:
48
- - ext/zerg_setup_hook/extconf.rb
38
+ - Manifest
39
+ - ext/zerg_geminstall_hook/extconf.rb
49
40
  - CHANGELOG
50
41
  - LICENSE
51
42
  - bin/zerg
52
43
  - README
53
44
  - Rakefile
54
- - Manifest
55
45
  - zerg.gemspec
56
46
  has_rdoc: true
57
47
  homepage: http://www.zergling.net
@@ -79,10 +69,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
69
  version:
80
70
  requirements: []
81
71
 
82
- rubyforge_project: rails-pwnage
72
+ rubyforge_project: zerglings
83
73
  rubygems_version: 1.3.1
84
74
  signing_key:
85
75
  specification_version: 2
86
- summary: Umbrella gem for the Zergling tools.
76
+ summary: Umbrella gem for the Zergling.Net deployment tools.
87
77
  test_files: []
88
78