From 39dc0eb50204f03e95a7a5636e7c28c8e5e0ae99 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Wed, 30 Dec 2015 23:22:05 +1000 Subject: gnu: Add ruby-minitest-focus. * gnu/packages/ruby.scm (ruby-minitest-focus): New variable. --- gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 35215cfc14..774653be24 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1521,6 +1521,31 @@ functionality, making it easier to migrate test suites from bacon to minitest.") (home-page "https://github.com/seattlerb/minitest-bacon") (license license:expat))) +(define-public ruby-minitest-focus + (package + (name "ruby-minitest-focus") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "minitest-focus" version)) + (sha256 + (base32 + "1zgjslp6d7dzcn8smj595idymgd5j603p9g2jqkfgi28sqbhz6m0")))) + (build-system ruby-build-system) + (propagated-inputs + `(("ruby-minitest" ,ruby-minitest))) + (native-inputs + `(("ruby-hoe" ,ruby-hoe))) + (synopsis "Allows a few specific tests to be focused on") + (description + "@code{minitest-focus} gives the ability focus on a few tests with ease +without having to use command-line arguments. It introduces a @code{focus} +class method for use in testing classes, specifying that the next defined test +is to be run.") + (home-page "https://github.com/seattlerb/minitest-focus") + (license license:expat))) + (define-public ruby-daemons (package (name "ruby-daemons") -- cgit v1.2.3