wkhtmltopdf-binary 0.9.5.1 → 0.9.5.2

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 (2) hide show
  1. data/bin/wkhtmltopdf +2 -1
  2. metadata +4 -4
data/bin/wkhtmltopdf CHANGED
@@ -11,5 +11,6 @@ end
11
11
  arguments = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
12
12
 
13
13
  executable = File.join(File.dirname(__FILE__), executable)
14
- system(executable + " " + arguments.join(" "))
14
+ r = system(executable + " " + arguments.join(" "))
15
15
 
16
+ return r ? 0 : 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wkhtmltopdf-binary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5.1
4
+ version: 0.9.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Research Information Systems, The University of Iowa
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-04-01 00:00:00 -05:00
12
+ date: 2011-05-05 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -22,10 +22,10 @@ extensions: []
22
22
  extra_rdoc_files: []
23
23
 
24
24
  files:
25
+ - bin/wkhtmltopdf
26
+ - bin/wkhtmltopdf-binary.rb
25
27
  - bin/wkhtmltopdf_darwin_386
26
28
  - bin/wkhtmltopdf_linux_386
27
- - bin/wkhtmltopdf-binary.rb
28
- - bin/wkhtmltopdf
29
29
  has_rdoc: true
30
30
  homepage:
31
31
  licenses: []