RubyGems Navigation menu

xml-to-hash 1.0.2

This gem add a `to_hash` method to Nokogiri XML nodes into a Ruby hash. In the resulting hash, all keys are constants. This gem also picks up attributes, processing instructions and doctype declarations. The resulting Hash is wordy, but complete. As an added bonus, we include line numbers where possible.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.0.3 - June 14, 2015 (10.5 KB)
  2. 1.0.2 - June 14, 2015 (10.5 KB)
  3. 1.0.1 - June 14, 2015 (10.5 KB)
  4. 0.9.0 - June 12, 2015 (9.5 KB)
Show all versions (5 total)

Runtime Dependencies (1):

nokogiri >= 1.6, ~> 1

Development Dependencies (3):

bundler ~> 1.10
rake ~> 10.0
rspec ~> 2.4

Owners:

Authors:

  • Maarten Trompper

SHA 256 checksum:

a9f832a135b4fe9e2d6a2c25cc5030756fb39143a28a97bbf20b683605392c9e

Total downloads 65,119

For this version 2,090

License:

MIT

Required Ruby Version: >= 0

Links: