guix_mirror_bot pushed a commit to branch master in repository guix. commit 34a63eacdeeb904929158667bce87bcf1baa056d Author: Nicolas Graves <ngra...@ngraves.fr> AuthorDate: Wed Jun 18 16:28:03 2025 +0200
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. --- gnu/packages/patches/ruby-nokogiri.patch | 29 ++++++++++------------------- gnu/packages/ruby-xyz.scm | 6 +++--- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/gnu/packages/patches/ruby-nokogiri.patch b/gnu/packages/patches/ruby-nokogiri.patch index b55b430234..957d56eede 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 ef98f9b4e7..9a8816c0f0 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