wkhtmltopdf-binary 0.12.6 → 0.12.6.2

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: 9136890b342bdf929fef2ac2597db22f059356df1a69c21948b8350f8ee1be75
4
- data.tar.gz: 447244dc7477c7654b8fc60282448dce2fc6d0e3b9487cc787ab329ff9238b2f
3
+ metadata.gz: ac12b7190586aa6bf9aee87cc26c9458c8093f6ea85b625f7ada71131b9ed89f
4
+ data.tar.gz: d1b718cd22fbd2394d2b8477577007175b7bb8c75f9bedfc355c9222b576e1bf
5
5
  SHA512:
6
- metadata.gz: 2e46d531ac16f2c1cf9eecfd630b935f8bfa55679cbf80e0f506394ee470f0bbfad85badbd89797db768ae9c004f6d5e7f860c6fd0f25c8cecb64c9d1fb96380
7
- data.tar.gz: c3dec361e0f3bc67aedf5a190ac947abc730672a89320cc60045d061c7378c978f5152cc1a7af2d0317cc18a094eab94d7772d9e187fdbfd9fc5b4b962543825
6
+ metadata.gz: 89fb6b3b0123539565ba5a1e1bc53582d2a04d5a5258eb4f110826bb490d0137a2f0a7d93bac2f2e279e31a5573d554ba0f5af8117b827c021e06c5020d96fb3
7
+ data.tar.gz: 2538ab4e943b9386417619f0fd4c42c7d17ebfc0458a1d5561f817f1f9e9a332a743c97e97c5c7b19ec9b25393bf60e623f3a5e9663182801278b1157081630f
data/bin/wkhtmltopdf CHANGED
@@ -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
4
+ version: 0.12.6.2
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-06-15 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
@@ -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
@@ -47,11 +47,12 @@ files:
47
47
  - bin/wkhtmltopdf_ubuntu_16.04_i386.gz
48
48
  - bin/wkhtmltopdf_ubuntu_18.04_amd64.gz
49
49
  - bin/wkhtmltopdf_ubuntu_18.04_i386.gz
50
- homepage:
50
+ - bin/wkhtmltopdf_ubuntu_20.04_amd64.gz
51
+ homepage:
51
52
  licenses:
52
53
  - Apache-2.0
53
54
  metadata: {}
54
- post_install_message:
55
+ post_install_message:
55
56
  rdoc_options: []
56
57
  require_paths:
57
58
  - "."
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
68
  version: '0'
68
69
  requirements: []
69
70
  rubygems_version: 3.0.3
70
- signing_key:
71
+ signing_key:
71
72
  specification_version: 4
72
73
  summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
73
74
  test_files: []