Skip to content

Commit 081adb3

Browse files
authored
Downgrade wicked_pdf to 2.7.0 (#47)
1 parent 6984955 commit 081adb3

5 files changed

Lines changed: 17 additions & 14 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ GEM
769769
websocket-driver (0.7.6)
770770
websocket-extensions (>= 0.1.0)
771771
websocket-extensions (0.1.5)
772-
wicked_pdf (2.8.0)
772+
wicked_pdf (2.7.0)
773773
activesupport
774774
wisper (2.0.1)
775775
wisper-rspec (1.1.0)

decidim-conferences/config/initializers/wicked_pdf.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
#
1111
# https://github.com/mileszs/wicked_pdf/blob/master/README.md
1212

13-
WickedPdf.configure do |config|
13+
WickedPdf.config = {
1414
# Path to the wkhtmltopdf executable: This usually is not needed if using
1515
# one of the wkhtmltopdf-binary family of gems.
16+
# exe_path: '/usr/local/bin/wkhtmltopdf',
1617
# or
17-
# config.exe_path = '/usr/local/bin/wkhtmltopdf',
18+
# exe_path: Gem.bin_path("wkhtmltopdf-binary", "wkhtmltopdf")
1819

1920
# Layout file to be used for all PDFs
2021
# (but can be overridden in `render :pdf` calls)
21-
# config.layout = 'pdf.html'
22-
end
22+
# layout: 'pdf.html',
23+
}

decidim-forms/config/initializers/wicked_pdf.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@
1414
#
1515
# https://github.com/mileszs/wicked_pdf/blob/master/README.md
1616

17-
WickedPdf.configure do |config|
17+
WickedPdf.config = {
1818
# Path to the wkhtmltopdf executable: This usually is not needed if using
1919
# one of the wkhtmltopdf-binary family of gems.
20+
# exe_path: '/usr/local/bin/wkhtmltopdf',
2021
# or
21-
# config.exe_path = '/usr/local/bin/wkhtmltopdf',
22+
# exe_path: Gem.bin_path("wkhtmltopdf-binary", "wkhtmltopdf")
2223

2324
# Layout file to be used for all PDFs
2425
# (but can be overridden in `render :pdf` calls)
25-
# config.layout = 'pdf.html'
26-
end
26+
# layout: 'pdf.html',
27+
}

decidim-generators/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ GEM
770770
websocket-driver (0.7.6)
771771
websocket-extensions (>= 0.1.0)
772772
websocket-extensions (0.1.5)
773-
wicked_pdf (2.8.0)
773+
wicked_pdf (2.7.0)
774774
activesupport
775775
wisper (2.0.1)
776776
wisper-rspec (1.1.0)

decidim-initiatives/config/initializers/wicked_pdf.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
#
1111
# https://github.com/mileszs/wicked_pdf/blob/master/README.md
1212

13-
WickedPdf.configure do |config|
13+
WickedPdf.config = {
1414
# Path to the wkhtmltopdf executable: This usually is not needed if using
1515
# one of the wkhtmltopdf-binary family of gems.
16+
# exe_path: '/usr/local/bin/wkhtmltopdf',
1617
# or
17-
# config.exe_path = '/usr/local/bin/wkhtmltopdf',
18+
# exe_path: Gem.bin_path("wkhtmltopdf-binary", "wkhtmltopdf")
1819

1920
# Layout file to be used for all PDFs
2021
# (but can be overridden in `render :pdf` calls)
21-
# config.layout = 'pdf.html'
22-
end
22+
# layout: 'pdf.html',
23+
}

0 commit comments

Comments
 (0)