Skip to content
代码片段 群组 项目
用户头像
Peter Leitzen 编辑于
This commit patches `Struct.new` in specs when `keyword_init` is missing
and a Hash passed.

Reason: Since Ruby 3.2 `Struct` supports kwargs by default so
`keyword_init: true` is no longer required.  We are running Ruby 3.2 in
MRs and Ruby 3.1 on master so occasionally master is broken due to this
incompatibility.

This slows down creation of Struct objects in specs by factor 3.
9e467d81
历史
用户头像 9e467d81
名称 最后提交 最后更新