wkhtmltopdf-heroku 1.0.0 → 2.12.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.mdown +21 -0
- data/VERSION +1 -1
- data/bin/wkhtmltopdf-linux-amd64 +0 -0
- data/lib/wkhtmltopdf-heroku.rb +2 -2
- data/wkhtmltopdf-heroku.gemspec +5 -35
- metadata +23 -83
- data/.document +0 -5
- data/Gemfile +0 -13
- data/Gemfile.lock +0 -20
- data/Rakefile +0 -53
- data/test/helper.rb +0 -18
- data/test/test_wkhtmltopdf_heroku_and_osx_binaries.rb +0 -7
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6b93e16350f2849e3cf44b90eb019723c88e7cdf
|
4
|
+
data.tar.gz: 062e2eacb8ca66586bf8ccbf3e01c9fe50b49269
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 923bbf1d5c52b3e449065382642f5732b782e2e4919aef241425a4573ead5799b64c86853dd1b7986947e554d5d398a648716d5d3e3bf0c4cfddefc07e17646b
|
7
|
+
data.tar.gz: a0506ab8b49ac24d737479acdc8f8180d275b68d0ada6b1fc3ec0a7a9425f81fa176b6c4f022ca6d4a53ef3db4acee162ec499e2498b8449c1b869fb42a64916
|
data/README.mdown
CHANGED
@@ -4,6 +4,27 @@ Provides a [wkhtmltopdf](http://code.google.com/p/wkhtmltopdf/) binary for [Hero
|
|
4
4
|
|
5
5
|
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.
|
6
6
|
|
7
|
+
## Usage
|
8
|
+
|
9
|
+
In your `Gemfile`:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'wkhtmltopdf-heroku'
|
13
|
+
```
|
14
|
+
|
15
|
+
## Current wkhtmltopdf Version: 0.12.2.1 Ubuntu Trusty 64-bit.
|
16
|
+
|
17
|
+
For more details See wkhtmltopdf [Changelog](https://github.com/wkhtmltopdf/wkhtmltopdf/blob/master/CHANGELOG.md)
|
18
|
+
|
19
|
+
## Supported Heroku Stack: [Cedar-14](https://devcenter.heroku.com/articles/cedar)
|
20
|
+
|
21
|
+
See [migration guides](https://devcenter.heroku.com/articles/cedar-14-migration) for more details.
|
22
|
+
|
23
|
+
## Contributors
|
24
|
+
|
25
|
+
* @bradphelan
|
26
|
+
* @pallymore
|
27
|
+
|
7
28
|
## Copyright
|
8
29
|
|
9
30
|
Copyright (c) 2011 Brad Phelan. See LICENSE.txt for further details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.12.2.1
|
data/bin/wkhtmltopdf-linux-amd64
CHANGED
Binary file
|
data/lib/wkhtmltopdf-heroku.rb
CHANGED
data/wkhtmltopdf-heroku.gemspec
CHANGED
@@ -1,15 +1,12 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
1
|
Gem::Specification.new do |s|
|
7
2
|
s.name = "wkhtmltopdf-heroku"
|
8
|
-
s.version = "
|
3
|
+
s.version = "2.12.2.1"
|
9
4
|
|
10
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
|
+
|
11
8
|
s.authors = ["Brad Phelan"]
|
12
|
-
s.date = "
|
9
|
+
s.date = "2015-03-19"
|
13
10
|
s.description = "wkhtmltopdf binaries heroku"
|
14
11
|
s.email = "bradphelan@xtargets.com"
|
15
12
|
s.executables = ["wkhtmltopdf-linux-amd64"]
|
@@ -18,44 +15,17 @@ Gem::Specification.new do |s|
|
|
18
15
|
"README.mdown"
|
19
16
|
]
|
20
17
|
s.files = [
|
21
|
-
".document",
|
22
|
-
"Gemfile",
|
23
|
-
"Gemfile.lock",
|
24
18
|
"LICENSE.txt",
|
25
19
|
"README.mdown",
|
26
|
-
"Rakefile",
|
27
20
|
"VERSION",
|
28
21
|
"bin/wkhtmltopdf-linux-amd64",
|
29
22
|
"lib/wkhtmltopdf-heroku.rb",
|
30
|
-
"test/helper.rb",
|
31
|
-
"test/test_wkhtmltopdf_heroku_and_osx_binaries.rb",
|
32
23
|
"wkhtmltopdf-heroku.gemspec"
|
33
24
|
]
|
34
|
-
s.homepage = "http://github.com/
|
25
|
+
s.homepage = "http://github.com/rposborne/wkhtmltopdf-heroku"
|
35
26
|
s.licenses = ["MIT"]
|
36
27
|
s.require_paths = ["lib"]
|
37
28
|
s.rubygems_version = "1.8.15"
|
38
29
|
s.summary = "wkhtmltopdf binaries for heroku"
|
39
|
-
|
40
|
-
if s.respond_to? :specification_version then
|
41
|
-
s.specification_version = 3
|
42
|
-
|
43
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
-
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
45
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
46
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
47
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
48
|
-
else
|
49
|
-
s.add_dependency(%q<shoulda>, [">= 0"])
|
50
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
51
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
52
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
53
|
-
end
|
54
|
-
else
|
55
|
-
s.add_dependency(%q<shoulda>, [">= 0"])
|
56
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
57
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
58
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
59
|
-
end
|
60
30
|
end
|
61
31
|
|
metadata
CHANGED
@@ -1,112 +1,52 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: wkhtmltopdf-heroku
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 1.0.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.12.2.1
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
6
|
+
authors:
|
8
7
|
- Brad Phelan
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name: shoulda
|
17
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
|
-
requirements:
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: "0"
|
23
|
-
type: :development
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: bundler
|
28
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
|
-
requirements:
|
31
|
-
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0.0
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: jeweler
|
39
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
|
-
requirements:
|
42
|
-
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: 1.6.4
|
45
|
-
type: :development
|
46
|
-
prerelease: false
|
47
|
-
version_requirements: *id003
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: rcov
|
50
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: "0"
|
56
|
-
type: :development
|
57
|
-
prerelease: false
|
58
|
-
version_requirements: *id004
|
11
|
+
date: 2015-03-19 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
59
13
|
description: wkhtmltopdf binaries heroku
|
60
14
|
email: bradphelan@xtargets.com
|
61
|
-
executables:
|
15
|
+
executables:
|
62
16
|
- wkhtmltopdf-linux-amd64
|
63
17
|
extensions: []
|
64
|
-
|
65
|
-
extra_rdoc_files:
|
18
|
+
extra_rdoc_files:
|
66
19
|
- LICENSE.txt
|
67
20
|
- README.mdown
|
68
|
-
files:
|
69
|
-
- .document
|
70
|
-
- Gemfile
|
71
|
-
- Gemfile.lock
|
21
|
+
files:
|
72
22
|
- LICENSE.txt
|
73
23
|
- README.mdown
|
74
|
-
- Rakefile
|
75
24
|
- VERSION
|
76
25
|
- bin/wkhtmltopdf-linux-amd64
|
77
26
|
- lib/wkhtmltopdf-heroku.rb
|
78
|
-
- test/helper.rb
|
79
|
-
- test/test_wkhtmltopdf_heroku_and_osx_binaries.rb
|
80
27
|
- wkhtmltopdf-heroku.gemspec
|
81
|
-
homepage: http://github.com/
|
82
|
-
licenses:
|
28
|
+
homepage: http://github.com/rposborne/wkhtmltopdf-heroku
|
29
|
+
licenses:
|
83
30
|
- MIT
|
31
|
+
metadata: {}
|
84
32
|
post_install_message:
|
85
33
|
rdoc_options: []
|
86
|
-
|
87
|
-
require_paths:
|
34
|
+
require_paths:
|
88
35
|
- lib
|
89
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
-
|
91
|
-
requirements:
|
36
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
92
38
|
- - ">="
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
version: "0"
|
98
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
|
-
requirements:
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.8.7
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
101
43
|
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version:
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
104
46
|
requirements: []
|
105
|
-
|
106
47
|
rubyforge_project:
|
107
|
-
rubygems_version:
|
48
|
+
rubygems_version: 2.2.2
|
108
49
|
signing_key:
|
109
|
-
specification_version:
|
50
|
+
specification_version: 4
|
110
51
|
summary: wkhtmltopdf binaries for heroku
|
111
52
|
test_files: []
|
112
|
-
|
data/.document
DELETED
data/Gemfile
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
source "http://rubygems.org"
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
5
|
-
|
6
|
-
# Add dependencies to develop your gem here.
|
7
|
-
# Include everything needed to run rake, tests, features, etc.
|
8
|
-
group :development do
|
9
|
-
gem "shoulda", ">= 0"
|
10
|
-
gem "bundler", "~> 1.0.0"
|
11
|
-
gem "jeweler", "~> 1.6.4"
|
12
|
-
gem "rcov", ">= 0"
|
13
|
-
end
|
data/Gemfile.lock
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
git (1.2.5)
|
5
|
-
jeweler (1.6.4)
|
6
|
-
bundler (~> 1.0)
|
7
|
-
git (>= 1.2.5)
|
8
|
-
rake
|
9
|
-
rake (0.9.2)
|
10
|
-
rcov (0.9.10)
|
11
|
-
shoulda (2.11.3)
|
12
|
-
|
13
|
-
PLATFORMS
|
14
|
-
ruby
|
15
|
-
|
16
|
-
DEPENDENCIES
|
17
|
-
bundler (~> 1.0.0)
|
18
|
-
jeweler (~> 1.6.4)
|
19
|
-
rcov
|
20
|
-
shoulda
|
data/Rakefile
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'bundler'
|
5
|
-
begin
|
6
|
-
Bundler.setup(:default, :development)
|
7
|
-
rescue Bundler::BundlerError => e
|
8
|
-
$stderr.puts e.message
|
9
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
-
exit e.status_code
|
11
|
-
end
|
12
|
-
require 'rake'
|
13
|
-
|
14
|
-
require 'jeweler'
|
15
|
-
Jeweler::Tasks.new do |gem|
|
16
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
-
gem.name = "wkhtmltopdf-heroku"
|
18
|
-
gem.homepage = "http://github.com/bradphelan/wkhtmltopdf-heroku"
|
19
|
-
gem.license = "MIT"
|
20
|
-
gem.summary = %Q{wkhtmltopdf binaries for heroku}
|
21
|
-
gem.description = %Q{wkhtmltopdf binaries heroku}
|
22
|
-
gem.email = "bradphelan@xtargets.com"
|
23
|
-
gem.authors = ["Brad Phelan"]
|
24
|
-
# dependencies defined in Gemfile
|
25
|
-
end
|
26
|
-
Jeweler::RubygemsDotOrgTasks.new
|
27
|
-
|
28
|
-
require 'rake/testtask'
|
29
|
-
Rake::TestTask.new(:test) do |test|
|
30
|
-
test.libs << 'lib' << 'test'
|
31
|
-
test.pattern = 'test/**/test_*.rb'
|
32
|
-
test.verbose = true
|
33
|
-
end
|
34
|
-
|
35
|
-
require 'rcov/rcovtask'
|
36
|
-
Rcov::RcovTask.new do |test|
|
37
|
-
test.libs << 'test'
|
38
|
-
test.pattern = 'test/**/test_*.rb'
|
39
|
-
test.verbose = true
|
40
|
-
test.rcov_opts << '--exclude "gems/*"'
|
41
|
-
end
|
42
|
-
|
43
|
-
task :default => :test
|
44
|
-
|
45
|
-
require 'rake/rdoctask'
|
46
|
-
Rake::RDocTask.new do |rdoc|
|
47
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
48
|
-
|
49
|
-
rdoc.rdoc_dir = 'rdoc'
|
50
|
-
rdoc.title = "wkhtmltopdf-heroku #{version}"
|
51
|
-
rdoc.rdoc_files.include('README*')
|
52
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
53
|
-
end
|
data/test/helper.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'test/unit'
|
11
|
-
require 'shoulda'
|
12
|
-
|
13
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
-
require 'wkhtmltopdf-heroku'
|
16
|
-
|
17
|
-
class Test::Unit::TestCase
|
18
|
-
end
|