zerg_support 0.1.2 → 0.1.3

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/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.1.3. Anti-zombie protection in spawn.
2
+
1
3
  v0.1.2. Removed Ruby warnings (change accidentally left out of v0.1.1).
2
4
 
3
5
  v0.1.1. Switched from rssize to rss in 'ps' for Snow Leopard. Removed warnings.
data/Rakefile CHANGED
@@ -10,8 +10,8 @@ Echoe.new('zerg_support') do |p|
10
10
  p.summary = 'Support libraries used by Zergling.Net deployment code.'
11
11
  p.url = 'http://github.com/costan/zerg_support'
12
12
 
13
- p.need_tar_gz = !Platform.windows?
14
- p.need_zip = !Platform.windows?
13
+ p.need_tar_gz = !Gem.win_platform?
14
+ p.need_zip = !Gem.win_platform?
15
15
  p.rdoc_pattern = /^(lib|bin|tasks|ext)|^BUILD|^README|^CHANGELOG|^TODO|^LICENSE|^COPYING$/
16
16
 
17
17
  p.development_dependencies = ["echoe >=3.0.2",
@@ -98,6 +98,9 @@ else
98
98
 
99
99
  Kernel.exec(*([binary] + args))
100
100
  end
101
+
102
+ # Get rid of zombies.
103
+ Process.detach child_pid
101
104
  end
102
105
 
103
106
  return child_pid
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{zerg_support}
5
- s.version = "0.1.2"
5
+ s.version = "0.1.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{2009-08-19}
9
+ s.date = %q{2009-11-09}
10
10
  s.description = %q{Support libraries used by Zergling.Net deployment code.}
11
11
  s.email = %q{victor@zergling.net}
12
12
  s.extra_rdoc_files = ["CHANGELOG", "lib/zerg_support/event_machine/connection_mocks.rb", "lib/zerg_support/event_machine/protocol_adapter.rb", "lib/zerg_support/gems.rb", "lib/zerg_support/open_ssh.rb", "lib/zerg_support/process.rb", "lib/zerg_support/protocols/frame_protocol.rb", "lib/zerg_support/protocols/object_protocol.rb", "lib/zerg_support/socket_factory.rb", "lib/zerg_support/sockets/protocol_adapter.rb", "lib/zerg_support/sockets/socket_mocks.rb", "lib/zerg_support/spawn.rb", "lib/zerg_support.rb", "LICENSE", "README"]
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.rubyforge_project = %q{zerglings}
18
18
  s.rubygems_version = %q{1.3.5}
19
19
  s.summary = %q{Support libraries used by Zergling.Net deployment code.}
20
- s.test_files = ["test/test_connection_mocks.rb", "test/test_frame_protocol.rb", "test/test_gems.rb", "test/test_object_protocol.rb", "test/test_open_ssh.rb", "test/test_process.rb", "test/test_socket_factory.rb", "test/test_spawn.rb"]
20
+ s.test_files = ["test/test_spawn.rb", "test/test_socket_factory.rb", "test/test_gems.rb", "test/test_open_ssh.rb", "test/test_object_protocol.rb", "test/test_frame_protocol.rb", "test/test_process.rb", "test/test_connection_mocks.rb"]
21
21
 
22
22
  if s.respond_to? :specification_version then
23
23
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zerg_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Costan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-19 00:00:00 -04:00
12
+ date: 2009-11-09 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -127,11 +127,11 @@ signing_key:
127
127
  specification_version: 3
128
128
  summary: Support libraries used by Zergling.Net deployment code.
129
129
  test_files:
130
- - test/test_connection_mocks.rb
131
- - test/test_frame_protocol.rb
130
+ - test/test_spawn.rb
131
+ - test/test_socket_factory.rb
132
132
  - test/test_gems.rb
133
- - test/test_object_protocol.rb
134
133
  - test/test_open_ssh.rb
134
+ - test/test_object_protocol.rb
135
+ - test/test_frame_protocol.rb
135
136
  - test/test_process.rb
136
- - test/test_socket_factory.rb
137
- - test/test_spawn.rb
137
+ - test/test_connection_mocks.rb