Hello community, here is the log from the commit of package rubygem-nokogiri for openSUSE:Factory checked in at Wed May 25 11:39:14 CEST 2011.
-------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/rubygem-nokogiri/rubygem-nokogiri.changes 2011-05-24 15:21:12.000000000 +0200 @@ -0,0 +1,283 @@ +------------------------------------------------------------------- +Tue May 24 13:20:29 UTC 2011 - [email protected] + +- Changed licence to MIT + +------------------------------------------------------------------- +Tue Dec 21 23:20:04 CET 2010 - [email protected] + +- update to version 1.4.4 + * New Features + o XML::Node#children= sets the node’s inner html (much like #inner_html=), + but returns the reparent node(s). + o XSLT supports function extensions. #336 + o XPath bind parameter substitution. #329 + o XML::Reader node type constants. #369 + o SAX Parser context provides line and column information + * Bugfixes + o XML::DTD#attributes returns an empty hash instead of nil when there are no + attributes. + o XML::DTD#{keys,each} now work as expected. #324 + o {XML,HTML}::DocumentFragment.{new,parse} no longer strip leading and trailing + whitespace. #319 + o XML::Node#{add_child,add_previous_sibling,add_next_sibling,replace} return a + NodeSet when passed a string. + o Unclosed tags parsed more robustly in fragments. #315 + o XML::Node#{replace,add_previous_sibling,add_next_sibling} edge cases fixed + related to libxml’s text node merging. #308 + o Fixed a segfault when GC occurs during xpath handler argument marshalling. #345 + o Added hack to Slop decorator to work with previously defined methods. #330 + o Fix a memory leak when duplicating child nodes. #353 + o Fixed off-by-one bug with nth-last-{child,of-type} CSS selectors when NOT using + an+b notation. #354 + o Fixed passing of non-namespace attributes to SAX::Document#start_element. #356 + o Workaround for libxml2 in-context parsing bug. #362 + o Fixed NodeSet#wrap on nodes within a fragment. #331 + +------------------------------------------------------------------- +Tue Dec 21 23:06:09 CET 2010 - [email protected] + +- update to version 1.4.3.1 + * New Features + o XML::Reader#empty_element? returns true for empty elements. #262 + o Node#remove_namespaces! now removes namespace declarations as well. #294 + o NodeSet#at_xpath, NodeSet#at_css and NodeSet#> do what the corresponding + methods of Node do. + * Bugfixes + o XML::NodeSet#{include?,delete,push} accept an XML::Namespace + o XML::Document#parse added for parsing in the context of a document + o XML::DocumentFragment#inner_html= works with contextual parsing! #298, #281 + o lib/nokogiri/css/parser.y Combined CSS functions + pseudo selectors fixed + o Reparenting text nodes is safe, even when the operation frees adjacent + merged nodes. #283 + o Fixed libxml2 versionitis issue with xmlFirstElementChild et al. #303 + o XML::Attr#add_namespace now works as expected. #252 + o HTML::DocumentFragment uses the string’s encoding. #305 + o Fix the CSS3 selector translation rule for the general sibling combinator + +------------------------------------------------------------------- +Mon Jun 14 14:01:25 UTC 2010 - [email protected] + +- update to version 1.4.2 + - XML::Node#parse will parse XML or HTML fragments with respect + to the context node. + - XML::Node#namespaces returns all namespaces defined in the node + and all ancestor nodes (previously did not return ancestors' + namespace definitions). + - Added Enumerable to XML::Node + - Nokogiri::XML::Schema#validate now uses xmlSchemaValidateFile + if a filename is passed, which is faster and more + memory-efficient. GH #219 + - XML::Document#create_entity will create new EntityDecl objects. + GH #174 + - JRuby FFI implementation no longer uses ObjectSpace._id2ref, + instead using Charles Nutter's rocking Weakling gem. + - Nokogiri::XML::Node#first_element_child fetch the first child + node that is an ELEMENT node. + - Nokogiri::XML::Node#last_element_child fetch the last child + node that is an ELEMENT node. + - Nokogiri::XML::Node#elements fetch all children nodes that are + ELEMENT nodes. + - Nokogiri::XML::Node#add_child, #add_previous_sibling, #before, + #add_next_sibling, #after, #inner_html, #swap and #replace all + now accept a Node, DocumentFragment, NodeSet, or a string + containing markup. + - Node#fragment? indicates whether a node is a DocumentFragment. + - XML::NodeSet is now always decorated (if the document has + decorators). GH #198 + - XML::NodeSet#slice gracefully handles offset+length larger than + the set length. GH #200 + - XML::Node#content= safely unlinks previous content. GH #203 + - XML::Node#namespace= takes nil as a parameter + - XML::Node#xpath returns things other than NodeSet objects. + GH #208 + - XSLT::StyleSheet#transform accepts hashes for parameters. + GH #223 + - Psuedo selectors inside not() work. GH #205 + - XML::Builder doesn't break when nodes are unlinked. + Thanks to vihai! GH #228 + - Encoding can be forced on the SAX parser. Thanks Eugene + Pimenov! GH #204 + - XML::DocumentFragment uses XML::Node#parse to determine + children. + - Fixed a memory leak in xml reader. Thanks sdor! GH #244 + - Node#replace returns the new child node as claimed in the RDoc. + Previously returned +self+. + +------------------------------------------------------------------- +Fri Jun 11 10:00:01 UTC 2010 - [email protected] + +- use rubygems_requires macro + +------------------------------------------------------------------- +Fri Dec 25 01:40:14 UTC 2009 - [email protected] + +- update to 1.4.1 + - Added Nokogiri::LIBXML_ICONV_ENABLED + - Alias Node#[] to Node#attr + - XML::Node#next_element added + - XML::Node#> added for searching a nodes immediate children + - XML::NodeSet#reverse added + - Added fragment support to Node#add_child, + Node#add_next_sibling, + - Node#add_previous_sibling, and Node#replace. + - XML::Node#previous_element implemented + - Rubinius support + - Ths CSS selector engine now supports :has() + - XML::NodeSet#filter() was added + - XML::Node.next= and .previous= are aliases for add_next_sibling + and add_previous_sibling. GH #183 + - XML fragments with namespaces do not raise an exception + (regression in 1.4.0) + - Node#matches? works in nodes contained by a DocumentFragment. + GH #158 + - Document should not define add_namespace() method. GH #169 + - XPath queries returning namespace declarations do not segfault. + - Node#replace works with nodes from different documents. GH #162 + - Adding XML::Document#collect_namespaces + - Fixed bugs in the SOAP4R adapter + - Fixed bug in XML::Node#next_element for certain edge cases + - Fixed load path issue with JRuby under Windows. GH #160. + - XSLT#apply_to will honor the "output method". Thanks + richardlehane! + - Fragments containing leading text nodes with newlines now parse + properly. GH #178. + +------------------------------------------------------------------- +Fri Nov 13 20:17:35 UTC 2009 - [email protected] + +- update to 1.4.0 + - Node#at_xpath returns the first element of the NodeSet matching + the XPath expression. + - Node#at_css returns the first element of the NodeSet matching + the CSS selector. + - NodeSet#| for unions GH #119 (Thanks Serabe!) + - NodeSet#inspect makes prettier output + - Node#inspect implemented for more rubyish document inspecting + - Added XML::DTD#external_id + - Added XML::DTD#system_id + - Added XML::ElementContent for DTD Element content validity + - Better namespace declaration support in Nokogiri::XML::Builder + - Added XML::Node#external_subset + - Added XML::Node#create_external_subset + - Added XML::Node#create_internal_subset + - XML Builder can append raw strings (GH #141, patch from dudleyf) + - XML::SAX::ParserContext added + - XML::Document#remove_namespaces! for the namespace-impaired + - returns nil when HTML documents do not declare a meta encoding + tag. GH #115 + - Uses RbConfig::CONFIG['host_os'] to adjust ENV['PATH'] GH #113 + - NodeSet#search is more efficient GH #119 (Thanks Serabe!) + - NodeSet#xpath handles custom xpath functions + - Fixing a SEGV when XML::Reader gets attributes for current node + - Node#inner_html takes the same arguments as Node#to_html GH#117 + - DocumentFragment#css delegates to it's child nodes GH #123 + - NodeSet#[] works with slices larger than NodeSet#length GH #131 + - Reparented nodes maintain their namespace. GH #134 + - Fixed SEGV when adding an XML::Document to NodeSet + - XML::SyntaxError can be duplicated. GH #148 + - Hpricot compatibility layer removed + +------------------------------------------------------------------- +Mon Oct 19 09:01:41 UTC 2009 - [email protected] + +- update to 1.3.3 + - NodeSet#children returns all children of all nodes + - Override libxml-ruby's global error handler + - ParseOption#strict fixed + - Fixed a segfault when sending an empty string to + Node#inner_html= GH #88 + - String encoding is now set to UTF-8 in Ruby 1.9 + - Fixed a segfault when moving root nodes between documents. GH + #91 + - Fixed an O(n) penalty on node creation. GH #101 + - Allowing XML documents to be output as HTML documents + - Hpricot compatibility layer will be removed in 1.4.0 + - Nokogiri::XML::DTD#validate will validate your document + - Nokogiri::XML::NodeSet#search will search top level nodes. GH ++++ 86 more lines (skipped) ++++ between /dev/null ++++ and /mounts/work_src_done/STABLE/rubygem-nokogiri/rubygem-nokogiri.changes calling whatdependson for head-i586 New: ---- nokogiri-1.4.4.gem rubygem-nokogiri-rpmlintrc rubygem-nokogiri.changes rubygem-nokogiri.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-nokogiri.spec ++++++ # # spec file for package rubygem-nokogiri # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rubygem-nokogiri Version: 1.4.4 Release: 1 %define mod_name nokogiri # Group: Development/Languages/Ruby License: MIT # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libxml2-devel libxslt-devel BuildRequires: rubygems_with_buildroot_patch %rubygems_requires # Url: http://nokogiri.org Source: %{mod_name}-%{version}.gem # Summary: Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser %description Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's many features is the ability to search documents via XPath or CSS3 selectors. XML is like violence - if it doesn’t solve your problems, you are not using enough of it. %prep %build %install %gem_install %{S:0} %gem_cleanup %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/nokogiri %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ %changelog ++++++ rubygem-nokogiri-rpmlintrc ++++++ addFilter("devel-file-in-non-devel-package") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
