nokogiri 1.17.0-x86_64-linux → 1.17.1-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/nokogiri/xml_node.c +5 -0
- data/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/lib/nokogiri/3.1/nokogiri.so +0 -0
- data/lib/nokogiri/3.2/nokogiri.so +0 -0
- data/lib/nokogiri/3.3/nokogiri.so +0 -0
- data/lib/nokogiri/version/constant.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 648e6423141d7882b46a22455aa579b540063e00e583dc195f8eed2d74d362bf
|
4
|
+
data.tar.gz: 48fdd5079521fc1aa46b6672055cc3fa7815a6808266a6ccd3213158c56ff03b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea339139b0f707f1cf74aaf00909fec20e826ff9733138d67e1e2f8ca155ffeafce2f3b4526cbd80baf502a272c4a02f581510872e41001f4064db69993effc2
|
7
|
+
data.tar.gz: 20f1347ff914005a89dbde68c5bca3945928a0583473d6e8f4ed85454bc1ab051b1bfd60e0f3d2196e739fd644680f9da5f6de7202686520fb11e31f5424e5d3
|
data/ext/nokogiri/xml_node.c
CHANGED
@@ -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
|
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.
|
4
|
+
version: 1.17.1
|
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-
|
23
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: racc
|