wkhtmltox-bin 0.12.0
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 +7 -0
- data/bin/wkhtmltoimage +17 -0
- data/bin/wkhtmltopdf +17 -0
- data/binaries/wkhtmltoimage-x86 +0 -0
- data/binaries/wkhtmltoimage-x86-64 +0 -0
- data/binaries/wkhtmltopdf-x86 +0 -0
- data/binaries/wkhtmltopdf-x86-64 +0 -0
- metadata +54 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 7e71fda3ed1a809c5715414d0fadb09dcc8a7ea7
|
|
4
|
+
data.tar.gz: 26ff3f7ccc27f252e76961a28d928ca316cd05fa
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 96a88f7ef76984b186e0eca4b0a26b3b22015e225727ed4da4b106bd96818d0aad85973d1e3811b865d9e4a754404bf75f0aa9bc6a72b5b265fd3194f42a37f3
|
|
7
|
+
data.tar.gz: aeb3852e7b5b10d98425ba0ae01771a883cf9ad1e12af9581b48f655794d22d225e5514c5e74b876d55d1aa24c8dbac4819660a8d9b471841b5fda997c290162
|
data/bin/wkhtmltoimage
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
binary = case RUBY_PLATFORM
|
|
4
|
+
when /64.*linux/
|
|
5
|
+
'wkhtmltoimage-x86-64'
|
|
6
|
+
when /linux/
|
|
7
|
+
'wkhtmltoimage-x86'
|
|
8
|
+
else
|
|
9
|
+
raise 'Only Linux is supported.'
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
cmd = File.expand_path "#{File.dirname(__FILE__)}/../binaries/#{binary}"
|
|
13
|
+
|
|
14
|
+
args = ARGV.map { |a| a.include?(' ') ? "'" + a + "'" : a }.join(' ')
|
|
15
|
+
|
|
16
|
+
exec "#{cmd} #{args}"
|
|
17
|
+
|
data/bin/wkhtmltopdf
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
binary = case RUBY_PLATFORM
|
|
4
|
+
when /64.*linux/
|
|
5
|
+
'wkhtmltopdf-x86-64'
|
|
6
|
+
when /linux/
|
|
7
|
+
'wkhtmltopdf-x86'
|
|
8
|
+
else
|
|
9
|
+
raise 'Only Linux is supported.'
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
cmd = File.expand_path "#{File.dirname(__FILE__)}/../binaries/#{binary}"
|
|
13
|
+
|
|
14
|
+
args = ARGV.map { |a| a.include?(' ') ? "'" + a + "'" : a }.join(' ')
|
|
15
|
+
|
|
16
|
+
exec "#{cmd} #{args}"
|
|
17
|
+
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
metadata
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: wkhtmltox-bin
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.12.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Speransky Danil
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2014-03-24 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Ruby gem containing easily installable access to wkhtmltopdf & wkhtmltoimage
|
|
14
|
+
application.
|
|
15
|
+
email: speranskydanil@gmail.com
|
|
16
|
+
executables:
|
|
17
|
+
- wkhtmltopdf
|
|
18
|
+
- wkhtmltoimage
|
|
19
|
+
extensions: []
|
|
20
|
+
extra_rdoc_files: []
|
|
21
|
+
files:
|
|
22
|
+
- bin/wkhtmltoimage
|
|
23
|
+
- bin/wkhtmltopdf
|
|
24
|
+
- binaries/wkhtmltoimage-x86
|
|
25
|
+
- binaries/wkhtmltoimage-x86-64
|
|
26
|
+
- binaries/wkhtmltopdf-x86
|
|
27
|
+
- binaries/wkhtmltopdf-x86-64
|
|
28
|
+
homepage: http://speranskydanil.github.io/wkhtmltox-bin/
|
|
29
|
+
licenses:
|
|
30
|
+
- MIT
|
|
31
|
+
metadata: {}
|
|
32
|
+
post_install_message:
|
|
33
|
+
rdoc_options: []
|
|
34
|
+
require_paths:
|
|
35
|
+
- lib
|
|
36
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
- - ">="
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '0'
|
|
46
|
+
requirements: []
|
|
47
|
+
rubyforge_project:
|
|
48
|
+
rubygems_version: 2.2.2
|
|
49
|
+
signing_key:
|
|
50
|
+
specification_version: 4
|
|
51
|
+
summary: Ruby gem containing easily installable access to wkhtmltopdf & wkhtmltoimage
|
|
52
|
+
application.
|
|
53
|
+
test_files: []
|
|
54
|
+
has_rdoc:
|