Skip to content

Commit

Permalink
Reduce version compatibility to Ruby < 3
Browse files Browse the repository at this point in the history
Ruby 3 has changed keyword argument handling and safemode doesn't deal
with that correctly. That means it's broken in various cases.
  • Loading branch information
ekohl committed Oct 20, 2023
1 parent 42d1294 commit ebbe992
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
matrix:
ruby:
- "2.7"
- "3.0"
- "3.1"
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion safemode.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Gem::Specification.new do |s|
"test/test_safemode_parser.rb"
]

s.required_ruby_version = ">= 2.7", "< 4"
s.required_ruby_version = ">= 2.7", "< 3"

s.add_runtime_dependency "ruby2ruby", ">= 2.4.0"
s.add_runtime_dependency "ruby_parser", ">= 3.10.1"
Expand Down

0 comments on commit ebbe992

Please sign in to comment.