unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42035] [PATCH] gnu: Add ruby-minitest-global-expectations.
@ 2020-06-24 20:13 Christopher Baines
  2020-10-20 22:48 ` bug#42035: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Baines @ 2020-06-24 20:13 UTC (permalink / raw)
  To: 42035

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#42035: [PATCH] gnu: Add ruby-minitest-global-expectations.
  2020-06-24 20:13 [bug#42035] [PATCH] gnu: Add ruby-minitest-global-expectations Christopher Baines
@ 2020-10-20 22:48 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2020-10-20 22:48 UTC (permalink / raw)
  To: 42035-done

[-- Attachment #1: Type: text/plain, Size: 1787 bytes --]


Christopher Baines <mail@cbaines.net> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-20 22:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24 20:13 [bug#42035] [PATCH] gnu: Add ruby-minitest-global-expectations Christopher Baines
2020-10-20 22:48 ` bug#42035: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).