-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem| | |
gem.require_paths = ['lib'] | ||
gem.metadata = { "rubygems_mfa_required" => "true" } | ||
|
||
gem.required_ruby_version = '>= 2.5.0' | ||
gem.required_ruby_version = '>= 2.7.0' | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mogest
Author
Owner
|
||
|
||
gem.add_runtime_dependency 'css_parser', '~> 1.6' | ||
gem.add_runtime_dependency 'matrix', '~> 0.4.2' | ||
|
1 comment
on commit f98879d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, first let me say I am very happy, that there is such a (even little complex) tool chain available to create and maintain high quality documentation - many thanks!
I am a fan of the Docs-as-Code approach and semver, but as I am not a Ruby programmer (most of the time a Java one instead) I am one of these JRuby users Dan mentioned.
I am with my recent projects on JRuby 9.4, but in some others migrating it to this version(s) it's more difficult as this i.e. needs additional support from the working group of these projects to make changes. With Java and Maven this JRuby migration could be managed transitively, but when users had overwritten the version number manually and did not maintained it, this update will result in a breaking change because of JRuby (which should not happen in a Minor Release update in general by the way, except 0.x versions).
So personally I could live with the resulting requirement of JRuby 9.4, but many others (not following this thread) may be surpiesed.
As my intention was to get this bug/feature fixed in the root cause finally, as I was falling about it the 2nd time in two years (and did not remembered that any more first) and not preferring adding a documentation warning with a description of the PNG-workaround instead.
May be the root cause is also that strange formatting in the diagram generator, but getting it fixed in bpmn-js (JavaScript) and the corresponding tooling seems a tough challenge too (and there might be a valid reason to do it in such a way), so I am very happy to have prawn-svg being a tolerant reader here now.
Both way would work for me, having a new (Major?) release of asciidoctor(j)-pdf with prawn-svg 0.35.0 and JRuby 9.4+ dependencies in the long run and a 0.34.x Patch Release with a backport of the fix, when this can be included in a Patch Release of asciidoctor(j)-pdf to get it fixed in short run. However, the last one would make it possible to get rid much sooner of the technical debt with the current workaround to use PNG rendered diagrams instead of SVG with higher quality result and lower footprint.
Especially when it takes time to fix all the issues resulting from higher version dependencies, this would be very appreciated.
Thanks, Jan
FYI, this breaks JRuby 9.2 and 9.3, which only claim Ruby 2.5 and 2.6 compliance, respectively. Thus, the only option is JRuby 9.4, which not all users have switched to.