Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

feat(pdf-export): use gem by commit for md_to_pdf

as-op55e7cef3d298
diff --git a/Gemfile b/Gemfile
index b3ef5c3e9d6..0e53d63a509 100644
--- a/Gemfile
+++ b/Gemfile
@@ -156,7 +156,9 @@ gem 'structured_warnings', '~> 0.4.0'
gem 'airbrake', '~> 13.0.0', require: false
gem 'prawn', '~> 2.2'
-gem 'md_to_pdf', git: 'https://github.com/opf/md-to-pdf', tag: 'v0.0.15'
+gem 'md_to_pdf', git: 'https://github.com/opf/md-to-pdf', ref: '671da26cc86a97ce874828ff1bac7ba976698f35'
+# prawn implicitly depends on matrix gem no longer in ruby core with 3.1
+gem 'matrix', '~> 0.4.2'
gem 'cells-erb', '~> 0.1.0'
gem 'cells-rails', '~> 0.1.4'
diff --git a/Gemfile.lock b/Gemfile.lock
index e5a7d32f82b..1fe903c7265 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
GIT
remote: https://github.com/opf/md-to-pdf
- revision: fc2724113cecd758a77b347042276ece8d119a03
- tag: v0.0.15
+ revision: 671da26cc86a97ce874828ff1bac7ba976698f35
+ ref: 671da26cc86a97ce874828ff1bac7ba976698f35
specs:
md_to_pdf (0.0.15)
commonmarker (~> 0.23)
@@ -1050,6 +1050,7 @@ DEPENDENCIES
livingstyleguide (~> 2.1.0)
lograge (~> 0.12.0)
mail (= 2.8.1)
+ matrix (~> 0.4.2)
md_to_pdf!
meta-tags (~> 2.18.0)
mini_magick (~> 4.12.0)