Hashery 2.1.0 (Golden Retriever) has been released.
The major change of this release is to switch to Hash#fetch
as the
fundamental CRUD read method in place of the #read
core extension (an
alias of #[]
). This is a pretty fundamental change which required
modification of a number of classes. So, please, don’t hesitate to file
an
issue if you experience any problems.
In addition, the Hash#read core extension has been renamed to
Hash#retrieve to avoid any possible confusion with IO objects. This
release
also fixes a couple of issues with 1.8 compatibility and makes a few
other
small enhancements.
Changes:
- Rename Hash#read to Hash#retrieve.
- Deprecate
Dictionary.alpha
in favor ofDictionary.alphabetic
. - Add support for block argument in Dictionary#order_by_key and
#order_by_value. - Fix OpenHash issues with Ruby 1.8.x compatibility.
- OpenHash methods are opened up via
protected
instead ofprivate
. - Change OpenCascade to auto-create the subclass when inherited.