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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 516b3ad2871a364c880639649eb8354c9f468c68008b82c0ae6fa89bfd64b4c2
4
- data.tar.gz: ffd548cd90873515c461952e5cd1261de28b6ca580383de9f249e8ce130c22c5
3
+ metadata.gz: f9c98cd8b96dcb9592e88faaad72ed33c443975d459761db71279428a2d3d1be
4
+ data.tar.gz: 9e7a695ae5c9de181d291fc806c3320178c0c84968574b2bcf45cd80e76c7f11
5
5
  SHA512:
6
- metadata.gz: d3522d26b60ec814bedc7244c7888ed028e035a128f5dfb54f94fd668b9ce874f97202b5192552d5e24cfb7ce2837e2934e80ac1c66ca6ef6170386164258501
7
- data.tar.gz: ec28aebcd84b96ec610b89136e0b862ba0794d1e24fa2a6a23a5ea6976193f25b23e24b58a814eba5d17232f891ce79659c48211c7c47799b83b24b8d56cafa8
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
- return noko_xml_sax_parser_context_wrap(rb_class, c_context);
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
- return noko_xml_sax_parser_context_wrap(rb_class, c_context);
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") # apply the default namespace if it's declared
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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.18.0"
5
+ VERSION = "1.18.2"
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.18.0
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: 2024-12-25 00:00:00.000000000 Z
23
+ date: 2025-01-19 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: racc