libxml-ruby 0.5.0 → 0.5.0.1

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/Rakefile CHANGED
@@ -68,6 +68,7 @@ end
68
68
  task :ta => :alltests
69
69
  task :tu => :unittests
70
70
  task :test => :unittests
71
+ task :tm => :memtests
71
72
 
72
73
  Rake::TestTask.new(:alltests) do |t|
73
74
  t.test_files = FileList[
@@ -81,6 +82,13 @@ Rake::TestTask.new(:unittests) do |t|
81
82
  t.test_files = FileList['tests/runner.rb']
82
83
  t.verbose = false
83
84
  end
85
+
86
+ Rake::TestTask.new(:memtests) do |t|
87
+ t.test_files = FileList[
88
+ 'rwtest/runner.rb'
89
+ ]
90
+ t.verbose = true
91
+ end
84
92
 
85
93
  #Rake::TestTask.new(:funtests) do |t|
86
94
  # t.test_files = FileList['test/fun*.rb']
@@ -90,6 +98,7 @@ end
90
98
 
91
99
  task :unittests => :compile
92
100
  task :alltests => :compile
101
+ task :memtests => :compile
93
102
 
94
103
  # RDoc Tasks ---------------------------------------------------------
95
104
  desc "Create the RDOC documentation tree"
@@ -6,12 +6,12 @@
6
6
  /* Don't nuke this block! It is used for automatically updating the
7
7
  * versions below. VERSION = string formatting, VERNUM = numbered
8
8
  * version for inline testing: increment both or none at all. */
9
- #define RUBY_LIBXML_VERSION "0.5.0"
9
+ #define RUBY_LIBXML_VERSION "0.5.0.1"
10
10
  #define RUBY_LIBXML_VERNUM 500
11
11
  #define RUBY_LIBXML_VER_MAJ 0
12
12
  #define RUBY_LIBXML_VER_MIN 5
13
13
  #define RUBY_LIBXML_VER_MIC 0
14
- #define RUBY_LIBXML_VER_PATCH 0
14
+ #define RUBY_LIBXML_VER_PATCH 1
15
15
 
16
16
  #include <ruby.h>
17
17
  #include <rubyio.h>
@@ -1,4 +1,4 @@
1
- # $Id: libxml.rb 120 2006-11-26 12:57:56Z roscopeco $
1
+ # $Id: libxml.rb 134 2007-08-29 17:30:19Z danj $
2
2
  # Please see the LICENSE file for copyright and distribution information
3
3
  require 'xml/libxml_so'
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_html_parser.h 111 2006-11-20 01:39:14Z roscopeco $ */
1
+ /* $Id: ruby_xml_html_parser.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_node.c 138 2007-08-29 18:00:35Z danj $ */
1
+ /* $Id: ruby_xml_node.c 164 2007-08-31 15:37:35Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -2215,6 +2215,11 @@ ruby_xml_node_copy(VALUE self, VALUE deep) {
2215
2215
  return obj;
2216
2216
  }
2217
2217
 
2218
+ void
2219
+ ruby_xml_node_registerNode(xmlNodePtr node)
2220
+ {
2221
+ node->_private=NULL;
2222
+ }
2218
2223
 
2219
2224
  // Rdoc needs to know
2220
2225
  #ifdef RDOC_NEVER_DEFINED
@@ -2224,7 +2229,9 @@ ruby_xml_node_copy(VALUE self, VALUE deep) {
2224
2229
  void
2225
2230
  ruby_init_xml_node(void) {
2226
2231
  VALUE singleton;
2227
-
2232
+
2233
+ xmlRegisterNodeDefault(ruby_xml_node_registerNode);
2234
+
2228
2235
  cXMLNode = rb_define_class_under(mXML, "Node", rb_cObject);
2229
2236
  eXMLNodeSetNamespace = rb_define_class_under(cXMLNode, "SetNamespace", eXMLError);
2230
2237
  eXMLNodeFailedModify = rb_define_class_under(cXMLNode, "FailedModify", eXMLError);
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_node_set.h 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_node_set.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_ns.c 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_ns.c 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_ns.h 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_ns.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_parser.h 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_parser.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_parser_context.h 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_parser_context.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_sax_parser.c 111 2006-11-20 01:39:14Z roscopeco $ */
1
+ /* $Id: ruby_xml_sax_parser.c 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_sax_parser.h 111 2006-11-20 01:39:14Z roscopeco $ */
1
+ /* $Id: ruby_xml_sax_parser.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_tree.c 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_tree.c 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_tree.h 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_tree.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xinclude.c 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_xinclude.c 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xinclude.h 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_xinclude.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpath.h 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_xpath.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpath_context.h 41 2006-02-27 12:55:32Z roscopeco $ */
1
+ /* $Id: ruby_xml_xpath_context.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpointer.h 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_xpointer.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpointer_context.c 120 2006-11-26 12:57:56Z roscopeco $ */
1
+ /* $Id: ruby_xml_xpointer_context.c 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpointer_context.h 39 2006-02-21 20:40:16Z roscopeco $ */
1
+ /* $Id: ruby_xml_xpointer_context.h 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: sax_parser_callbacks.inc 120 2006-11-26 12:57:56Z roscopeco $ */
1
+ /* $Id: sax_parser_callbacks.inc 134 2007-08-29 17:30:19Z danj $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: libxml-ruby
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.0
7
- date: 2007-08-30 00:00:00 -04:00
6
+ version: 0.5.0.1
7
+ date: 2007-08-31 00:00:00 -04:00
8
8
  summary: LibXML2 bindings for Ruby
9
9
  require_paths:
10
10
  - lib