From a4997416523dd9cfb6177ae7d82704b7bf4463e6 Mon Sep 17 00:00:00 2001 From: taca Date: Mon, 11 Feb 2013 02:44:26 +0000 Subject: Update ruby-nokogiri to 1.5.6. == 1.5.6 / unreleased * Features * Improved performance of XML::Document#collect_namespaces. #761 (Thanks, Juergen Mangler!) * New callback SAX::Document#processing_instruction (Thanks, Kitaiti Makoto!) * Node#native_content= allows setting unescaped node contant. #768 * XPath lookup with namespaces supports symbol keys. #729 (Thanks, Ben Langfeld.) * XML::Node#[]= stringifies values. #729 (Thanks, Ben Langfeld.) * bin/nokogiri will process a document from $stdin * bin/nokogiri -e will execute a program from the command line * bin/nokogiri --version will print the Xerces and NekoHTML versions when ran with JRuby. * Bugfixes * Nokogiri now detects XSLT transform errors. #731 (Thanks, Justin Fitzsimmons!) * Don't throw an Error when trying to replace top-level text node in DocumentFragment. #775 * Raise an ArgumentError if an invalid encoding is passed to the SAX parser. #756 (Thanks, Bradley Schaefer!) * [JRuby] space prior to xml preamble causes nokogiri to fail parsing. (fixed along with #748) #790 * [JRuby] Fixed the bug Nokogiri::XML::Node#content inconsistency between Java and C. #794, #797 * [JRuby] raises INVALID_CHARACTER_ERR exception when EntityReference name starts with '#'. #719 * [JRuby] doesn't coerce namespaces out of strings on a direct subclass of Node. #715 * [JRuby] Node#content now renders newlines properly. #737 (Thanks, Piotr Szmielew!) * [JRuby] Unknown namespace are ignore when the recover option is used. #748 * [JRuby] XPath queries for namespaces should not throw exceptions when called twice in a row. #764 * [JRuby] More consistent (with libxml2) whitespace formatting when emitting XML. #771 * [JRuby] namespaced attributes broken when appending raw xml to builder. #770 * [JRuby] Nokogiri::XML::Document#wrap raises undefined method `length' for nil:NilClass when trying to << to a node. #781 * [JRuby] Fixed "bad file descriptor" bug when closing open file descriptors. #495 * [JRuby] JRuby/CRuby incompatibility for attribute decorators. #785 * [JRuby] Issues parsing valid XML with no internal subset in the DTD. #547, #811 * [JRuby] Issues parsing valid node content when it contains colons. #728 * [JRuby] Correctly parse the doc type of html documents. #733 * [JRuby] Include dtd in the xml output when a builder is used with create_internal_subset. #751 * [JRuby] builder requires textwrappers for valid utf8 in jruby, not in mri. #784 --- textproc/ruby-nokogiri/Makefile | 4 ++-- textproc/ruby-nokogiri/PLIST | 5 ++++- textproc/ruby-nokogiri/distinfo | 8 ++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/textproc/ruby-nokogiri/Makefile b/textproc/ruby-nokogiri/Makefile index 6d4da06baa7..1cfa4318e27 100644 --- a/textproc/ruby-nokogiri/Makefile +++ b/textproc/ruby-nokogiri/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.13 2012/10/25 06:56:58 asau Exp $ +# $NetBSD: Makefile,v 1.14 2013/02/11 02:44:26 taca Exp $ -DISTNAME= nokogiri-1.5.5 +DISTNAME= nokogiri-1.5.6 CATEGORIES= textproc MAINTAINER= filip@joyent.com diff --git a/textproc/ruby-nokogiri/PLIST b/textproc/ruby-nokogiri/PLIST index bc3fb5fe634..8efe345f84b 100644 --- a/textproc/ruby-nokogiri/PLIST +++ b/textproc/ruby-nokogiri/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2012/06/02 01:13:00 taca Exp $ +@comment $NetBSD: PLIST,v 1.8 2013/02/11 02:44:26 taca Exp $ bin/nokogiri ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/.autotest @@ -175,6 +175,9 @@ ${GEM_LIBDIR}/test/files/snuggles.xml ${GEM_LIBDIR}/test/files/staff.dtd ${GEM_LIBDIR}/test/files/staff.xml ${GEM_LIBDIR}/test/files/staff.xslt +${GEM_LIBDIR}/test/files/test_document_url/bar.xml +${GEM_LIBDIR}/test/files/test_document_url/document.dtd +${GEM_LIBDIR}/test/files/test_document_url/document.xml ${GEM_LIBDIR}/test/files/tlm.html ${GEM_LIBDIR}/test/files/to_be_xincluded.xml ${GEM_LIBDIR}/test/files/valid_bar.xml diff --git a/textproc/ruby-nokogiri/distinfo b/textproc/ruby-nokogiri/distinfo index f65057758d8..9327f3939b9 100644 --- a/textproc/ruby-nokogiri/distinfo +++ b/textproc/ruby-nokogiri/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.9 2012/09/16 11:30:22 taca Exp $ +$NetBSD: distinfo,v 1.10 2013/02/11 02:44:26 taca Exp $ -SHA1 (nokogiri-1.5.5.gem) = c505b460fcf039db69c08ccfe69da2dcb8b95f1a -RMD160 (nokogiri-1.5.5.gem) = bc9f9d6b7afaa697fccfb2f45b782a2dcb6bf8c5 -Size (nokogiri-1.5.5.gem) = 209920 bytes +SHA1 (nokogiri-1.5.6.gem) = 21539279b12c7404f4980a4106081b369ef93e43 +RMD160 (nokogiri-1.5.6.gem) = 4b45c4fdb3468ba402ddbbec5da401d5bcebfd39 +Size (nokogiri-1.5.6.gem) = 217600 bytes -- cgit v1.2.3