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 +4 -4
- data/Gemfile +6 -6
- data/README.md +18 -3
- data/ext/nokogiri/extconf.rb +1 -1
- data/ext/nokogiri/xml_document.c +9 -5
- data/lib/nokogiri/class_resolver.rb +0 -2
- data/lib/nokogiri/nokogiri.jar +0 -0
- data/lib/nokogiri/version/constant.rb +1 -1
- metadata +4 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: baf5d7a1fdf41c3881896c1a79b9610714d412eb6047fad015cc239efaebcbb0
|
|
4
|
+
data.tar.gz: 491e2862115f0ad5ddc9abac38317d32810f3f5535d249c162996ad7424d9340
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
14
|
-
gem "rake-compiler-dock", "1.
|
|
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", "
|
|
21
|
-
gem "minitest-
|
|
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", "
|
|
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.
|
|
118
|
-
- JRuby >=
|
|
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
|
|
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> <b>Sentry</b></span>
|
|
302
|
+
|
|
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> <b>Codecov</b></span>
|
|
304
|
+
|
|
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> <b>Gusto</b></span>
|
|
306
|
+
|
|
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> <b>HasData</b></span>
|
|
308
|
+
</p>
|
data/ext/nokogiri/extconf.rb
CHANGED
|
@@ -619,7 +619,7 @@ end
|
|
|
619
619
|
def needs_darwin_linker_hack
|
|
620
620
|
config_cross_build? &&
|
|
621
621
|
darwin? &&
|
|
622
|
-
Gem::Requirement.new("
|
|
622
|
+
Gem::Requirement.new(">= 3.2").satisfied_by?(Gem::Version.new(RbConfig::CONFIG["ruby_version"].split("+").first))
|
|
623
623
|
end
|
|
624
624
|
|
|
625
625
|
#
|
data/ext/nokogiri/xml_document.c
CHANGED
|
@@ -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
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
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
|
|
data/lib/nokogiri/nokogiri.jar
CHANGED
|
Binary file
|
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.
|
|
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:
|
|
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.
|
|
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
|
|
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: []
|