wkhtmltopdf-binary 0.12.6.3 → 0.12.6.4

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 +5 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f9ce49d355e331a8b271bc9f6e02c4c483def60f4ea7e75334a1fd1208ca5df
4
- data.tar.gz: 777a4df024ab9af85ce523a9b0167c493916d02a9d831b840d24c6c086a7472b
3
+ metadata.gz: 228be25916cb4b84e976a8e0f31b64f39b19acf8561cbac388a1780a958e3d00
4
+ data.tar.gz: 19a57cfa57f466e9cb700342a443d3ccff9681b907cdc9f81a508dc957ecf082
5
5
  SHA512:
6
- metadata.gz: 2eb723694b5ea6bd87d4c293cd1f2a37ea71b47dbbfaa68e6d4ef509b03d4020b3528f45d4ceaaade014f48d65c57a7fa7256933bfafcfc316e477032c3f3f15
7
- data.tar.gz: e2b703f0a1e080f704f4294b56530439fc7ca860ae2f1c8d0ba2afac0b293630cd8e1cf3354bb89fd6ba93f62d23ae4e4c16c69f3d24f92094da5f2083b21f12
6
+ metadata.gz: 4602195091b28edd87dd97dcf449abaa5b0de98cf5b1fb3a568c275281972e813495c4ef5ea4270498fcd6a866e6ece0f7d8829221d990aab829434a5eadb9ff
7
+ data.tar.gz: dca90cbec7548ec1ac672ad8d55cbbbe5664951aed5212865fc48e7ed0b45fb7a49fee2edd2da20dfd100c9a6c2eb7c330d1d45671c6ffb90a9e3bc0992dc84a
@@ -29,9 +29,12 @@ suffix = case RbConfig::CONFIG['host_os']
29
29
  os_based_on_centos_7 = os.start_with?('amzn_2')
30
30
  os = 'centos_7' if os_based_on_centos_7
31
31
 
32
- os_based_on_debian_9 = /deepin/.match?(os)
32
+ os_based_on_debian_9 = (/deepin/ =~ os)
33
33
  os = 'debian_9' if os_based_on_debian_9
34
34
 
35
+ os_based_on_debian = os.start_with?('debian')
36
+ os = 'debian_10' if os_based_on_debian
37
+
35
38
  os_based_on_archlinux = os.start_with?('arch_') || os.start_with?('manjaro_')
36
39
  os = 'archlinux' if os_based_on_archlinux
37
40
 
@@ -43,7 +46,7 @@ suffix = case RbConfig::CONFIG['host_os']
43
46
  else
44
47
  'unknown'
45
48
  end
46
-
49
+
47
50
  suffix = ENV['WKHTMLTOPDF_HOST_SUFFIX'] unless ENV['WKHTMLTOPDF_HOST_SUFFIX'].to_s.empty?
48
51
 
49
52
  binary = "#{__FILE__}_#{suffix}"
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.3
4
+ version: 0.12.6.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-08-05 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest