wkhtmltopdf-binary 0.12.5.2 → 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: ad5629221977d98b4ec34a55909349aa0a3feac314820f1b2feb666d1683bffc
4
- data.tar.gz: ebd125fda7158c3b11b8fa239141c111885a49649884a7be985e379430fefef5
3
+ metadata.gz: ac12b7190586aa6bf9aee87cc26c9458c8093f6ea85b625f7ada71131b9ed89f
4
+ data.tar.gz: d1b718cd22fbd2394d2b8477577007175b7bb8c75f9bedfc355c9222b576e1bf
5
5
  SHA512:
6
- metadata.gz: f4f86c5e28c0e2ace51f64634124b04fbc7e088617c4800ff5fac0adf3aa52e750324f09e3c2f93bb10287faa968c787a34c75be3d8c6a8d65ed26fe2caa1f6b
7
- data.tar.gz: 91bbf71febe54aef3fd44f0c87e06b98caa26fbe381802e0edee8fa0ceafd20f2a21cff59eba51b1ac5716ab95c62954cb35b5bb94e5245c78cfa11dfc6f7aca
6
+ metadata.gz: 89fb6b3b0123539565ba5a1e1bc53582d2a04d5a5258eb4f110826bb490d0137a2f0a7d93bac2f2e279e31a5573d554ba0f5af8117b827c021e06c5020d96fb3
7
+ data.tar.gz: 2538ab4e943b9386417619f0fd4c42c7d17ebfc0458a1d5561f817f1f9e9a332a743c97e97c5c7b19ec9b25393bf60e623f3a5e9663182801278b1157081630f
@@ -14,21 +14,29 @@ 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')
18
- os = 'ubuntu_18.04'
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
- # 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
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
26
34
 
27
35
  architecture = RbConfig::CONFIG['host_cpu'] == 'x86_64' ? 'amd64' : 'i386'
28
36
 
29
37
  "#{os}_#{architecture}"
30
38
  when /darwin/
31
- RbConfig::CONFIG['host_cpu'] == 'x86_64' ? 'macos_cocoa' : 'macos_carbon'
39
+ 'macos_cocoa'
32
40
  else
33
41
  'unknown'
34
42
  end
@@ -42,8 +50,8 @@ if File.exist?("#{binary}.gz") && !File.exist?(binary)
42
50
  end
43
51
 
44
52
  unless File.exist? binary
45
- raise 'Invalid platform, must be running on Ubuntu 14.04/16.04/18.04 ' \
46
- 'CentOS 6/7/8, Debian 8/9/10, or intel-based macOS ' \
53
+ raise 'Invalid platform, must be running on Ubuntu 16.04/18.04/20.04 ' \
54
+ 'CentOS 6/7/8, Debian 9/10, or intel-based Cocoa macOS ' \
47
55
  "(missing binary: #{binary})."
48
56
  end
49
57
 
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.5.2
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-02-08 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
@@ -40,23 +40,19 @@ files:
40
40
  - bin/wkhtmltopdf_centos_8_amd64.gz
41
41
  - bin/wkhtmltopdf_debian_10_amd64.gz
42
42
  - bin/wkhtmltopdf_debian_10_i386.gz
43
- - bin/wkhtmltopdf_debian_8_amd64.gz
44
- - bin/wkhtmltopdf_debian_8_i386.gz
45
43
  - bin/wkhtmltopdf_debian_9_amd64.gz
46
44
  - bin/wkhtmltopdf_debian_9_i386.gz
47
- - bin/wkhtmltopdf_macos_carbon.gz
48
45
  - bin/wkhtmltopdf_macos_cocoa.gz
49
- - bin/wkhtmltopdf_ubuntu_14.04_amd64.gz
50
- - bin/wkhtmltopdf_ubuntu_14.04_i386.gz
51
46
  - bin/wkhtmltopdf_ubuntu_16.04_amd64.gz
52
47
  - bin/wkhtmltopdf_ubuntu_16.04_i386.gz
53
48
  - bin/wkhtmltopdf_ubuntu_18.04_amd64.gz
54
49
  - bin/wkhtmltopdf_ubuntu_18.04_i386.gz
55
- homepage:
50
+ - bin/wkhtmltopdf_ubuntu_20.04_amd64.gz
51
+ homepage:
56
52
  licenses:
57
53
  - Apache-2.0
58
54
  metadata: {}
59
- post_install_message:
55
+ post_install_message:
60
56
  rdoc_options: []
61
57
  require_paths:
62
58
  - "."
@@ -71,8 +67,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
67
  - !ruby/object:Gem::Version
72
68
  version: '0'
73
69
  requirements: []
74
- rubygems_version: 3.0.6
75
- signing_key:
70
+ rubygems_version: 3.0.3
71
+ signing_key:
76
72
  specification_version: 4
77
73
  summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
78
74
  test_files: []