Skip to content

@blazetrails/nokogiri ​

XML/SAX parsing for Trails, mirroring Nokogiri's XML surface

MeasureValue
Rails counterpartnokogiri v1.19.7
API methods matched69% (310 of 447)
Rails tests matched—
Ruby files ported25
Ruby files unported16
Measured atfe89b44726

Gaps by file ​

Ported files with Rails methods or tests still missing, largest gap first.

Ruby fileTypeScript fileMethods missingTests matched
xml/node.rbxml/node.ts30—
version/info.rbversion/info.ts18—
xml/node_set.rbxml/node-set.ts18—
xml/syntax_error.rbxml/syntax-error.ts8—
xml/sax/parser.rbxml/sax/parser.ts6—
css/tokenizer.rbcss/tokenizer.ts2—
html5/document.rbhtml5/document.ts2—
xml/document_fragment.rbxml/document-fragment.ts2—
xml/sax/document.rbxml/sax/document.ts2—
css.rbcss.ts1—
xml/attr.rbxml/attr.ts1—
xml/builder.rbxml/builder.ts1—
xml/document.rbxml/document.ts1—
xml/namespace.rbxml/namespace.ts1—
xml/xpath/syntax_error.rbxml/xpath/syntax-error.ts1—

Missing methods ​

The Rails methods parity:api finds no TypeScript counterpart for, by Ruby file.

xml/node.rb: 30 missing

prepend_child, wrap, add_previous_sibling, add_next_sibling, before, after, replace, do_xinclude, next, next=, remove, inner_text, elements, attributes, keys, each, remove_attribute, delete, get_attribute, attr, set_attribute, matches?, parse, html?, description, traverse, accept, canonicalize, add_sibling, inspect_attributes

version/info.rb: 18 missing

jruby?, windows?, ruby_minor, engine, loaded_libxml_version, compiled_libxml_version, loaded_libxslt_version, compiled_libxslt_version, libxml2?, libxml2_has_iconv?, libxml2_has_zlib?, libxml2_has_http?, libxslt_has_datetime?, libxml2_using_packaged?, libxml2_precompiled?, warnings, uses_gumbo?, jruby?

xml/node_set.rb: 18 missing

index, before, after, remove, at, filter, attr, set, attribute, remove_attribute, inner_text, inner_html, wrap, to_ary, pop, shift, children, reverse

xml/syntax_error.rb: 8 missing

domain, code, path, str1, to_s, level_to_s, nil_or_zero?, location_to_s

xml/sax/parser.rb: 6 missing

document, document=, encoding, encoding=, parse_io, parse_memory

css/tokenizer.rb: 2 missing

filename, scan

html5/document.rb: 2 missing

read_io, read_memory

xml/document_fragment.rb: 2 missing

deconstruct, namespace_declarations

xml/sax/document.rb: 2 missing

reference, warning

css.rb: 1 missing

parse

xml/attr.rb: 1 missing

inspect_attributes

xml/builder.rb: 1 missing

related_class

xml/document.rb: 1 missing

inspect_attributes

xml/namespace.rb: 1 missing

inspect_attributes

xml/xpath/syntax_error.rb: 1 missing

to_s

Unported Ruby files ​

Deviation receipts ​

JSDoc receipt tags in the package's source, by the receipt each carries.

TagPERMANENTCONVERGEABLEnone
@noRailsEquivalent1710
@missingRailsCall150
@missingRailsArgs910
@inventedArm020
@internal0062

Permanently skipped tests ​

None.

Ratified deviations ​

Each rule below is ratified in the repository's CLAUDE.md files. The first paragraph is quoted; the link opens the full section at this build's commit.

None recorded for this package.

Source ​

packages/nokogiri on GitHub →