Hi all,
I’m one of the three new maintainers for Hpricot (along with Ola B.
and Emanuel Carnevale), and I’ve just pushed out a new 0.8.2 release
last night. You can get the gem in the normal fashion via RubyGems
(gem install hpricot).
Announcement:
http://blog.nicksieger.com/articles/2009/11/06/new-hpricot-release
Source/Issues:
Wiki:
http://wiki.github.com/hpricot/hpricot
Enjoy,
/Nick
Changelog:
= 0.8.2
=== 5 November, 2009
- Bring JRuby support up to speed, including Java-based hpricot_css
support - Change JRuby fast_xs to have same escaping behavior as C fast_xs
- fix for issue #2, downcasing of html attributes inside the parser.
- solve issue #3 with bogus etags being preserved in
to_srather
than justto_original_html. - fix error when attempting to reparent cleared node. (issue #5)
- Hpricot::Attributes proxy object for using
ele.attributes[k] = v
directly.
however, it is preferred to use the jquery-likeelements.attr(k, v).
= 0.8.1 fixes (for posterity, not previously in the 0.8.1 changelog)
=== 3 April, 2009
- big problems on Ruby 1.8.6, use INT2FIX instead of INT2NUM. hashes
were being cast to bignums. - patch for 1.8.5 to define RARRAY_PTR. thanks, mike perham!
- inspecting empty document bug, courtesy of @TalLevAmi.