{"id":13558130,"url":"https://github.com/tenderlove/hana","last_synced_at":"2025-05-15T13:07:14.670Z","repository":{"id":4554077,"uuid":"5694960","full_name":"tenderlove/hana","owner":"tenderlove","description":"An implementation of JSON Patch and JSON Pointer for Ruby","archived":false,"fork":false,"pushed_at":"2024-08-21T05:19:24.000Z","size":63,"stargazers_count":225,"open_issues_count":5,"forks_count":28,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-11T12:01:42.467Z","etag":null,"topics":["json","json-patch","json-pointer","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/tenderlove.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-09-05T23:22:16.000Z","updated_at":"2025-05-06T17:35:15.000Z","dependencies_parsed_at":"2024-06-18T12:42:49.269Z","dependency_job_id":"a98eb06c-4c14-4e0b-b118-94489b24ca16","html_url":"https://github.com/tenderlove/hana","commit_stats":{"total_commits":74,"total_committers":10,"mean_commits":7.4,"dds":"0.28378378378378377","last_synced_commit":"8f8883cbc579d22393b64b36e5e949863ef42c32"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tenderlove%2Fhana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tenderlove%2Fhana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tenderlove%2Fhana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tenderlove%2Fhana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tenderlove","download_url":"https://codeload.github.com/tenderlove/hana/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253738416,"owners_count":21956198,"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":["json","json-patch","json-pointer","ruby"],"created_at":"2024-08-01T12:04:45.861Z","updated_at":"2025-05-15T13:07:14.560Z","avatar_url":"https://github.com/tenderlove.png","language":"Ruby","funding_links":[],"categories":["Ruby","json"],"sub_categories":[],"readme":"# hana\n\n* http://github.com/tenderlove/hana\n\n## DESCRIPTION:\n\nImplementation of [JSON Patch][1] and [JSON Pointer][2] RFC.\n\n## FEATURES/PROBLEMS:\n\nImplements specs of the [JSON Patch][1] and [JSON pointer][2] RFCs:\n\nThis works against Ruby objects, so you should load the JSON to Ruby,\nprocess it, then emit as JSON again.\n\n## SYNOPSIS:\n\n```ruby\npatch = Hana::Patch.new [\n  { 'op' =\u003e 'add', 'path' =\u003e '/baz', 'value' =\u003e 'qux' }\n]\n\npatch.apply('foo' =\u003e 'bar') # =\u003e {'baz' =\u003e 'qux', 'foo' =\u003e 'bar'}\n```\n\n## REQUIREMENTS:\n\n* Ruby\n\n## INSTALL:\n\n    $ gem install hana\n\n## DEVELOPMENT:\n\nhana runs tests from [json-patch/json-patch-tests](https://github.com/json-patch/json-patch-tests). Fetch the git submodule by running:\n\n```bash\ngit submodule init\ngit submodule update\n```\n\nInstall dependencies with:\n\n```bash\nbundle install\n```\n\nThen run the tests with:\n\n```bash\nrake test\n```\n\n[1]: https://datatracker.ietf.org/doc/rfc6902/\n[2]: http://tools.ietf.org/html/rfc6901\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftenderlove%2Fhana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftenderlove%2Fhana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftenderlove%2Fhana/lists"}