{"id":13747437,"url":"https://github.com/rubyworks/hashery","last_synced_at":"2025-04-09T12:07:37.441Z","repository":{"id":880693,"uuid":"625500","full_name":"rubyworks/hashery","owner":"rubyworks","description":"Facets Hashery Collection of Hash-based classes","archived":false,"fork":false,"pushed_at":"2016-05-04T23:23:30.000Z","size":735,"stargazers_count":57,"open_issues_count":3,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-31T13:20:29.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rubyworks.github.com/hashery","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubyworks.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-04-23T15:29:49.000Z","updated_at":"2024-09-21T18:12:24.000Z","dependencies_parsed_at":"2022-08-16T11:20:12.395Z","dependency_job_id":null,"html_url":"https://github.com/rubyworks/hashery","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fhashery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fhashery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fhashery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fhashery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyworks","download_url":"https://codeload.github.com/rubyworks/hashery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312077,"owners_count":20918344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T06:01:28.928Z","updated_at":"2025-04-09T12:07:37.424Z","avatar_url":"https://github.com/rubyworks.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# Hashery\n\n[![Gem Version](http://img.shields.io/gem/v/hashery.svg?style=flat)](http://rubygems.org/gem/hashery)\n[![Build Status](http://img.shields.io/travis/rubyworks/hashery.svg?style=flat)](http://travis-ci.org/rubyworks/hashery)\n[![Fork Me](http://img.shields.io/badge/scm-github-blue.svg?style=flat)](http://github.com/rubyworks/hashery)\n[![Report Issue](http://img.shields.io/github/issues/rubyworks/hashery.svg?style=flat)](http://github.com/rubyworks/hashery/issues)\n[![Gittip](http://img.shields.io/badge/gittip-$1/wk-green.svg?style=flat)](https://www.gittip.com/rubyworksorg/)\n\n[Homepage](http://rubyworks.github.com/hashery) \u0026middot;\n[Development](http://github.com/rubyworks/hashery) \u0026middot;\n[Report Issue](http://github.com/rubyworks/hashery/issues) \u0026middot;\n[Chat](https://kiwiirc.com/client/irc.freenode.net/?nick=user1|?#rubyworks)\n\n\n## Description\n\nAmong Ruby Facets most common additions were an assortment\nof Hash-like classes. To better support this collection\nof libraries it was deemed prudent to create a new project\nspecifically for them. Hence the *Facets Hashery*.\n\nIncluded in this collection are the widely used OrderedHash, \nthe related but more featured Dictionary class, a number\nof _open_ classes similar to the standard OpenStruct, \nsome variations of the standard Hash class and a few\nother yummy morsels.\n\n\n## Usage\n\nFor instruction on usage, please see the individual library files\nincluded in this collection and read the demo documents which give\nexamples of almost all features.\n\n\n### Core Extensions\n\nHashery adds four core extensions of Ruby's Hash class: `#retrieve`,\n`#rekey`, `#rekey!` and `Hash.create`. The first is simply an alias\nfor `#[]`. The later two have proven too useful over the years to\nomit. And the last is a convenience class method for populating\na new hash with another hash upon initialization. All of these are\nsorely missing for Ruby itself, which is why they are provided here.\n\n\n## Installation\n\nTo install with RubyGems simply open a console and type:\n\n    $ sudo gem install hashery\n\nOr add it as a dependency to your project's Gemfile:\n\n    gem \"hashery\"\n\nTarball packages are available for manual site installations\nvia [Ruby Setup](http://rubyworks.github.com/setup).\n\n\n## Authors\n\nDevelopers who have contributed code to the project include:\n\n* Kirk Haines\n* Joshua Hull\n* Robert Klemme\n* Jan Molic\n* George Moschovitis\n* Jeena Paradies\n* Erik Veenstra\n\n\n## Contributing\n\nDon't be a lump on a log. See an issue? Have a suggestion? Want to help?\nWell *git* in there!\n\n### Communicating\n\nThe project is hosted on Github so the easiest means of communication \nis via the [Issues](http://github.com/rubyworks/hashery/issues) page.\nFor more direct communication you can try the **#rubyworks** IRC channel\non **irc.freenode.net**.\n\n\u0026nbsp; \u0026nbsp; [![IRC](https://kiwiirc.com/buttons/irc.freenode.net/rubyworks.png)](https://kiwiirc.com/client/irc.freenode.net/?nick=user1|?#rubyworks)\n\n### Testing\n\nHashery uses [QED](http://rubyworks.github.com/qed) and\n[Lemon](http://rubyworks.github.com/lemon) test frameworks.\nThe QED framework to create well tested high-level documentation.\nRun the QED specs via:\n\n    $ qed -Ilib demo/\n\nLemon is used to create low-level unit tests. Run these via the Rubytest:\n\n    $ rubytest -Ilib -Itest test/\n\n### Patches\n\nHashery's repository is hosted on [GitHub](http://github.com/rubyworks/hashery).\nIf you'd like to offer up a fix or feature, fork the repo and submit a pull\nrequest (preferably in a topic branch). I assume you have heard\nall the talk about proper [practices](https://github.com/rubyworks/rubyworks.github.com/wiki/GitHub-Best-Pactices),\nso I won't bug you with it yet again.\n\n### Donations\n\nYes, we FOSS programmers need to eat too! ;-) No seriously, any help you can\noffer goes a long way toward continued development of Rubyworks projects,\nincluding Hashery. Hop over to our [Gittips](https://www.gittip.com/rubyworksorg/)\npage, or see the upper right-hand corner on the [Rubyworks](http://rubyworks.github.com) homepage.\nThanks!\n\n\n## Copyrights\n\nCopyright (c) 2010 Rubyworks\n\nLicensed under the *BSD-2-Clause* license.\n\nSee LICENSE.txt file for further details.\n\nSome libraries included in the Hashery have special copyrights\nattributing specific authors. Please see each library script for\nspecifics and the NOTICE.txt file for an overview.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fhashery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyworks%2Fhashery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fhashery/lists"}