[破坏] 1.4.1 中引入的结构依赖关系会破坏 dragonfly,因为它对内部数据的处理比 Ruby stdlib 版本更严格
作者: mrIllo创建于 2025年7月21日更新于 2025年7月21日
ostruct from RubyGems (like 0.6.1) is stricter than the built-in stdlib version — especially in how it handles .dup, initialize_copy, and internal coercion like to_sym.
Dragonfly’s usage of OpenStruct worked fine with the stdlib version, but not with the gem version.
So even though the gem was added for future Ruby 3.5 compatibility, it breaks behavior today under Ruby 3.0–3.2.
内容来源: markevans/dragonfly