From 1a26ce37b8e8009e11d9f9de334918a687dd0061 Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Thu, 18 Jan 2024 21:17:30 +0100 Subject: [PATCH] [rb] Add base64 gem as a runtime dependency Ruby 3.3 shows a warning if requiring base64 without specifying it in the gemspec Ruby 3.4 will throw a warning. See https://github.com/ruby/ruby/blob/master/doc/NEWS/NEWS-3.3.0.md#stdlib-updates Closes #13447 --- rb/Gemfile.lock | 1 + rb/selenium-webdriver.gemspec | 1 + 2 files changed, 2 insertions(+) diff --git a/rb/Gemfile.lock b/rb/Gemfile.lock index c1f94afc83b55..8ce32e2951d64 100644 --- a/rb/Gemfile.lock +++ b/rb/Gemfile.lock @@ -4,6 +4,7 @@ PATH selenium-devtools (0.120.0) selenium-webdriver (~> 4.2) selenium-webdriver (4.17.0.nightly) + base64 (~> 0.2) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) diff --git a/rb/selenium-webdriver.gemspec b/rb/selenium-webdriver.gemspec index 35349a72a9129..d7ebaf67a582a 100644 --- a/rb/selenium-webdriver.gemspec +++ b/rb/selenium-webdriver.gemspec @@ -49,6 +49,7 @@ Gem::Specification.new do |s| s.bindir = 'bin' s.require_paths = ['lib'] + s.add_runtime_dependency 'base64', ['~> 0.2'] s.add_runtime_dependency 'rexml', ['~> 3.2', '>= 3.2.5'] s.add_runtime_dependency 'rubyzip', ['>= 1.2.2', '< 3.0'] s.add_runtime_dependency 'websocket', ['~> 1.0']