https://github.com/tenderlove/hana
An implementation of JSON Patch and JSON Pointer for Ruby
https://github.com/tenderlove/hana
Keywords
json json-patch json-pointer ruby
Keywords from Contributors
rubygems
Last synced: about 11 hours ago
JSON representation
Repository metadata
An implementation of JSON Patch and JSON Pointer for Ruby
- Host: GitHub
- URL: https://github.com/tenderlove/hana
- Owner: tenderlove
- License: mit
- Created: 2012-09-05T23:22:16.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-08-21T05:19:24.000Z (over 1 year ago)
- Last Synced: 2026-02-10T04:39:39.890Z (22 days ago)
- Topics: json, json-patch, json-pointer, ruby
- Language: Ruby
- Homepage:
- Size: 61.5 KB
- Stars: 231
- Watchers: 10
- Forks: 27
- Open Issues: 5
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
hana
DESCRIPTION:
Implementation of JSON Patch and JSON Pointer RFC.
FEATURES/PROBLEMS:
Implements specs of the JSON Patch and JSON pointer RFCs:
This works against Ruby objects, so you should load the JSON to Ruby,
process it, then emit as JSON again.
SYNOPSIS:
patch = Hana::Patch.new [
{ 'op' => 'add', 'path' => '/baz', 'value' => 'qux' }
]
patch.apply('foo' => 'bar') # => {'baz' => 'qux', 'foo' => 'bar'}
REQUIREMENTS:
- Ruby
INSTALL:
$ gem install hana
DEVELOPMENT:
hana runs tests from json-patch/json-patch-tests. Fetch the git submodule by running:
git submodule init
git submodule update
Install dependencies with:
bundle install
Then run the tests with:
rake test
Owner metadata
- Name: Aaron Patterson
- Login: tenderlove
- Email:
- Kind: user
- Description: 💘💙💜💗💚❤💓💛💚💗
- Website: https://tenderlovemaking.com/
- Location: Seattle
- Twitter: tenderlove
- Company: @Shopify
- Icon url: https://avatars.githubusercontent.com/u/3124?u=6ece6a5a8b8ea32c5fa94c325d151bc01d1e44e8&v=4
- Repositories: 339
- Last ynced at: 2023-04-09T06:01:36.838Z
- Profile URL: https://github.com/tenderlove
GitHub Events
Total
- Watch event: 12
- Issue comment event: 1
Last Year
- Watch event: 9
Committers metadata
Last synced: 3 days ago
Total Commits: 74
Total Committers: 9
Avg Commits per committer: 8.222
Development Distribution Score (DDS): 0.176
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Aaron Patterson | a****n@g****m | 61 |
| Nick Freiter | n****r@m****g | 3 |
| Nathan Broadbent | g****t@n****m | 3 |
| Oliver Peate | o****p@g****m | 2 |
| Steve Klabnik | s****e@s****m | 1 |
| Peter Vandenberk | p****k@m****m | 1 |
| Morgan Grubb | m****n@w****m | 1 |
| John Terry | j****y@g****m | 1 |
| Peter Williams | p****s@c****m | 1 |
Committer domains:
- comverge.com: 1
- wishpond.com: 1
- mac.com: 1
- steveklabnik.com: 1
- ndbroadbent.com: 1
- mitre.org: 1
Issue and Pull Request metadata
Last synced: about 2 months ago
Total issues: 9
Total pull requests: 11
Average time to close issues: over 1 year
Average time to close pull requests: 6 months
Total issue authors: 9
Total pull request authors: 10
Average comments per issue: 0.78
Average comments per pull request: 2.0
Merged pull request: 9
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 1
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 1
Past year average comments per issue: 0
Past year average comments per pull request: 3.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- Burgestrand (1)
- pezra (1)
- adherr (1)
- nyarly (1)
- HLFH (1)
- mkesavchari (1)
- dennisvandehoef (1)
- francois2metz (1)
- Yorztib25 (1)
Top Pull Request Authors
- ndbroadbent (2)
- cyangle (2)
- jpterry (1)
- guillec (1)
- odlp (1)
- pezra (1)
- ngfreiter (1)
- pvdb (1)
- steveklabnik (1)
- morganatwishpond (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 10
-
Total downloads:
- rubygems: 133,875,500 total
- Total docker downloads: 957,206,146
- Total dependent packages: 17 (may contain duplicates)
- Total dependent repositories: 1,358 (may contain duplicates)
- Total versions: 34
- Total maintainers: 1
gem.coop: hana
Implementation of [JSON Patch][1] and [JSON Pointer][2] RFC.
- Homepage: http://github.com/tenderlove/hana
- Documentation: http://www.rubydoc.info/gems/hana/
- Licenses: MIT
- Latest release: 1.3.7 (published about 5 years ago)
- Last Synced: 2026-03-01T18:04:14.224Z (2 days ago)
- Versions: 13
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 66,941,570 Total
- Docker Downloads: 478,603,073
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.145%
- Downloads: 0.436%
- Maintainers (1)
rubygems.org: hana
Implementation of [JSON Patch][1] and [JSON Pointer][2] RFC.
- Homepage: http://github.com/tenderlove/hana
- Documentation: http://www.rubydoc.info/gems/hana/
- Licenses: MIT
- Latest release: 1.3.7 (published about 5 years ago)
- Last Synced: 2026-03-01T09:01:43.457Z (3 days ago)
- Versions: 13
- Dependent Packages: 17
- Dependent Repositories: 1,358
- Downloads: 66,933,930 Total
- Docker Downloads: 478,603,073
-
Rankings:
- Docker downloads count: 0.269%
- Downloads: 0.5%
- Dependent repos count: 0.837%
- Dependent packages count: 1.232%
- Average: 1.98%
- Stargazers count: 3.87%
- Forks count: 5.172%
- Maintainers (1)
debian-11: ruby-hana
- Homepage: http://github.com/tenderlove/hana
- Documentation: https://packages.debian.org/bullseye/ruby-hana
- Licenses:
- Latest release: 1.3.6-2 (published 21 days ago)
- Last Synced: 2026-02-13T08:21:11.799Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-hana
- Homepage: http://github.com/tenderlove/hana
- Documentation: https://packages.debian.org/bookworm/ruby-hana
- Licenses:
- Latest release: 1.3.6-2 (published 19 days ago)
- Last Synced: 2026-02-12T23:31:56.349Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
debian-13: ruby-hana
- Homepage: https://github.com/tenderlove/hana
- Documentation: https://packages.debian.org/trixie/ruby-hana
- Licenses:
- Latest release: 1.3.7-1 (published 19 days ago)
- Last Synced: 2026-02-13T13:16:15.025Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- hoe >= 0
- minitest >= 0
Score: 28.47149358133292