nokogiri 1.15.5-x64-mingw32 → 1.15.7-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55b6647a56ef44e6ad929cd30ec9e5892bfa235363e961fcc41a27f19ae17463
4
- data.tar.gz: 83223f50f44b854795b273688faf96bb77e38d2595565817771b60b47debd66d
3
+ metadata.gz: a555f4066c9019628ba9dc67f9e6949576519a8ea57fce17ed0dcb3d94b48da6
4
+ data.tar.gz: f2c586de301b61818514514b4d5de143f6c478ffc0123595f91e226c1b5c1305
5
5
  SHA512:
6
- metadata.gz: 3672f9fd9e867df4b53c0634cfad0c3d727b535e3ef3b0d78a6dd9efaab547fba653e067aafac4f8d63f172f4ff19fb311285e804a410f4a28bdfff6996776c9
7
- data.tar.gz: 4c7426755334c7d21b70c07a4f0a5f11e11eaeed6f6b2253495810d0ce9e7f9441bfab8f844d4d2dadce502b8af2d836328d94e17a8cd4a4d34257b4965ddbe7
6
+ metadata.gz: 82a3993298158b7ad1ba8b5efe1e3ba3302b33c45bd171989c7d8dae564dafa55bf5b469549b0429a50cb2a20d51ceedda2c325030866bac6d7a3adf6cf331f0
7
+ data.tar.gz: 2855b0d56774f1a681bbe43a5dc3b255091386720a4f211b9da51a1596ac6ac84431b0007e4c1870765d5729bb1247b998a81d89387b53936459cf2cdf3edea2
data/dependencies.yml CHANGED
@@ -1,8 +1,7 @@
1
-
2
1
  libxml2:
3
- version: "2.11.6"
4
- sha256: "c90eee7506764abbe07bb616b82da452529609815aefef423d66ef080eb0c300"
5
- # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.6.sha256sum
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.6"
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 21106
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 "21106"
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(21106);
61
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21107);
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-mingw-ucrt/libxslt/1.1.39/lib/libxslt-plugins"
135
+ #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x64-mingw32/libxslt/1.1.39/lib/libxslt-plugins"
136
136
  #endif
137
137
 
138
138
  /**
@@ -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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.15.5"
5
+ VERSION = "1.15.7"
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.15.5
4
+ version: 1.15.7
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-11-17 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