From 7e544c1a720d710559c931d89e87002a821e5bfe Mon Sep 17 00:00:00 2001 From: mfo Date: Tue, 14 Jan 2025 12:09:04 +0100 Subject: [PATCH] fix(pdf#prawn): prawn 2.5.0 requires ttfunk 1.8.0, cf: https://github.com/prawnpdf/prawn/issues/1346 --- Gemfile | 1 + Gemfile.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index cfa5666c48c..b9a31c49553 100644 --- a/Gemfile +++ b/Gemfile @@ -75,6 +75,7 @@ gem 'openid_connect' gem 'parsby' gem 'pg' gem 'phonelib' +gem 'prawn', '2.4.0' # remove after: https://github.com/prawnpdf/prawn/issues/1346 gem 'prawn-rails' # PDF Generation gem 'premailer-rails' gem 'puma' # Use Puma as the app server diff --git a/Gemfile.lock b/Gemfile.lock index 276cf5ede6a..85f86def728 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -131,7 +131,7 @@ GEM base64 (0.2.0) bcrypt (3.1.20) benchmark-ips (2.14.0) - bigdecimal (3.1.8) + bigdecimal (3.1.9) bindata (2.5.0) bindex (0.8.1) bootsnap (1.18.4) @@ -488,16 +488,15 @@ GEM parser (3.3.6.0) ast (~> 2.4.1) racc - pdf-core (0.10.0) + pdf-core (0.9.0) pg (1.5.9) phonelib (0.10.1) playwright-ruby-client (1.46.0) concurrent-ruby (>= 1.1.6) mime-types (>= 3.0) - prawn (2.5.0) - matrix (~> 0.4) - pdf-core (~> 0.10.0) - ttfunk (~> 1.8) + prawn (2.4.0) + pdf-core (~> 0.9.0) + ttfunk (~> 1.7) prawn-rails (1.5.0) actionview (>= 3.1.0) activesupport (>= 3.1.0) @@ -968,6 +967,7 @@ DEPENDENCIES parsby pg phonelib + prawn (= 2.4.0) prawn-rails premailer-rails puma