wkhtmltopdf-binary 0.9.9.3 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fde3fe62f6abbc94b17ff197dc9be317c42bca83
4
- data.tar.gz: f894b9c92bc52833b6313ad0a1b3986a6d69c74d
3
+ metadata.gz: 07694dbdb61ef7ea64446b3eda78fb53d056c582
4
+ data.tar.gz: 872bead5ad4c068d88d097057c726b5b531cfff3
5
5
  SHA512:
6
- metadata.gz: 6334da8a847d1afbef6a0bd75b462ee4efaa4a9991dfd937f5c84076e65be6e8cb5629988417bf96f38dd6cfa1589ed54211756e63795ace78895fd98ec94bb2
7
- data.tar.gz: 24932dc63a47e77a40d95f4955254a9f7024821da6c734bd36183932d8c511224082487e6dc7b2ca80e2728d6a47f2398e6ee3716e09b528f6db39921c7c7861
6
+ metadata.gz: 25cd47dfb0aa60b81bf17709f63da66834127a710baf403fe2881f7027fafe0ce113bce82e622d3b125df898d9ad9807a50abfc3eecde8054d4c13272ba6eaf8
7
+ data.tar.gz: 33f941e87d15b0c377dea26fe4bcb1d5712ce56477909bd859821c5de7c53cb305d8059c685bde85316b309c694638c46c1d5f44c1b54ece0062128074e376c5
@@ -1,21 +1,23 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- ###
4
- # wkhtmltopdf_binary_gem Copyright 2013 The University of Iowa
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License"); you may not
7
- # use this file except in compliance with the License. You may obtain a copy
8
- # of the License at http://www.apache.org/licenses/LICENSE-2.0
3
+ ###
4
+ # wkhtmltopdf_binary_gem Copyright 2013 The University of Iowa
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may not
7
+ # use this file except in compliance with the License. You may obtain a copy
8
+ # of the License at http://www.apache.org/licenses/LICENSE-2.0
9
9
 
10
10
  require 'rbconfig'
11
11
 
12
- if RbConfig::CONFIG['host_os'] =~ /linux/
13
- executable = RbConfig::CONFIG['host_cpu'] == 'x86_64' ? 'wkhtmltopdf_linux_x64' : 'wkhtmltopdf_linux_386'
14
- elsif RbConfig::CONFIG['host_os'] =~ /darwin/
15
- executable = 'wkhtmltopdf_darwin_386'
12
+ suffix = case RbConfig::CONFIG['host']
13
+ when /x86_64.*linux/
14
+ 'linux_amd64'
15
+ when /linux/
16
+ 'linux_x86'
17
+ when /darwin/
18
+ 'darwin_x86'
16
19
  else
17
- raise "Invalid platform. Must be running linux or intel-based Mac OS."
20
+ raise "Invalid platform. Must be running on linux or intel-based Mac OS."
18
21
  end
19
22
 
20
- executable = File.join(File.dirname(__FILE__), executable)
21
- system *$*.unshift(executable)
23
+ system *$*.unshift("#{__FILE__}_#{suffix}")
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.9.9.3
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zakir Durumeric
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-09 00:00:00.000000000 Z
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: zakird@gmail.com
@@ -19,29 +19,29 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - bin/wkhtmltopdf
21
21
  - bin/wkhtmltopdf-binary.rb
22
- - bin/wkhtmltopdf_darwin_386
23
- - bin/wkhtmltopdf_linux_386
24
- - bin/wkhtmltopdf_linux_x64
22
+ - bin/wkhtmltopdf_darwin_x86
23
+ - bin/wkhtmltopdf_linux_amd64
24
+ - bin/wkhtmltopdf_linux_x86
25
25
  homepage:
26
26
  licenses: []
27
27
  metadata: {}
28
28
  post_install_message:
29
29
  rdoc_options: []
30
30
  require_paths:
31
- - .
31
+ - "."
32
32
  required_ruby_version: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - '>='
34
+ - - ">="
35
35
  - !ruby/object:Gem::Version
36
36
  version: '0'
37
37
  required_rubygems_version: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  requirements: []
43
43
  rubyforge_project:
44
- rubygems_version: 2.0.3
44
+ rubygems_version: 2.5.1
45
45
  signing_key:
46
46
  specification_version: 4
47
47
  summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
Binary file
Binary file
Binary file