nokogiri 1.17.0-x64-mingw32 → 1.17.1-x64-mingw32

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: ce3dd8dee171520df0a6609c823487ef0cafe4e9b34910abea9600863df92a9b
4
- data.tar.gz: 90393fd731713646ec5cf37f1891a61d9be8d2eb770f64f9d94692d25121937f
3
+ metadata.gz: b36378f26bb47599f9ba09eef7661a3de6a01f5b159a4a6d6428478603b9d792
4
+ data.tar.gz: db9ce910127f296ceb114cef47a7a27c4f50c41f264a6cff69300f68109cf67d
5
5
  SHA512:
6
- metadata.gz: ce811370b28af11830389f8975f4b0ddd5e2eee54c8f7183b47ec5db7760c07fcac5a439f789c1b89d5e5e1aa0661916ef9519a94abb61209096150730d002f4
7
- data.tar.gz: ad8e9f85376562ea822eeda992861fb3826d360f30d9386f6a8d15969f44bab79992f61635897d1face5d1d99f4f8c3f3c6475f011d7b82cb664946ad7cc541b
6
+ metadata.gz: 58836f4c81542a30cc0240304838bbeacfa967a6831eb5c399aca84e30ab9592a0cef02d9c72af746f0308a6d7f4365162e7012d30c6c17cff408363ee84d1f2
7
+ data.tar.gz: ea1ed588107f5d150c08065168d509a6df962c5334be20f3cdaf6a38c89b0e5f7206a5568f871b9b822b8de79cfc7addf1b327e530d13cdcafc9cf962eac97b2
@@ -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
@@ -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.1"
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.1
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: 2024-12-08 00:00:00.000000000 Z
23
+ date: 2024-12-10 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: racc