Skip to content

v0.6.0

Latest

Choose a tag to compare

@mscrivo mscrivo released this 24 Nov 21:24
17774eb

Added

  • Enforce 100% line and branch coverage with SimpleCov; rake now runs RuboCop as well as the specs (#47)

Changed

  • Convert documents with many sibling <div>s in linear instead of quadratic time: the stripped text lengths of a nested div and its parent are compared first, so the parent's text is no longer computed for every div (e.g. 625 KB of sibling divs: 13 s → 0.2 s) (#45, thanks @fschwahn!)
  • Re-enable RuboCop's complexity cops, with limits ratcheted to the current worst case (#48)
  • Update development dependencies: bundler 4.1.0, bundler-audit 0.9.3, actions/checkout v7, and nokogiri 1.19.5 and json 2.21.2 in the lockfile (#43, #44, #46, #47)

Removed

  • Unused private helpers previous_node_name and previous_node_is_text?; subclasses calling them should copy them (#47)

Full Changelog: v0.5.0...v0.6.0