libxml-ruby 2.0.3-x86-mingw32 → 2.0.4-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
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
- * call-seq:
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
- * Returns a string containing the canonicalized form of the document.
131
- *
132
- * :comments - Specifies if comments should be output. This is an optional
133
- * parameter whose default value is false.
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.3"
5
- #define RUBY_LIBXML_VERNUM 203
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 3
8
+ #define RUBY_LIBXML_VER_MIC 4
9
9
  #define RUBY_LIBXML_VER_PATCH 0
Binary file
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: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 3
10
- version: 2.0.3
9
+ - 4
10
+ version: 2.0.4
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - Ross Bamform