nokogiri 1.18.0-x86_64-linux-musl → 1.18.2-x86_64-linux-musl

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: 5175dd79d221bad9cea3dc95f0894c3593bd67391d2d1c1a8ffa165c045aeeb7
4
- data.tar.gz: beb6c2877f619ee369abd45e39dfc388867d2d615517c1348c33fa62bdc4ff4c
3
+ metadata.gz: a068dc1ddd9a1712c0e9cb899dc4b3afab2e6e53eade5b9d97c85a162552c8d6
4
+ data.tar.gz: 2689e293632774c4984a378d8127920781880f01237f486737fd62db667779b7
5
5
  SHA512:
6
- metadata.gz: 61a39cd0d88f8a4af68bb31a7332ab8f4cdb42237d3faaec1099cf67e67fc1d2fd6713ab66194e65f6d5f10f3cdad6fce1a4778dea67ccbcd5e3351df705542a
7
- data.tar.gz: 5249dbb88924722303df3b2c27923157682ebbca2e9003ebf1fe8ba31aec77a63006c0d3cc9f4d620242d0d10c04b5e76ea0bb39b69ef80b7e762593a9b9ccb9
6
+ metadata.gz: 2ff5b7b8550580cd0e78449ca776b7e30a932563645edb8f58f05eae64b62a8ed480d692ac556709ae17b5b1b4244b2f3ec59aca4dfd0ef51ad81624f67e6047
7
+ data.tar.gz: 4bb2b970166a29865c67851f55255c57337b686459794165b4d83c73b0e664f3e4d63e8fe899e3bd836ce74b42ee79df799c92cb889007aab4a5198881132eb2
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/x86_64-linux-musl/libxslt/1.1.42/lib/libxslt-plugins"
115
+ #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/aarch64-linux-musl/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
- 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-linux-musl
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