summaryrefslogtreecommitdiff
path: root/spec/bundled_gems.mspec
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-11-28 10:17:15 +0900
committerHiroshi SHIBATA <[email protected]>2025-01-08 17:12:19 +0900
commitd722bdcf6e6d195faf4ed03bbd8b2c07686a925b (patch)
tree5e763c3d8dcd7e9ee886b78e52ff074fae44c9e3 /spec/bundled_gems.mspec
parent3e6f5ead9e0a0cbbf4d8930d7eb31db057d053c2 (diff)
Convert ostruct to openstruct
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12531
Diffstat (limited to 'spec/bundled_gems.mspec')
-rw-r--r--spec/bundled_gems.mspec1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/bundled_gems.mspec b/spec/bundled_gems.mspec
index 48f917c809..f7edb34c75 100644
--- a/spec/bundled_gems.mspec
+++ b/spec/bundled_gems.mspec
@@ -4,6 +4,7 @@ class MSpecScript
test_bundled_gems = get(:stdlibs).to_a & get(:bundled_gems).to_a
unless ENV["BUNDLED_GEMS"].nil? || ENV["BUNDLED_GEMS"].empty?
test_bundled_gems = ENV["BUNDLED_GEMS"].split(",").map do |gem|
+ gem = "openstruct" if gem == "ostruct"
test_bundled_gems.find{|test_gem| test_gem.include?(gem) }
end.compact
exit if test_bundled_gems.empty?