wkhtmltopdf-binary 0.9.5.0 → 0.9.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/wkhtmltopdf +3 -1
- metadata +2 -2
data/bin/wkhtmltopdf
CHANGED
@@ -8,6 +8,8 @@ else
|
|
8
8
|
raise "Invalid platform. Must be running linux or intel-based Mac OS."
|
9
9
|
end
|
10
10
|
|
11
|
+
arguments = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
|
12
|
+
|
11
13
|
executable = File.join(File.dirname(__FILE__), executable)
|
12
|
-
system(executable + " " +
|
14
|
+
system(executable + " " + arguments.join(" "))
|
13
15
|
|
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.
|
4
|
+
version: 0.9.5.1
|
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-
|
12
|
+
date: 2010-04-01 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|