mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
gnu: ruby-nokogiri: Update to 1.15.2.
* gnu/packages/ruby.scm (ruby-nokogiri): Update to 1.15.2. [source]<uri>: Use Git repository. <patches>: apply a patch to disable unneeded test setups. [arguments]: Enable check by running plain minitest. [home-page]: Update to current URL. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
fa52b9a64f
commit
e897569778
2 changed files with 61 additions and 22 deletions
29
gnu/packages/patches/ruby-nokogiri.patch
Normal file
29
gnu/packages/patches/ruby-nokogiri.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
Description: Removed some unnecessary test setup such as SimpleCov and
|
||||
minitest-reporters.
|
||||
diff --git a/test/helper.rb b/test/helper.rb
|
||||
index ed3133c6..4f5d4f1b 100644
|
||||
--- a/test/helper.rb
|
||||
+++ b/test/helper.rb
|
||||
@@ -13,22 +13,10 @@
|
||||
# - NOKOGIRI_GC: read more in test/test_memory_leak.rb
|
||||
#
|
||||
|
||||
-require "simplecov"
|
||||
-SimpleCov.start do
|
||||
- add_filter "/test/"
|
||||
- enable_coverage :branch
|
||||
-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"
|
Loading…
Add table
Add a link
Reference in a new issue