nokogiri 1.17.0-x86_64-linux → 1.17.2-x86_64-linux

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: 683a74474925fb431ef80e7cfddce97dfd7a5257e93585ce2483692d994dd4f4
4
- data.tar.gz: 05a5d26c86d8306076535b73fba3a71e1998ceac5b161d046c6519b4f5191bfe
3
+ metadata.gz: 650f2717fb19f2f80ca13a7065fc85c6ec9f940aba100c3a462b6c86e3e7da76
4
+ data.tar.gz: 8a0660bec860b0e62d1ac0cde573241280675525c7a8b901ec31d8712e39b753
5
5
  SHA512:
6
- metadata.gz: 05e47d832e47124d625d4d3696dc0fb1b36b8c8223c56957f71500327c46e8819638ea2ec0ea81524a32ca4858187497eec0974069e42a8c72d5a311559a3bcd
7
- data.tar.gz: 5bdd432241c45fb30293c995bc6fa94a3c2859e1b4c2632ac63de28867185fa1488995380d3c271be2a36ec12070bc76483eae4af10bf0400b499a2e630bd4b6
6
+ metadata.gz: 4f6467447a50eafe106f446e8836e8ea7ada703216877e761b1edada442f3d528dd1e9def7de7241baf54656ae3f823b9f6be88e4e436b9b215647e01a015fb0
7
+ data.tar.gz: dc14625b1d1bc76351f16e17fc1ded80918620bb33d64df62b1651c313f206722dbf55a68e231bd6ad7125c97985716b341b69648ce85bc668cfd0cfc88f08fd
@@ -969,6 +969,7 @@ rb_xml_node_initialize_copy_with_args(VALUE rb_self, VALUE rb_other, VALUE rb_le
969
969
  xmlNodePtr c_self, c_other;
970
970
  int c_level;
971
971
  xmlDocPtr c_new_parent_doc;
972
+ VALUE rb_node_cache;
972
973
 
973
974
  Noko_Node_Get_Struct(rb_other, xmlNode, c_other);
974
975
  c_level = (int)NUM2INT(rb_level);
@@ -980,6 +981,10 @@ rb_xml_node_initialize_copy_with_args(VALUE rb_self, VALUE rb_other, VALUE rb_le
980
981
  _xml_node_data_ptr_set(rb_self, c_self);
981
982
  noko_xml_document_pin_node(c_self);
982
983
 
984
+ rb_node_cache = DOC_NODE_CACHE(c_new_parent_doc);
985
+ rb_ary_push(rb_node_cache, rb_self);
986
+ rb_funcall(rb_new_parent_doc, id_decorate, 1, rb_self);
987
+
983
988
  return rb_self;
984
989
  }
985
990
 
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.17.0"
5
+ VERSION = "1.17.2"
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.17.0
4
+ version: 1.17.2
5
5
  platform: x86_64-linux
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-12-08 00:00:00.000000000 Z
23
+ date: 2024-12-12 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: racc