nokogiri 1.17.0 → 1.17.1

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: e080457d5bfcbaaecd8541a803633978c161abc627935322b7e6dfdf93701fbb
4
- data.tar.gz: c02d17bed58fdc05d34f230d9ff02dba1e4a738e605408b11786ffaadb89df03
3
+ metadata.gz: 230b73bb62a758e269b3ed83258a58a2774fdda77c4a7a8534cce7f37e0b75be
4
+ data.tar.gz: f5a1b2fc0d3a0eb621abce2c9b454882986866bf203a720fe7229f52146a1a65
5
5
  SHA512:
6
- metadata.gz: 93b4c5abc366ed92ecda3023211bcf74cc13897a443d69fd84f11ce9c1fb9400950aa216edb21925ef8a1377c447291d4c159c21157cb5a5c3307da5074098bc
7
- data.tar.gz: 944288d73f54fa630624de281c3534bdd1b22ecca58f0a1c03aa79dbd90b23a6f2732855d5f8e2df8e4d4cb74b7fd8192c6d3ae11eed7eacf4415f4d3f734640
6
+ metadata.gz: 2059cf1204b6009fd175359182d1f2dc53d89de4f67abc3ced29d5b27056ae7c2ba61b08a777ac7d7bac795056d6d2415b13dba073fb98b958ff13193ea0930c
7
+ data.tar.gz: 143d4ad4d9bd26777c59d3650737a77abf4c804240ac5b01c78291399308701657cc4e1dca0541db0977311c7ab47454b1b9f6c92ca5d584f7bf26def585b858
@@ -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
 
@@ -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: ruby
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: mini_portile2
@@ -302,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
302
302
  - !ruby/object:Gem::Version
303
303
  version: '0'
304
304
  requirements: []
305
- rubygems_version: 3.5.22
305
+ rubygems_version: 3.5.11
306
306
  signing_key:
307
307
  specification_version: 4
308
308
  summary: Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.