Skip to content

Version 4.1.0.pre.2 and JRuby release tooling#3011

Merged
soutaro merged 4 commits into
masterfrom
version-4.1.0.pre.2
Jun 22, 2026
Merged

Version 4.1.0.pre.2 and JRuby release tooling#3011
soutaro merged 4 commits into
masterfrom
version-4.1.0.pre.2

Conversation

@soutaro

@soutaro soutaro commented Jun 22, 2026

Copy link
Copy Markdown
Member

Brings master up to the released 4.1.0.pre.2 and adds the tooling/docs for the JRuby (-java) gem.

Changes

  • Version 4.1.0.pre.2lib/rbs/version.rb and Gemfile.lock. (The 4.1.0.pre.2 gems for both ruby and java platforms are already on RubyGems; this catches master up to the tagged commit.)
  • Fix gemspec to exclude .vscode.vscode/ was tracked but not rejected by rbs.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, runs rake wasm:jruby_setup (compiles rbs_parser.wasm and vendors the Chicory/ASM jars), runs the suite, and can build the -java gem with RBS_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 release for the ruby gem, Docker build + gem push for the java gem).

Verified

  • docker build -f Dockerfile.jruby succeeds; rake wasm:jruby_setup runs on JRuby.
  • RBS parses a signature on JRuby through the WebAssembly parser.
  • RBS_PLATFORM=java gem build rbs.gemspec produces rbs-4.1.0.pre.2-java.gem (platform java, no C extension, bundling rbs_parser.wasm + 10 jars, and no .vscode).

🤖 Generated with Claude Code

soutaro and others added 4 commits June 22, 2026 17:20
`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>
@soutaro soutaro modified the milestone: RBS 4.1 Jun 22, 2026
@soutaro soutaro added the no-milestone This PR doesn't associate with a milestone. label Jun 22, 2026
@soutaro soutaro enabled auto-merge June 22, 2026 08:49
@soutaro soutaro merged commit 2e65c38 into master Jun 22, 2026
27 of 29 checks passed
@soutaro soutaro deleted the version-4.1.0.pre.2 branch June 22, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-milestone This PR doesn't associate with a milestone.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant