Skip to content

Commit

Permalink
Require Ruby >=2.0, <4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgoetze committed Dec 26, 2023
1 parent 59a256a commit eb9118c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/jruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ 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.3.13.0, jruby-9.4.5.0 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v3
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
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', '< 4.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 eb9118c

Please sign in to comment.