nokogiri 1.15.3-x64-mingw32 → 1.15.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/dependencies.yml +3 -3
- data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +4 -4
- data/ext/nokogiri/include/libxslt/xsltconfig.h +1 -1
- data/ext/nokogiri/xml_document.c +6 -2
- data/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/lib/nokogiri/version/constant.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 252e6733280e5d18c71bec040dc5da2676cf9719cd7fc0bdd7728d98cb701cac
|
4
|
+
data.tar.gz: 44e670c57ad13c81cfe7014259d1793e301bd297c71bd14718015cc40181e09f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9683dd56eefe129723d2b6fd7d582cf7618de8b1deae312f8b79fbbf853b4b2099388d035a3e388133b5753b53591c5267acf552da402ded230516e58f50d1d2
|
7
|
+
data.tar.gz: e20ea720331874b8382db47f599d81fb0ee70767bd41502547396e33cd8973565aebf846d5f04a26b1a7fcaad82403688830edc1f50ba4437191854f61998a11
|
data/dependencies.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
libxml2:
|
2
|
-
version: "2.11.
|
3
|
-
sha256: "
|
4
|
-
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.
|
2
|
+
version: "2.11.5"
|
3
|
+
sha256: "3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6"
|
4
|
+
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.sha256sum
|
5
5
|
|
6
6
|
libxslt:
|
7
7
|
version: "1.1.38"
|
@@ -29,21 +29,21 @@ XMLPUBFUN void xmlCheckVersion(int version);
|
|
29
29
|
*
|
30
30
|
* the version string like "1.2.3"
|
31
31
|
*/
|
32
|
-
#define LIBXML_DOTTED_VERSION "2.11.
|
32
|
+
#define LIBXML_DOTTED_VERSION "2.11.5"
|
33
33
|
|
34
34
|
/**
|
35
35
|
* LIBXML_VERSION:
|
36
36
|
*
|
37
37
|
* the version number: 1.2.3 value is 10203
|
38
38
|
*/
|
39
|
-
#define LIBXML_VERSION
|
39
|
+
#define LIBXML_VERSION 21105
|
40
40
|
|
41
41
|
/**
|
42
42
|
* LIBXML_VERSION_STRING:
|
43
43
|
*
|
44
44
|
* the version number string, 1.2.3 value is "10203"
|
45
45
|
*/
|
46
|
-
#define LIBXML_VERSION_STRING "
|
46
|
+
#define LIBXML_VERSION_STRING "21105"
|
47
47
|
|
48
48
|
/**
|
49
49
|
* LIBXML_VERSION_EXTRA:
|
@@ -58,7 +58,7 @@ XMLPUBFUN void xmlCheckVersion(int version);
|
|
58
58
|
* Macro to check that the libxml version in use is compatible with
|
59
59
|
* the version the software has been compiled against
|
60
60
|
*/
|
61
|
-
#define LIBXML_TEST_VERSION xmlCheckVersion(
|
61
|
+
#define LIBXML_TEST_VERSION xmlCheckVersion(21105);
|
62
62
|
|
63
63
|
#ifndef VMS
|
64
64
|
#if 0
|
@@ -132,7 +132,7 @@ extern "C" {
|
|
132
132
|
#ifndef WITH_MODULES
|
133
133
|
#define WITH_MODULES
|
134
134
|
#endif
|
135
|
-
#define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x64-
|
135
|
+
#define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x64-mingw32/libxslt/1.1.38/lib/libxslt-plugins"
|
136
136
|
#endif
|
137
137
|
|
138
138
|
/**
|
data/ext/nokogiri/xml_document.c
CHANGED
@@ -100,11 +100,15 @@ memsize_node(const xmlNodePtr node)
|
|
100
100
|
{
|
101
101
|
/* note we don't count namespace definitions, just going for a good-enough number here */
|
102
102
|
xmlNodePtr child;
|
103
|
+
xmlAttrPtr property;
|
103
104
|
size_t memsize = 0;
|
104
105
|
|
105
106
|
memsize += xmlStrlen(node->name);
|
106
|
-
|
107
|
-
|
107
|
+
|
108
|
+
if (node->type == XML_ELEMENT_NODE) {
|
109
|
+
for (property = node->properties; property; property = property->next) {
|
110
|
+
memsize += sizeof(xmlAttr) + memsize_node((xmlNodePtr)property);
|
111
|
+
}
|
108
112
|
}
|
109
113
|
if (node->type == XML_TEXT_NODE) {
|
110
114
|
memsize += xmlStrlen(node->content);
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.15.
|
4
|
+
version: 1.15.4
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
@@ -20,7 +20,7 @@ authors:
|
|
20
20
|
autorequire:
|
21
21
|
bindir: bin
|
22
22
|
cert_chain: []
|
23
|
-
date: 2023-
|
23
|
+
date: 2023-08-11 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: racc
|