wkhtmltopdf-binary 0.12.5.4 → 0.12.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/wkhtmltopdf +27 -11
- data/bin/{wkhtmltopdf_macos_carbon.gz → wkhtmltopdf_archlinux_amd64.gz} +0 -0
- 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_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 +10 -13
- 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: 228be25916cb4b84e976a8e0f31b64f39b19acf8561cbac388a1780a958e3d00
|
4
|
+
data.tar.gz: 19a57cfa57f466e9cb700342a443d3ccff9681b907cdc9f81a508dc957ecf082
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4602195091b28edd87dd97dcf449abaa5b0de98cf5b1fb3a568c275281972e813495c4ef5ea4270498fcd6a866e6ece0f7d8829221d990aab829434a5eadb9ff
|
7
|
+
data.tar.gz: dca90cbec7548ec1ac672ad8d55cbbbe5664951aed5212865fc48e7ed0b45fb7a49fee2edd2da20dfd100c9a6c2eb7c330d1d45671c6ffb90a9e3bc0992dc84a
|
data/bin/wkhtmltopdf
CHANGED
@@ -14,25 +14,41 @@ 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
|
-
|
18
|
-
|
19
|
-
end
|
17
|
+
os_based_on_ubuntu_16_04 = os.start_with?('ubuntu_16.') || os.start_with?('ubuntu_17.')
|
18
|
+
os = 'ubuntu_16.04' if os_based_on_ubuntu_16_04
|
20
19
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
os_based_on_ubuntu_18_04 = os.start_with?('ubuntu_18.') || os.start_with?('ubuntu_19.') || os.start_with?('elementary') || os.start_with?('linuxmint') || os.start_with?('pop')
|
21
|
+
os = 'ubuntu_18.04' if os_based_on_ubuntu_18_04
|
22
|
+
|
23
|
+
os_based_on_ubuntu_20_04 = os.start_with?('ubuntu_20.')
|
24
|
+
os = 'ubuntu_20.04' if os_based_on_ubuntu_20_04
|
25
|
+
|
26
|
+
os_based_on_centos_6 = (os.empty? && File.read('/etc/centos-release').start_with?('CentOS release 6')) || (os.start_with?('amzn_') && !os.start_with?('amzn_2'))
|
27
|
+
os = 'centos_6' if os_based_on_centos_6
|
28
|
+
|
29
|
+
os_based_on_centos_7 = os.start_with?('amzn_2')
|
30
|
+
os = 'centos_7' if os_based_on_centos_7
|
31
|
+
|
32
|
+
os_based_on_debian_9 = (/deepin/ =~ os)
|
33
|
+
os = 'debian_9' if os_based_on_debian_9
|
34
|
+
|
35
|
+
os_based_on_debian = os.start_with?('debian')
|
36
|
+
os = 'debian_10' if os_based_on_debian
|
37
|
+
|
38
|
+
os_based_on_archlinux = os.start_with?('arch_') || os.start_with?('manjaro_')
|
39
|
+
os = 'archlinux' if os_based_on_archlinux
|
26
40
|
|
27
41
|
architecture = RbConfig::CONFIG['host_cpu'] == 'x86_64' ? 'amd64' : 'i386'
|
28
42
|
|
29
43
|
"#{os}_#{architecture}"
|
30
44
|
when /darwin/
|
31
|
-
|
45
|
+
'macos_cocoa'
|
32
46
|
else
|
33
47
|
'unknown'
|
34
48
|
end
|
35
49
|
|
50
|
+
suffix = ENV['WKHTMLTOPDF_HOST_SUFFIX'] unless ENV['WKHTMLTOPDF_HOST_SUFFIX'].to_s.empty?
|
51
|
+
|
36
52
|
binary = "#{__FILE__}_#{suffix}"
|
37
53
|
|
38
54
|
if File.exist?("#{binary}.gz") && !File.exist?(binary)
|
@@ -42,8 +58,8 @@ if File.exist?("#{binary}.gz") && !File.exist?(binary)
|
|
42
58
|
end
|
43
59
|
|
44
60
|
unless File.exist? binary
|
45
|
-
raise 'Invalid platform, must be running on Ubuntu
|
46
|
-
'CentOS 6/7/8, Debian
|
61
|
+
raise 'Invalid platform, must be running on Ubuntu 16.04/18.04/20.04 ' \
|
62
|
+
'CentOS 6/7/8, Debian 9/10, archlinux amd64, or intel-based Cocoa macOS ' \
|
47
63
|
"(missing binary: #{binary})."
|
48
64
|
end
|
49
65
|
|
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
|
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.4
|
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-09-15 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
|
@@ -33,6 +33,7 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- bin/wkhtmltopdf
|
35
35
|
- bin/wkhtmltopdf-binary.rb
|
36
|
+
- bin/wkhtmltopdf_archlinux_amd64.gz
|
36
37
|
- bin/wkhtmltopdf_centos_6_amd64.gz
|
37
38
|
- bin/wkhtmltopdf_centos_6_i386.gz
|
38
39
|
- bin/wkhtmltopdf_centos_7_amd64.gz
|
@@ -40,23 +41,19 @@ files:
|
|
40
41
|
- bin/wkhtmltopdf_centos_8_amd64.gz
|
41
42
|
- bin/wkhtmltopdf_debian_10_amd64.gz
|
42
43
|
- bin/wkhtmltopdf_debian_10_i386.gz
|
43
|
-
- bin/wkhtmltopdf_debian_8_amd64.gz
|
44
|
-
- bin/wkhtmltopdf_debian_8_i386.gz
|
45
44
|
- bin/wkhtmltopdf_debian_9_amd64.gz
|
46
45
|
- bin/wkhtmltopdf_debian_9_i386.gz
|
47
|
-
- bin/wkhtmltopdf_macos_carbon.gz
|
48
46
|
- bin/wkhtmltopdf_macos_cocoa.gz
|
49
|
-
- bin/wkhtmltopdf_ubuntu_14.04_amd64.gz
|
50
|
-
- bin/wkhtmltopdf_ubuntu_14.04_i386.gz
|
51
47
|
- bin/wkhtmltopdf_ubuntu_16.04_amd64.gz
|
52
48
|
- bin/wkhtmltopdf_ubuntu_16.04_i386.gz
|
53
49
|
- bin/wkhtmltopdf_ubuntu_18.04_amd64.gz
|
54
50
|
- bin/wkhtmltopdf_ubuntu_18.04_i386.gz
|
55
|
-
|
51
|
+
- bin/wkhtmltopdf_ubuntu_20.04_amd64.gz
|
52
|
+
homepage:
|
56
53
|
licenses:
|
57
54
|
- Apache-2.0
|
58
55
|
metadata: {}
|
59
|
-
post_install_message:
|
56
|
+
post_install_message:
|
60
57
|
rdoc_options: []
|
61
58
|
require_paths:
|
62
59
|
- "."
|
@@ -71,8 +68,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: '0'
|
73
70
|
requirements: []
|
74
|
-
rubygems_version: 3.0.
|
75
|
-
signing_key:
|
71
|
+
rubygems_version: 3.0.3
|
72
|
+
signing_key:
|
76
73
|
specification_version: 4
|
77
74
|
summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
|
78
75
|
test_files: []
|
Binary file
|
Binary file
|
Binary file
|