wkhtmltopdf-binary 0.12.5.1 → 0.12.5.4

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: e5b8ebf97fa3a74a00e411d4d7d484bba2c1c2baebc62d2c73d11d7ac5afb433
4
- data.tar.gz: 9863aba12e71e69d20bad0306e2a2490855ff535e677c63be1d26d95f55b4a00
3
+ metadata.gz: 8844ae08780f6c097410d1401ec6f528bb9750594dc10d3ff2d7f6ab936fef6e
4
+ data.tar.gz: cf93a01e7ab28b9cd74b7b56865b0c716fc09f580a334f68f39be0046e87b459
5
5
  SHA512:
6
- metadata.gz: 76bf118aca2ecbfac9021c6bcef5e5ae14f93431173f634d57ffbbb61341f48724db9218503a17b95b417af3c2915ddd0decce4463981b62be2f9834f1fb1aa1
7
- data.tar.gz: e75124c3de84bdafb58b3c72508dfc3834210c62b42978cd8a65bed47072867e25246a9eb7533f9b63053fda8032e35c511c7c3122f22e7ee2c861127b17d348
6
+ metadata.gz: 2770523ec0fa8e3f72dad317d3e3c1c395eb5748c0726176d9d4fe7b251feedc12f226cf73613d7f6e200e2e22acc5f437cd8e5da77d89133b52214c609a6e04
7
+ data.tar.gz: 3cca26962f709bcb0ab9df347cff0b56e6f78b6d7a0b78b702bec2a81da6cf8dc6947d94d41aefe0a0b796235ebeb03cafbd8d59017122e8ca19b231aefd77ea
data/bin/wkhtmltopdf CHANGED
@@ -14,8 +14,13 @@ 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
20
+
17
21
  # CentOS 6 doesn't have `/etc/os-release`.
18
- if os.empty? && File.read('/etc/centos-release').start_with?('CentOS release 6')
22
+ if (os.empty? && File.read('/etc/centos-release').start_with?('CentOS release 6')) ||
23
+ os.start_with?('amzn_')
19
24
  os = 'centos_6'
20
25
  end
21
26
 
@@ -38,8 +43,8 @@ end
38
43
 
39
44
  unless File.exist? binary
40
45
  raise 'Invalid platform, must be running on Ubuntu 14.04/16.04/18.04 ' \
41
- 'CentOS 6/7, Debian 8/9/10, or intel-based macOS ' \
46
+ 'CentOS 6/7/8, Debian 8/9/10, or intel-based macOS ' \
42
47
  "(missing binary: #{binary})."
43
48
  end
44
49
 
45
- system *$*.unshift(binary)
50
+ exec *$*.unshift(binary)
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.5.1
4
+ version: 0.12.5.4
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-01-17 00:00:00.000000000 Z
11
+ date: 2020-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -37,6 +37,7 @@ files:
37
37
  - bin/wkhtmltopdf_centos_6_i386.gz
38
38
  - bin/wkhtmltopdf_centos_7_amd64.gz
39
39
  - bin/wkhtmltopdf_centos_7_i386.gz
40
+ - bin/wkhtmltopdf_centos_8_amd64.gz
40
41
  - bin/wkhtmltopdf_debian_10_amd64.gz
41
42
  - bin/wkhtmltopdf_debian_10_i386.gz
42
43
  - bin/wkhtmltopdf_debian_8_amd64.gz
@@ -70,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
71
  - !ruby/object:Gem::Version
71
72
  version: '0'
72
73
  requirements: []
73
- rubygems_version: 3.0.3
74
+ rubygems_version: 3.0.6
74
75
  signing_key:
75
76
  specification_version: 4
76
77
  summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.