nokogiri 1.18.10-java → 1.19.1-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a785c30836ab3ef9765e8e11c5e272301ca6dd9c94381484a4781cb34176282
4
- data.tar.gz: 4eb35f61d4c74cd981e2edbbaf47100474f26d9d68aa91a937d3de7fd2e8dd8c
3
+ metadata.gz: baf5d7a1fdf41c3881896c1a79b9610714d412eb6047fad015cc239efaebcbb0
4
+ data.tar.gz: 491e2862115f0ad5ddc9abac38317d32810f3f5535d249c162996ad7424d9340
5
5
  SHA512:
6
- metadata.gz: bb80c0e97e060c38966361aa10f740e3c8bec74f00e40de3783e517146e746b12854294676801f2bd38b1736e42e3d46e0e4d2f322c1acbbf83ad6370a4eb272
7
- data.tar.gz: 20148d26e1d886c2da1df14816f3b503db65d940d0db590d6d54a711aab7c16d6504f731b1cb836d789bdfac97d0994d1090e165fdebe4a6577d73ae44a9f4f3
6
+ metadata.gz: 87649b5e549bf388fba32975de4e00a52eb28f0259a72ca993c753f41c1f44c205357ebae89d1d9a4a7e56f3d013c8b360a77f21f006605aef5700cddcae599f
7
+ data.tar.gz: 19ca6deeaa174b4b16b020e2d9ec47498552283684fa0b30acbbecd9f79f973884c8959f3ef55a2ca26aff6bedc8a11a6f86d663d2f37310f21b67ee165179f4
data/Gemfile CHANGED
@@ -6,19 +6,19 @@ gemspec
6
6
 
7
7
  group :development do
8
8
  # bootstrapping
9
- gem "bundler", "~> 2.3"
10
9
  gem "rake", "13.2.1"
11
10
 
12
11
  # building extensions
13
- gem "rake-compiler", "1.2.8"
14
- gem "rake-compiler-dock", "1.7.0"
12
+ gem "rake-compiler", "1.3.1"
13
+ gem "rake-compiler-dock", "1.11.1"
15
14
 
16
15
  # parser generator
17
16
  gem "rexical", "1.0.8"
18
17
 
19
18
  # tests
20
- gem "minitest", "5.25.4"
21
- gem "minitest-parallel_fork", "2.0.0"
19
+ gem "minitest", "6.0.1"
20
+ gem "minitest-mock", "5.27.0"
21
+ gem "minitest-parallel_fork", "2.1.1"
22
22
  gem "ruby_memcheck", "3.0.0"
23
23
  gem "rubyzip", "~> 2.3.2"
24
24
  gem "simplecov", "= 0.21.2"
@@ -36,5 +36,5 @@ end
36
36
  # `bundle config set --local without rdoc`
37
37
  # Then re-run `bundle install`.
38
38
  group :rdoc do
39
- gem "rdoc", "6.10.0" unless RUBY_PLATFORM == "java" || ENV["CI"]
39
+ gem "rdoc", "7.0.3" unless RUBY_PLATFORM == "java" || ENV["CI"]
40
40
  end
data/README.md CHANGED
@@ -114,8 +114,8 @@ You can help sponsor the maintainers of this software through one of these organ
114
114
 
115
115
  Requirements:
116
116
 
117
- - Ruby >= 3.1
118
- - JRuby >= 9.4.0.0
117
+ - Ruby >= 3.2
118
+ - JRuby >= 10.0
119
119
 
120
120
  If you are compiling the native extension against a system version of libxml2:
121
121
 
@@ -135,7 +135,7 @@ Nokogiri ships pre-compiled, "native" gems for the following platforms:
135
135
  - `x86_64-linux-musl`, `aarch64-linux-musl`, and `arm-linux-musl`
136
136
  - Darwin/MacOS: `x86_64-darwin` and `arm64-darwin`
137
137
  - Windows: `x64-mingw-ucrt`
138
- - Java: any platform running JRuby 9.4 or higher
138
+ - Java: any platform running JRuby 10.0 or higher
139
139
 
140
140
  To determine whether your system supports one of these gems, look at the output of `bundle platform` or `ruby -e 'puts Gem::Platform.local.to_s'`.
141
141
 
@@ -291,3 +291,18 @@ Some additional libraries may be distributed with your version of Nokogiri. Plea
291
291
  - Sergio Arbeo
292
292
  - Timothy Elliott
293
293
  - Nobuyoshi Nakada
294
+
295
+
296
+ ## Sponsors
297
+
298
+ These folks have generously sponsored Nokogiri's development. Thank you for your support!
299
+
300
+ <p class="sponsors">
301
+ <span style="white-space: nowrap;"><a href="https://sentry.io"><img src="https://nokogiri.org/images/sponsors/sentry-icon.png" alt="Sentry" height="44" style="vertical-align: middle;"></a>&nbsp;<b>Sentry</b></span>
302
+ &nbsp;&nbsp;&nbsp;&nbsp;
303
+ <span style="white-space: nowrap;"><a href="https://codecov.io"><img src="https://nokogiri.org/images/sponsors/codecov-icon.png" alt="Codecov" height="44" style="vertical-align: middle;"></a>&nbsp;<b>Codecov</b></span>
304
+ &nbsp;&nbsp;&nbsp;&nbsp;
305
+ <span style="white-space: nowrap;"><a href="https://gusto.com"><img src="https://nokogiri.org/images/sponsors/gusto-icon.png" alt="Gusto" height="44" style="vertical-align: middle;"></a>&nbsp;<b>Gusto</b></span>
306
+ &nbsp;&nbsp;&nbsp;&nbsp;
307
+ <span style="white-space: nowrap;"><a href="https://hasdata.com"><img src="https://nokogiri.org/images/sponsors/hasdata-icon.png" alt="HasData" height="44" style="vertical-align: middle;"></a>&nbsp;<b>HasData</b></span>
308
+ </p>
@@ -619,7 +619,7 @@ end
619
619
  def needs_darwin_linker_hack
620
620
  config_cross_build? &&
621
621
  darwin? &&
622
- Gem::Requirement.new("~> 3.2").satisfied_by?(Gem::Version.new(RbConfig::CONFIG["ruby_version"].split("+").first))
622
+ Gem::Requirement.new(">= 3.2").satisfied_by?(Gem::Version.new(RbConfig::CONFIG["ruby_version"].split("+").first))
623
623
  end
624
624
 
625
625
  #
@@ -652,15 +652,19 @@ rb_xml_document_canonicalize(int argc, VALUE *argv, VALUE self)
652
652
  }
653
653
  }
654
654
 
655
- xmlC14NExecute(c_doc, c_callback_wrapper, rb_callback,
656
- c_mode,
657
- c_namespaces,
658
- (int)RTEST(rb_comments_p),
659
- c_obuf);
655
+ int ret = xmlC14NExecute(c_doc, c_callback_wrapper, rb_callback,
656
+ c_mode,
657
+ c_namespaces,
658
+ (int)RTEST(rb_comments_p),
659
+ c_obuf);
660
660
 
661
661
  ruby_xfree(c_namespaces);
662
662
  xmlOutputBufferClose(c_obuf);
663
663
 
664
+ if (ret < 0) {
665
+ rb_raise(rb_eRuntimeError, "canonicalization failed");
666
+ }
667
+
664
668
  return rb_funcall(rb_io, rb_intern("string"), 0);
665
669
  }
666
670
 
@@ -1,8 +1,6 @@
1
1
  # coding: utf-8
2
2
  # frozen_string_literal: true
3
3
 
4
- require "set"
5
-
6
4
  module Nokogiri
7
5
  #
8
6
  # Some classes in Nokogiri are namespaced as a group, for example
Binary file
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.18.10"
5
+ VERSION = "1.19.1"
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.10
4
+ version: 1.19.1
5
5
  platform: java
6
6
  authors:
7
7
  - Mike Dalessio
@@ -17,10 +17,9 @@ authors:
17
17
  - Sergio Arbeo
18
18
  - Timothy Elliott
19
19
  - Nobuyoshi Nakada
20
- autorequire:
21
20
  bindir: bin
22
21
  cert_chain: []
23
- date: 2025-09-15 00:00:00.000000000 Z
22
+ date: 2026-02-16 00:00:00.000000000 Z
24
23
  dependencies:
25
24
  - !ruby/object:Gem::Dependency
26
25
  name: jar-dependencies
@@ -329,7 +328,6 @@ metadata:
329
328
  changelog_uri: https://nokogiri.org/CHANGELOG.html
330
329
  source_code_uri: https://github.com/sparklemotion/nokogiri
331
330
  rubygems_mfa_required: 'true'
332
- post_install_message:
333
331
  rdoc_options:
334
332
  - "--main"
335
333
  - README.md
@@ -340,7 +338,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
340
338
  requirements:
341
339
  - - ">="
342
340
  - !ruby/object:Gem::Version
343
- version: 3.1.0
341
+ version: '3.2'
344
342
  required_rubygems_version: !ruby/object:Gem::Requirement
345
343
  requirements:
346
344
  - - ">="
@@ -355,8 +353,7 @@ requirements:
355
353
  - jar xalan, xalan, 2.7.3
356
354
  - jar xerces, xercesImpl, 2.12.2
357
355
  - jar xml-apis, xml-apis, 1.4.01
358
- rubygems_version: 3.3.25
359
- signing_key:
356
+ rubygems_version: 3.6.3
360
357
  specification_version: 4
361
358
  summary: Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
362
359
  test_files: []