wicked_pdf 1.3.0 → 1.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
  SHA256:
3
- metadata.gz: db4dbc2079a0b29bddf81631c25ff650634c9d0c8eba113e3e221be3ab07a475
4
- data.tar.gz: c585d8856402144601bbdfe0da056702ba2d501b9239a6339836c9389630263e
3
+ metadata.gz: b6fc82b54d2e17d53f2e9c8b23d4987dccb18e38a20f8aadaa57cd2b7c263bcb
4
+ data.tar.gz: bb936e81af7719b89e6878c891b9bb2d5a3fd8742a24640e2508773c9b2be0dc
5
5
  SHA512:
6
- metadata.gz: 6a23f141de26136b65e399a1a2a7281fddc9790ebaeecefdee406372a7859c3e87ba247775ef298a355b48e0cdf9ae4387ef0a8d453764fd0ffe65e2665fa79b
7
- data.tar.gz: b16b6ff02dc084f55640c91552300d22afe5b73550feb42ecc036e65c896033fb95969ca4f3c276613aa360fb6dedc5129d0802558492277f7666ba8cd540b74
6
+ metadata.gz: 3fe8ce87aa78a2d6d1d1e6590d1f069762b56f363aad561c255f7d1f0ba461fabcfb63177a34a547d4de7f1d6bebc9d3f2a17fa0095b7f36d0fb7a0f1c28a657
7
+ data.tar.gz: d2a74408e9a7b90046c3c6ecada7af16f7ccacf0fbe787a25b99b218c17ba42945d5854cd4c0631d2c73b2b306e55ca97a424ee6d313fc357d20378696a4945a
@@ -10,6 +10,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
10
10
  ### Fixes
11
11
  - None
12
12
 
13
+ ## [1.4.0] - 2019-05-23
14
+ ### New Features
15
+ - [Add support for `log_level` and `quiet` options](https://github.com/mileszs/wicked_pdf/pull/834)
16
+
13
17
  ## [1.3.0] - 2019-05-20
14
18
  ### New Features
15
19
  - [Add support for Webpacker provided bundles](https://github.com/mileszs/wicked_pdf/pull/739)
data/README.md CHANGED
@@ -190,6 +190,8 @@ class ThingsController < ApplicationController
190
190
  viewport_size: 'TEXT', # available only with use_xserver or patched QT
191
191
  extra: '', # directly inserted into the command to wkhtmltopdf
192
192
  raise_on_all_errors: nil, # raise error for any stderr output. Such as missing media, image assets
193
+ log_level: 'info', # Available values: none, error, warn, or info - only available with wkhtmltopdf 0.12.5+
194
+ quiet: false, # `false` is same as `log_level: 'info'`, `true` is same as `log_level: 'none'`
193
195
  outline: { outline: true,
194
196
  outline_depth: LEVEL },
195
197
  margin: { top: SIZE, # default 10 (mm)
@@ -293,10 +293,12 @@ class WickedPdf
293
293
  :dpi,
294
294
  :page_size,
295
295
  :page_width,
296
- :title])
296
+ :title,
297
+ :log_level])
297
298
  r += make_options(options, [:lowquality,
298
299
  :grayscale,
299
- :no_pdf_compression], '', :boolean)
300
+ :no_pdf_compression,
301
+ :quiet], '', :boolean)
300
302
  r += make_options(options, [:image_dpi,
301
303
  :image_quality,
302
304
  :page_height], '', :numeric)
@@ -1,3 +1,3 @@
1
1
  class WickedPdf
2
- VERSION = '1.3.0'.freeze
2
+ VERSION = '1.4.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wicked_pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Z. Sterrett
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-05-20 00:00:00.000000000 Z
12
+ date: 2019-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  version: '0'
200
200
  requirements:
201
201
  - wkhtmltopdf
202
- rubygems_version: 3.0.3
202
+ rubygems_version: 3.0.1
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: PDF generator (from HTML) gem for Ruby on Rails