Skip to content

Introduce compatibility with JRuby 10 #273

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

chadlwilson
Copy link
Contributor

@chadlwilson chadlwilson commented Apr 18, 2025

JRuby 10 compat

  • Removes unnecessary jruby.compat.version which I believe has not been needed for a long time on JRuby 9+ and is removed on JRuby 10
  • Fixes some Ruby 3.4 syntax removals
  • Runs all unit tests/specs and appraisals with JRuby 10 / Java 21.
  • Adds appraisal test for Rails 8.0, which is (theoretically) supported by JRuby 10's language compatibility level

Related

  • Adds dependabot running monthly so we can keep on top of updates, and keep github-actions pinned securely

@chadlwilson chadlwilson force-pushed the jruby-10 branch 3 times, most recently from e6673ae to 4ec8095 Compare April 18, 2025 12:37
dependabot bot and others added 5 commits April 18, 2025 20:45
Bumps the maven-deps group with 1 update: [org.jruby:jruby-core](https://github.com/jruby/jruby).

Updates `org.jruby:jruby-core` from 9.4.12.0 to 10.0.0.0
- [Release notes](https://github.com/jruby/jruby/releases)
- [Commits](jruby/jruby@9.4.12.0...10.0.0.0)

---
updated-dependencies:
- dependency-name: org.jruby:jruby-core
  dependency-version: 10.0.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: maven-deps
...

Signed-off-by: dependabot[bot] <[email protected]>
…Rubies

This has been set to 2.0 for all supported JRubies for a long time.
File.exists was deprecated a long time ago and removed in Ruby 3.4, which JRuby 10 is compatible with.
@chadlwilson chadlwilson force-pushed the jruby-10 branch 4 times, most recently from 1677d7e to d137f29 Compare May 19, 2025 15:16
@chadlwilson chadlwilson changed the title Introduce basic compatibility with JRuby 10 Introduce compatibility with JRuby 10 May 26, 2025
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.

1 participant