diff options
author | taca <taca> | 2017-03-20 15:32:38 +0000 |
---|---|---|
committer | taca <taca> | 2017-03-20 15:32:38 +0000 |
commit | dcdbccf7401ae4cf4859d2706323e40e26792fc5 (patch) | |
tree | 0eaa4a92c3330653dcffab8c808688e0755eb47c /textproc | |
parent | 3c1410bbd88296561b345540ae1a803fb1e70a97 (diff) | |
download | pkgsrc-dcdbccf7401ae4cf4859d2706323e40e26792fc5.tar.gz |
Update ruby-libxmlto 3.0.0.
== 3.0.0 / 2017-02-07 Charlie Savage
* Revamp how libxml-ruby manages memory. Instead of trying to return the same ruby object for each xmlnode,
the bindings now create wrapper ruby objects as needed which are then freed at the end of use.
This allows most memory management to be handled by libxml itself. Ruby only manages the lifespan of
documents and parent xml nodes. When those go out of scope, the underlying libxml objects are also freed.
This implementation requires almost no overhead, plays nicely with Nokogiri and appears to work much
better (Charlie Savage).
* Change XML::Node#eql? API. Nodes are now considered equal only if they wrap the same underlying
libxml node. Previously, they would also be considered equal if they contained the same content
(Charlie Savage)
* Change XML::Reader.expand API. Previously it would automatically instantiate a reader document so
the an xpath expression could be used to search the returned node. Now you should first call
reader.doc (Charlie Savage)
* Update Visual Studio project for Visual Studio 15 - requires ruby 2.4+ (Charlie Savage)
* Remove APIs that have been deprecated for several years (Charlie Savage)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-libxml/Makefile | 4 | ||||
-rw-r--r-- | textproc/ruby-libxml/PLIST | 7 | ||||
-rw-r--r-- | textproc/ruby-libxml/distinfo | 10 |
3 files changed, 8 insertions, 13 deletions
diff --git a/textproc/ruby-libxml/Makefile b/textproc/ruby-libxml/Makefile index e4e824f5bb2..58c0ded5703 100644 --- a/textproc/ruby-libxml/Makefile +++ b/textproc/ruby-libxml/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.24 2016/10/18 14:36:38 taca Exp $ +# $NetBSD: Makefile,v 1.25 2017/03/20 15:32:38 taca Exp $ -DISTNAME= libxml-ruby-2.9.0 +DISTNAME= libxml-ruby-3.0.0 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/ruby-//} CATEGORIES= textproc diff --git a/textproc/ruby-libxml/PLIST b/textproc/ruby-libxml/PLIST index f23d7857935..ad6381724f0 100644 --- a/textproc/ruby-libxml/PLIST +++ b/textproc/ruby-libxml/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.17 2016/10/18 14:36:38 taca Exp $ +@comment $NetBSD: PLIST,v 1.18 2017/03/20 15:32:38 taca Exp $ ${GEM_HOME}/build_info/${GEM_NAME}.info ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_EXTSDIR}/gem.build_complete @@ -8,7 +8,6 @@ ${GEM_LIBDIR}/LICENSE ${GEM_LIBDIR}/MANIFEST ${GEM_LIBDIR}/README.rdoc ${GEM_LIBDIR}/Rakefile -${GEM_LIBDIR}/ext/libxml/extconf.h ${GEM_LIBDIR}/ext/libxml/extconf.rb ${GEM_LIBDIR}/ext/libxml/libxml.c ${GEM_LIBDIR}/ext/libxml/libxml_ruby.def @@ -97,10 +96,7 @@ ${GEM_LIBDIR}/lib/libxml/html_parser.rb ${GEM_LIBDIR}/lib/libxml/namespace.rb ${GEM_LIBDIR}/lib/libxml/namespaces.rb ${GEM_LIBDIR}/lib/libxml/node.rb -${GEM_LIBDIR}/lib/libxml/ns.rb ${GEM_LIBDIR}/lib/libxml/parser.rb -${GEM_LIBDIR}/lib/libxml/properties.rb -${GEM_LIBDIR}/lib/libxml/reader.rb ${GEM_LIBDIR}/lib/libxml/sax_callbacks.rb ${GEM_LIBDIR}/lib/libxml/sax_parser.rb ${GEM_LIBDIR}/lib/libxml/schema.rb @@ -108,7 +104,6 @@ ${GEM_LIBDIR}/lib/libxml/schema/attribute.rb ${GEM_LIBDIR}/lib/libxml/schema/element.rb ${GEM_LIBDIR}/lib/libxml/schema/type.rb ${GEM_LIBDIR}/lib/libxml/tree.rb -${GEM_LIBDIR}/lib/libxml/xpath_object.rb ${GEM_LIBDIR}/lib/libxml_ruby.${RUBY_DLEXT} ${GEM_LIBDIR}/lib/xml.rb ${GEM_LIBDIR}/lib/xml/libxml.rb diff --git a/textproc/ruby-libxml/distinfo b/textproc/ruby-libxml/distinfo index 923e1c1149d..830c8910be1 100644 --- a/textproc/ruby-libxml/distinfo +++ b/textproc/ruby-libxml/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.18 2016/10/18 14:36:38 taca Exp $ +$NetBSD: distinfo,v 1.19 2017/03/20 15:32:38 taca Exp $ -SHA1 (libxml-ruby-2.9.0.gem) = e106c8640f1c370e92a19b63cde88ce185a1ef51 -RMD160 (libxml-ruby-2.9.0.gem) = bc9c652e304c71ee5d84233ace41ef95b1134c35 -SHA512 (libxml-ruby-2.9.0.gem) = 06ad42ce68c16715fc92a41439c3c27b49fc25b4f8829fac0a27f860d6c3df9a4cb964f1b4677d7587d31c0e5542c4d1c1c25ae3bcfcec889015618d22f6ff3c -Size (libxml-ruby-2.9.0.gem) = 262144 bytes +SHA1 (libxml-ruby-3.0.0.gem) = 9a4f28d019da0aef73773d676f9ba3ce9294b6bb +RMD160 (libxml-ruby-3.0.0.gem) = 372d6cca92236af3ca6aefe798656da6300ed0c3 +SHA512 (libxml-ruby-3.0.0.gem) = 76f1f37c0bc9fa78f0e8124abccc921a710166675e0118ae7f1789f7920296b6a5ba8bef2a0a38db881fa900634c16b20d27b1178d5bf4bf71a42751d5426345 +Size (libxml-ruby-3.0.0.gem) = 259584 bytes |