From 04663d55ebde9544d4981ec03f3d257d71639cf2 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Mon, 19 Oct 2026 11:10:48 +0300 Subject: [PATCH] update deps --- Gemfile.lock | 10 +++++----- lib/templates/create_attachments.rb | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 487c8624c..ee3d8e886 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -572,15 +572,15 @@ GEM base64 websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - wordcraft (0.7.0-aarch64-linux-gnu) + wordcraft (0.8.0-aarch64-linux-gnu) ffi (>= 1.15) - wordcraft (0.7.0-aarch64-linux-musl) + wordcraft (0.8.0-aarch64-linux-musl) ffi (>= 1.15) - wordcraft (0.7.0-arm64-darwin) + wordcraft (0.8.0-arm64-darwin) ffi (>= 1.15) - wordcraft (0.7.0-x86_64-linux-gnu) + wordcraft (0.8.0-x86_64-linux-gnu) ffi (>= 1.15) - wordcraft (0.7.0-x86_64-linux-musl) + wordcraft (0.8.0-x86_64-linux-musl) ffi (>= 1.15) xlsxtream (3.1.0) zip_kit (>= 6.2, < 7) diff --git a/lib/templates/create_attachments.rb b/lib/templates/create_attachments.rb index b7c11a9af..b3a2e375a 100644 --- a/lib/templates/create_attachments.rb +++ b/lib/templates/create_attachments.rb @@ -143,7 +143,7 @@ module Templates end def handle_word_document(template, file, params) - pdf = WordCraft.convert(file.read) + pdf = WordCraft.open_buffer(file, &:to_pdf) pdf_file = ActionDispatch::Http::UploadedFile.new( tempfile: StringIO.new(pdf),