From 9c4cb1ef4cbd4ea95eb2c73b0fcdf893062b53d1 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Thu, 12 Sep 2019 17:09:00 -0400 Subject: gnu: Add ruby-rspec-wait. * gnu/packages/ruby.scm (ruby-rspec-wait): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/ruby.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ef9792bc0f..a886a1cdd2 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2019 Mikhail Kirillov ;;; Copyright © 2019 Jelle Licht ;;; Copyright © 2019 Brian Leung +;;; Copyright © 2019 Collin J. Doering ;;; ;;; This file is part of GNU Guix. ;;; @@ -670,6 +671,35 @@ RSpec tests.") (home-page "https://github.com/dblock/rspec-rerun") (license license:expat))) +(define-public ruby-rspec-wait + (package + (name "ruby-rspec-wait") + (version "0.0.9") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rspec-wait" version)) + (sha256 + (base32 + "0gvj1bp5ccx001dyvcgk2j49s5sl6vs9fdaqqb08z3bd1554hsww")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "rake" "spec")))))) + (native-inputs + `(("bundler" ,bundler))) + (propagated-inputs + `(("ruby-rspec" ,ruby-rspec))) + (home-page "https://github.com/laserlemon/rspec-wait") + (synopsis "Wait for conditions in RSpec") + (description + "RSpec::Wait strives to make it easier to test asynchronous or slow +interactions.") + (license license:expat))) + (define-public ruby-rspec (package (name "ruby-rspec") -- cgit v1.2.3