osxscreenshot 0.0.4 → 0.0.5

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.
Files changed (3) hide show
  1. data/History.txt +4 -0
  2. data/lib/osxscreenshot.rb +2 -1
  3. metadata +2 -2
@@ -1,3 +1,7 @@
1
+ === 0.0.5 / 2010-05-10
2
+
3
+ * Wait for killed processes so zombies don't form
4
+
1
5
  === 0.0.4 / 2010-02-19
2
6
 
3
7
  * Kill pid properly on timeout
@@ -2,7 +2,7 @@ require 'open4'
2
2
 
3
3
  module OSX
4
4
  class Screenshot
5
- VERSION = '0.0.4'
5
+ VERSION = '0.0.5'
6
6
 
7
7
  class CommandFailed < StandardError; end
8
8
 
@@ -114,6 +114,7 @@ module OSX
114
114
  raise CommandFailed, "Command failed: #{cmd}"
115
115
  rescue Timeout::Error => e
116
116
  Process.kill "KILL", pid
117
+ Process.wait pid
117
118
  return nil
118
119
  end
119
120
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osxscreenshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoffrey Grosenbach
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-19 00:00:00 -08:00
12
+ date: 2010-05-10 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency