Hello community,

here is the log from the commit of package rubygem-xmlhash for openSUSE:Factory 
checked in at 2016-07-15 12:49:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-xmlhash (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-xmlhash.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-xmlhash"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-xmlhash/rubygem-xmlhash.changes  
2015-01-30 15:08:21.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-xmlhash.new/rubygem-xmlhash.changes     
2016-07-15 12:49:35.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Jul  5 04:32:42 UTC 2016 - [email protected]
+
+- updated to version 1.3.7
+ see installed History.txt
+
+  === 1.3.7 / 2016-07-04
+  
+  * Fix XML parsing: ignore comments and parse huge TXT nodes
+
+-------------------------------------------------------------------

Old:
----
  xmlhash-1.3.6.gem

New:
----
  xmlhash-1.3.7.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-xmlhash.spec ++++++
--- /var/tmp/diff_new_pack.ejG47f/_old  2016-07-15 12:49:38.000000000 +0200
+++ /var/tmp/diff_new_pack.ejG47f/_new  2016-07-15 12:49:38.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-xmlhash
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-xmlhash
-Version:        1.3.6
+Version:        1.3.7
 Release:        0
 %define mod_name xmlhash
 %define mod_full_name %{mod_name}-%{version}

++++++ xmlhash-1.3.6.gem -> xmlhash-1.3.7.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/History.txt new/History.txt
--- old/History.txt     1970-01-01 01:00:00.000000000 +0100
+++ new/History.txt     2012-06-22 16:42:15.000000000 +0200
@@ -1,3 +1,7 @@
+=== 1.3.7 / 2016-07-04
+
+* Fix XML parsing: ignore comments and parse huge TXT nodes
+
 === 1.3.6 / 2013-09-11
 
 * Wrap libxml2 parsing in a synchronize block - otherwise the stacking
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/xmlhash/xmlhash.c new/ext/xmlhash/xmlhash.c
--- old/ext/xmlhash/xmlhash.c   1970-01-01 01:00:00.000000000 +0100
+++ new/ext/xmlhash/xmlhash.c   2012-06-22 16:42:15.000000000 +0200
@@ -150,6 +150,9 @@
 
   nodetype = xmlTextReaderNodeType(reader);
   
+  if (nodetype == XML_READER_TYPE_COMMENT)
+    return; // ignore
+
   if (nodetype == XML_READER_TYPE_END_ELEMENT) {
     xml_hash_end_element(name);
     assert(value == NULL);
@@ -209,7 +212,7 @@
   memcpy(data, StringValuePtr(rb_xml), RSTRING_LEN(rb_xml));
 
   reader = xmlReaderForMemory(data, RSTRING_LEN(rb_xml), 
-                             NULL, NULL, XML_PARSE_NOENT | XML_PARSE_NOERROR | 
XML_PARSE_NOWARNING );
+                             NULL, NULL, XML_PARSE_NOENT | XML_PARSE_NOERROR | 
XML_PARSE_NOWARNING | XML_PARSE_HUGE );
   init_XmlhashParserData();
 
   if (reader != NULL) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/xmlhash.rb new/lib/xmlhash.rb
--- old/lib/xmlhash.rb  1970-01-01 01:00:00.000000000 +0100
+++ new/lib/xmlhash.rb  2012-06-22 16:42:15.000000000 +0200
@@ -1,7 +1,7 @@
 require 'xmlhash/xmlhash'
 
 module Xmlhash
-  VERSION = '1.3.6'
+  VERSION = '1.3.7'
 
   class XMLHash < Hash
     
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        1970-01-01 01:00:00.000000000 +0100
+++ new/metadata        2016-07-04 17:13:20.000000000 +0200
@@ -1,71 +1,71 @@
 --- !ruby/object:Gem::Specification
 name: xmlhash
 version: !ruby/object:Gem::Version
-  version: 1.3.6
+  version: 1.3.7
 platform: ruby
 authors:
 - Stephan Kulow
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2013-09-11 00:00:00.000000000 Z
+date: 2016-07-04 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: pkg-config
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - '>='
+    - - ">="
       - !ruby/object:Gem::Version
         version: '0'
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - '>='
+    - - ">="
       - !ruby/object:Gem::Version
         version: '0'
 - !ruby/object:Gem::Dependency
   name: rdoc
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - ~>
+    - - "~>"
       - !ruby/object:Gem::Version
         version: '4.0'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - ~>
+    - - "~>"
       - !ruby/object:Gem::Version
         version: '4.0'
 - !ruby/object:Gem::Dependency
   name: rake-compiler
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - '>='
+    - - ">="
       - !ruby/object:Gem::Version
         version: '0'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - '>='
+    - - ">="
       - !ruby/object:Gem::Version
         version: '0'
 - !ruby/object:Gem::Dependency
   name: hoe
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - ~>
+    - - "~>"
       - !ruby/object:Gem::Version
-        version: '3.7'
+        version: '3.15'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - ~>
+    - - "~>"
       - !ruby/object:Gem::Version
-        version: '3.7'
+        version: '3.15'
 description: |-
   A small C module that wraps libxml2's xmlreader to parse a XML
   string into a ruby hash
@@ -79,8 +79,8 @@
 - Manifest.txt
 - README.txt
 files:
-- .autotest
-- .travis.yml
+- ".autotest"
+- ".travis.yml"
 - Gemfile
 - History.txt
 - Manifest.txt
@@ -90,33 +90,31 @@
 - ext/xmlhash/xmlhash.c
 - lib/xmlhash.rb
 - test/test_xmlhash.rb
-- .gemtest
 homepage: https://github.com/coolo/xmlhash
 licenses:
 - MIT
 metadata: {}
 post_install_message: 
 rdoc_options:
-- --main
+- "--main"
 - README.txt
 require_paths:
 - lib
 required_ruby_version: !ruby/object:Gem::Requirement
   requirements:
-  - - '>='
+  - - ">="
     - !ruby/object:Gem::Version
       version: '0'
 required_rubygems_version: !ruby/object:Gem::Requirement
   requirements:
-  - - '>='
+  - - ">="
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubyforge_project: xmlhash
-rubygems_version: 2.0.3
+rubyforge_project: 
+rubygems_version: 2.4.5.1
 signing_key: 
 specification_version: 4
 summary: A small C module that wraps libxml2's xmlreader to parse a XML string 
into
   a ruby hash
-test_files:
-- test/test_xmlhash.rb
+test_files: []


Reply via email to