From 601158b0a66b826335222d11b4243fb878bea661 Mon Sep 17 00:00:00 2001 From: Bryan Powell Date: Sun, 24 Dec 2023 13:00:34 -0800 Subject: [PATCH] Bump core dependencies --- goru.gemspec | 6 +++--- lib/goru.rb | 4 ++-- lib/goru/routine.rb | 4 ++-- lib/goru/scheduler.rb | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/goru.gemspec b/goru.gemspec index 76278e4..fd1ed68 100644 --- a/goru.gemspec +++ b/goru.gemspec @@ -19,9 +19,9 @@ Gem::Specification.new do |spec| spec.files = Dir["CHANGELOG.md", "README.md", "LICENSE", "lib/**/*"] spec.require_path = "lib" - spec.add_dependency "core-extension", "~> 0.4" - spec.add_dependency "core-handler", "~> 0.1" - spec.add_dependency "core-global", "~> 0.2" + spec.add_dependency "core-extension", "~> 0.5" + spec.add_dependency "core-handler", "~> 0.2" + spec.add_dependency "core-global", "~> 0.3" spec.add_dependency "nio4r", "~> 2.5" spec.add_dependency "timers", "~> 4.3" end diff --git a/lib/goru.rb b/lib/goru.rb index 53d7e52..f31e284 100644 --- a/lib/goru.rb +++ b/lib/goru.rb @@ -1,12 +1,12 @@ # frozen_string_literal: true -require "is/extension" +require "core/extension" module Goru require_relative "goru/scheduler" require_relative "goru/version" - extend Is::Extension + extend Core::Extension def go(state = nil, io: nil, channel: nil, intent: nil, &block) Scheduler.go(state, io: io, channel: channel, intent: intent, &block) diff --git a/lib/goru/routine.rb b/lib/goru/routine.rb index d81354d..5191f93 100644 --- a/lib/goru/routine.rb +++ b/lib/goru/routine.rb @@ -1,12 +1,12 @@ # frozen_string_literal: true -require "is/handler" +require "core/handler" module Goru # [public] # class Routine - include Is::Handler + include Core::Handler handle(StandardError) do |event:| if @debug diff --git a/lib/goru/scheduler.rb b/lib/goru/scheduler.rb index 13aa1a2..2a5128a 100644 --- a/lib/goru/scheduler.rb +++ b/lib/goru/scheduler.rb @@ -2,7 +2,7 @@ require "etc" require "nio" -require "is/global" +require "core/global" require_relative "channel" require_relative "reactor" @@ -16,7 +16,7 @@ module Goru # [public] # class Scheduler - include Is::Global + include Core::Global class << self # Prevent issues when including `Goru` at the toplevel.