nokogiri 1.18.0-x86_64-darwin → 1.18.2-x86_64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -2
- data/ext/nokogiri/xml_sax_parser_context.c +8 -2
- data/lib/nokogiri/3.1/nokogiri.bundle +0 -0
- data/lib/nokogiri/3.2/nokogiri.bundle +0 -0
- data/lib/nokogiri/3.3/nokogiri.bundle +0 -0
- data/lib/nokogiri/3.4/nokogiri.bundle +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: 426a73775973cdf00c15f11c4a33df0ccf2c1118b1a8266a61a9c4ea58942164
|
4
|
+
data.tar.gz: c934e4231b69013019430165f4f9541e01c5f1a3c4a7c841bc5fafcdb8874bcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9dd4ca85de7f7a7d4e3893cde04ff95bce2896bc23389a6e04109b2031915f7b80fb88fba21ba38c2980a42da1c94bc50ff8fbf1be558080e0fac26dbe7f9f7
|
7
|
+
data.tar.gz: 3b9176c2f6baaa470bea68f5136c4e23527c654b3b2f3e5f0176e3b0d19b3a0b245ee1320939a2bbb08793b23a6e7172604d35b10fd61c5d1ed5a5373bd4b4f0
|
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: x86_64-darwin
|
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
|