Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix supported Ruby version to be only 3.1.x #32

Merged
merged 2 commits into from
Sep 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [3.0, 3.1]
ruby: ['3.1']
runs-on: ${{ matrix.os }}
steps:
- uses: ruby/setup-ruby@v1
Expand Down
6 changes: 5 additions & 1 deletion async_scheduler.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ Gem::Specification.new do |spec|
spec.description = "This is a task scheduler which implements the FiberScheduler interface"
spec.homepage = "https://github.com/kudojp/async_scheduler"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"
# The interface of FiberScheduler#io_read had a breaking change from Ruby 3.0 to 3.1.
# - Ruby 3.0: #io_read takes 4 arguments.
# - Ruby 3.1: #io_read takes 3 arguments.
# The implementation of scheduler#io_read in this gem takes only 3 arguments.
spec.required_ruby_version = "~> 3.1.0"

spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"

Expand Down
Loading