summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-06-18 16:28:03 +0200
committerAndreas Enge <andreas@enge.fr>2025-06-20 20:40:08 +0200
commit34a63eacdeeb904929158667bce87bcf1baa056d (patch)
tree72e0ad1e5c792be1417b6a4b8f1d3ade35e8997f /gnu
parentbbcaa1f5c26b092da6f2aeceedc5c83f8339613e (diff)
gnu: ruby-nokogiri: Update to 1.16.8.
* gnu/packages/patches/ruby-nokogiri.patch: Refresh patch. * gnu/packages/ruby-xyz.scm (ruby-nokogiri): Update to 1.16.8.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/patches/ruby-nokogiri.patch29
-rw-r--r--gnu/packages/ruby-xyz.scm6
2 files changed, 13 insertions, 22 deletions
diff --git a/gnu/packages/patches/ruby-nokogiri.patch b/gnu/packages/patches/ruby-nokogiri.patch
index b55b4302344..957d56eede7 100644
--- a/gnu/packages/patches/ruby-nokogiri.patch
+++ b/gnu/packages/patches/ruby-nokogiri.patch
@@ -1,29 +1,20 @@
-Description: Removed some unnecessary test setup such as SimpleCov and
- minitest-reporters.
+Description: Removed some unnecessary test setup such as SimpleCov.
diff --git a/test/helper.rb b/test/helper.rb
-index ed3133c6..4f5d4f1b 100644
+index c84c6f06..9f8022c0 100644
--- a/test/helper.rb
+++ b/test/helper.rb
-@@ -13,22 +13,10 @@
- # - NOKOGIRI_GC: read more in test/test_memory_leak.rb
+@@ -12,14 +12,6 @@
+ # - NOKOGIRI_MEMORY_SUITE: read more in test/test_memory_usage.rb
#
--require "simplecov"
--SimpleCov.start do
-- add_filter "/test/"
-- enable_coverage :branch
+-unless ENV["RUBY_MEMCHECK_RUNNING"]
+- require "simplecov"
+- SimpleCov.start do
+- add_filter "/test/"
+- enable_coverage :branch
+- end
-end
-
$VERBOSE = true
- require "minitest/autorun"
- require "minitest/benchmark"
--require "minitest/reporters"
--
--nokogiri_minitest_reporters_options = { color: true, slow_count: 10, detailed_skip: false }
--nokogiri_minitest_reporters_options[:fast_fail] = true if ENV["NOKOGIRI_TEST_FAIL_FAST"]
--puts "Minitest::Reporters options: #{nokogiri_minitest_reporters_options}"
--Minitest::Reporters.use!(Minitest::Reporters::DefaultReporter.new(nokogiri_minitest_reporters_options))
-
require "fileutils"
- require "tempfile"
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index ef98f9b4e76..9a8816c0f02 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -6077,16 +6077,16 @@ that provides the ability to deal with POSIX tar archive files.")
(define-public ruby-nokogiri
(package
(name "ruby-nokogiri")
- (version "1.15.2")
+ (version "1.16.8")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sparklemotion/nokogiri")
- (commit "a6ad20b3edc8f020043ccfe5d9ec6ae9af103720")))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "1n0vlg6v58jw3qzgyihz1dh5fvp4js1qgdh75j0kn47nvyiw3jxj"))
+ "09fkjvs4n9n0k0b2qyiq5pxrzidb5a7xaklpckslbcm9fb2gvsq9"))
(patches (search-patches "ruby-nokogiri.patch"))))
(build-system ruby-build-system)
(arguments