kristin 0.2.0 → 0.2.1
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.
- checksums.yaml +4 -4
- data/lib/kristin.rb +2 -2
- data/lib/kristin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65a0699a6c0e9749bac8e60eb9d2ff371349c976
|
4
|
+
data.tar.gz: c84b34baf200cba7e91f79c27540cd2efd2cbc63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea335a10193a365eba695b94d928fb98a24b4ae578d926cd0f26ffb410cda20b8d90ab4ae191b68e2e1e0dc901292822e19f873c2be17ee588155fd2271349d5
|
7
|
+
data.tar.gz: b2db188faed3fecdc17be055e3e665a139ccf34881fe636f9a1935720a9db031aba9ba3b26a82c3cf536c7eab4cbfc90ea6311cea5f28ed5c6b8e50d8e9aa079
|
data/lib/kristin.rb
CHANGED
@@ -7,8 +7,8 @@ module Kristin
|
|
7
7
|
raise IOError, "Can't find pdf2htmlex executable in PATH" if not command_available?
|
8
8
|
src = determine_source(source)
|
9
9
|
cmd = "#{pdf2htmlex_command} #{src} #{target}"
|
10
|
-
|
11
|
-
|
10
|
+
pid = Process.spawn(cmd, [:out, :err] => "/dev/null")
|
11
|
+
Process.waitpid(pid)
|
12
12
|
## TODO: Grab error message from pdf2htmlex and raise a better error
|
13
13
|
raise IOError, "Could not convert #{src}" if $?.exitstatus != 0
|
14
14
|
end
|
data/lib/kristin/version.rb
CHANGED