libxml-ruby 5.0.2 → 5.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e036b762df752b8b3582af2d5b089f83bbb96b9791304159c7daa6dbe729a0b3
4
- data.tar.gz: c14d980af288113cbafb50ee16448b335aa2936b351f8dbde786de4e84fdba78
3
+ metadata.gz: 70e5ff5fb173b82d09110767e0d53a87bca9f4b5cc03b8834e7e335c888a6f78
4
+ data.tar.gz: 00d231a8935cb4389f3f48ade94ef99ddaa17782ce5baafa5dcbc400a8ad03cf
5
5
  SHA512:
6
- metadata.gz: f399b51f48b89992e39d822dcd37b2e703d475189a5ecae81ffa1b464c1f500c7318372d2f83a65bfc88c7ff9855a6af21d34366e05be5d6fe550485aea7d3a2
7
- data.tar.gz: 2f97ce5a32ea77e54df431eb5ad7e7fcaa99d3aee704953956a6ec8d7fcfbe589abdad19949eb11b3c70f8f2b6f20b206944594d0fd3f14e90431d652d137c95
6
+ metadata.gz: fc2295cb0f6cfe66bfbdf534125bc057bf41ebb3d36e8d1bf746cae3b9200a3859226993ad7da8fbacff694704cfa4feeffe5a9643b0208bcb101a7d3463919f
7
+ data.tar.gz: b63b49738266f156ab41c41d8d14950f76dc45cb8546f8effcbfaa34ebc60d6bce64b8f5d9fd4692c9a10d4b43e0b72ba73bb273f24bc80b9426d6c29b1985b6
data/HISTORY CHANGED
@@ -1,5 +1,16 @@
1
1
  = Release History
2
2
 
3
+ == 5.0.4 / 2025-05-11
4
+
5
+ * Fix compiling with latest libxml version
6
+ * Fix compiling with latest C++ compilers
7
+
8
+ == 5.0.3 / 2024-03-12
9
+
10
+ * Update Xcode and Visual Studio projects
11
+ * Fix check for availability of structuredErrorFunc
12
+ * Fix #213. Last update was not backwards compatible.
13
+
3
14
  == 5.0.2 / 2024-01-08
4
15
 
5
16
  * Fix broken DTD creation (DTD name is not required)
@@ -97,7 +97,11 @@ VALUE rxml_error_wrap(const xmlError *xerror)
97
97
  }
98
98
 
99
99
  /* Hook that receives xml error message */
100
+ #if LIBXML_VERSION >= 21200
100
101
  static void structuredErrorFunc(void *userData, const xmlError *xerror)
102
+ #else
103
+ static void structuredErrorFunc(void *userData, xmlErrorPtr xerror)
104
+ #endif
101
105
  {
102
106
  VALUE error = rxml_error_wrap(xerror);
103
107
 
@@ -1,9 +1,9 @@
1
1
  /* Don't nuke this block! It is used for automatically updating the
2
2
  * versions below. VERSION = string formatting, VERNUM = numbered
3
3
  * version for inline testing: increment both or none at all.*/
4
- #define RUBY_LIBXML_VERSION "5.0.2"
5
- #define RUBY_LIBXML_VERNUM 502
4
+ #define RUBY_LIBXML_VERSION "5.0.4"
5
+ #define RUBY_LIBXML_VERNUM 504
6
6
  #define RUBY_LIBXML_VER_MAJ 5
7
7
  #define RUBY_LIBXML_VER_MIN 0
8
- #define RUBY_LIBXML_VER_MIC 2
8
+ #define RUBY_LIBXML_VER_MIC 4
9
9
  #define RUBY_LIBXML_VER_PATCH 0