wkhtmltopdf-binary-cf 0.12.2

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: af1c47d0434e25db152342d15235b1e08816a731
4
+ data.tar.gz: d59cbc818eadd7a42c1375f120ab424afed82947
5
+ SHA512:
6
+ metadata.gz: aba749746ea0b8b57682d2d30c40804358fcc9ad452e00726683e386d9223c2a519334ecdfea8cd940db74808e7a49c671550953bced0e84ef0e21596ef8024b
7
+ data.tar.gz: b7cc2110e7099b5542b146320e193bcd43cc008e21eca74f0fcf2404fd08513f1d80bfb70d29a9883f129e518fa50f3cad8269cf76b9a5321dd02a10e880f8fd
data/bin/wkhtmltopdf ADDED
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
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
9
+
10
+ require 'rbconfig'
11
+
12
+ if RbConfig::CONFIG['host_os'] =~ /linux/
13
+ executable = RbConfig::CONFIG['host_cpu'] == 'x86_64' ? 'wkhtmltopdf_linux_x64' : 'wkhtmltopdf_linux_386'
14
+ else
15
+ raise "Invalid platform. Must be running Linux x86_64 or 386."
16
+ end
17
+
18
+ executable = File.join(File.dirname(__FILE__), executable)
19
+ system *$*.unshift(executable)
File without changes
Binary file
Binary file
metadata ADDED
@@ -0,0 +1,47 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wkhtmltopdf-binary-cf
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.12.2
5
+ platform: ruby
6
+ authors:
7
+ - Zakir Durumeric
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-11 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email: zakird@gmail.com
15
+ executables:
16
+ - wkhtmltopdf
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - bin/wkhtmltopdf
21
+ - bin/wkhtmltopdf-binary.rb
22
+ - bin/wkhtmltopdf_linux_386
23
+ - bin/wkhtmltopdf_linux_x64
24
+ homepage:
25
+ licenses: []
26
+ metadata: {}
27
+ post_install_message:
28
+ rdoc_options: []
29
+ require_paths:
30
+ - .
31
+ required_ruby_version: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '>='
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
36
+ required_rubygems_version: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ requirements: []
42
+ rubyforge_project:
43
+ rubygems_version: 2.0.14
44
+ signing_key:
45
+ specification_version: 4
46
+ summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
47
+ test_files: []