Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix css parser #86

Merged
merged 3 commits into from
Jan 8, 2023
Merged

Conversation

robertpanzer
Copy link
Member

@robertpanzer robertpanzer commented Jan 1, 2023

Thank you for opening a pull request and contributing to AsciidoctorJ PDF!

Please take a bit of time giving some details about your pull request:

Kind of change

[x] Bug fix
[ ] New non-breaking feature
[ ] New breaking feature
[ ] Documentation update
[ ] Build improvement

Description

What is the goal of this pull request?

Fix the CI build.

How does it achieve that?

The CI build is broken since a new version of css_parser, 1.13.0, was released, that requires Ruby 2.7 which is not supported by JRuby 9.3.8.0.
Since we don't have a released version of AsciidoctorJ yet that uses JRuby 9.4.0.0 this PR fixes the version of the css_parser gem to the last compatible version, 1.12.0.

Unrelated, I also upgraded gradle to the latest version, 7.6.

Are there any alternative ways to implement this?

We could release a new version of AsciidoctorJ using JRuby 9.4.0.0 which should theoretically allow to use css_parser 1.13.0.
Risks are though that this would not allow using ascidoctorj-pdf with an older version of AsciidoctorJ.

Are there any implications of this pull request? Anything a user must know?

Issue

If this PR fixes an open issue, please add a line of the form:

Fixes #Issue

Release notes

Please add a corresponding entry to the file CHANGELOG.adoc

@robertpanzer robertpanzer merged commit e7b898f into asciidoctor:main Jan 8, 2023
@robertpanzer robertpanzer deleted the fix-css_parser branch January 8, 2023 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant