Skip to content

Commit 15b9673

Browse files
committed
Bump up the required ruby version
io-wait became a default gem at ruby 3.0. Even it can be installed on earlier versions, but the standard library will be loaded instead of the installed gem.
1 parent 48309d7 commit 15b9673

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
99
with:
1010
engine: cruby
11-
min_version: 2.6
11+
min_version: 3.0
1212

1313
test:
1414
needs: ruby-versions

io-wait.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Gem::Specification.new do |spec|
1010
spec.description = %q{Waits until IO is readable or writable without blocking.}
1111
spec.homepage = "https://github.com/ruby/io-wait"
1212
spec.licenses = ["Ruby", "BSD-2-Clause"]
13+
spec.required_ruby_version = Gem::Requirement.new(">= 3.0")
1314

1415
spec.metadata["homepage_uri"] = spec.homepage
1516
spec.metadata["source_code_uri"] = spec.homepage

0 commit comments

Comments
 (0)