nokogiri 1.15.6-java → 1.15.7-java
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/ext/nokogiri/xml_node.c +7 -1
- data/lib/nokogiri/nokogiri.jar +0 -0
- data/lib/nokogiri/version/constant.rb +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 010e980be6c895a3d263cbfe2fa971e3c7d9fd2e470bc55dbc328106d62fef2d
|
4
|
+
data.tar.gz: b3fa0eabb5dcfd9f0cc526bc275ef1f317e6a30a21d596ac7babf11661548b8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d339a34ffa47797bb50479b47d3d7553f52089fae368478ea6244ed47f31196eca34fd0103c22cca3a91d1bd32d1055b00d497a8e5fc71e8e6e9fc3dd2715a1
|
7
|
+
data.tar.gz: 68e46a6cf1930112069b8a850cf635cbced63988d6040c49d59f36c68b26a58f471976b8b3a4f0648d33c4ec0eaff1ca9ee6097266b6230eef9ad4d54fd45fcd
|
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
|
data/lib/nokogiri/nokogiri.jar
CHANGED
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: java
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
@@ -20,15 +20,15 @@ authors:
|
|
20
20
|
autorequire:
|
21
21
|
bindir: bin
|
22
22
|
cert_chain: []
|
23
|
-
date: 2024-
|
23
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
+
name: jar-dependencies
|
26
27
|
requirement: !ruby/object:Gem::Requirement
|
27
28
|
requirements:
|
28
29
|
- - '='
|
29
30
|
- !ruby/object:Gem::Version
|
30
31
|
version: 0.4.1
|
31
|
-
name: jar-dependencies
|
32
32
|
type: :development
|
33
33
|
prerelease: false
|
34
34
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -37,13 +37,12 @@ dependencies:
|
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: 0.4.1
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
|
-
|
40
|
+
name: racc
|
41
41
|
requirement: !ruby/object:Gem::Requirement
|
42
42
|
requirements:
|
43
43
|
- - "~>"
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '1.4'
|
46
|
-
name: racc
|
47
46
|
type: :runtime
|
48
47
|
prerelease: false
|
49
48
|
version_requirements: !ruby/object:Gem::Requirement
|