sharlatan pushed a commit to branch ruby-team
in repository guix.
commit aa084e345f78f0e3af05d856e0d7870356b03d5c
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Jan 31 09:20:14 2025 +0100
gnu: Remove ruby-minitest-4.
* gnu/packages/ruby.scm (ruby-minitest-4): Delete variable.
No package relies on this package anymore.
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/ruby.scm | 33 ---------------------------------
1 file changed, 33 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 44a96821c4..b166e354ad 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5905,39 +5905,6 @@ default (and first) theme. It's what you get when you
run @code{jekyll new}.")
facilities supporting TDD, BDD, mocking, and benchmarking.")
(license license:expat)))
-;; This is the last release of Minitest 4, which is used by some packages.
-(define-public ruby-minitest-4
- (package
- (inherit ruby-minitest)
- (version "4.7.5")
- (source (origin
- (method url-fetch)
- (uri (rubygems-uri "minitest" version))
- (sha256
- (base32
- "03p6iban9gcpcflzp4z901s1hgj9369p6515h967ny6hlqhcf2iy"))))
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'remove-unsupported-method
- (lambda _
- (substitute* "Rakefile"
- (("self\\.rubyforge_name = .*") ""))))
- (add-after 'build 'patch-tests
- (lambda _
- ;; test_no_method_error_on_unexpected_methods
- ;; This test fails due to some extra information in the message
- (substitute* "test/minitest/test_minitest_mock.rb"
- (("assert_equal expected, e.message")
- "assert_equal expected, e.message.lines.first.strip"))
- ;; Some tests are failing on Ruby 2.4 due to the deprecation of
- ;; Fixnum.
- (delete-file "test/minitest/test_minitest_spec.rb"))))))
- (native-inputs
- (list ruby-minitest
- ruby-hoe))))
-
(define-public ruby-minitest-around
(package
(name "ruby-minitest-around")