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.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54bafe728e1eaf92f7d8abe7f4688953555829d33a3e506a4fcd92a12bc53ffc
4
- data.tar.gz: 3e3c3bcd2d8206b80393835e087ce03dfc6d2239276904dba614abbe27691179
3
+ metadata.gz: 426a73775973cdf00c15f11c4a33df0ccf2c1118b1a8266a61a9c4ea58942164
4
+ data.tar.gz: c934e4231b69013019430165f4f9541e01c5f1a3c4a7c841bc5fafcdb8874bcc
5
5
  SHA512:
6
- metadata.gz: 00c3dde2650092903fcf63b05923d32855d7eb7b2a7557f31af4a45b1f580b19c2cc168ef103d09754d485712e6166a08ad52af9eaa9fc3500b498b2e08e37b3
7
- data.tar.gz: f8600e5f4cf297e80be69b425e1f1e41dddbeed19c4c4326d8964ad0519340dda778d175946625cc02a4d971c9ee2e2726afcb9ed8957793599afaa54b892a72
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
- 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: 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: 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