Skip to content

Commit

Permalink
Bump wkhtmltopdf-binary from 0.12.4 to 0.12.6.5
Browse files Browse the repository at this point in the history
We're also updating the WickedPdf initializer since wkhtmltopdf prevents
accessing the filesystem by default since version 0.12.6, causing image
tags generated by the `wicked_pdf_image_tag` method not to be rendered.

Bumps [wkhtmltopdf-binary](https://github.com/zakird/wkhtmltopdf_binary_gem) from 0.12.4 to 0.12.6.5.
- [Release notes](https://github.com/zakird/wkhtmltopdf_binary_gem/releases)
- [Changelog](https://github.com/zakird/wkhtmltopdf_binary_gem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zakird/wkhtmltopdf_binary_gem/commits)

---
updated-dependencies:
- dependency-name: wkhtmltopdf-binary
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and javierm committed Aug 14, 2021
1 parent 416eac2 commit 02ad0bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ gem "uglifier", "~> 4.2.0"
gem "view_component", "~> 2.37.0", require: "view_component/engine"
gem "whenever", "~> 1.0.0", require: false
gem "wicked_pdf", "~> 2.1.0"
gem "wkhtmltopdf-binary", "~> 0.12.4"
gem "wkhtmltopdf-binary", "~> 0.12.6"

source "https://rails-assets.org" do
gem "rails-assets-leaflet"
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ GEM
chronic (>= 0.6.3)
wicked_pdf (2.1.0)
activesupport
wkhtmltopdf-binary (0.12.4)
wkhtmltopdf-binary (0.12.6.5)
xpath (3.2.0)
nokogiri (~> 1.8)

Expand Down Expand Up @@ -802,7 +802,7 @@ DEPENDENCIES
webdrivers (~> 4.6.0)
whenever (~> 1.0.0)
wicked_pdf (~> 2.1.0)
wkhtmltopdf-binary (~> 0.12.4)
wkhtmltopdf-binary (~> 0.12.6)

BUNDLED WITH
1.17.2
1 change: 1 addition & 0 deletions config/initializers/wicked_pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ def render_to_string(*args)
# Layout file to be used for all PDFs
# (but can be overridden in `render :pdf` calls)
# layout: 'pdf.html',
enable_local_file_access: true
}

0 comments on commit 02ad0bc

Please sign in to comment.