wkhtmltopdf-binary-edge-alpine 0.12.5.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
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: af6fd1cd6e66f102e35c4612002e65cbb1ec9d06c0cce7db85ca2ae3142ba3c4
|
4
|
+
data.tar.gz: 56bbcf2cf6bd95d606edcd9943cacdc9de560c165a41fe356705e8273ef1e587
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8e83a370dcde0db20d0f69c46cf42a8075159becf58c507e78374c549f4dec511922d6a21527fd87fe17fe67199d093d11b6c721f3687a6a941e9c7c3e2f558b
|
7
|
+
data.tar.gz: 7069d48f64bc29391c6d5fc1bc0358ba3ae1f9c1150e47e5fdda6e13be0df48dd0c45da1a20688e9d11cd4aa93ae4376dc3d9ee7e18c93542a0bebf6a2b8c453
|
data/bin/wkhtmltopdf
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
arch = case RUBY_PLATFORM
|
4
|
+
when /64.*linux/
|
5
|
+
RUBY_PLATFORM.match?(/linux-musl/) ? 'alpine-linux-amd64' : 'linux-amd64'
|
6
|
+
when /darwin/
|
7
|
+
'darwin-x86_64'
|
8
|
+
else
|
9
|
+
raise 'Invalid platform. Must be running Linux, Alpine Linux or Intel-based Mac OS.'
|
10
|
+
end
|
11
|
+
|
12
|
+
args = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
|
13
|
+
cmd = File.expand_path "#{File.dirname(__FILE__)}/../libexec/wkhtmltopdf-#{arch}"
|
14
|
+
|
15
|
+
begin
|
16
|
+
exec "#{cmd} #{args.join(' ')}"
|
17
|
+
rescue Errno::ENOENT => e
|
18
|
+
raise "Not found or wkhtmltopdf binaries might be incompatible with the os version \n #{e}"
|
19
|
+
end
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wkhtmltopdf-binary-edge-alpine
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.12.5.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- 'Orginial Author: - Research Information Systems, The University of Iowa'
|
8
|
+
- Yurui Zhang
|
9
|
+
- Khalil Gharbaoui
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2019-05-20 00:00:00.000000000 Z
|
14
|
+
dependencies: []
|
15
|
+
description: Includes wkthmltopdf binaires for Alpine Linux, macOS (>= 10.7) and Ubuntu
|
16
|
+
16 (64bit)
|
17
|
+
email: kaygeee@gmail.com
|
18
|
+
executables:
|
19
|
+
- wkhtmltopdf
|
20
|
+
extensions: []
|
21
|
+
extra_rdoc_files: []
|
22
|
+
files:
|
23
|
+
- bin/wkhtmltopdf
|
24
|
+
- lib/wkhtmltopdf-binary-edge-alpine.rb
|
25
|
+
- libexec/wkhtmltopdf-alpine-linux-amd64
|
26
|
+
- libexec/wkhtmltopdf-darwin-x86_64
|
27
|
+
- libexec/wkhtmltopdf-linux-amd64
|
28
|
+
homepage: https://github.com/khalil/wkhtmltopdf-binary-edge-alpine
|
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: 1.8.7
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.3.6
|
46
|
+
requirements: []
|
47
|
+
rubygems_version: 3.0.3
|
48
|
+
signing_key:
|
49
|
+
specification_version: 4
|
50
|
+
summary: Provides binaries for WKHTMLTOPDF project in an easily accessible package.
|
51
|
+
- forked from wkhtmltopdf-binary
|
52
|
+
test_files: []
|