libxml-ruby 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -69,6 +69,13 @@ class TestNodeWrite < Test::Unit::TestCase
69
69
  assert_equal('Unknown encoding value: -9999', error.to_s)
70
70
  end
71
71
 
72
+ def test_inner_xml
73
+ # Default to_s has indentation
74
+ node = @doc.root
75
+ assert_equal("<m\303\266tley_cr\303\274e country=\"us\">An American heavy metal band formed in Los Angeles, California in 1981.</m\303\266tley_cr\303\274e><iron_maiden country=\"uk\">British heavy metal band formed in 1975.</iron_maiden>",
76
+ node.inner_xml)
77
+ end
78
+
72
79
  # --- Debug ---
73
80
  def test_debug
74
81
  assert(@doc.root.debug)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libxml-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Savage
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-10 00:00:00 -06:00
12
+ date: 2009-03-14 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -42,7 +42,6 @@ files:
42
42
  - doc/log/changelog.xml
43
43
  - doc/log/changelog.xsl
44
44
  - ext/libxml/build.log
45
- - ext/libxml/cbg.c
46
45
  - ext/libxml/extconf.rb
47
46
  - ext/libxml/libxml.c
48
47
  - ext/libxml/ruby_libxml.h
@@ -54,6 +53,7 @@ files:
54
53
  - ext/libxml/ruby_xml_attributes.h
55
54
  - ext/libxml/ruby_xml_attr_decl.c
56
55
  - ext/libxml/ruby_xml_attr_decl.h
56
+ - ext/libxml/ruby_xml_cbg.c
57
57
  - ext/libxml/ruby_xml_document.c
58
58
  - ext/libxml/ruby_xml_document.h
59
59
  - ext/libxml/ruby_xml_dtd.c
@@ -133,6 +133,7 @@ files:
133
133
  - lib/xml
134
134
  - lib/xml/libxml.rb
135
135
  - lib/xml.rb
136
+ - test/cro_events.html
136
137
  - test/etc_doc_to_s.rb
137
138
  - test/ets_doc_file.rb
138
139
  - test/ets_doc_to_s.rb