~ruther/guix-local

34a63eacdeeb904929158667bce87bcf1baa056d — Nicolas Graves 1 year, 1 month ago bbcaa1f
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.
2 files changed, 13 insertions(+), 22 deletions(-)

M gnu/packages/patches/ruby-nokogiri.patch
M gnu/packages/ruby-xyz.scm
M gnu/packages/patches/ruby-nokogiri.patch => gnu/packages/patches/ruby-nokogiri.patch +10 -19
@@ 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"

M gnu/packages/ruby-xyz.scm => gnu/packages/ruby-xyz.scm +3 -3
@@ 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