From 962938bb0a01dea756be17ce3a50b9b29ad2dffb Mon Sep 17 00:00:00 2001 From: Niel Nielsen Date: Mon, 25 Aug 2025 09:45:18 +0200 Subject: [PATCH 1/2] Update Gemfile.lock update required version of stringio to 3.1.2 --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c21ab750d9ac4..aae451cec0854 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -105,7 +105,7 @@ PATH sinatra sqlite3 (= 1.7.3) sshkey - stringio (= 3.1.1) + stringio (= 3.1.2) swagger-blocks syslog thin @@ -602,7 +602,7 @@ GEM sqlite3 (1.7.3) mini_portile2 (~> 2.8.0) sshkey (3.0.0) - stringio (3.1.1) + stringio (3.1.2) strptime (0.2.5) swagger-blocks (3.0.0) syslog (0.3.0) From 63080fc49f242d93cea295dce1a2ad3eefa770f4 Mon Sep 17 00:00:00 2001 From: Niel Nielsen Date: Mon, 25 Aug 2025 09:47:45 +0200 Subject: [PATCH 2/2] Update metasploit-framework.gemspec gem version is now at 3.8.0, which has stringio version 3.1.2 as default system gem --- metasploit-framework.gemspec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/metasploit-framework.gemspec b/metasploit-framework.gemspec index a284652b21fc7..eee234ae23f3f 100644 --- a/metasploit-framework.gemspec +++ b/metasploit-framework.gemspec @@ -258,9 +258,8 @@ Gem::Specification.new do |spec| # Needed for generic in-memory cachine spec.add_runtime_dependency 'lru_redux' - # Pinned on 3.1.1 as it is the version supported by our Ruby 3.3.8 dependency to avoid this issue https://github.com/rubygems/rubygems/issues/7657#issuecomment-2521083323 - # When Ruby ships with `gem --version` 3.6.0 or higher by default this can be removed - spec.add_runtime_dependency 'stringio', '3.1.1' + # gem version is now at 3.8.0, which has stringio version 3.1.2 as default system gem + spec.add_runtime_dependency 'stringio', '3.1.2' # Needed for caching validation spec.add_runtime_dependency 'parallel'