OStruct2 v0.2.0 released

OStruct2 0.2.0 has been released.

OStruct2 is a reimplementation of Ruby’s standard ostruct.rb library.
This new OpenStruct class addresses issues the original has with
conflicting member names and cloning.

This release brings the new OpenStruct to a production ready state.

Changes:

  • Constructors cascade and auto/renew are now slightly different.
  • Added nest/nested constructor for nests OpenStructs. (Cool!)
  • Boost performace via on-demand creation of singleton methods.
  • Add missing equality methods, hash method and dup/clone methods.
  • Rename main class to OpenStruct2 to avoid conflicts with original.
  • Require ostruct2/ostruct to get drop-in replacement.