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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/HISTORY +10 -6
  3. data/README.rdoc +1 -1
  4. data/ext/libxml/extconf.rb +5 -0
  5. data/ext/libxml/ruby_xml.c +556 -556
  6. data/ext/libxml/ruby_xml_attributes.h +17 -17
  7. data/ext/libxml/ruby_xml_document.c +1129 -1129
  8. data/ext/libxml/ruby_xml_dtd.c +257 -257
  9. data/ext/libxml/ruby_xml_encoding.c +250 -250
  10. data/ext/libxml/ruby_xml_error.c +1003 -1003
  11. data/ext/libxml/ruby_xml_error.h +14 -14
  12. data/ext/libxml/ruby_xml_html_parser_context.c +351 -351
  13. data/ext/libxml/ruby_xml_input_cbg.c +188 -188
  14. data/ext/libxml/ruby_xml_namespace.c +151 -151
  15. data/ext/libxml/ruby_xml_parser.h +10 -10
  16. data/ext/libxml/ruby_xml_parser_context.c +1009 -1009
  17. data/ext/libxml/ruby_xml_parser_options.c +74 -74
  18. data/ext/libxml/ruby_xml_parser_options.h +10 -10
  19. data/ext/libxml/ruby_xml_sax2_handler.c +326 -326
  20. data/ext/libxml/ruby_xml_sax_parser.c +108 -108
  21. data/ext/libxml/ruby_xml_version.h +9 -9
  22. data/lib/libxml/attr.rb +122 -122
  23. data/lib/libxml/attr_decl.rb +80 -80
  24. data/lib/libxml/attributes.rb +13 -13
  25. data/lib/libxml/document.rb +194 -194
  26. data/lib/libxml/error.rb +95 -95
  27. data/lib/libxml/hpricot.rb +77 -77
  28. data/lib/libxml/html_parser.rb +96 -96
  29. data/lib/libxml/namespace.rb +61 -61
  30. data/lib/libxml/namespaces.rb +37 -37
  31. data/lib/libxml/node.rb +323 -323
  32. data/lib/libxml/parser.rb +102 -102
  33. data/lib/libxml/sax_callbacks.rb +179 -179
  34. data/lib/libxml/sax_parser.rb +40 -40
  35. data/lib/libxml/tree.rb +28 -28
  36. data/lib/libxml.rb +4 -4
  37. data/lib/xml/libxml.rb +10 -10
  38. data/lib/xml.rb +13 -13
  39. data/libxml-ruby.gemspec +50 -49
  40. data/test/test_document.rb +140 -140
  41. data/test/test_document_write.rb +142 -142
  42. data/test/test_dtd.rb +126 -126
  43. data/test/test_encoding.rb +126 -126
  44. data/test/test_error.rb +194 -194
  45. data/test/test_helper.rb +20 -20
  46. data/test/test_namespace.rb +58 -58
  47. data/test/test_node.rb +235 -235
  48. data/test/test_node_write.rb +93 -93
  49. data/test/test_parser.rb +333 -333
  50. data/test/test_reader.rb +364 -364
  51. data/test/test_xml.rb +168 -168
  52. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70e5ff5fb173b82d09110767e0d53a87bca9f4b5cc03b8834e7e335c888a6f78
4
- data.tar.gz: 00d231a8935cb4389f3f48ade94ef99ddaa17782ce5baafa5dcbc400a8ad03cf
3
+ metadata.gz: 483a897670cac3074667b0675ed2b0b160cfa0b0078225b5d648eecc59316c72
4
+ data.tar.gz: dd1fe703e863cebae13a3eec6a5045ab4c8b83c3d5ba0e1ce4345fbe02df2263
5
5
  SHA512:
6
- metadata.gz: fc2295cb0f6cfe66bfbdf534125bc057bf41ebb3d36e8d1bf746cae3b9200a3859226993ad7da8fbacff694704cfa4feeffe5a9643b0208bcb101a7d3463919f
7
- data.tar.gz: b63b49738266f156ab41c41d8d14950f76dc45cb8546f8effcbfaa34ebc60d6bce64b8f5d9fd4692c9a10d4b43e0b72ba73bb273f24bc80b9426d6c29b1985b6
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.4 / 2025-05-11
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
- * Fix compiling with latest libxml version
6
- * Fix compiling with latest C++ compilers
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
- * Update Xcode and Visual Studio projects
11
- * Fix check for availability of structuredErrorFunc
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[http://xml4r.github.io/libxml-ruby]. Some tutorials are also
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
@@ -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')