libxml-ruby 5.0.2 → 5.0.3

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: 6b052083c2417da07faf0c5f32b5e518846ae024066383c0be78a1c6a2d492ef
4
+ data.tar.gz: 0cbd221ea22756e0c28909e17f9c01975c2fca376a579624c915dc7d2604899c
5
5
  SHA512:
6
- metadata.gz: f399b51f48b89992e39d822dcd37b2e703d475189a5ecae81ffa1b464c1f500c7318372d2f83a65bfc88c7ff9855a6af21d34366e05be5d6fe550485aea7d3a2
7
- data.tar.gz: 2f97ce5a32ea77e54df431eb5ad7e7fcaa99d3aee704953956a6ec8d7fcfbe589abdad19949eb11b3c70f8f2b6f20b206944594d0fd3f14e90431d652d137c95
6
+ metadata.gz: 377fb83e8a6080462bbabed39309a42d1f5af793d68576b9b2e39dd12a72ed1d56b77ffe005c271b63d299ff1bd2b38ddc83d8ae6b47d4084c8568df0cc16cfd
7
+ data.tar.gz: 05dea25232fdf0f79306375f7889a9e6a9827f6b29a00c0acdebcbfd20a93c90c514051835add11adb8ed5c5cd494d4fd25d44ae26592c8ab9c63e06d2893def
data/HISTORY CHANGED
@@ -1,5 +1,9 @@
1
1
  = Release History
2
2
 
3
+ == 5.0.3 / 2024-03-11
4
+
5
+ * Update xmlStructuredErrorFunc to be backwards compatible
6
+
3
7
  == 5.0.2 / 2024-01-08
4
8
 
5
9
  * 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.3"
5
+ #define RUBY_LIBXML_VERNUM 503
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 3
9
9
  #define RUBY_LIBXML_VER_PATCH 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libxml-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.2
4
+ version: 5.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Bamform
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2024-01-08 00:00:00.000000000 Z
17
+ date: 2024-03-11 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rake-compiler
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
275
275
  - !ruby/object:Gem::Version
276
276
  version: '0'
277
277
  requirements: []
278
- rubygems_version: 3.5.3
278
+ rubygems_version: 3.5.6
279
279
  signing_key:
280
280
  specification_version: 4
281
281
  summary: Ruby Bindings for LibXML2