libxml-ruby 5.0.4 → 5.0.5
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.
- checksums.yaml +4 -4
- data/HISTORY +10 -6
- data/README.rdoc +1 -1
- data/ext/libxml/extconf.rb +5 -0
- data/ext/libxml/ruby_xml.c +556 -556
- data/ext/libxml/ruby_xml_attributes.h +17 -17
- data/ext/libxml/ruby_xml_document.c +1129 -1129
- data/ext/libxml/ruby_xml_dtd.c +257 -257
- data/ext/libxml/ruby_xml_encoding.c +250 -250
- data/ext/libxml/ruby_xml_error.c +1003 -1003
- data/ext/libxml/ruby_xml_error.h +14 -14
- data/ext/libxml/ruby_xml_html_parser_context.c +351 -351
- data/ext/libxml/ruby_xml_input_cbg.c +188 -188
- data/ext/libxml/ruby_xml_namespace.c +151 -151
- data/ext/libxml/ruby_xml_parser.h +10 -10
- data/ext/libxml/ruby_xml_parser_context.c +1009 -1009
- data/ext/libxml/ruby_xml_parser_options.c +74 -74
- data/ext/libxml/ruby_xml_parser_options.h +10 -10
- data/ext/libxml/ruby_xml_sax2_handler.c +326 -326
- data/ext/libxml/ruby_xml_sax_parser.c +108 -108
- data/ext/libxml/ruby_xml_version.h +9 -9
- data/lib/libxml/attr.rb +122 -122
- data/lib/libxml/attr_decl.rb +80 -80
- data/lib/libxml/attributes.rb +13 -13
- data/lib/libxml/document.rb +194 -194
- data/lib/libxml/error.rb +95 -95
- data/lib/libxml/hpricot.rb +77 -77
- data/lib/libxml/html_parser.rb +96 -96
- data/lib/libxml/namespace.rb +61 -61
- data/lib/libxml/namespaces.rb +37 -37
- data/lib/libxml/node.rb +323 -323
- data/lib/libxml/parser.rb +102 -102
- data/lib/libxml/sax_callbacks.rb +179 -179
- data/lib/libxml/sax_parser.rb +40 -40
- data/lib/libxml/tree.rb +28 -28
- data/lib/libxml.rb +4 -4
- data/lib/xml/libxml.rb +10 -10
- data/lib/xml.rb +13 -13
- data/libxml-ruby.gemspec +50 -49
- data/test/test_document.rb +140 -140
- data/test/test_document_write.rb +142 -142
- data/test/test_dtd.rb +126 -126
- data/test/test_encoding.rb +126 -126
- data/test/test_error.rb +194 -194
- data/test/test_helper.rb +20 -20
- data/test/test_namespace.rb +58 -58
- data/test/test_node.rb +235 -235
- data/test/test_node_write.rb +93 -93
- data/test/test_parser.rb +333 -333
- data/test/test_reader.rb +364 -364
- data/test/test_xml.rb +168 -168
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 483a897670cac3074667b0675ed2b0b160cfa0b0078225b5d648eecc59316c72
|
4
|
+
data.tar.gz: dd1fe703e863cebae13a3eec6a5045ab4c8b83c3d5ba0e1ce4345fbe02df2263
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b89d9ac57ed8bb9e2be60c8e0be69cdb8d8903be6434e7be45bd357189c5bf7bdc2fca825642715408c9778e72011e849f76b08fdbafb5e653a050c0f80526a6
|
7
|
+
data.tar.gz: 8b2af1d8c25923fcfefb101505230387463aa92914655469595b3ebbd041c36f7c44c5f5d14be21a54978f4ced893f35df929151a8a4b781130dfcaf35bf8e5d
|
data/HISTORY
CHANGED
@@ -1,15 +1,19 @@
|
|
1
1
|
= Release History
|
2
2
|
|
3
|
-
== 5.0.
|
3
|
+
== 5.0.5 / 2025-07-30
|
4
|
+
* Try to fix broken documentation link in Ruby Gems website
|
5
|
+
* Update history file
|
4
6
|
|
5
|
-
|
6
|
-
|
7
|
+
== 5.0.4 / 2025-05-12
|
8
|
+
|
9
|
+
* Fix line ending inconsistencies across platforms
|
10
|
+
* Set Git attributes for source files to keep LF line endings.
|
11
|
+
* Add optional zlib support detection in extconf
|
7
12
|
|
8
13
|
== 5.0.3 / 2024-03-12
|
9
14
|
|
10
|
-
*
|
11
|
-
* Fix check
|
12
|
-
* Fix #213. Last update was not backwards compatible.
|
15
|
+
* Fix compiling against newer libxml versions
|
16
|
+
* Fix version check
|
13
17
|
|
14
18
|
== 5.0.2 / 2024-01-08
|
15
19
|
|
data/README.rdoc
CHANGED
@@ -89,7 +89,7 @@ the {libxslt gem}[https://github.com/xml4r/libxslt-rubygem].
|
|
89
89
|
|
90
90
|
== Usage
|
91
91
|
For information about using libxml-ruby please refer to its
|
92
|
-
documentation[
|
92
|
+
documentation[https://xml4r.github.io/libxml-ruby]. Some tutorials are also
|
93
93
|
available[https://github.com/xml4r/libxml-ruby/wiki].
|
94
94
|
|
95
95
|
All libxml classes are in the LibXML::XML module. The easiest
|
data/ext/libxml/extconf.rb
CHANGED
@@ -63,5 +63,10 @@ if !found_header || !found_lib
|
|
63
63
|
EOL
|
64
64
|
end
|
65
65
|
|
66
|
+
# Optional zlib support via libxml2; defines HAVE_ZLIB_H if available.
|
67
|
+
unless have_header("zlib.h")
|
68
|
+
message "zlib not found: building without compression support\n"
|
69
|
+
end
|
70
|
+
|
66
71
|
create_header()
|
67
72
|
create_makefile('libxml_ruby')
|