wkhtmltopdf-binary 0.12.5.1 → 0.12.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/wkhtmltopdf +13 -5
- data/bin/wkhtmltopdf_centos_6_amd64.gz +0 -0
- data/bin/wkhtmltopdf_centos_6_i386.gz +0 -0
- data/bin/wkhtmltopdf_centos_7_amd64.gz +0 -0
- data/bin/wkhtmltopdf_centos_7_i386.gz +0 -0
- data/bin/{wkhtmltopdf_macos_carbon.gz → wkhtmltopdf_centos_8_amd64.gz} +0 -0
- data/bin/wkhtmltopdf_debian_10_amd64.gz +0 -0
- data/bin/wkhtmltopdf_debian_10_i386.gz +0 -0
- data/bin/wkhtmltopdf_debian_9_amd64.gz +0 -0
- data/bin/wkhtmltopdf_debian_9_i386.gz +0 -0
- data/bin/wkhtmltopdf_macos_cocoa.gz +0 -0
- data/bin/wkhtmltopdf_ubuntu_16.04_amd64.gz +0 -0
- data/bin/wkhtmltopdf_ubuntu_16.04_i386.gz +0 -0
- data/bin/wkhtmltopdf_ubuntu_18.04_amd64.gz +0 -0
- data/bin/wkhtmltopdf_ubuntu_18.04_i386.gz +0 -0
- data/bin/{wkhtmltopdf_debian_8_i386.gz → wkhtmltopdf_ubuntu_20.04_amd64.gz} +0 -0
- metadata +9 -12
- data/bin/wkhtmltopdf_debian_8_amd64.gz +0 -0
- data/bin/wkhtmltopdf_ubuntu_14.04_amd64.gz +0 -0
- data/bin/wkhtmltopdf_ubuntu_14.04_i386.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71d0ab2973bc32ccfb27c2debf9f21e846db80b90ef04642393dc6bf7941b160
|
4
|
+
data.tar.gz: ffd8f69e7e4a142bc7a11fdb66e82ccb967db43ece6faffa1f6da72872e46706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d012d95a88071aef0acbd0b4594cc0a5f50ec0f42913fda3d3cfab7e16a9188a52160d60a670ff992f43f659381ca0ec0b464ad8d8566e58e5ed16364abd6c6
|
7
|
+
data.tar.gz: 505fcd86f6561b549ae7c686978dba2798ad14f7bd5393ef788081856a596915407d00d4de3136cdccda85b357501b3e229fcdc77cab05347778cadcb8333b2a
|
data/bin/wkhtmltopdf
CHANGED
@@ -14,16 +14,24 @@ suffix = case RbConfig::CONFIG['host_os']
|
|
14
14
|
when /linux/
|
15
15
|
os = `. /etc/os-release 2> /dev/null && echo ${ID}_${VERSION_ID}`.strip
|
16
16
|
|
17
|
+
if os.start_with?('elementary') || os.start_with?('linuxmint') || os.start_with?('pop')
|
18
|
+
os = 'ubuntu_18.04'
|
19
|
+
end
|
20
|
+
|
17
21
|
# CentOS 6 doesn't have `/etc/os-release`.
|
18
|
-
if os.empty? && File.read('/etc/centos-release').start_with?('CentOS release 6')
|
22
|
+
if (os.empty? && File.read('/etc/centos-release').start_with?('CentOS release 6')) ||
|
23
|
+
os.start_with?('amzn_')
|
19
24
|
os = 'centos_6'
|
20
25
|
end
|
21
26
|
|
27
|
+
# Deepin fallback
|
28
|
+
os = 'debian_9' if /deepin/.match?(os)
|
29
|
+
|
22
30
|
architecture = RbConfig::CONFIG['host_cpu'] == 'x86_64' ? 'amd64' : 'i386'
|
23
31
|
|
24
32
|
"#{os}_#{architecture}"
|
25
33
|
when /darwin/
|
26
|
-
|
34
|
+
'macos_cocoa'
|
27
35
|
else
|
28
36
|
'unknown'
|
29
37
|
end
|
@@ -37,9 +45,9 @@ if File.exist?("#{binary}.gz") && !File.exist?(binary)
|
|
37
45
|
end
|
38
46
|
|
39
47
|
unless File.exist? binary
|
40
|
-
raise 'Invalid platform, must be running on Ubuntu
|
41
|
-
'CentOS 6/7, Debian
|
48
|
+
raise 'Invalid platform, must be running on Ubuntu 16.04/18.04/20.04 ' \
|
49
|
+
'CentOS 6/7/8, Debian 9/10, or intel-based Cocoa macOS ' \
|
42
50
|
"(missing binary: #{binary})."
|
43
51
|
end
|
44
52
|
|
45
|
-
|
53
|
+
exec *$*.unshift(binary)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wkhtmltopdf-binary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zakir Durumeric
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email: zakird@gmail.com
|
29
29
|
executables:
|
30
30
|
- wkhtmltopdf
|
@@ -37,25 +37,22 @@ files:
|
|
37
37
|
- bin/wkhtmltopdf_centos_6_i386.gz
|
38
38
|
- bin/wkhtmltopdf_centos_7_amd64.gz
|
39
39
|
- bin/wkhtmltopdf_centos_7_i386.gz
|
40
|
+
- bin/wkhtmltopdf_centos_8_amd64.gz
|
40
41
|
- bin/wkhtmltopdf_debian_10_amd64.gz
|
41
42
|
- bin/wkhtmltopdf_debian_10_i386.gz
|
42
|
-
- bin/wkhtmltopdf_debian_8_amd64.gz
|
43
|
-
- bin/wkhtmltopdf_debian_8_i386.gz
|
44
43
|
- bin/wkhtmltopdf_debian_9_amd64.gz
|
45
44
|
- bin/wkhtmltopdf_debian_9_i386.gz
|
46
|
-
- bin/wkhtmltopdf_macos_carbon.gz
|
47
45
|
- bin/wkhtmltopdf_macos_cocoa.gz
|
48
|
-
- bin/wkhtmltopdf_ubuntu_14.04_amd64.gz
|
49
|
-
- bin/wkhtmltopdf_ubuntu_14.04_i386.gz
|
50
46
|
- bin/wkhtmltopdf_ubuntu_16.04_amd64.gz
|
51
47
|
- bin/wkhtmltopdf_ubuntu_16.04_i386.gz
|
52
48
|
- bin/wkhtmltopdf_ubuntu_18.04_amd64.gz
|
53
49
|
- bin/wkhtmltopdf_ubuntu_18.04_i386.gz
|
54
|
-
|
50
|
+
- bin/wkhtmltopdf_ubuntu_20.04_amd64.gz
|
51
|
+
homepage:
|
55
52
|
licenses:
|
56
53
|
- Apache-2.0
|
57
54
|
metadata: {}
|
58
|
-
post_install_message:
|
55
|
+
post_install_message:
|
59
56
|
rdoc_options: []
|
60
57
|
require_paths:
|
61
58
|
- "."
|
@@ -71,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
68
|
version: '0'
|
72
69
|
requirements: []
|
73
70
|
rubygems_version: 3.0.3
|
74
|
-
signing_key:
|
71
|
+
signing_key:
|
75
72
|
specification_version: 4
|
76
73
|
summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
|
77
74
|
test_files: []
|
Binary file
|
Binary file
|
Binary file
|