Closed
Description
new_ostruct_member
has been removed from OpenStruct in ruby 2.7.
This breaks FilePreviews::Response.responsify
, which relies on it.
This change also impacted rubyconfig/config, and was resolved via rubyconfig/config#255 (by simply removing the method call, if I understand it correctly).
I'm preparing a PR with this change, having tested it in both 2.4.1 and 2.7.1 by running rspec and having no errors. I'm not really sure if this would impact older ruby versions, or something not covered by the specs.
Let me know if you see any issue with this approach!
Metadata
Metadata
Assignees
Labels
No labels