nokogiri 1.16.6-arm64-darwin → 1.16.8-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2742803311af8753b77807d263b58536089a63dba59298de3ff8edd8ef7734d7
4
- data.tar.gz: 81abed33f9f645acc8ea40c790b23b174036e06ed86cad02e6fea8c43c94ef1c
3
+ metadata.gz: 28aba9d50ac5d7244f9c63819395d0f60e83c047a2fdaa0b0c0bbbcc5f92e4cb
4
+ data.tar.gz: fa906036a457a793129ca95758dfd9b38672f044328c62160a28f46642cd67e2
5
5
  SHA512:
6
- metadata.gz: 9cea603c9027589a1de7c33e5d4037fb74a356c445b6fc55aa8caf24cb8b77cf4eb9eaa636afbd27ee7ed4a427905108055d0f77bf6dd9fe60e292a88eb874c6
7
- data.tar.gz: 365269645a12f485b8e3d97a47f9523edf3efa9d39a8c12d116b8fdf26538f4c4531d732197a04bfff6e6e88d116f9ef4af424b8b0452bd4dda8c180032cef71
6
+ metadata.gz: 00d3739b4b099b39c57d57dd26b703f44d576a4f55b577404865312583cb9e81d8ed7b9d3e1633115bf96e2bf105ab9f6c2ac1f55b04a0cc7ff907504674eb38
7
+ data.tar.gz: d214801e63cfbee1f5a8e732d11bd7fed0358aa43bc7cf64b216c48f85bc855119b17b3663f654fb83cc5507aa3e85b35c638897584305d0ac63294a6b82ee50
data/dependencies.yml CHANGED
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  libxml2:
3
- version: "2.12.8"
4
- sha256: "43ad877b018bc63deb2468d71f95219c2fac196876ef36d1bee51d226173ec93"
5
- # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.8.sha256sum
3
+ version: "2.12.9"
4
+ sha256: "59912db536ab56a3996489ea0299768c7bcffe57169f0235e7f962a91f483590"
5
+ # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.9.sha256sum
6
6
 
7
7
  libxslt:
8
8
  version: "1.1.39"
@@ -953,7 +953,7 @@ XML_DEPRECATED XMLPUBFUN int
953
953
  xmlSubstituteEntitiesDefault(int val);
954
954
  XML_DEPRECATED XMLPUBFUN int
955
955
  xmlThrDefSubstituteEntitiesDefaultValue(int v);
956
- XML_DEPRECATED XMLPUBFUN int
956
+ XMLPUBFUN int
957
957
  xmlKeepBlanksDefault (int val);
958
958
  XML_DEPRECATED XMLPUBFUN int
959
959
  xmlThrDefKeepBlanksDefaultValue(int v);
@@ -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.12.8"
32
+ #define LIBXML_DOTTED_VERSION "2.12.9"
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 21208
39
+ #define LIBXML_VERSION 21209
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 "21208"
46
+ #define LIBXML_VERSION_STRING "21209"
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(21208);
61
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21209);
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/x86_64-darwin/libxslt/1.1.39/lib/libxslt-plugins"
135
+ #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/arm64-darwin/libxslt/1.1.39/lib/libxslt-plugins"
136
136
  #endif
137
137
 
138
138
  /**
@@ -1849,13 +1849,19 @@ is_one_of(xmlNodePtr node, char const *const *tagnames, size_t num_tagnames)
1849
1849
  if (name == NULL) { // fragments don't have a name
1850
1850
  return false;
1851
1851
  }
1852
+
1853
+ if (node->ns != NULL) {
1854
+ // if the node has a namespace, it's in a foreign context and is not one of the HTML tags we're
1855
+ // matching against.
1856
+ return false;
1857
+ }
1858
+
1852
1859
  for (size_t idx = 0; idx < num_tagnames; ++idx) {
1853
1860
  if (!strcmp(name, tagnames[idx])) {
1854
1861
  return true;
1855
1862
  }
1856
1863
  }
1857
1864
  return false;
1858
-
1859
1865
  }
1860
1866
 
1861
1867
  static void
Binary file
Binary file
Binary file
Binary file
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.16.6"
5
+ VERSION = "1.16.8"
6
6
  end
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.16.6
4
+ version: 1.16.8
5
5
  platform: arm64-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: 2024-06-13 00:00:00.000000000 Z
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