postdoc 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/postdoc.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2562e31f953afcf27300148e00217e1599424efb39bbb1242e0d29f264260c28
4
- data.tar.gz: 6b9271a82c70cbe57efd534b1b2d80b8f6be5e952ebdfa167f3cfabb944bbd77
3
+ metadata.gz: 258788efb416de9075412d16b3444250cc796859f4d7043c0fdd56be957dc775
4
+ data.tar.gz: c212194f3bf126eb4fa5ae4bf7122e71b3a0ba3fcaa2bf4c3871db209e4c17c3
5
5
  SHA512:
6
- metadata.gz: 1f71a3cf459f62e022b0f13853084ca2796fb642a6a9c681173b341f961dd257486a141459ec42fe7b3f4caf2c6c6c86aafec2dc7f14e23b7c8c775c8c356ebd
7
- data.tar.gz: dec210aedf9353c0e96bf25e5b503088508fbe7a79661b75702ce5c372039f762be6d79f417b55313a83e5857ebbb39bd310b5a4304157b4dcbc072ec5853e01
6
+ metadata.gz: 1d3f4d1d0b0330a210c454d16be13db6cc2cc14311e3e382310dd75f2050d80d6f1b3815b83029400463acf9bb8447f3e083bca90ef263a6e7c3e8afb29c33d1
7
+ data.tar.gz: 4751105e4e348dd41598d9cb224f9aaf467c0773a726dd456abdfb5caeb73488d6bc097118d2904dcc14a5dd1a91a48ebc58b0387a4473640f7655f41717f3e7
data/lib/postdoc.rb CHANGED
@@ -9,7 +9,7 @@ require 'postdoc/batch'
9
9
 
10
10
  module Postdoc
11
11
  ActionController::Renderers.add :pdf do |_filename, options|
12
- Postdoc.render_from_string render_to_string(options), options
12
+ Postdoc.render_from_string render_to_string(options), &options
13
13
  end
14
14
 
15
15
  def self.render_from_string(content, **options)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Groeneveld
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-28 00:00:00.000000000 Z
11
+ date: 2021-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chrome_remote