Skip to content

Commit

Permalink
Update io-event gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Dec 23, 2021
1 parent 8ce7c6b commit d16f7fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions async.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ Gem::Specification.new do |spec|

spec.files = Dir.glob('{lib}/**/*', File::FNM_DOTMATCH, base: __dir__)

spec.required_ruby_version = ">= 3.0.2"
spec.required_ruby_version = ">= 3.1.0"

spec.add_dependency "console", "~> 1.10"
spec.add_dependency "io-event", "~> 0.2.3"
spec.add_dependency "io-event", "~> 1.0.0"
spec.add_dependency "timers", "~> 4.1"

spec.add_development_dependency "async-rspec", "~> 1.1"
Expand Down
2 changes: 1 addition & 1 deletion lib/async/scheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def io_wait(io, events, timeout = nil)
def io_read(io, buffer, length)
@selector.io_read(Fiber.current, io, buffer, length)
end

def io_write(io, buffer, length)
@selector.io_write(Fiber.current, io, buffer, length)
end
Expand Down

0 comments on commit d16f7fa

Please sign in to comment.