[ANN] Hashery v2.0.0 released

4 views
Skip to first unread message

tran...@gmail.com

unread,
Jun 18, 2012, 9:39:17 PM6/18/12
to ruby...@ruby-lang.org, rubyworks-...@googlegroups.com
Hashery 2.0.0 has been released.

The Hashery is a tight collection of Hash-like classes. Included among its many offerings are the auto-sorting Dictionary class, the efficient LRUHash, the flexible OpenHash and the convenient KeyHash. Nearly every class is a subclass of the CRUDHash which defines a CRUD model on top of Ruby's standard Hash making it a snap to subclass and augment to fit any specific use case.

* Website: http://rubyworks.github.com/hashery
* Source Code: http://github.com/rubyworks/hashery
* Mailing List: http://groups.google.com/group/rubyworks-mailinglist
* Documentation: http://rubydoc.info/github/rubyworks/hashery/master/frames
* User Guide: http://wiki.github.com/rubyworks/hashery
* Gems: http://rubygems.org/gems/hashery

This is a big release for Hashery which both culls some of it's less fitting classes and modules while greatly improving the rest. The first and most immediate change is use of a proper namespace. All classes and modules are now appropriately kept in the `Hashery` namespace. To get the old behavior you can `include Hashery` as the toplevel. For the other changes and improvements dive into the API documentation.

Changes:

* Use proper Hashery namespace.
* Add CRUDHash, which also serves a good base class.
* Improved OpenHash to be nearly 100% open.
* Deprecate BasicStruct, as it would be better to improve OpenStruct.
* Deprecate BasicCascade, though it never really came to be.
* Deprecate BasicObject emulator, as it is no longer needed.
* Deprecate Memoizer, not sure how that got in here anyway.
* Deprecate Ostructable, which can be paired up with better OpenStruct.
* Removed open_object.rb, which has long been deprecated.
Reply all
Reply to author
Forward
0 new messages