{"id":17664443,"url":"https://github.com/tilfin/neohash","last_synced_at":"2025-07-06T02:39:22.399Z","repository":{"id":56885278,"uuid":"121275310","full_name":"tilfin/neohash","owner":"tilfin","description":"Accessible Hash pseudo Struct and attaching it to an Object","archived":false,"fork":false,"pushed_at":"2018-03-17T07:05:16.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T02:42:40.826Z","etag":null,"topics":["gem","hash","ruby"],"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/tilfin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-12T17:00:50.000Z","updated_at":"2018-03-17T07:05:12.000Z","dependencies_parsed_at":"2022-08-20T14:31:20.533Z","dependency_job_id":null,"html_url":"https://github.com/tilfin/neohash","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fneohash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fneohash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fneohash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fneohash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tilfin","download_url":"https://codeload.github.com/tilfin/neohash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314151,"owners_count":20757463,"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":["gem","hash","ruby"],"created_at":"2024-10-23T20:05:27.099Z","updated_at":"2025-03-30T12:16:51.477Z","avatar_url":"https://github.com/tilfin.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NeoHash\n\n[![Gem Version](https://badge.fury.io/rb/neohash.svg)](https://badge.fury.io/rb/neohash)\n[![Build Status](https://travis-ci.org/tilfin/neohash.svg?branch=master)](https://travis-ci.org/tilfin/neohash)\n[![Code Climate](https://codeclimate.com/github/tilfin/neohash/badges/gpa.svg)](https://codeclimate.com/github/tilfin/neohash)\n[![Test Coverage](https://codeclimate.com/github/tilfin/neohash/badges/coverage.svg)](https://codeclimate.com/github/tilfin/neohash/coverage)\n\nAccessible Hash and attaching it to an Object\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'neohash'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install neohash\n\n## Usage\n\n```ruby\nclass DynamicObject\n  include NeoHash::Support\n  \n  def initialize(hash)\n    set_inner_hash(hash)\n  end\nend\n\nobj = DynamicObject.new({ port: 80, \"host\" =\u003e \"localhost\" })\np obj.port   # 80\np obj[:host] # \"localhost\"\nobj[:host] = \"192.168.1.1\"\np obj.host   # \"192.168.1.1\"\n```\n\n## License\n\n  [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilfin%2Fneohash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftilfin%2Fneohash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilfin%2Fneohash/lists"}