Skip to content

Commit

Permalink
Update required_ruby_version to ~> 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kudojp committed Sep 3, 2023
1 parent cfc404d commit 71571b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion async_scheduler.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ 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 only 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

0 comments on commit 71571b5

Please sign in to comment.