kristin 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea0935cdc2721d6950c396f8c1d99e8a191ed605
4
- data.tar.gz: dbd8823558a32823e4d69dd085549656591b920b
3
+ metadata.gz: 65a0699a6c0e9749bac8e60eb9d2ff371349c976
4
+ data.tar.gz: c84b34baf200cba7e91f79c27540cd2efd2cbc63
5
5
  SHA512:
6
- metadata.gz: 59665731c9121dcf98996d8cd64d07c2d4c31e29207af37d8124d075e19704451ed3b2d325689a2f28a2ba4f118e13b40ef876edeb04bc28f6c4c1be1f14a48d
7
- data.tar.gz: 5c2dbe84b0e9a78d63b7219efba63b80fd15b4cec68058dba9e6844745f5ad03d0fc9cc9983ec06d3ea99005d24f6ab4509577e67de68bb0c73042c2cedb6df7
6
+ metadata.gz: ea335a10193a365eba695b94d928fb98a24b4ae578d926cd0f26ffb410cda20b8d90ab4ae191b68e2e1e0dc901292822e19f873c2be17ee588155fd2271349d5
7
+ data.tar.gz: b2db188faed3fecdc17be055e3e665a139ccf34881fe636f9a1935720a9db031aba9ba3b26a82c3cf536c7eab4cbfc90ea6311cea5f28ed5c6b8e50d8e9aa079
@@ -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
- `#{cmd}`
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
@@ -1,3 +1,3 @@
1
1
  module Kristin
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kristin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Nyström