From 881f008fb3eceabd4434597ff874ebb151d5502b Mon Sep 17 00:00:00 2001 From: Sebastian Cohnen Date: Wed, 24 Jul 2024 10:41:53 +0200 Subject: [PATCH 1/2] adds base64 to runtime dependencies With Ruby 3.4, base64 will no longer be available as part of part of the default gems. It needs to be an explicit dependency going forward. --- ferrum.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/ferrum.gemspec b/ferrum.gemspec index 753e3580..00e8ca92 100644 --- a/ferrum.gemspec +++ b/ferrum.gemspec @@ -26,6 +26,7 @@ Gem::Specification.new do |s| s.required_ruby_version = ">= 2.7.0" s.add_runtime_dependency "addressable", "~> 2.5" + s.add_runtime_dependency "base64", "~> 0.2" s.add_runtime_dependency "concurrent-ruby", "~> 1.1" s.add_runtime_dependency "webrick", "~> 1.7" s.add_runtime_dependency "websocket-driver", "~> 0.7" From 8fbedda7b7bc074e0058011020fd191d41eb0958 Mon Sep 17 00:00:00 2001 From: Sebastian Cohnen Date: Wed, 24 Jul 2024 15:08:31 +0200 Subject: [PATCH 2/2] uses add_dependency --- ferrum.gemspec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ferrum.gemspec b/ferrum.gemspec index 00e8ca92..4a130fba 100644 --- a/ferrum.gemspec +++ b/ferrum.gemspec @@ -25,9 +25,9 @@ Gem::Specification.new do |s| s.required_ruby_version = ">= 2.7.0" - s.add_runtime_dependency "addressable", "~> 2.5" - s.add_runtime_dependency "base64", "~> 0.2" - s.add_runtime_dependency "concurrent-ruby", "~> 1.1" - s.add_runtime_dependency "webrick", "~> 1.7" - s.add_runtime_dependency "websocket-driver", "~> 0.7" + s.add_dependency "addressable", "~> 2.5" + s.add_dependency "base64", "~> 0.2" + s.add_dependency "concurrent-ruby", "~> 1.1" + s.add_dependency "webrick", "~> 1.7" + s.add_dependency "websocket-driver", "~> 0.7" end