{"id":16985836,"url":"https://github.com/notcalle/ruby-keytree","last_synced_at":"2026-04-17T10:32:12.242Z","repository":{"id":56880058,"uuid":"118675496","full_name":"notCalle/ruby-keytree","owner":"notCalle","description":"Gem for managing key trees / nested hashes","archived":false,"fork":false,"pushed_at":"2021-12-19T09:57:52.000Z","size":316,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T04:04:46.594Z","etag":null,"topics":["hash-trees","json","key-path","key-trees","key-value","nested-hashes","yaml"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/notCalle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-23T21:58:34.000Z","updated_at":"2021-12-19T09:57:55.000Z","dependencies_parsed_at":"2022-08-20T23:40:09.571Z","dependency_job_id":null,"html_url":"https://github.com/notCalle/ruby-keytree","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notCalle%2Fruby-keytree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notCalle%2Fruby-keytree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notCalle%2Fruby-keytree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notCalle%2Fruby-keytree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notCalle","download_url":"https://codeload.github.com/notCalle/ruby-keytree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244894309,"owners_count":20527669,"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":["hash-trees","json","key-path","key-trees","key-value","nested-hashes","yaml"],"created_at":"2024-10-14T02:44:15.990Z","updated_at":"2026-04-17T10:32:12.198Z","avatar_url":"https://github.com/notCalle.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gem Version](https://badge.fury.io/rb/key_tree.svg)](https://badge.fury.io/rb/key_tree)\n[![Maintainability](https://api.codeclimate.com/v1/badges/ac48756e80007e0cd6f9/maintainability)](https://codeclimate.com/github/notCalle/ruby-keytree/maintainability)\n[![codecov](https://codecov.io/gh/notCalle/ruby-keytree/branch/master/graph/badge.svg)](https://codecov.io/gh/notCalle/ruby-keytree)\n[![Ruby](https://github.com/notCalle/ruby-keytree/actions/workflows/ruby.yml/badge.svg)](https://github.com/notCalle/ruby-keytree/actions/workflows/ruby.yml)\n\n# KeyTree\n\nKeyTree manages trees of hashes, and (possibly nested) forests of such trees,\nallowing access to values by key path.\n\nSee the [changelog](CHANGELOG.md) for recent changes.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'key_tree'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install key_tree\n\n## Usage\n\n```ruby\nkt=KeyTree::Tree[a: { b: 1 }]\nkt['a.b']\n=\u003e 1\nkf=KeyTree::Forest[kt, {b: { c: 2 }}]\nkt['a.b']\n=\u003e 1\nkf['b.c']\n=\u003e 2\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/notCalle/key_tree. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the KeyTree project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/notCalle/key_tree/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotcalle%2Fruby-keytree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotcalle%2Fruby-keytree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotcalle%2Fruby-keytree/lists"}