A summary of data about the Ruby ecosystem.

https://github.com/jnunemaker/crack

Really simple JSON and XML parsing, ripped from Merb and Rails.
https://github.com/jnunemaker/crack

Keywords from Contributors

rubygem activerecord activejob mvc rspec rack feature-flag crash-reporting rake rubocop

Last synced: about 3 hours ago
JSON representation

Repository metadata

Really simple JSON and XML parsing, ripped from Merb and Rails.

README.md

crack

Test
Gem Version
downloads

Really simple JSON and XML parsing, ripped from Merb and Rails. The XML parser is ripped from Merb and the JSON parser is ripped from Rails. I take no credit, just packaged them for all to enjoy and easily use.

compatibility

  • Ruby 2.x
  • Ruby 3.x
  • Ruby 4.x

note on patches/pull requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Run the tests with rake test
  • Open a Pull Request with the changes

usage

gem 'crack' # in Gemfile
require 'crack' # for xml and json
require 'crack/json' # for just json
require 'crack/xml' # for just xml

examples

Crack::XML.parse("<tag>This is the contents</tag>")
# => {'tag' => 'This is the contents'}

Crack::JSON.parse('{"tag":"This is the contents"}')
# => {'tag' => 'This is the contents'}

Copyright

Copyright (c) 2009 John Nunemaker. See LICENSE for details.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 135
Total Committers: 36
Avg Commits per committer: 3.75
Development Distribution Score (DDS): 0.526

Commits in past year: 7
Committers in past year: 2
Avg Commits per committer in past year: 3.5
Development Distribution Score (DDS) in past year: 0.286

Name Email Commits
John Nunemaker n****r@g****m 64
Zsolt Kozaroczy k****a@g****m 12
Wynn Netherland w****d@g****m 11
rubiii me@r****m 4
Benjamin Fleischer g****b@b****m 4
dependabot[bot] 4****] 2
Koichi ITO k****o@g****m 2
James Mead j****s@f****g 2
Gabor Ratky g****r@s****m 2
Dan Tao d****o@g****m 2
Ben Wyrosdick b****k@g****m 2
Vít Ondruch v****h@t****z 2
Tiago Cardoso t****o@r****m 2
Matthew McEachen m****b@m****s 2
Joe Van Dyk j****e@f****m 1
Dave Morehouse d****e@s****m 1
Adam C. Greenfield a****d@g****m 1
Aditi Raveesh a****h@g****m 1
robbie-mcfarlane r****1@g****m 1
jgoyon j****n@g****m 1
deadprogrammer r****s@g****m 1
Tim Riley t****m@o****m 1
Tamal White t****e@a****m 1
Sandro Turriate s****e@g****m 1
Justin Knowlden g****s@g****s 1
Josh Nichols j****h@t****m 1
Jordi Massaguer Pla j****a@s****e 1
Joe Lencioni j****i@c****m 1
Jim Meyer j****m@g****g 1
Jacob Swanner j****b@e****m 1
and 6 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 10 days ago

Total issues: 33
Total pull requests: 69
Average time to close issues: almost 6 years
Average time to close pull requests: 7 months
Total issue authors: 32
Total pull request authors: 33
Average comments per issue: 2.18
Average comments per pull request: 1.09
Merged pull request: 48
Bot issues: 0
Bot pull requests: 2

Past year issues: 2
Past year pull requests: 14
Past year average time to close issues: 14 days
Past year average time to close pull requests: about 7 hours
Past year issue authors: 2
Past year pull request authors: 3
Past year average comments per issue: 4.0
Past year average comments per pull request: 0.07
Past year merged pull request: 10
Past year bot issues: 0
Past year bot pull requests: 2

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/jnunemaker/crack

Top Issue Authors

  • voxik (2)
  • alhafoudh (1)
  • renjithnair1985 (1)
  • pravi (1)
  • ricn (1)
  • arjunmenon (1)
  • HoneyryderChuck (1)
  • gus (1)
  • ypolonsky (1)
  • ianterrell (1)
  • Mange (1)
  • mattwd7 (1)
  • tc (1)
  • parkr (1)
  • bblimke (1)

Top Pull Request Authors

  • kiskoza (21)
  • voxik (8)
  • rubiii (3)
  • koic (3)
  • gus (2)
  • magec (2)
  • dependabot[bot] (2)
  • dmorehouse (2)
  • bf4 (2)
  • robbie-mcfarlane (1)
  • jswanner (1)
  • dtao (1)
  • jordimassaguerpla (1)
  • mceachen (1)
  • matt-glover (1)

Top Issue Labels

Top Pull Request Labels

  • dependencies (2)
  • github_actions (2)

Package metadata

gem.coop: crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: https://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/crack/
  • Licenses: MIT
  • Latest release: 1.0.1 (published 4 months ago)
  • Last Synced: 2026-03-02T14:00:36.897Z (1 day ago)
  • Versions: 21
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 368,578,331 Total
  • Docker Downloads: 2,157,780,341
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.029%
    • Docker downloads count: 0.051%
    • Downloads: 0.064%
  • Maintainers (3)
ubuntu-22.04: ruby-crack

  • Homepage: https://github.com/jnunemaker/crack
  • Licenses: mit
  • Latest release: 0.4.4-2 (published 18 days ago)
  • Last Synced: 2026-02-13T13:14:51.776Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.355%
    • Forks count: 0.697%
    • Stargazers count: 0.723%
rubygems.org: crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: https://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/crack/
  • Licenses: MIT
  • Latest release: 1.0.1 (published 4 months ago)
  • Last Synced: 2026-03-03T03:01:22.254Z (about 21 hours ago)
  • Versions: 21
  • Dependent Packages: 310
  • Dependent Repositories: 47,847
  • Downloads: 368,754,363 Total
  • Docker Downloads: 2,157,780,341
  • Rankings:
    • Downloads: 0.068%
    • Docker downloads count: 0.125%
    • Dependent packages count: 0.137%
    • Dependent repos count: 0.153%
    • Average: 0.946%
    • Stargazers count: 2.467%
    • Forks count: 2.727%
  • Maintainers (3)
  • Advisories:
proxy.golang.org: github.com/jnunemaker/crack

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/jnunemaker/crack#section-documentation
  • Licenses: mit
  • Latest release: v1.0.1 (published 5 months ago)
  • Last Synced: 2026-02-25T18:01:41.488Z (6 days ago)
  • Versions: 21
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 2.616%
    • Forks count: 2.71%
    • Average: 6.426%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%
rubygems.org: jnunemaker-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/jnunemaker-crack/
  • Licenses: mit
  • Latest release: 0.1.4 (published over 11 years ago)
  • Last Synced: 2026-02-25T18:01:37.962Z (6 days ago)
  • Versions: 5
  • Dependent Packages: 3
  • Dependent Repositories: 3
  • Downloads: 16,583 Total
  • Rankings:
    • Stargazers count: 2.455%
    • Forks count: 2.727%
    • Dependent packages count: 4.044%
    • Average: 11.169%
    • Dependent repos count: 12.636%
    • Downloads: 33.984%
gem.coop: jnunemaker-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/jnunemaker-crack/
  • Licenses: mit
  • Latest release: 0.1.4 (published over 11 years ago)
  • Last Synced: 2026-02-25T18:01:38.828Z (6 days ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 16,583 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 11.292%
    • Downloads: 33.877%
gem.coop: mdub-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/mdub-crack/
  • Licenses: mit
  • Latest release: 0.1.5 (published over 11 years ago)
  • Last Synced: 2026-02-25T18:01:38.739Z (6 days ago)
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 6,625 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 19.702%
    • Downloads: 59.106%
gem.coop: crack-without-safe_yaml

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/crack-without-safe_yaml/
  • Licenses: MIT
  • Latest release: 0.4.3 (published over 9 years ago)
  • Last Synced: 2026-02-25T18:01:38.754Z (6 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 5,242 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 22.466%
    • Downloads: 67.397%
  • Maintainers (1)
gem.coop: alistairholt-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/alistairholt-crack/
  • Licenses: mit
  • Latest release: 0.1.4 (published over 11 years ago)
  • Last Synced: 2026-02-25T18:01:37.782Z (6 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4,503 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 24.167%
    • Downloads: 72.5%
rubygems.org: mdub-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/mdub-crack/
  • Licenses: mit
  • Latest release: 0.1.5 (published over 11 years ago)
  • Last Synced: 2026-02-25T18:01:38.930Z (6 days ago)
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 6,625 Total
  • Rankings:
    • Stargazers count: 2.276%
    • Forks count: 2.474%
    • Dependent packages count: 15.706%
    • Average: 25.301%
    • Dependent repos count: 46.782%
    • Downloads: 59.266%
gem.coop: tamalw-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/tamalw-crack/
  • Licenses: mit
  • Latest release: 0.1.3 (published over 11 years ago)
  • Last Synced: 2026-02-25T18:01:39.314Z (6 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 3,694 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 27.009%
    • Downloads: 81.028%
rubygems.org: crack-without-safe_yaml

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/crack-without-safe_yaml/
  • Licenses: MIT
  • Latest release: 0.4.3 (published over 9 years ago)
  • Last Synced: 2026-02-25T18:01:38.707Z (6 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 5,242 Total
  • Rankings:
    • Stargazers count: 2.276%
    • Forks count: 2.474%
    • Dependent packages count: 15.706%
    • Average: 27.443%
    • Dependent repos count: 46.782%
    • Downloads: 69.975%
  • Maintainers (1)
gem.coop: sishen-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/sishen-crack/
  • Licenses: mit
  • Latest release: 0.1.4 (published over 11 years ago)
  • Last Synced: 2026-02-25T18:01:37.588Z (6 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 3,534 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 27.706%
    • Downloads: 83.118%
rubygems.org: alistairholt-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/alistairholt-crack/
  • Licenses: mit
  • Latest release: 0.1.4 (published over 11 years ago)
  • Last Synced: 2026-02-25T18:01:38.997Z (6 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4,503 Total
  • Rankings:
    • Stargazers count: 2.276%
    • Forks count: 2.474%
    • Dependent packages count: 15.706%
    • Average: 28.077%
    • Dependent repos count: 46.782%
    • Downloads: 73.146%
rubygems.org: tamalw-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/tamalw-crack/
  • Licenses: mit
  • Latest release: 0.1.3 (published over 11 years ago)
  • Last Synced: 2026-02-25T18:01:37.625Z (6 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 3,694 Total
  • Rankings:
    • Stargazers count: 2.276%
    • Forks count: 2.474%
    • Dependent packages count: 15.706%
    • Average: 29.949%
    • Dependent repos count: 46.782%
    • Downloads: 82.508%
rubygems.org: sishen-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

  • Homepage: http://github.com/jnunemaker/crack
  • Documentation: http://www.rubydoc.info/gems/sishen-crack/
  • Licenses: mit
  • Latest release: 0.1.4 (published over 11 years ago)
  • Last Synced: 2026-02-25T18:01:38.703Z (6 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 3,534 Total
  • Rankings:
    • Stargazers count: 2.276%
    • Forks count: 2.474%
    • Dependent packages count: 15.706%
    • Average: 30.328%
    • Dependent repos count: 46.782%
    • Downloads: 84.403%
debian-13: ruby-crack

  • Homepage: https://github.com/jnunemaker/crack
  • Documentation: https://packages.debian.org/trixie/ruby-crack
  • Licenses:
  • Latest release: 0.4.4-4 (published 19 days ago)
  • Last Synced: 2026-02-13T13:14:26.827Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.04: ruby-crack

  • Homepage: https://github.com/jnunemaker/crack
  • Licenses:
  • Latest release: 0.4.4-4 (published 19 days ago)
  • Last Synced: 2026-02-13T01:02:04.624Z (19 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
debian-12: ruby-crack

  • Homepage: https://github.com/jnunemaker/crack
  • Documentation: https://packages.debian.org/bookworm/ruby-crack
  • Licenses:
  • Latest release: 0.4.4-4 (published 19 days ago)
  • Last Synced: 2026-02-12T23:27:33.144Z (19 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
guix: ruby-crack

Simple JSON and XML parsing for Ruby

debian-10: ruby-crack

  • Homepage: https://github.com/jnunemaker/crack
  • Documentation: https://packages.debian.org/buster/ruby-crack
  • Licenses:
  • Latest release: 0.4.3-3 (published 21 days ago)
  • Last Synced: 2026-02-13T04:20:02.916Z (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-11: ruby-crack

  • Homepage: https://github.com/jnunemaker/crack
  • Documentation: https://packages.debian.org/bullseye/ruby-crack
  • Licenses:
  • Latest release: 0.4.4-1 (published 21 days ago)
  • Last Synced: 2026-02-13T08:19:14.855Z (19 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.10: ruby-crack

  • Homepage: https://github.com/jnunemaker/crack
  • Licenses:
  • Latest release: 0.4.4-4 (published 22 days ago)
  • Last Synced: 2026-02-09T16:21:57.277Z (22 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
ubuntu-23.10: ruby-crack

  • Homepage: https://github.com/jnunemaker/crack
  • Licenses:
  • Latest release: 0.4.4-4 (published 18 days ago)
  • Last Synced: 2026-02-13T18:17:32.115Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.04: ruby-crack

  • Homepage: https://github.com/jnunemaker/crack
  • Licenses:
  • Latest release: 0.4.4-4 (published 21 days ago)
  • Last Synced: 2026-02-11T06:37:30.557Z (21 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-20.04: ruby-crack

  • Homepage: https://github.com/jnunemaker/crack
  • Licenses: mit
  • Latest release: 0.4.3-4 (published 19 days ago)
  • Last Synced: 2026-02-13T07:12:00.679Z (19 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%

Dependencies

Gemfile rubygems
  • minitest >= 0
  • rake >= 0
crack.gemspec rubygems
  • rexml >= 0
.github/workflows/test.yml actions
  • actions/checkout v4 composite
  • ruby/setup-ruby v1 composite

Score: 32.24031974433648