wkhtmltopdf-binary 0.12.6.1 → 0.12.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/wkhtmltopdf +17 -12
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71d0ab2973bc32ccfb27c2debf9f21e846db80b90ef04642393dc6bf7941b160
4
- data.tar.gz: ffd8f69e7e4a142bc7a11fdb66e82ccb967db43ece6faffa1f6da72872e46706
3
+ metadata.gz: ac12b7190586aa6bf9aee87cc26c9458c8093f6ea85b625f7ada71131b9ed89f
4
+ data.tar.gz: d1b718cd22fbd2394d2b8477577007175b7bb8c75f9bedfc355c9222b576e1bf
5
5
  SHA512:
6
- metadata.gz: 4d012d95a88071aef0acbd0b4594cc0a5f50ec0f42913fda3d3cfab7e16a9188a52160d60a670ff992f43f659381ca0ec0b464ad8d8566e58e5ed16364abd6c6
7
- data.tar.gz: 505fcd86f6561b549ae7c686978dba2798ad14f7bd5393ef788081856a596915407d00d4de3136cdccda85b357501b3e229fcdc77cab05347778cadcb8333b2a
6
+ metadata.gz: 89fb6b3b0123539565ba5a1e1bc53582d2a04d5a5258eb4f110826bb490d0137a2f0a7d93bac2f2e279e31a5573d554ba0f5af8117b827c021e06c5020d96fb3
7
+ data.tar.gz: 2538ab4e943b9386417619f0fd4c42c7d17ebfc0458a1d5561f817f1f9e9a332a743c97e97c5c7b19ec9b25393bf60e623f3a5e9663182801278b1157081630f
@@ -14,18 +14,23 @@ 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
-
21
- # CentOS 6 doesn't have `/etc/os-release`.
22
- if (os.empty? && File.read('/etc/centos-release').start_with?('CentOS release 6')) ||
23
- os.start_with?('amzn_')
24
- os = 'centos_6'
25
- end
26
-
27
- # Deepin fallback
28
- os = 'debian_9' if /deepin/.match?(os)
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
19
+
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/.match?(os)
33
+ os = 'debian_9' if os_based_on_debian_9
29
34
 
30
35
  architecture = RbConfig::CONFIG['host_cpu'] == 'x86_64' ? 'amd64' : 'i386'
31
36
 
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.1
4
+ version: 0.12.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zakir Durumeric
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-26 00:00:00.000000000 Z
11
+ date: 2020-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest