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

chore: bump md_to_pdf for ruby 3.4

as-opb58c1431785b
diff --git a/Gemfile b/Gemfile
index 9bc945aab11..af1e575383e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -158,7 +158,7 @@ gem "structured_warnings", "~> 0.4.0"
gem "airbrake", "~> 13.0.0", require: false
gem "markly", "~> 0.10" # another markdown parser like commonmarker, but with AST support used in PDF export
-gem "md_to_pdf", git: "https://github.com/opf/md-to-pdf", ref: "965034bdd4b119c7233ea4ecd62d3964d3dec11d"
+gem "md_to_pdf", git: "https://github.com/opf/md-to-pdf", ref: "66893683b94a5fe8f1dc9a60600773307209cdd2"
gem "prawn", "~> 2.4"
gem "ttfunk", "~> 1.7.0" # remove after https://github.com/prawnpdf/prawn/issues/1346 resolved.
diff --git a/Gemfile.lock b/Gemfile.lock
index 75c5baac987..eb26491bbd0 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -8,10 +8,12 @@ GIT
GIT
remote: https://github.com/opf/md-to-pdf
- revision: 965034bdd4b119c7233ea4ecd62d3964d3dec11d
- ref: 965034bdd4b119c7233ea4ecd62d3964d3dec11d
+ revision: 66893683b94a5fe8f1dc9a60600773307209cdd2
+ ref: 66893683b94a5fe8f1dc9a60600773307209cdd2
specs:
- md_to_pdf (0.1.5)
+ md_to_pdf (0.2.0)
+ base64 (~> 0.2)
+ bigdecimal (~> 3.1)
color_conversion (~> 0.1)
front_matter_parser (~> 1.0)
json-schema (~> 4.3)
diff --git a/app/models/work_package/pdf_export/export/schema.json b/app/models/work_package/pdf_export/export/schema.json
index f82609c7b71..db8e42a305d 100644
--- a/app/models/work_package/pdf_export/export/schema.json
+++ b/app/models/work_package/pdf_export/export/schema.json
@@ -1717,6 +1717,12 @@
"allOf" : [
{
"$ref" : "#/$defs/font"
+ },
+ {
+ "$ref" : "#/$defs/padding"
+ },
+ {
+ "$ref" : "#/$defs/border"
}
]
},