From 2b8771215251c538b77f83544b126a8344763bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20G=C3=B6tze?= Date: Tue, 26 Dec 2023 10:23:15 +0100 Subject: [PATCH] Require Ruby >=2.0 to cover Ruby 3.0 compatible JRuby versions --- .github/workflows/jruby.yml | 2 +- weka.gemspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jruby.yml b/.github/workflows/jruby.yml index c8688eb..6565d80 100644 --- a/.github/workflows/jruby.yml +++ b/.github/workflows/jruby.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - ruby: [ jruby-9.1.17.0, jruby-9.2.20.1, jruby-9.3.4.0 ] + ruby: [ jruby-9.1.17.0, jruby-9.2.20.1, jruby-9.3.13.0, jruby-9.4.5.0] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 diff --git a/weka.gemspec b/weka.gemspec index 405430f..328a81d 100644 --- a/weka.gemspec +++ b/weka.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.license = 'MIT' spec.platform = 'java' - spec.required_ruby_version = '~> 2.0' + spec.required_ruby_version = '>= 2.0' spec.files = Dir['**/{.*,*}'].reject { |f| f.match(%r{^((spec|jars|pkg)/|.*\.lock|lib/.*_jars\.rb)}) || File.directory?(f) } spec.bindir = 'bin' @@ -25,7 +25,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'bundler', '~> 2.0' spec.add_development_dependency 'rake', '~> 13.0' - spec.add_development_dependency 'rspec', '~> 3.11' + spec.add_development_dependency 'rspec', '~> 3.12' spec.add_runtime_dependency 'jar-dependencies', '~> 0.4.1' spec.requirements << 'jar nz.ac.waikato.cms.weka, weka-dev, 3.9.6'