wicked_pdf 2.6.0 → 2.6.2

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: cbaa0b111a2d8d8e2f0bb2264d07be067f117c599ffb970bb928105d7fb19987
4
- data.tar.gz: b53d91e583bbf63e9a5b3d6680f469af46532a2dd0ff08530f2bf33d070043f5
3
+ metadata.gz: ff321e074667535ecd017f0b594c1bd03a2c8cb73ef2c572ab93923e9ae1f201
4
+ data.tar.gz: 48349fe2254ef17953930e275e737d0c4462c89d700a54357429526eb0e95590
5
5
  SHA512:
6
- metadata.gz: 1400fde655ba636ac73cac318903f8b9f0dc69709034cd61e90f17f70bab8ee18d39c4c19d09fc95050ff91e99da204b09d8fb33b69169389e5b5064be04b306
7
- data.tar.gz: 74ea968b08bfd3de6f7814e86abdb269bdf35110f50ea232b5e1bb224b2a2274fef31f7ac51e2db66b3734c218dff3bb38e013023fd08cfcc7f6c869201b9e9c
6
+ metadata.gz: 7877be9f6afe473fb57bafc09a2dc06668ee455e06f913461dff9ae863104ad98f54db77d528fdd228edfd4e2899f5e2869535bbf73b9a96b084525e0730a239
7
+ data.tar.gz: f61b96ab6eb10d5b9c9383419a6ee931946675f77a6a6abf27acc748ed52b63faa8fbb6c47245e3f3494d6bc3a542c0ce58a81044b9685de5c6950df40661fc9
@@ -30,7 +30,7 @@ jobs:
30
30
  - gemfile: "6.1"
31
31
  ruby-version: 3.0
32
32
  - gemfile: "7.0"
33
- ruby-version: 3.0
33
+ ruby-version: 3.1
34
34
 
35
35
  env:
36
36
  BUNDLE_GEMFILE: /home/runner/work/wicked_pdf/wicked_pdf/gemfiles/${{ matrix.gemfile }}.gemfile
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
  ## [master branch] - Unreleased
6
6
  ### Breaking Changes
7
7
 
8
+ ## [2.6.2]
9
+ ### Fixes
10
+ - [Fix undefined local variable or method 'block' for render_to_string](https://github.com/mileszs/wicked_pdf/pull/962)
11
+ - [Add require for `delegate`, which is no longer loaded by default in Ruby 2.7+](https://github.com/mileszs/wicked_pdf/pull/1019)
8
12
  ## [2.6.0]
9
13
  ### New Features
10
14
  - [Support Propshaft in find_asset helper](https://github.com/mileszs/wicked_pdf/pull/1010)
@@ -22,7 +22,7 @@ class WickedPdf
22
22
  def render_to_string(*args)
23
23
  options = args.first
24
24
  if options.is_a?(Hash) && options.key?(:pdf)
25
- render_to_string_with_wicked_pdf(options, *args, &block)
25
+ render_to_string_with_wicked_pdf(options)
26
26
  else
27
27
  super
28
28
  end
@@ -1,3 +1,3 @@
1
1
  class WickedPdf
2
- VERSION = '2.6.0'.freeze
2
+ VERSION = '2.6.2'.freeze
3
3
  end
@@ -1,4 +1,5 @@
1
1
  require 'net/http'
2
+ require 'delegate'
2
3
 
3
4
  class WickedPdf
4
5
  module WickedPdfHelper
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: 2.6.0
4
+ version: 2.6.2
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: 2022-04-25 00:00:00.000000000 Z
12
+ date: 2022-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport