nokogiri 1.15.5-x86_64-darwin → 1.15.7-x86_64-darwin
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 -4
- data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +4 -4
- data/ext/nokogiri/xml_node.c +7 -1
- data/lib/nokogiri/2.7/nokogiri.bundle +0 -0
- data/lib/nokogiri/3.0/nokogiri.bundle +0 -0
- data/lib/nokogiri/3.1/nokogiri.bundle +0 -0
- data/lib/nokogiri/3.2/nokogiri.bundle +0 -0
- data/lib/nokogiri/version/constant.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 428df163c41d0681be3b7661e923b3259c88caf0184ee3716195389cfd1fd26f
|
4
|
+
data.tar.gz: 9f933fefabcead9dafd8d373711334eac5085693e6db5dfc4902d272154f87d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc24016efea52616399a952e8a3f9faea4474e15a0112ea78e25d83ffe889c4e663523919bcf9c7213a52458cab29035904a7d8d149438ee7f66e26733550f70
|
7
|
+
data.tar.gz: 92c0f68d1dbbb8201407c6e01175a0b0849a6690ec2c57712247661c0a03c3f2d8ac3db701024910d86c267fa92aa7bf82e55a7af3b05dfca2514b61c879b833
|
data/dependencies.yml
CHANGED
@@ -1,8 +1,7 @@
|
|
1
|
-
|
2
1
|
libxml2:
|
3
|
-
version: "2.11.
|
4
|
-
sha256: "
|
5
|
-
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.
|
2
|
+
version: "2.11.7"
|
3
|
+
sha256: "fb27720e25eaf457f94fd3d7189bcf2626c6dccf4201553bc8874d50e3560162"
|
4
|
+
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.7.sha256sum
|
6
5
|
|
7
6
|
libxslt:
|
8
7
|
version: "1.1.39"
|
@@ -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.7"
|
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 21107
|
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 "21107"
|
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(21107);
|
62
62
|
|
63
63
|
#ifndef VMS
|
64
64
|
#if 0
|
data/ext/nokogiri/xml_node.c
CHANGED
@@ -1853,13 +1853,19 @@ is_one_of(xmlNodePtr node, char const *const *tagnames, size_t num_tagnames)
|
|
1853
1853
|
if (name == NULL) { // fragments don't have a name
|
1854
1854
|
return false;
|
1855
1855
|
}
|
1856
|
+
|
1857
|
+
if (node->ns != NULL) {
|
1858
|
+
// if the node has a namespace, it's in a foreign context and is not one of the HTML tags we're
|
1859
|
+
// matching against.
|
1860
|
+
return false;
|
1861
|
+
}
|
1862
|
+
|
1856
1863
|
for (size_t idx = 0; idx < num_tagnames; ++idx) {
|
1857
1864
|
if (!strcmp(name, tagnames[idx])) {
|
1858
1865
|
return true;
|
1859
1866
|
}
|
1860
1867
|
}
|
1861
1868
|
return false;
|
1862
|
-
|
1863
1869
|
}
|
1864
1870
|
|
1865
1871
|
static void
|
Binary file
|
Binary file
|
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.7
|
5
5
|
platform: x86_64-darwin
|
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:
|
23
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: racc
|
@@ -36,7 +36,6 @@ dependencies:
|
|
36
36
|
- - "~>"
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: '1.4'
|
39
|
-
force_ruby_platform: false
|
40
39
|
description: |
|
41
40
|
Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a
|
42
41
|
sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is
|