Version 4.1.0.pre.2 and JRuby release tooling#3011
Merged
Conversation
`Dockerfile.jruby` is a single-stage JRuby image that installs the WASI SDK, assembles the WebAssembly parser and Chicory/ASM jars via `rake wasm:jruby_setup`, and runs the test suite. It also builds the `-java` platform gem with `RBS_PLATFORM=java gem build`, so the JRuby gem can be built without a WASI SDK on the host. `.dockerignore` keeps the build context small while preserving `.git` (the gemspec lists files via `git ls-files`). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings
masterup to the released4.1.0.pre.2and adds the tooling/docs for the JRuby (-java) gem.Changes
lib/rbs/version.rbandGemfile.lock. (The4.1.0.pre.2gems for bothrubyandjavaplatforms are already on RubyGems; this catchesmasterup to the tagged commit.).vscode—.vscode/was tracked but not rejected byrbs.gemspec, so it was being shipped in the gem. Now excluded from both platform gems.Dockerfile.jruby+.dockerignore— single-stage JRuby image that installs the WASI SDK, runsrake wasm:jruby_setup(compilesrbs_parser.wasmand vendors the Chicory/ASM jars), runs the suite, and can build the-javagem withRBS_PLATFORM=java gem build. Lets the JRuby gem be built and verified without a WASI SDK on the host.docs/release.md— documents the two-gem release procedure (rake releasefor therubygem, Docker build +gem pushfor thejavagem).Verified
docker build -f Dockerfile.jrubysucceeds;rake wasm:jruby_setupruns on JRuby.RBS_PLATFORM=java gem build rbs.gemspecproducesrbs-4.1.0.pre.2-java.gem(platformjava, no C extension, bundlingrbs_parser.wasm+ 10 jars, and no.vscode).🤖 Generated with Claude Code