From 625ef9030abafd93bf64ab624a57c63fb15a4de4 Mon Sep 17 00:00:00 2001 From: kares Date: Thu, 20 Jun 2024 15:23:48 +0200 Subject: [PATCH] drop support for JRuby 9.1 (min is 9.2 now) --- .github/workflows/ci-test.yml | 6 ++---- jruby-openssl.gemspec | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 68dd76c4..8a96c586 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -14,10 +14,8 @@ jobs: strategy: matrix: java-version: [ 8, 11, 21 ] - ruby-version: [ jruby-9.4.6.0 ] + ruby-version: [ jruby-9.4.7.0 ] include: - - java-version: 8 - ruby-version: jruby-9.1.17.0 - java-version: 8 ruby-version: jruby-9.2.19.0 - java-version: 11 @@ -31,7 +29,7 @@ jobs: - java-version: 11 ruby-version: jruby-9.4.5.0 - java-version: 17 - ruby-version: jruby-9.4.5.0 + ruby-version: jruby-9.4.6.0 fail-fast: false steps: diff --git a/jruby-openssl.gemspec b/jruby-openssl.gemspec index 9e547ad4..195ccd9e 100644 --- a/jruby-openssl.gemspec +++ b/jruby-openssl.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |s| bc_version = version_rb.match( /.*\sBOUNCY_CASTLE_VERSION\s*=\s*['"](.*)['"]/ )[1] raise 'BOUNCY_CASTLE_VERSION not matched' if (bc_version || '').empty? - s.required_ruby_version = '>= 2.3.0' + s.required_ruby_version = '>= 2.5.0' # JRuby >= 9.2 s.requirements << "jar org.bouncycastle:bcprov-jdk18on, #{bc_version}" # Provider s.requirements << "jar org.bouncycastle:bcpkix-jdk18on, #{bc_version}" # PKIX/CMS/EAC/PKCSOCSP/TSP/OPENSSL