nokogiri 1.18.0-x86_64-linux-gnu → 1.18.2-x86_64-linux-gnu
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/include/libxslt/xsltconfig.h +1 -1
- 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: a6da5ac5169a3ceff1c26c8a7aab43509527cf3b29cc87f737663da2fac2e7f8
|
4
|
+
data.tar.gz: 8a98a00f1399e8c33b77ed435f1930bbe724cf780e58eda666a747f9c601e629
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93c97f88f08c797b7d50334de3e1154cd2d5c81ab5f3e094aec6e1f21594abeadf5e41c9ab6b8a2b349ba29f1d7374d86d9de834153c46d9e8409035486f3943
|
7
|
+
data.tar.gz: 41cbf05d31aa190bb3937e664af9537301195a31a04c534d94529460606a5d374c177b03570f45e98c00182ba1a7754189309bab22c72265fef6592c26d41935
|
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
|
@@ -112,7 +112,7 @@ extern "C" {
|
|
112
112
|
#ifndef WITH_MODULES
|
113
113
|
#define WITH_MODULES
|
114
114
|
#endif
|
115
|
-
#define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/
|
115
|
+
#define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/aarch64-linux-gnu/libxslt/1.1.42/lib/libxslt-plugins"
|
116
116
|
#endif
|
117
117
|
|
118
118
|
/**
|
@@ -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-linux-gnu
|
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
|