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.
- data/History.txt +4 -0
- data/lib/osxscreenshot.rb +2 -1
- metadata +2 -2
data/History.txt
CHANGED
data/lib/osxscreenshot.rb
CHANGED
|
@@ -2,7 +2,7 @@ require 'open4'
|
|
|
2
2
|
|
|
3
3
|
module OSX
|
|
4
4
|
class Screenshot
|
|
5
|
-
VERSION = '0.0.
|
|
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
|
+
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-
|
|
12
|
+
date: 2010-05-10 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|