wkhtmltopdf-binary 0.12.6.6 → 0.12.6.10

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a2441a7b6acbf09751256dd420d54ab1e0c028d84e4bf0305cc15d353d1190a
4
- data.tar.gz: d60450996f827521112c8845b98cbbb98deee424817395fd790e6ffd6ac8e40c
3
+ metadata.gz: 2fb89115b81ae0fb8b1b76b46fa28dcf0d54a2ad661f5369f91c179c346873ec
4
+ data.tar.gz: 859e116477e7bcff66d09cc99218e7bd8b87dbf8f92cbcad412baa15c1cfe7e5
5
5
  SHA512:
6
- metadata.gz: 67800dff22babd8b0056433b13967f01eefec6fa2839b55031d2e6acb1c20e2f7239c7b01e9c5d2a1493218b93258439d60130c53b3c69fc6f0871721803d747
7
- data.tar.gz: 6951ea953619f63163cfa83df61f8dc0ef16eeb76789f4d288192294bf747f601b9d30c46d67a92948c5178367bd2ca02426a98f13f361c85e7f9aa157c50fba
6
+ metadata.gz: 58528bd82511586d39eed993af6bbb80ff4eb440a4bd2d7eb97b7b061a81c271e068881dd42e6f755a26e4e8ef4638aa6f52839988bc256d0bbf8a1b79913296
7
+ data.tar.gz: 3d32ff095f5a9de697693e1348c37b25bad3d130e9ceac9dd40b0d634f396232840c78b6124edbd7ce67e9887c6f07057099febda0c0ad335c846cc5f8d939ff
data/bin/wkhtmltopdf CHANGED
@@ -10,44 +10,73 @@
10
10
  require 'rbconfig'
11
11
  require 'zlib'
12
12
 
13
+ def architecture
14
+ case RbConfig::CONFIG['host_cpu']
15
+ when *%w[arm64 aarch64 arch64]
16
+ 'arm64'
17
+ when 'x86_64'
18
+ 'amd64'
19
+ else
20
+ 'i386'
21
+ end
22
+ end
23
+
13
24
  suffix = case RbConfig::CONFIG['host_os']
14
25
  when /linux/
15
26
  os = `. /etc/os-release 2> /dev/null && echo ${ID}_${VERSION_ID}`.strip
16
27
 
17
28
  os = 'ubuntu_16.04' if os.start_with?('ubuntu_16.') ||
18
- os.start_with?('ubuntu_17.')
29
+ os.start_with?('ubuntu_17.') ||
30
+ os.start_with?('linuxmint_18.')
19
31
 
20
32
  os = 'ubuntu_18.04' if os.start_with?('ubuntu_18.') ||
21
33
  os.start_with?('ubuntu_19.') ||
22
34
  os.start_with?('elementary') ||
23
- os.start_with?('linuxmint') ||
35
+ os.start_with?('linuxmint_19.') ||
24
36
  os.start_with?('pop') ||
25
37
  os.start_with?('zorin')
26
38
 
27
39
  os = 'ubuntu_20.04' if os.start_with?('ubuntu_20.') ||
28
- os.start_with?('ubuntu_21.')
40
+ os.start_with?('linuxmint_20.')
41
+
42
+ os = 'ubuntu_21.10' if os.start_with?('ubuntu_21.') ||
43
+ os.start_with?('linuxmint_21.')
29
44
 
30
- os = 'ubuntu_22.04' if os.start_with?('ubuntu_22.')
45
+ os = 'ubuntu_22.04' if os.start_with?('ubuntu_22.') ||
46
+ os.start_with?('ubuntu_24.') ||
47
+ os.start_with?('tuxedo_22.') ||
48
+ os.start_with?('neon_24.') ||
49
+ os.start_with?('neon_22.') ||
50
+ os.start_with?('linuxmint_22')
31
51
 
32
- os = 'centos_6' if (os.start_with?('amzn_') && os != 'amzn_2') ||
52
+ os = 'centos_6' if (os.start_with?('amzn_') && os != 'amzn_2' && os != 'amzn_2023') ||
33
53
  (os.empty? && File.read('/etc/centos-release').start_with?('CentOS release 6'))
34
54
 
35
55
  os = 'centos_7' if (os.start_with?('amzn_2') && !os.start_with?('amzn_20')) ||
36
56
  os.start_with?('rhel_7.')
37
57
 
38
- os = 'centos_8' if os.start_with?('rocky_8') || os.start_with?('rhel_8.')
58
+ os = 'centos_8' if os.start_with?('rocky_8') ||
59
+ os.start_with?('rhel_8.') ||
60
+ os.start_with?('ol_8.') ||
61
+ os.start_with?('almalinux_8') ||
62
+ os.start_with?('alinux_') ||
63
+ os == 'amzn_2023'
39
64
 
40
65
  os_based_on_debian_9 = os.start_with?('debian_9') ||
41
66
  os.start_with?('deepin')
42
67
  os = 'debian_9' if os_based_on_debian_9
43
68
 
44
- os = 'debian_10' if !os_based_on_debian_9 && os.start_with?('debian')
69
+ os = 'debian_10' if !os_based_on_debian_9 && os.start_with?('debian_10')
70
+
71
+ os = 'debian_11' if !os_based_on_debian_9 && os.start_with?('debian_11')
72
+
73
+ os = 'debian_12' if !os_based_on_debian_9 && os.start_with?('debian_12')
74
+
75
+ os = 'debian_12' if !os_based_on_debian_9 && os.start_with?('debian_13')
45
76
 
46
77
  os = 'archlinux' if os.start_with?('arch_') ||
47
78
  os.start_with?('manjaro_')
48
79
 
49
- architecture = RbConfig::CONFIG['host_cpu'] == 'x86_64' ? 'amd64' : 'i386'
50
-
51
80
  "#{os}_#{architecture}"
52
81
  when /darwin/
53
82
  'macos_cocoa'
@@ -67,7 +96,7 @@ end
67
96
 
68
97
  unless File.exist? binary
69
98
  raise 'Invalid platform, must be running on Ubuntu 16.04/18.04/20.04/22.04, ' \
70
- 'CentOS 6/7/8, Debian 9/10, Archlinux amd64, or Intel-based Cocoa macOS ' \
99
+ 'CentOS 6/7/8, Debian 9/10/11/12, Archlinux amd64, Debian 9/10/11/12 arm64, or Intel-based Cocoa macOS ' \
71
100
  "(missing binary: #{binary})."
72
101
  end
73
102
 
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.6.6
4
+ version: 0.12.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zakir Durumeric
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-30 00:00:00.000000000 Z
11
+ date: 2025-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -54,8 +54,16 @@ files:
54
54
  - bin/wkhtmltopdf_centos_7_i386.gz
55
55
  - bin/wkhtmltopdf_centos_8_amd64.gz
56
56
  - bin/wkhtmltopdf_debian_10_amd64.gz
57
+ - bin/wkhtmltopdf_debian_10_arm64.gz
57
58
  - bin/wkhtmltopdf_debian_10_i386.gz
59
+ - bin/wkhtmltopdf_debian_11_amd64.gz
60
+ - bin/wkhtmltopdf_debian_11_arm64.gz
61
+ - bin/wkhtmltopdf_debian_11_i386.gz
62
+ - bin/wkhtmltopdf_debian_12_amd64.gz
63
+ - bin/wkhtmltopdf_debian_12_arm64.gz
64
+ - bin/wkhtmltopdf_debian_12_i386.gz
58
65
  - bin/wkhtmltopdf_debian_9_amd64.gz
66
+ - bin/wkhtmltopdf_debian_9_arm64.gz
59
67
  - bin/wkhtmltopdf_debian_9_i386.gz
60
68
  - bin/wkhtmltopdf_macos_cocoa.gz
61
69
  - bin/wkhtmltopdf_ubuntu_16.04_amd64.gz
@@ -63,11 +71,16 @@ files:
63
71
  - bin/wkhtmltopdf_ubuntu_18.04_amd64.gz
64
72
  - bin/wkhtmltopdf_ubuntu_18.04_i386.gz
65
73
  - bin/wkhtmltopdf_ubuntu_20.04_amd64.gz
74
+ - bin/wkhtmltopdf_ubuntu_20.04_arm64.gz
75
+ - bin/wkhtmltopdf_ubuntu_21.10_amd64.gz
66
76
  - bin/wkhtmltopdf_ubuntu_22.04_amd64.gz
67
- homepage:
77
+ - bin/wkhtmltopdf_ubuntu_22.04_arm64.gz
78
+ homepage: https://github.com/zakird/wkhtmltopdf_binary_gem
68
79
  licenses:
69
80
  - Apache-2.0
70
- metadata: {}
81
+ metadata:
82
+ source_code_uri: https://github.com/zakird/wkhtmltopdf_binary_gem
83
+ changelog_uri: https://github.com/zakird/wkhtmltopdf_binary_gem/blob/master/CHANGELOG.md
71
84
  post_install_message:
72
85
  rdoc_options: []
73
86
  require_paths:
@@ -83,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
96
  - !ruby/object:Gem::Version
84
97
  version: '0'
85
98
  requirements: []
86
- rubygems_version: 3.2.3
99
+ rubygems_version: 3.4.19
87
100
  signing_key:
88
101
  specification_version: 4
89
102
  summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.