summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-06-24 21:11:54 +0100
committerChristopher Baines <mail@cbaines.net>2020-10-20 23:46:52 +0100
commitff9d33a9038a1375235485093b2557a4c2949e34 (patch)
treed45a079cfb1948cb4ced662940b099195fcc7aed
parentbdcf4d88d58798eca7811c8b1fbd4638168d05c3 (diff)
gnu: Add ruby-minitest-global-expectations.
* gnu/packages/ruby.scm (ruby-minitest-global-expectations): New variable.
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7348f29eb1..5f82e0f6f4 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4519,6 +4519,29 @@ reporter.")
(home-page "https://blowmage.com/minitest-rg/")
(license license:expat)))
+(define-public ruby-minitest-global-expectations
+ (package
+ (name "ruby-minitest-global-expectations")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "minitest-global_expectations"
+ version))
+ (sha256
+ (base32
+ "1pp3k2608spj4kvqy2y16hs18an917g6vwgvphrfhjviac83090x"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-minitest" ,ruby-minitest)))
+ (synopsis "Adjust minitest behaviour for calling expectation methods")
+ (description
+ "Minitest-global_expectations allows continued use of expectation methods
+on all objects. Calling expectation methods on all objects was deprecated in
+minitest 5.12, and is planned to be removed from minitest 6.")
+ (home-page "https://github.com/jeremyevans/minitest-global_expectations")
+ (license license:expat)))
+
(define-public ruby-minitest-hooks
(package
(name "ruby-minitest-hooks")