BSD Ports

textproc/ruby-nori 2.9.1 NetBSD

XML to Hash translator

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
df05b9e47d
License
mit
Categories
textproc, ruby
Package size
42.6 KiB, 109.7 KiB installed

Description

Nori

Really simple XML parsing ripped from Crack which ripped it from Merb. Nori was created to bypass the stale development of Crack, improve its XML parser and fix certain issues.

Install

Binary package:

pkgin install ruby33-nori

From pkgsrc:

cd /usr/pkgsrc/textproc/ruby-nori && make install clean

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-nori-2.9.1, ruby40-nori-2.9.1

Commit history 1

DateCommitCreditsLog message
df05b9e47d taca textproc/ruby-nori: update to 2.9.1
2.9.0 (2026-07-05) Changed * The :standards profile no longer applies schema-less typing. Under Nori.new(standards: true), :advanced_typecasting now defaults to false (an explicit advanced_typecasting: true still wins), and the bare un-namespaced type= and nil= attributes become ordinary attributes instead of casting instructions. No more type= conversions (integer, date, decimal, array, file, ...), and only a prefixed xsi:nil="true" marks an element nil. These conventions come from Rails' Hash.from_xml (inherited via crack and merb), not from any XML spec. Without a schema, character data is just text. Knowing that <id>123</id> holds an integer is the business of a schema-aware layer, not a guess from string shape. Parsing …