libxml-ruby 5.0.3 → 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 (54) hide show
  1. checksums.yaml +4 -4
  2. data/HISTORY +13 -2
  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/ext/libxml/ruby_xml_writer.c +1124 -1138
  23. data/lib/libxml/attr.rb +122 -122
  24. data/lib/libxml/attr_decl.rb +80 -80
  25. data/lib/libxml/attributes.rb +13 -13
  26. data/lib/libxml/document.rb +194 -194
  27. data/lib/libxml/error.rb +95 -95
  28. data/lib/libxml/hpricot.rb +77 -77
  29. data/lib/libxml/html_parser.rb +96 -96
  30. data/lib/libxml/namespace.rb +61 -61
  31. data/lib/libxml/namespaces.rb +37 -37
  32. data/lib/libxml/node.rb +323 -323
  33. data/lib/libxml/parser.rb +102 -102
  34. data/lib/libxml/sax_callbacks.rb +179 -179
  35. data/lib/libxml/sax_parser.rb +40 -40
  36. data/lib/libxml/tree.rb +28 -28
  37. data/lib/libxml.rb +4 -4
  38. data/lib/xml/libxml.rb +10 -10
  39. data/lib/xml.rb +13 -13
  40. data/libxml-ruby.gemspec +50 -48
  41. data/test/test_document.rb +140 -140
  42. data/test/test_document_write.rb +142 -142
  43. data/test/test_dtd.rb +126 -126
  44. data/test/test_encoding.rb +126 -126
  45. data/test/test_error.rb +194 -194
  46. data/test/test_helper.rb +20 -20
  47. data/test/test_namespace.rb +58 -58
  48. data/test/test_node.rb +235 -235
  49. data/test/test_node_write.rb +93 -93
  50. data/test/test_parser.rb +333 -333
  51. data/test/test_reader.rb +364 -364
  52. data/test/test_sax_parser.rb +25 -6
  53. data/test/test_xml.rb +168 -168
  54. metadata +19 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b052083c2417da07faf0c5f32b5e518846ae024066383c0be78a1c6a2d492ef
4
- data.tar.gz: 0cbd221ea22756e0c28909e17f9c01975c2fca376a579624c915dc7d2604899c
3
+ metadata.gz: 483a897670cac3074667b0675ed2b0b160cfa0b0078225b5d648eecc59316c72
4
+ data.tar.gz: dd1fe703e863cebae13a3eec6a5045ab4c8b83c3d5ba0e1ce4345fbe02df2263
5
5
  SHA512:
6
- metadata.gz: 377fb83e8a6080462bbabed39309a42d1f5af793d68576b9b2e39dd12a72ed1d56b77ffe005c271b63d299ff1bd2b38ddc83d8ae6b47d4084c8568df0cc16cfd
7
- data.tar.gz: 05dea25232fdf0f79306375f7889a9e6a9827f6b29a00c0acdebcbfd20a93c90c514051835add11adb8ed5c5cd494d4fd25d44ae26592c8ab9c63e06d2893def
6
+ metadata.gz: b89d9ac57ed8bb9e2be60c8e0be69cdb8d8903be6434e7be45bd357189c5bf7bdc2fca825642715408c9778e72011e849f76b08fdbafb5e653a050c0f80526a6
7
+ data.tar.gz: 8b2af1d8c25923fcfefb101505230387463aa92914655469595b3ebbd041c36f7c44c5f5d14be21a54978f4ced893f35df929151a8a4b781130dfcaf35bf8e5d
data/HISTORY CHANGED
@@ -1,8 +1,19 @@
1
1
  = Release History
2
2
 
3
- == 5.0.3 / 2024-03-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
- * Update xmlStructuredErrorFunc to be backwards compatible
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
12
+
13
+ == 5.0.3 / 2024-03-12
14
+
15
+ * Fix compiling against newer libxml versions
16
+ * Fix version check
6
17
 
7
18
  == 5.0.2 / 2024-01-08
8
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')