wkhtmltopdf-heroku-edge 0.12.2.1b
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +20 -0
- data/README.mdown +22 -0
- data/VERSION +1 -0
- data/bin/wkhtmltopdf-linux-amd64 +0 -0
- data/lib/wkhtmltopdf-heroku-edge.rb +26 -0
- data/wkhtmltopdf-heroku-edge.gemspec +31 -0
- metadata +53 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 476efd606367336e7ac6374f126570cbd81641c5
|
4
|
+
data.tar.gz: 0cdafcd0230acf0b83cdd214ac5f5db18913caf3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 08b7e601976ae17a864976c881d663cb9ef90dd80ff76d1a5c4c9df92583e5ef41bcb169e25ec957d49a6bbddd4dd76ee9865f6caf7ba95e6053108b734c4a74
|
7
|
+
data.tar.gz: 2b6d09de1a94783aff09e2c4bcd31a57a5707c1994f4ed0f66333304fccbc7dd5edea2b51abe3d8bb7136142adf5acc94b0e8d9fb2d6d7d73043f7ae0a130099
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2011 Brad Phelan
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.mdown
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# wkhtmltopdf-heroku-edge
|
2
|
+
|
3
|
+
This is forked from [bradphelan/wkhtmltopdf-heroku](https://github.com/bradphelan/wkhtmltopdf-heroku)
|
4
|
+
|
5
|
+
Provides a [wkhtmltopdf](http://code.google.com/p/wkhtmltopdf/) binary for [Heroku](http://www.heroku.com/).
|
6
|
+
|
7
|
+
Preconfigures [pdfkit](https://rubygems.org/gems/pdfkit), [wicked_pdf](https://rubygems.org/gems/wicked_pdf) and [wisepdf](http://rubygems.org/gems/wisepdf) to use this binary if they are loaded.
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'wkhtmltopdf-heroku-edge', '~> 0.12.2.1b'
|
13
|
+
```
|
14
|
+
|
15
|
+
## ONLY supports CEDAR-14 stack (Ubuntu 14.04 LTS)
|
16
|
+
|
17
|
+
See [migration guides](https://devcenter.heroku.com/articles/cedar-14-migration) for more details.
|
18
|
+
|
19
|
+
## Copyright
|
20
|
+
|
21
|
+
Copyright (c) 2011 Brad Phelan. See LICENSE.txt for further details.
|
22
|
+
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.12.2.1b
|
Binary file
|
@@ -0,0 +1,26 @@
|
|
1
|
+
WKHTMLTOPDF_PATH = File.expand_path "../../bin/wkhtmltopdf-linux-amd64", __FILE__
|
2
|
+
|
3
|
+
begin
|
4
|
+
require 'pdfkit'
|
5
|
+
|
6
|
+
PDFKit.configure do |config|
|
7
|
+
config.wkhtmltopdf = WKHTMLTOPDF_PATH
|
8
|
+
end
|
9
|
+
rescue LoadError
|
10
|
+
end
|
11
|
+
|
12
|
+
begin
|
13
|
+
require 'wicked_pdf'
|
14
|
+
|
15
|
+
WickedPdf.config[:exe_path] = WKHTMLTOPDF_PATH
|
16
|
+
rescue LoadError
|
17
|
+
end
|
18
|
+
|
19
|
+
begin
|
20
|
+
require 'wisepdf'
|
21
|
+
|
22
|
+
Wisepdf::Configuration.configure do |config|
|
23
|
+
config.wkhtmltopdf = WKHTMLTOPDF_PATH
|
24
|
+
end
|
25
|
+
rescue LoadError
|
26
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = "wkhtmltopdf-heroku-edge"
|
3
|
+
s.version = "0.12.2.1b"
|
4
|
+
|
5
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
6
|
+
s.required_ruby_version = '>= 1.8.7'
|
7
|
+
|
8
|
+
s.authors = ["Brad Phelan"]
|
9
|
+
s.date = "2015-02-17"
|
10
|
+
s.description = "wkhtmltopdf binaries heroku"
|
11
|
+
s.email = "bradphelan@xtargets.com"
|
12
|
+
s.executables = ["wkhtmltopdf-linux-amd64"]
|
13
|
+
s.extra_rdoc_files = [
|
14
|
+
"LICENSE.txt",
|
15
|
+
"README.mdown"
|
16
|
+
]
|
17
|
+
s.files = [
|
18
|
+
"LICENSE.txt",
|
19
|
+
"README.mdown",
|
20
|
+
"VERSION",
|
21
|
+
"bin/wkhtmltopdf-linux-amd64",
|
22
|
+
"lib/wkhtmltopdf-heroku-edge.rb",
|
23
|
+
"wkhtmltopdf-heroku-edge.gemspec"
|
24
|
+
]
|
25
|
+
s.homepage = "http://github.com/pallymore/wkhtmltopdf-heroku-edge"
|
26
|
+
s.licenses = ["MIT"]
|
27
|
+
s.require_paths = ["lib"]
|
28
|
+
s.rubygems_version = "1.8.15"
|
29
|
+
s.summary = "wkhtmltopdf binaries for heroku"
|
30
|
+
end
|
31
|
+
|
metadata
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wkhtmltopdf-heroku-edge
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.12.2.1b
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Brad Phelan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-02-17 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: wkhtmltopdf binaries heroku
|
14
|
+
email: bradphelan@xtargets.com
|
15
|
+
executables:
|
16
|
+
- wkhtmltopdf-linux-amd64
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files:
|
19
|
+
- LICENSE.txt
|
20
|
+
- README.mdown
|
21
|
+
files:
|
22
|
+
- LICENSE.txt
|
23
|
+
- README.mdown
|
24
|
+
- VERSION
|
25
|
+
- bin/wkhtmltopdf-linux-amd64
|
26
|
+
- lib/wkhtmltopdf-heroku-edge.rb
|
27
|
+
- wkhtmltopdf-heroku-edge.gemspec
|
28
|
+
homepage: http://github.com/pallymore/wkhtmltopdf-heroku-edge
|
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: '0'
|
46
|
+
requirements: []
|
47
|
+
rubyforge_project:
|
48
|
+
rubygems_version: 2.4.3
|
49
|
+
signing_key:
|
50
|
+
specification_version: 4
|
51
|
+
summary: wkhtmltopdf binaries for heroku
|
52
|
+
test_files: []
|
53
|
+
has_rdoc:
|