rake_server 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.0.9
@@ -56,8 +56,9 @@ module RakeServer
56
56
  def stop(options = {})
57
57
  if File.exist?(pid_file = File.join(pid_dir(options), "rake-server.pid"))
58
58
  pid = IO.read(pid_file).to_i
59
+ pgid = Process.getpgid(pid)
59
60
  begin
60
- Process.kill("TERM", pid)
61
+ Process.kill("TERM", -pgid)
61
62
  begin
62
63
  loop do
63
64
  Process.kill(0, pid)
data/rake_server.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rake_server}
8
- s.version = "0.0.8"
8
+ s.version = "0.0.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Mat Brown", "Cedric Howe"]
12
- s.date = %q{2010-04-23}
12
+ s.date = %q{2010-04-26}
13
13
  s.description = %q{RakeServer is a library which allows Rake tasks to be run using client requests
14
14
  to a long-running rake server, which can eagerly load required code into memory
15
15
  for fast task invocation.
data/test/Rakefile CHANGED
@@ -14,6 +14,10 @@ task :relax do
14
14
  sleep(10)
15
15
  end
16
16
 
17
+ task :sleep do
18
+ sleep
19
+ end
20
+
17
21
  task :print do
18
22
  puts ENV['MESSAGE']
19
23
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 8
9
- version: 0.0.8
8
+ - 9
9
+ version: 0.0.9
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mat Brown
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-04-23 00:00:00 -04:00
18
+ date: 2010-04-26 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21