From 7fec8e675cdd2a8725f1dff9222f2423c4fbb7ee Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Thu, 23 Jul 2026 22:48:53 +0900 Subject: [PATCH 1/2] Bump JRuby to 10.1.1.0 https://www.jruby.org/2026/07/22/jruby-10-1-1-0.html Co-Authored-By: Claude Fable 5 --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/test_11g.yml | 2 +- .github/workflows/test_11g_ojdbc11.yml | 2 +- README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dee22b9..f05c7b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 'jruby-10.1.0.0' + ruby-version: 'jruby-10.1.1.0' rubygems: latest - name: Build gem run: gem build ruby-plsql.gemspec diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 482f482..38a9b6b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: '4.0', '3.4', '3.3', - 'jruby-10.1.0.0', + 'jruby-10.1.1.0', ] env: NLS_LANG: AMERICAN_AMERICA.AL32UTF8 diff --git a/.github/workflows/test_11g.yml b/.github/workflows/test_11g.yml index 17051c6..ab0ac61 100644 --- a/.github/workflows/test_11g.yml +++ b/.github/workflows/test_11g.yml @@ -19,7 +19,7 @@ jobs: '4.0', '3.4', '3.3', - 'jruby-10.1.0.0', + 'jruby-10.1.1.0', ] env: ORACLE_HOME: /opt/oracle/instantclient_21_21 diff --git a/.github/workflows/test_11g_ojdbc11.yml b/.github/workflows/test_11g_ojdbc11.yml index f6457f2..0a643c7 100644 --- a/.github/workflows/test_11g_ojdbc11.yml +++ b/.github/workflows/test_11g_ojdbc11.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: ruby: [ - 'jruby-10.1.0.0' + 'jruby-10.1.1.0' ] env: ORACLE_HOME: /opt/oracle/instantclient_21_21 diff --git a/README.md b/README.md index 763b9d9..aceffcd 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ ruby-plsql gem provides simple Ruby API for calling Oracle PL/SQL procedures. It NUMBER, BINARY_INTEGER, PLS_INTEGER, NATURAL, NATURALN, POSITIVE, POSITIVEN, SIGNTYPE, SIMPLE_INTEGER, VARCHAR, VARCHAR2, NVARCHAR2, CHAR, NCHAR, DATE, TIMESTAMP, CLOB, BLOB, BOOLEAN, PL/SQL RECORD, TABLE, VARRAY, OBJECT and CURSOR types are supported for input and output parameters and return values of PL/SQL procedures and functions. -ruby-plsql is tested on CI against Ruby 2.4, 2.5, 2.7, 3.1, 3.2, 3.3, 3.4, 4.0 and JRuby 10.1.0.0. Ruby 2.4–3.1 remain in CI to verify compatibility with older ActiveRecord releases (see gemfiles/). The CI runs the suite against Oracle Database 23ai Free and Oracle Database XE 11g. +ruby-plsql is tested on CI against Ruby 2.4, 2.5, 2.7, 3.1, 3.2, 3.3, 3.4, 4.0 and JRuby 10.1.1.0. Ruby 2.4–3.1 remain in CI to verify compatibility with older ActiveRecord releases (see gemfiles/). The CI runs the suite against Oracle Database 23ai Free and Oracle Database XE 11g. USAGE ----- From 6dd7fc9aa802bac0da6af438bc3a2a6793c9eaba Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Thu, 23 Jul 2026 23:20:21 +0900 Subject: [PATCH 2/2] Use the rbs java-platform gem on JRuby rdoc 8.0.0 added a runtime dependency on rbs (>= 4.0.0). rbs 4.0.x ships only a C-extension (ruby platform) gem, and its extconf has no way to skip the native build, so `bundle install` on JRuby fails: Installing rbs 4.0.3 with native extensions /home/runner/.rubies/jruby-10.1.1.0/bin/jruby extconf.rb *** extconf.rb failed An error occurred while installing rbs (4.0.3), and Bundler cannot continue. rbs publishes a java-platform gem (no C extension) starting with 4.1.0.pre.2, so require rbs ">= 4.1.0.pre.2" on JRuby only. Bundler then resolves the java gem there and builds no native extension. CRuby keeps resolving the stable rbs (4.0.x via rdoc) and is unaffected. Same workaround as rsim/oracle-enhanced#2820; it can be reverted by deleting the added lines once rbs ships a stable java-platform gem. Co-Authored-By: Claude Fable 5 --- Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index 58fe003..c437f69 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,10 @@ source "https://rubygems.org" group :development do gem "rspec_junit_formatter" gem "rdoc" + + platforms :jruby do + gem "rbs", ">= 4.1.0.pre.2" # Use the java-platform gem so JRuby does not build the C extension + end end group :rubocop do