Subject: bug#42035: closed (Re: [bug#42035] [PATCH] gnu: Add ruby-minitest-global-expectations.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 20 Oct 2020 22:49:02 +0000

Your bug report

#42035: [PATCH] gnu: Add ruby-minitest-global-expectations.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
42035: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42035
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#42035] [PATCH] gnu: Add ruby-minitest-global-expectations.
From: Christopher Baines <[email-masked]>
To: [email-masked]
Date: Tue, 20 Oct 2020 23:48:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Christopher Baines <[email-masked]> writes:

> This will be required to update ruby-minitest-hooks.
>
> * gnu/packages/ruby.scm (ruby-minitest-global-expectations): New variable.
> ---
>  gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
> index 08c55e4e3c..baac8af7ee 100644
> --- a/gnu/packages/ruby.scm
> +++ b/gnu/packages/ruby.scm
> @@ -3487,6 +3487,30 @@ written using either the unit test or spec style.")
>      (home-page "https://github.com/splattael/minitest-around")
>      (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-sprint
>    (package
>      (name "ruby-minitest-sprint")

Pushed to master as ff9d33a9038a1375235485093b2557a4c2949e34.

Subject: [PATCH] gnu: Add ruby-minitest-global-expectations.
From: Christopher Baines <[email-masked]>
To: [email-masked]
Date: Wed, 24 Jun 2020 21:13:11 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

This will be required to update ruby-minitest-hooks.

* gnu/packages/ruby.scm (ruby-minitest-global-expectations): New variable.
---
 gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 08c55e4e3c..baac8af7ee 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3487,6 +3487,30 @@ written using either the unit test or spec style.")
     (home-page "https://github.com/splattael/minitest-around")
     (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-sprint
   (package
     (name "ruby-minitest-sprint")
-- 
2.26.2