Skip to content

Commit

Permalink
Require Ruby >=2.0 to cover Ruby 3.0 compatible JRuby versions
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgoetze committed Dec 26, 2023
1 parent 59a256a commit 2b87712
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions weka.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit 2b87712

Please sign in to comment.