wkhtmltopdf-binary 0.9.5.3 → 0.9.9
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/bin/wkhtmltopdf +6 -8
- data/bin/wkhtmltopdf-binary.rb +0 -2
- data/bin/wkhtmltopdf_darwin_386 +0 -0
- data/bin/wkhtmltopdf_linux_386 +0 -0
- data/bin/wkhtmltopdf_linux_x64 +0 -0
- metadata +29 -35
data/bin/wkhtmltopdf
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/ruby
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
require 'rbconfig'
|
|
4
|
+
|
|
5
|
+
if RbConfig::CONFIG['host_os'] =~ /linux/
|
|
6
|
+
executable = RbConfig::CONFIG['host_cpu'] == 'x86_64' ? 'wkhtmltopdf_linux_x64' : 'wkhtmltopdf_linux_386'
|
|
7
|
+
elsif RbConfig::CONFIG['host_os'] =~ /darwin/
|
|
6
8
|
executable = 'wkhtmltopdf_darwin_386'
|
|
7
9
|
else
|
|
8
10
|
raise "Invalid platform. Must be running linux or intel-based Mac OS."
|
|
9
11
|
end
|
|
10
12
|
|
|
11
|
-
arguments = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
|
|
12
|
-
|
|
13
13
|
executable = File.join(File.dirname(__FILE__), executable)
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exit r ? 0 : 1
|
|
14
|
+
system *$*.unshift(executable)
|
data/bin/wkhtmltopdf-binary.rb
CHANGED
data/bin/wkhtmltopdf_darwin_386
CHANGED
|
Binary file
|
data/bin/wkhtmltopdf_linux_386
CHANGED
|
Binary file
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,56 +1,50 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wkhtmltopdf-binary
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.9.9
|
|
5
|
+
prerelease:
|
|
5
6
|
platform: ruby
|
|
6
|
-
authors:
|
|
7
|
-
-
|
|
7
|
+
authors:
|
|
8
|
+
- Zakir Durumeric
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
|
|
12
|
-
date: 2011-05-06 00:00:00 -05:00
|
|
13
|
-
default_executable:
|
|
12
|
+
date: 2012-06-19 00:00:00.000000000 Z
|
|
14
13
|
dependencies: []
|
|
15
|
-
|
|
16
14
|
description:
|
|
17
|
-
email:
|
|
18
|
-
executables:
|
|
15
|
+
email: zakird@gmail.com
|
|
16
|
+
executables:
|
|
19
17
|
- wkhtmltopdf
|
|
20
18
|
extensions: []
|
|
21
|
-
|
|
22
19
|
extra_rdoc_files: []
|
|
23
|
-
|
|
24
|
-
files:
|
|
20
|
+
files:
|
|
25
21
|
- bin/wkhtmltopdf
|
|
26
|
-
- bin/wkhtmltopdf_linux_386
|
|
27
|
-
- bin/wkhtmltopdf_darwin_386
|
|
28
22
|
- bin/wkhtmltopdf-binary.rb
|
|
29
|
-
|
|
23
|
+
- bin/wkhtmltopdf_darwin_386
|
|
24
|
+
- bin/wkhtmltopdf_linux_386
|
|
25
|
+
- bin/wkhtmltopdf_linux_x64
|
|
30
26
|
homepage:
|
|
27
|
+
licenses: []
|
|
31
28
|
post_install_message:
|
|
32
29
|
rdoc_options: []
|
|
33
|
-
|
|
34
|
-
require_paths:
|
|
30
|
+
require_paths:
|
|
35
31
|
- .
|
|
36
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
32
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
33
|
+
none: false
|
|
34
|
+
requirements:
|
|
35
|
+
- - ! '>='
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '0'
|
|
38
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
|
+
none: false
|
|
40
|
+
requirements:
|
|
41
|
+
- - ! '>='
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: '0'
|
|
48
44
|
requirements: []
|
|
49
|
-
|
|
50
45
|
rubyforge_project:
|
|
51
|
-
rubygems_version: 1.
|
|
46
|
+
rubygems_version: 1.8.24
|
|
52
47
|
signing_key:
|
|
53
|
-
specification_version:
|
|
48
|
+
specification_version: 3
|
|
54
49
|
summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
|
|
55
50
|
test_files: []
|
|
56
|
-
|