pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-nokogiri ruby-nokogiri: update to 1.11.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c75f4c0960b7
branches:  trunk
changeset: 449025:c75f4c0960b7
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Fri Mar 19 16:52:25 2021 +0000

description:
ruby-nokogiri: update to 1.11.2.

Upstream changelog (from CHANGELOG.md):

1.11.2 / 2021-03-11

Fixed

  * [CRuby] NodeSet may now safely contain Node objects from multiple
    documents. Previously the GC lifecycle of the parent Document objects could
    lead to nodes being GCed while still in scope. [#1952]
  * [CRuby] Patch libxml2 to avoid "huge input lookup" errors on large CDATA
    elements. (See upstream GNOME/libxml2#200 and GNOME/libxml2!100.) [#2132].
  * [CRuby+Windows] Enable Nokogumbo (and other downstream gems) to compile and
    link against nokogiri.so by including LDFLAGS in Nokogiri::VERSION_INFO. [#
    2167]
  * [CRuby] {XML,HTML}::Document.parse now invokes #initialize exactly once.
    Previously #initialize was invoked twice on each object.
  * [JRuby] {XML,HTML}::Document.parse now invokes #initialize exactly once.
    Previously #initialize was not called, which was a problem for subclassing
    such as done by Loofah.

Improved

  * Reduce the number of object allocations needed when parsing an
    HTML::DocumentFragment. [#2087] (Thanks, @ashmaroli!)
  * [JRuby] Update the algorithm used to calculate Node#line to be wrong
    less-often. The underlying parser, Xerces, does not track line numbers, and
    so we've always used a hacky solution for this method. [#1223, #2177]
  * Introduce --enable-system-libraries and --disable-system-libraries flags to
    extconf.rb. These flags provide the same functionality as
    --use-system-libraries and the NOKOGIRI_USE_SYSTEM_LIBRARIES environment
    variable, but are more idiomatic. [#2193] (Thanks, @eregon!)
  * [TruffleRuby] --disable-static is now the default on TruffleRuby when the
    packaged libraries are used. This is more flexible and compiles faster.
    (Note, though, that the default on TR is still to use system libraries.) [#
    2191, #2193] (Thanks, @eregon!)

Changed

  * Nokogiri::XML::Path is now a Module (previously it has been a Class). It
    has been acting solely as a Module since v1.0.0. See 8461c74.

diffstat:

 textproc/ruby-nokogiri/Makefile |   4 ++--
 textproc/ruby-nokogiri/PLIST    |  40 ++++------------------------------------
 textproc/ruby-nokogiri/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 43 deletions(-)

diffs (126 lines):

diff -r 3ac6f0104d4e -r c75f4c0960b7 textproc/ruby-nokogiri/Makefile
--- a/textproc/ruby-nokogiri/Makefile   Fri Mar 19 16:43:18 2021 +0000
+++ b/textproc/ruby-nokogiri/Makefile   Fri Mar 19 16:52:25 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.57 2021/01/08 17:09:41 tsutsui Exp $
+# $NetBSD: Makefile,v 1.58 2021/03/19 16:52:25 tsutsui Exp $
 
-DISTNAME=      nokogiri-1.11.1
+DISTNAME=      nokogiri-1.11.2
 #PKGREVISION=  0
 CATEGORIES=    textproc
 
diff -r 3ac6f0104d4e -r c75f4c0960b7 textproc/ruby-nokogiri/PLIST
--- a/textproc/ruby-nokogiri/PLIST      Fri Mar 19 16:43:18 2021 +0000
+++ b/textproc/ruby-nokogiri/PLIST      Fri Mar 19 16:52:25 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.32 2021/01/08 17:09:41 tsutsui Exp $
+@comment $NetBSD: PLIST,v 1.33 2021/03/19 16:52:25 tsutsui Exp $
 bin/nokogiri${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/gem.build_complete
@@ -12,74 +12,40 @@
 ${GEM_LIBDIR}/ext/nokogiri/depend
 ${GEM_LIBDIR}/ext/nokogiri/extconf.rb
 ${GEM_LIBDIR}/ext/nokogiri/html_document.c
-${GEM_LIBDIR}/ext/nokogiri/html_document.h
 ${GEM_LIBDIR}/ext/nokogiri/html_element_description.c
-${GEM_LIBDIR}/ext/nokogiri/html_element_description.h
 ${GEM_LIBDIR}/ext/nokogiri/html_entity_lookup.c
-${GEM_LIBDIR}/ext/nokogiri/html_entity_lookup.h
 ${GEM_LIBDIR}/ext/nokogiri/html_sax_parser_context.c
-${GEM_LIBDIR}/ext/nokogiri/html_sax_parser_context.h
 ${GEM_LIBDIR}/ext/nokogiri/html_sax_push_parser.c
-${GEM_LIBDIR}/ext/nokogiri/html_sax_push_parser.h
+${GEM_LIBDIR}/ext/nokogiri/libxml2_backwards_compat.c
 ${GEM_LIBDIR}/ext/nokogiri/nokogiri.c
 ${GEM_LIBDIR}/ext/nokogiri/nokogiri.h
 ${GEM_LIBDIR}/ext/nokogiri/test_global_handlers.c
 ${GEM_LIBDIR}/ext/nokogiri/xml_attr.c
-${GEM_LIBDIR}/ext/nokogiri/xml_attr.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_attribute_decl.c
-${GEM_LIBDIR}/ext/nokogiri/xml_attribute_decl.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_cdata.c
-${GEM_LIBDIR}/ext/nokogiri/xml_cdata.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_comment.c
-${GEM_LIBDIR}/ext/nokogiri/xml_comment.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_document.c
-${GEM_LIBDIR}/ext/nokogiri/xml_document.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_document_fragment.c
-${GEM_LIBDIR}/ext/nokogiri/xml_document_fragment.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_dtd.c
-${GEM_LIBDIR}/ext/nokogiri/xml_dtd.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_element_content.c
-${GEM_LIBDIR}/ext/nokogiri/xml_element_content.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_element_decl.c
-${GEM_LIBDIR}/ext/nokogiri/xml_element_decl.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_encoding_handler.c
-${GEM_LIBDIR}/ext/nokogiri/xml_encoding_handler.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_entity_decl.c
-${GEM_LIBDIR}/ext/nokogiri/xml_entity_decl.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_entity_reference.c
-${GEM_LIBDIR}/ext/nokogiri/xml_entity_reference.h
-${GEM_LIBDIR}/ext/nokogiri/xml_io.c
-${GEM_LIBDIR}/ext/nokogiri/xml_io.h
-${GEM_LIBDIR}/ext/nokogiri/xml_libxml2_hacks.c
-${GEM_LIBDIR}/ext/nokogiri/xml_libxml2_hacks.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_namespace.c
-${GEM_LIBDIR}/ext/nokogiri/xml_namespace.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_node.c
-${GEM_LIBDIR}/ext/nokogiri/xml_node.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_node_set.c
-${GEM_LIBDIR}/ext/nokogiri/xml_node_set.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_processing_instruction.c
-${GEM_LIBDIR}/ext/nokogiri/xml_processing_instruction.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_reader.c
-${GEM_LIBDIR}/ext/nokogiri/xml_reader.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_relax_ng.c
-${GEM_LIBDIR}/ext/nokogiri/xml_relax_ng.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_sax_parser.c
-${GEM_LIBDIR}/ext/nokogiri/xml_sax_parser.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_sax_parser_context.c
-${GEM_LIBDIR}/ext/nokogiri/xml_sax_parser_context.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_sax_push_parser.c
-${GEM_LIBDIR}/ext/nokogiri/xml_sax_push_parser.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_schema.c
-${GEM_LIBDIR}/ext/nokogiri/xml_schema.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_syntax_error.c
-${GEM_LIBDIR}/ext/nokogiri/xml_syntax_error.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_text.c
-${GEM_LIBDIR}/ext/nokogiri/xml_text.h
 ${GEM_LIBDIR}/ext/nokogiri/xml_xpath_context.c
-${GEM_LIBDIR}/ext/nokogiri/xml_xpath_context.h
 ${GEM_LIBDIR}/ext/nokogiri/xslt_stylesheet.c
-${GEM_LIBDIR}/ext/nokogiri/xslt_stylesheet.h
 ${GEM_LIBDIR}/lib/nokogiri.rb
 ${GEM_LIBDIR}/lib/nokogiri/css.rb
 ${GEM_LIBDIR}/lib/nokogiri/css/node.rb
@@ -91,6 +57,7 @@
 ${GEM_LIBDIR}/lib/nokogiri/css/tokenizer.rex
 ${GEM_LIBDIR}/lib/nokogiri/css/xpath_visitor.rb
 ${GEM_LIBDIR}/lib/nokogiri/decorators/slop.rb
+${GEM_LIBDIR}/lib/nokogiri/extension.rb
 ${GEM_LIBDIR}/lib/nokogiri/html.rb
 ${GEM_LIBDIR}/lib/nokogiri/html/builder.rb
 ${GEM_LIBDIR}/lib/nokogiri/html/document.rb
@@ -156,4 +123,5 @@
 ${GEM_LIBDIR}/patches/libxml2/0007-use-new-htmlParseLookupCommentEnd-to-find-comment-en.patch
 ${GEM_LIBDIR}/patches/libxml2/0008-use-glibc-strlen.patch
 ${GEM_LIBDIR}/patches/libxml2/0009-avoid-isnan-isinf.patch
+${GEM_LIBDIR}/patches/libxml2/0010-parser.c-shrink-the-input-buffer-when-appropriate.patch
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 3ac6f0104d4e -r c75f4c0960b7 textproc/ruby-nokogiri/distinfo
--- a/textproc/ruby-nokogiri/distinfo   Fri Mar 19 16:43:18 2021 +0000
+++ b/textproc/ruby-nokogiri/distinfo   Fri Mar 19 16:52:25 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.39 2021/01/08 17:09:41 tsutsui Exp $
+$NetBSD: distinfo,v 1.40 2021/03/19 16:52:25 tsutsui Exp $
 
-SHA1 (nokogiri-1.11.1.gem) = 838f26941f2a97866c29d824531eebdc8a63302a
-RMD160 (nokogiri-1.11.1.gem) = 2eaf4bdad13c344d7cfe6f67366bbdcd42cd8a11
-SHA512 (nokogiri-1.11.1.gem) = 6d73cde64190afd0850eca9bedb41ceccd34919f04bd83726ba41cf1bda1bab3ecd56a5c4d391f1eb9f7e407a80ec65c922a2ebf8c7854ffc8a08bbd284f6827
-Size (nokogiri-1.11.1.gem) = 9266176 bytes
+SHA1 (nokogiri-1.11.2.gem) = 2133b9fea8fc5f64cd98b52e2f8ad22b4e026fb9
+RMD160 (nokogiri-1.11.2.gem) = fe9d4ac7edffc5148f76e94f2ac747753899f4e0
+SHA512 (nokogiri-1.11.2.gem) = de2d461b6c6d852c1d414d97c579b33cecc1d79b8cf87652c1ac5a2fa8487c477f61b66e35fe6f99e0483bce7ebec5cab681191b320b057d4c09de3b226a2609
+Size (nokogiri-1.11.2.gem) = 9262592 bytes



Home | Main Index | Thread Index | Old Index