libxml-ruby 5.0.2-x64-mingw-ucrt → 5.0.4-x64-mingw-ucrt
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 +11 -0
- data/ext/libxml/ruby_xml_error.c +4 -0
- data/ext/libxml/ruby_xml_version.h +3 -3
- data/ext/libxml/ruby_xml_writer.c +1124 -1138
- data/lib/3.3/libxml_ruby.so +0 -0
- data/lib/3.4/libxml_ruby.so +0 -0
- data/libxml-ruby.gemspec +1 -0
- data/test/test_sax_parser.rb +25 -6
- metadata +18 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 317e50c28aaefa2f7f3854bc382ab2c90c53a4702610c5157ca15fd2d22a96fd
|
4
|
+
data.tar.gz: 2ac29d181d347dc4fbbb526d95ae28b91d84ba203179d10aad80b7592bb19ba1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95fa8da4a77bd6ad65a48ed36204a21ac9b72060273e6559a71e2e965518306127851ee0c7069f0a2be51de679631bbbdb8f56b75178cc7f51db12bc2e5c7aee
|
7
|
+
data.tar.gz: 12f5fb6ffacc7a67dfe80cb6a11daf62717eb3a120c2e1245b2966120279e36dbb059cee7836cf0994c7982eb1c953ada54aaecddb3a46c2b2b0812bfa8c3a2f
|
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)
|
data/ext/libxml/ruby_xml_error.c
CHANGED
@@ -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.
|
5
|
-
#define RUBY_LIBXML_VERNUM
|
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
|
8
|
+
#define RUBY_LIBXML_VER_MIC 4
|
9
9
|
#define RUBY_LIBXML_VER_PATCH 0
|