wkhtmltopdf-heroku 2.12.3.0 → 2.12.6.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
- SHA1:
3
- metadata.gz: 5d57d3b716dde914578afcb772b72c3121473361
4
- data.tar.gz: 9091bd0b25a06272d1e757da4df507f888ee3be7
2
+ SHA256:
3
+ metadata.gz: cb82d4184dabbf42d3c8db855b099f7d86e8fcbd4675e4367dac35c64a259d79
4
+ data.tar.gz: a6b956f407782f35f1ede6e4434b152285276477d1138fabf6dfe74b7db236b1
5
5
  SHA512:
6
- metadata.gz: e11fe711d9ba22e40b2a880dbe8cc8531763593661d6584dc6d94106405879bd52ce1b4f3df66559fa8e42caed6bad47c4cc0f8ca8e80b8c7a7b53ec8002acb0
7
- data.tar.gz: 9df5edac25487ce049dda4004e596255e5d3e66a027a1eada02e65e0721cffc996739b4ce1f3d4bbcc151d00b569a48c91c4eabe0a33416803c7fa73141bfe33
6
+ metadata.gz: 80b1b6678d39cce60009eeaf4aa86606281a350afa97d2ae0db700d4c81e71cf5a7b7736090c15a09b80b41ab5ea8124c3f428ef129b8bed468bb0308ac054fc
7
+ data.tar.gz: 253a1f0b1a58904ef9652f67dc6a3a1cf9c9ee8f6d3083ffa72056ab8188161a5671621a9f223ab0368b2030e476d9d0a8646f82fde3cc7936010245c1402cea
data/README.mdown CHANGED
@@ -1,30 +1,62 @@
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/) Ubuntu 18.04 LTS environment.
4
4
 
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.
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
 
11
+ For Heroku Stack 18 (Ubuntu 18.04)
12
+
11
13
  ```ruby
12
- gem 'wkhtmltopdf-heroku'
14
+ gem 'wkhtmltopdf-heroku', '2.12.6.0'
13
15
  ```
14
16
 
15
- ### Current wkhtmltopdf Version: 0.12.3.0 Ubuntu Trusty 64-bit.
17
+ ## Usage
18
+
19
+ ### When using with `wicked_pdf`
20
+
21
+ Since `wicked_pdf` overwrites its `config` hash in the initializer, you
22
+ will need to update it to make sure its `exe_path` is configured
23
+ correctly.
24
+
25
+ If you don't need any extra configurations, you can simply remove the
26
+ initializer. Or you can change it to:
27
+
28
+ ```ruby
29
+ WickedPdf.config ||= {}
30
+ WickedPdf.config.merge!({
31
+ # your extra configurations here
32
+ })
33
+ ```
34
+
35
+ ### When using with `pdf_kit` or `wisepdf`
36
+
37
+ No extra configuration is needed. But please make sure you are not
38
+ re-configuring the binary path again in their initializer files.
39
+
40
+ ### When using with other gems
41
+
42
+ You will need to configure the path manually. You can get the path to
43
+ the executable by using this: `Gem.bin_path('wkhtmltopdf-heroku', 'wkhtmltopdf-linux-amd64')`
44
+
45
+ ## Current wkhtmltopdf binary Version
46
+
47
+ [0.12.6.0 Ubuntu Bionic AMD64](https://github.com/wkhtmltopdf/wkhtmltopdf/tree/0.12.6)
16
48
 
17
- For more details See wkhtmltopdf [Changelog](https://github.com/wkhtmltopdf/wkhtmltopdf/blob/master/CHANGELOG.md)
49
+ For more details see [CHANGELOG](https://github.com/wkhtmltopdf/wkhtmltopdf/releases/0.12.6/)
18
50
 
19
- ### Supported Heroku Stack: [Cedar-14](https://devcenter.heroku.com/articles/cedar)
51
+ ## Supported Heroku Stacks
20
52
 
21
- See [migration guides](https://devcenter.heroku.com/articles/cedar-14-migration) for more details.
53
+ * [Heroku-18](https://devcenter.heroku.com/articles/heroku-18-stack)
22
54
 
23
- ### Contributors
55
+ ## Contributors
24
56
 
25
57
  * @bradphelan
26
58
  * @pallymore
27
59
 
28
- ### Copyright
60
+ ## Copyright
29
61
 
30
62
  Copyright (c) 2011 Brad Phelan. See LICENSE.txt for further details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.12.3.0
1
+ 2.12.6.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"
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-18 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.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Phelan
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-15 00:00:00.000000000 Z
11
+ date: 2020-09-07 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
14
15
  email: bradphelan@xtargets.com
15
16
  executables:
16
17
  - wkhtmltopdf-linux-amd64
@@ -29,7 +30,7 @@ homepage: http://github.com/rposborne/wkhtmltopdf-heroku
29
30
  licenses:
30
31
  - MIT
31
32
  metadata: {}
32
- post_install_message:
33
+ post_install_message:
33
34
  rdoc_options: []
34
35
  require_paths:
35
36
  - lib
@@ -44,10 +45,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
45
  - !ruby/object:Gem::Version
45
46
  version: '0'
46
47
  requirements: []
47
- rubyforge_project:
48
- rubygems_version: 2.4.5.1
49
- signing_key:
48
+ rubygems_version: 3.0.6
49
+ signing_key:
50
50
  specification_version: 4
51
- summary: wkhtmltopdf binaries for heroku
51
+ summary: provides wkhtmltopdf binaries for Heroku-18 stack
52
52
  test_files: []
53
- has_rdoc: