wkhtmltopdf-heroku 2.12.3.0 → 2.12.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d57d3b716dde914578afcb772b72c3121473361
4
- data.tar.gz: 9091bd0b25a06272d1e757da4df507f888ee3be7
3
+ metadata.gz: 21f127831b5e0d786904fd4a3dcc16723e6f7f0b
4
+ data.tar.gz: df4b7605c22b3d2ead5090da3bf527ae27ccbdf8
5
5
  SHA512:
6
- metadata.gz: e11fe711d9ba22e40b2a880dbe8cc8531763593661d6584dc6d94106405879bd52ce1b4f3df66559fa8e42caed6bad47c4cc0f8ca8e80b8c7a7b53ec8002acb0
7
- data.tar.gz: 9df5edac25487ce049dda4004e596255e5d3e66a027a1eada02e65e0721cffc996739b4ce1f3d4bbcc151d00b569a48c91c4eabe0a33416803c7fa73141bfe33
6
+ metadata.gz: 65b7d1e9f1337385befb767022bd0df02e798537af64ead94fe231115279419f4db3557a56dd91f51a057de9076b1c5b7824c8622f91af449e0ff05b3fbdf182
7
+ data.tar.gz: 98b4c64fd22789a02d80ccd0109a47f0a42c5e8f01d4be914a62d301f770585ccf28181bc92a855287bab93d783b8d6fb7d4d8b28fcd995e3c3f3c1fc4824b41
@@ -1,10 +1,10 @@
1
1
  # wkhtmltopdf-heroku
2
2
 
3
- Provides a [wkhtmltopdf](http://wkhtmltopdf.org/) binary for [Heroku](http://www.heroku.com/).
3
+ Provides a [wkhtmltopdf](http://wkhtmltopdf.org/) binary for [Heroku](http://www.heroku.com/) Cedar-14 stack.
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
7
+ ## Installation
8
8
 
9
9
  In your `Gemfile`:
10
10
 
@@ -12,9 +12,37 @@ In your `Gemfile`:
12
12
  gem 'wkhtmltopdf-heroku'
13
13
  ```
14
14
 
15
- ### Current wkhtmltopdf Version: 0.12.3.0 Ubuntu Trusty 64-bit.
15
+ ## Usage
16
+
17
+ ### When using with `wicked_pdf`
18
+
19
+ Since `wicked_pdf` overwrites its `config` hash in the initializer, you
20
+ will need to update it to make sure its `exe_path` is configured
21
+ correctly.
22
+
23
+ If you don't need any extra configurations, you can simply remove the
24
+ initializer. Or you can change it to:
25
+
26
+ ```ruby
27
+ WickedPdf.config ||= {}
28
+ WickedPdf.config.merge!({
29
+ # your extra configurations here
30
+ })
31
+ ```
32
+
33
+ ### When using with `pdf_kit` or `wisepdf`
34
+
35
+ No extra configuration is needed. But please make sure you are not
36
+ re-configuring the binary path again in their initializer files.
37
+
38
+ ### When using with other gems
39
+
40
+ You will need to configure the path manually. You can get the path to
41
+ the executable by using this: `Gem.bin_path('wkhtmltopdf-heroku', 'wkhtmltopdf-linux-amd64')`
42
+
43
+ ### Current wkhtmltopdf Version: 0.12.4.0 Ubuntu Trusty 64-bit.
16
44
 
17
- For more details See wkhtmltopdf [Changelog](https://github.com/wkhtmltopdf/wkhtmltopdf/blob/master/CHANGELOG.md)
45
+ For more details see wkhtmltopdf [Changelog](https://github.com/wkhtmltopdf/wkhtmltopdf/blob/master/CHANGELOG.md)
18
46
 
19
47
  ### Supported Heroku Stack: [Cedar-14](https://devcenter.heroku.com/articles/cedar)
20
48
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.12.3.0
1
+ 2.12.4.0
Binary file
@@ -1,13 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "wkhtmltopdf-heroku"
3
- s.version = "2.12.3.0"
3
+ s.version = IO.read('VERSION').strip
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.required_ruby_version = '>= 1.8.7'
7
7
 
8
8
  s.authors = ["Brad Phelan"]
9
- s.date = "2015-07-15"
10
- s.description = "wkhtmltopdf binaries heroku"
9
+ s.date = Time.now.strftime('%Y-%m-%d')
10
+ s.description = "This gem provides a wkhtmltopdf binary and configures wisepdf, wicked_pdf, and pdfkit for ruby based applications running in Heroku's Cedar-14 stack"
11
11
  s.email = "bradphelan@xtargets.com"
12
12
  s.executables = ["wkhtmltopdf-linux-amd64"]
13
13
  s.extra_rdoc_files = [
@@ -26,6 +26,6 @@ Gem::Specification.new do |s|
26
26
  s.licenses = ["MIT"]
27
27
  s.require_paths = ["lib"]
28
28
  s.rubygems_version = "1.8.15"
29
- s.summary = "wkhtmltopdf binaries for heroku"
29
+ s.summary = "provides wkhtmltopdf binaries for heroku cedar-14 stack"
30
30
  end
31
31
 
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wkhtmltopdf-heroku
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.3.0
4
+ version: 2.12.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Phelan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-15 00:00:00.000000000 Z
11
+ date: 2017-04-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: wkhtmltopdf binaries heroku
13
+ description: This gem provides a wkhtmltopdf binary and configures wisepdf, wicked_pdf,
14
+ and pdfkit for ruby based applications running in Heroku's Cedar-14 stack
14
15
  email: bradphelan@xtargets.com
15
16
  executables:
16
17
  - wkhtmltopdf-linux-amd64
@@ -45,9 +46,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
46
  version: '0'
46
47
  requirements: []
47
48
  rubyforge_project:
48
- rubygems_version: 2.4.5.1
49
+ rubygems_version: 2.5.1
49
50
  signing_key:
50
51
  specification_version: 4
51
- summary: wkhtmltopdf binaries for heroku
52
+ summary: provides wkhtmltopdf binaries for heroku cedar-14 stack
52
53
  test_files: []
53
- has_rdoc: