pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ruby-hpricot



Module Name:    pkgsrc
Committed By:   jlam
Date:           Fri Apr  4 15:21:39 UTC 2008

Modified Files:
        pkgsrc/textproc/ruby-hpricot: Makefile PLIST distinfo
        pkgsrc/textproc/ruby-hpricot/patches: patch-aa

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/textproc/ruby-hpricot/Makefile \
    pkgsrc/textproc/ruby-hpricot/distinfo
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/textproc/ruby-hpricot/PLIST
cvs rdiff -r1.2 -r1.3 pkgsrc/textproc/ruby-hpricot/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index