libxml-ruby 2.0.3-x86-mingw32 → 2.0.4-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/HISTORY +6 -0
- data/ext/libxml/ruby_xml_document.c +14 -8
- data/ext/libxml/ruby_xml_version.h +3 -3
- data/lib/1.8/libxml_ruby.so +0 -0
- data/lib/1.9/libxml_ruby.so +0 -0
- metadata +3 -3
    
        data/HISTORY
    CHANGED
    
    | @@ -1,5 +1,11 @@ | |
| 1 1 | 
             
            = Release History
         | 
| 2 2 |  | 
| 3 | 
            +
            == 2.0.4 / 2011-05-02 Charlie Savage
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Fix compile issues on platforms using older versions of libxml2.  
         | 
| 6 | 
            +
              The problem as using a C14N constants that was added to libxml2
         | 
| 7 | 
            +
              in July 2009 (Charlie Savage).
         | 
| 8 | 
            +
             | 
| 3 9 | 
             
            == 2.0.3 / 2011-05-01 Charlie Savage
         | 
| 4 10 |  | 
| 5 11 | 
             
            * The biggest change in this release is supporting the use of libxml-ruby in
         | 
| @@ -123,15 +123,21 @@ static VALUE rxml_document_initialize(int argc, VALUE *argv, VALUE self) | |
| 123 123 | 
             
              return self;
         | 
| 124 124 | 
             
            }
         | 
| 125 125 |  | 
| 126 | 
            -
             | 
| 127 | 
            -
                | 
| 126 | 
            +
            /* XML_C14N_1_1 is not defined until libxml 1.1.25, so define this
         | 
| 127 | 
            +
               constant to the same value of XML_C14N_1_0 if it isn't defined. */
         | 
| 128 | 
            +
            #ifndef XML_C14N_1_1
         | 
| 129 | 
            +
            #define XML_C14N_1_1 0
         | 
| 130 | 
            +
            #endif
         | 
| 131 | 
            +
             | 
| 132 | 
            +
            /*
         | 
| 133 | 
            +
              * call-seq:
         | 
| 128 134 | 
             
              *    document.canonicalize(comments) -> String 
         | 
| 129 | 
            -
             | 
| 130 | 
            -
             | 
| 131 | 
            -
             | 
| 132 | 
            -
             | 
| 133 | 
            -
             | 
| 134 | 
            -
             | 
| 135 | 
            +
              *
         | 
| 136 | 
            +
              * 	Returns a string containing the canonicalized form of the document.
         | 
| 137 | 
            +
              *
         | 
| 138 | 
            +
              *  :comments - Specifies if comments should be output.  This is an optional
         | 
| 139 | 
            +
              *              parameter whose default value is false.
         | 
| 140 | 
            +
              */
         | 
| 135 141 | 
             
            static VALUE rxml_document_canonicalize(int argc, VALUE *argv, VALUE self)
         | 
| 136 142 | 
             
            {
         | 
| 137 143 | 
             
              VALUE result = Qnil;
         | 
| @@ -1,9 +1,9 @@ | |
| 1 1 | 
             
            /* Don't nuke this block!  It is used for automatically updating the
         | 
| 2 2 | 
             
             * versions below. VERSION = string formatting, VERNUM = numbered
         | 
| 3 3 | 
             
             * version for inline testing: increment both or none at all.*/
         | 
| 4 | 
            -
            #define RUBY_LIBXML_VERSION  "2.0. | 
| 5 | 
            -
            #define RUBY_LIBXML_VERNUM    | 
| 4 | 
            +
            #define RUBY_LIBXML_VERSION  "2.0.4"
         | 
| 5 | 
            +
            #define RUBY_LIBXML_VERNUM   204
         | 
| 6 6 | 
             
            #define RUBY_LIBXML_VER_MAJ   2
         | 
| 7 7 | 
             
            #define RUBY_LIBXML_VER_MIN   0
         | 
| 8 | 
            -
            #define RUBY_LIBXML_VER_MIC    | 
| 8 | 
            +
            #define RUBY_LIBXML_VER_MIC   4
         | 
| 9 9 | 
             
            #define RUBY_LIBXML_VER_PATCH 0
         | 
    
        data/lib/1.8/libxml_ruby.so
    CHANGED
    
    | Binary file | 
    
        data/lib/1.9/libxml_ruby.so
    CHANGED
    
    | Binary file | 
    
        metadata
    CHANGED
    
    | @@ -1,13 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: libxml-ruby
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              hash:  | 
| 4 | 
            +
              hash: 7
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
              segments: 
         | 
| 7 7 | 
             
              - 2
         | 
| 8 8 | 
             
              - 0
         | 
| 9 | 
            -
              -  | 
| 10 | 
            -
              version: 2.0. | 
| 9 | 
            +
              - 4
         | 
| 10 | 
            +
              version: 2.0.4
         | 
| 11 11 | 
             
            platform: x86-mingw32
         | 
| 12 12 | 
             
            authors: 
         | 
| 13 13 | 
             
            - Ross Bamform
         |