Commit graph

5 commits

Author SHA1 Message Date
taca
566453cb7a Bump PKGREVISION of rubygem based packages which contain extention libraries. 2008-06-19 15:21:35 +00:00
jlam
83c0d3e9ac Update ruby-hpricot to version 0.6. Changes from version 0.5.140 include:
+ Install as a Ruby gem.

* Hpricot for JRuby

* Inline Markaby for Hpricot documents.

* XML tags and attributes are no longer downcased like HTML is.

* new syntax for grabbing everything between two elements using a
  Range in the s earch method: (doc/("font".."font/br")) or in nodes_at
  like so: (doc/"font").nod es_at("*".."br"). Only works with either
  a pair of siblings or a set of a parent and a sibling.

* Ignore self-closing endings on tags (such as form) which are
  containers. Treat them like open parent tags.

* Escaping of attributes.

* Element#raw_attributes gives unescaped data.  Element#attributes
  gives escaped.

* Added: Elements#attr, Elements#remove_attr, Elements#remove_class.

* Added: Traverse#preceding, Traverse#following, Traverse#previous,
  Traverse#next.
2008-04-04 15:21:39 +00:00
minskim
16cf07b8ed This package needs the recent version of rake. Bump PKGREVISION due to
the dependency change.
2007-06-09 00:58:51 +00:00
minskim
9348e2f5bc Remove unused references to rubygems to avoid dependency on it. 2007-06-09 00:48:43 +00:00
minskim
692d53ca19 Import ruby-hpricot.
Hpricot is a very flexible HTML parser, based on Tanaka Akira's HTree
and John Resig's JQuery, but with the scanner recoded in C (using
Ragel for scanning).
2007-05-26 01:34:44 +00:00