Skip to content

Commit f16de58

Browse files
Merge pull request #20390 from adfoster-r7/pin-stringio-version
Pin StringIO version
2 parents 73470fe + 850b934 commit f16de58

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ PATH
104104
sinatra
105105
sqlite3 (= 1.7.3)
106106
sshkey
107+
stringio (= 3.1.1)
107108
swagger-blocks
108109
syslog
109110
thin
@@ -601,7 +602,7 @@ GEM
601602
sqlite3 (1.7.3)
602603
mini_portile2 (~> 2.8.0)
603604
sshkey (3.0.0)
604-
stringio (3.1.7)
605+
stringio (3.1.1)
605606
strptime (0.2.5)
606607
swagger-blocks (3.0.0)
607608
syslog (0.3.0)

metasploit-framework.gemspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@ Gem::Specification.new do |spec|
261261
# Needed for generic in-memory cachine
262262
spec.add_runtime_dependency 'lru_redux'
263263

264+
# 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
265+
# When Ruby ships with `gem --version` 3.6.0 or higher by default this can be removed
266+
spec.add_runtime_dependency 'stringio', '3.1.1'
267+
264268
# Standard libraries: https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/
265269
%w[
266270
abbrev

0 commit comments

Comments
 (0)