wkhtmltopdf-binary 0.12.6.6 → 0.12.6.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a2441a7b6acbf09751256dd420d54ab1e0c028d84e4bf0305cc15d353d1190a
4
- data.tar.gz: d60450996f827521112c8845b98cbbb98deee424817395fd790e6ffd6ac8e40c
3
+ metadata.gz: 34e941b4342fc4cd0e43cc5e53e37f3528d61dfb6aa74f9b79fe40fd3403d42b
4
+ data.tar.gz: 7f41a6cfb370cd6ebb77a010337c9c55ca14d9c7f6115ac9c5c50eced184ea2e
5
5
  SHA512:
6
- metadata.gz: 67800dff22babd8b0056433b13967f01eefec6fa2839b55031d2e6acb1c20e2f7239c7b01e9c5d2a1493218b93258439d60130c53b3c69fc6f0871721803d747
7
- data.tar.gz: 6951ea953619f63163cfa83df61f8dc0ef16eeb76789f4d288192294bf747f601b9d30c46d67a92948c5178367bd2ca02426a98f13f361c85e7f9aa157c50fba
6
+ metadata.gz: 9f68b8f2d31ffac36fae2338d4483ce8d04b1c98080d63b43a13a4e3a0f8d9e5b51c8f322351e986d883957e0ca08b3127074f0f6cc38edd6da7a5e528b2e00a
7
+ data.tar.gz: 3005d0dc98542d5dbf4872239321936d84d25f7053c323bb6180d98f2535315eeecdfa8d7cd7386d4a89ac01fedb5e65e0cfb760df0024ed16510d5425f064db
data/bin/wkhtmltopdf CHANGED
@@ -10,24 +10,40 @@
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?('tuxedo_22.')
31
47
 
32
48
  os = 'centos_6' if (os.start_with?('amzn_') && os != 'amzn_2') ||
33
49
  (os.empty? && File.read('/etc/centos-release').start_with?('CentOS release 6'))
@@ -35,19 +51,23 @@ suffix = case RbConfig::CONFIG['host_os']
35
51
  os = 'centos_7' if (os.start_with?('amzn_2') && !os.start_with?('amzn_20')) ||
36
52
  os.start_with?('rhel_7.')
37
53
 
38
- os = 'centos_8' if os.start_with?('rocky_8') || os.start_with?('rhel_8.')
54
+ os = 'centos_8' if os.start_with?('rocky_8') ||
55
+ os.start_with?('rhel_8.') ||
56
+ os.start_with?('ol_8.')
39
57
 
40
58
  os_based_on_debian_9 = os.start_with?('debian_9') ||
41
59
  os.start_with?('deepin')
42
60
  os = 'debian_9' if os_based_on_debian_9
43
61
 
44
- os = 'debian_10' if !os_based_on_debian_9 && os.start_with?('debian')
62
+ os = 'debian_10' if !os_based_on_debian_9 && os.start_with?('debian_10')
63
+
64
+ os = 'debian_11' if !os_based_on_debian_9 && os.start_with?('debian_11')
65
+
66
+ os = 'debian_12' if !os_based_on_debian_9 && os.start_with?('debian_12')
45
67
 
46
68
  os = 'archlinux' if os.start_with?('arch_') ||
47
69
  os.start_with?('manjaro_')
48
70
 
49
- architecture = RbConfig::CONFIG['host_cpu'] == 'x86_64' ? 'amd64' : 'i386'
50
-
51
71
  "#{os}_#{architecture}"
52
72
  when /darwin/
53
73
  'macos_cocoa'
@@ -67,7 +87,7 @@ end
67
87
 
68
88
  unless File.exist? binary
69
89
  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 ' \
90
+ 'CentOS 6/7/8, Debian 9/10/11/12, Archlinux amd64, Debian 9/10/11/12 arm64, or Intel-based Cocoa macOS ' \
71
91
  "(missing binary: #{binary})."
72
92
  end
73
93
 
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.7
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: 2024-05-10 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,15 @@ 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
+ homepage: https://github.com/zakird/wkhtmltopdf_binary_gem
68
78
  licenses:
69
79
  - Apache-2.0
70
- metadata: {}
80
+ metadata:
81
+ source_code_uri: https://github.com/zakird/wkhtmltopdf_binary_gem
82
+ changelog_uri: https://github.com/zakird/wkhtmltopdf_binary_gem/blob/master/CHANGELOG.md
71
83
  post_install_message:
72
84
  rdoc_options: []
73
85
  require_paths:
@@ -83,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
95
  - !ruby/object:Gem::Version
84
96
  version: '0'
85
97
  requirements: []
86
- rubygems_version: 3.2.3
98
+ rubygems_version: 3.4.19
87
99
  signing_key:
88
100
  specification_version: 4
89
101
  summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.