nokogiri 1.18.0-x64-mingw-ucrt → 1.18.2-x64-mingw-ucrt
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 +4 -4
- data/Gemfile +1 -2
- data/ext/nokogiri/xml_sax_parser_context.c +8 -2
- 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/3.4/nokogiri.so +0 -0
- data/lib/nokogiri/css/xpath_visitor.rb +2 -1
- 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: f9c98cd8b96dcb9592e88faaad72ed33c443975d459761db71279428a2d3d1be
|
4
|
+
data.tar.gz: 9e7a695ae5c9de181d291fc806c3320178c0c84968574b2bcf45cd80e76c7f11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc5765d10a7560fe69920e6e287e9c3630da293dc2ebdf2215f3a246b0db9cd8c66fb4cb1fba46a76c6925b2f2a83a63f0a167b7109fcdfa462b97a7c9524a18
|
7
|
+
data.tar.gz: 5d8685a676481569b66951e1cf7d330f897d645ce6bd3d92ce1ef22aa3feefae00eab1d1320e12101798213895afdb533ddc176e1981edb4a2853caf6d1b3c2f
|
data/Gemfile
CHANGED
@@ -34,6 +34,5 @@ end
|
|
34
34
|
# `bundle config set --local without rdoc`
|
35
35
|
# Then re-run `bundle install`.
|
36
36
|
group :rdoc do
|
37
|
-
gem "rdoc", "6.10.0"
|
38
|
-
gem "jar-dependencies", "0.4.1" if RUBY_PLATFORM == "java" # https://github.com/jruby/jruby/issues/7262
|
37
|
+
gem "rdoc", "6.10.0" unless RUBY_PLATFORM == "java" || ENV["CI"]
|
39
38
|
end
|
@@ -102,7 +102,10 @@ noko_xml_sax_parser_context_s_native_io(VALUE rb_class, VALUE rb_io, VALUE rb_en
|
|
102
102
|
c_context->sax = NULL;
|
103
103
|
}
|
104
104
|
|
105
|
-
|
105
|
+
VALUE rb_context = noko_xml_sax_parser_context_wrap(rb_class, c_context);
|
106
|
+
rb_iv_set(rb_context, "@input", rb_io);
|
107
|
+
|
108
|
+
return rb_context;
|
106
109
|
}
|
107
110
|
|
108
111
|
/* :nodoc: */
|
@@ -154,7 +157,10 @@ noko_xml_sax_parser_context_s_native_memory(VALUE rb_class, VALUE rb_input, VALU
|
|
154
157
|
c_context->sax = NULL;
|
155
158
|
}
|
156
159
|
|
157
|
-
|
160
|
+
VALUE rb_context = noko_xml_sax_parser_context_wrap(rb_class, c_context);
|
161
|
+
rb_iv_set(rb_context, "@input", rb_input);
|
162
|
+
|
163
|
+
return rb_context;
|
158
164
|
}
|
159
165
|
|
160
166
|
/*
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -283,7 +283,8 @@ module Nokogiri
|
|
283
283
|
else
|
284
284
|
node.value.join(":")
|
285
285
|
end
|
286
|
-
elsif @namespaces&.key?("xmlns")
|
286
|
+
elsif node.value.first != "*" && @namespaces&.key?("xmlns")
|
287
|
+
# apply the default namespace (if one is present) to a non-wildcard selector
|
287
288
|
"xmlns:#{node.value.first}"
|
288
289
|
else
|
289
290
|
node.value.first
|
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.18.
|
4
|
+
version: 1.18.2
|
5
5
|
platform: x64-mingw-ucrt
|
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:
|
23
|
+
date: 2025-01-19 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: racc
|