[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/17: gnu: Add ruby-minitest-bonus-assertions.
From: |
Ben Woodcroft |
Subject: |
05/17: gnu: Add ruby-minitest-bonus-assertions. |
Date: |
Wed, 27 Jan 2016 14:12:25 +0000 |
benwoodcroft pushed a commit to branch master
in repository guix.
commit e07ef1d625c01e83d8853ea4ece11af07989d585
Author: Ben Woodcroft <address@hidden>
Date: Thu Dec 31 08:56:18 2015 +1000
gnu: Add ruby-minitest-bonus-assertions.
* gnu/packages/ruby.scm (ruby-minitest-bonus-assertions): New variable.
---
gnu/packages/ruby.scm | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 964ec1e..00f1460 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1616,6 +1616,41 @@ MiniTest @code{Object#stub} with a global @code{stub}
method.")
(home-page "https://github.com/dockyard/minitest-moar")
(license license:expat)))
+(define-public ruby-minitest-bonus-assertions
+ (package
+ (name "ruby-minitest-bonus-assertions")
+ (version "2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "minitest-bonus-assertions" version))
+ (sha256
+ (base32
+ "11nrd32kwy61ndg9csk7l1ifya79ghrrv3vsrxj57k50m7na6jkm"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'clean-dependencies
+ (lambda _
+ ;; Remove unneeded require statement that would entail another
+ ;; dependency.
+ (substitute* "test/minitest_config.rb"
+ (("require 'minitest/bisect'") ""))
+ #t)))))
+ (native-inputs
+ `(("ruby-hoe" ,ruby-hoe)
+ ("ruby-minitest-pretty-diff" ,ruby-minitest-pretty-diff)
+ ("ruby-minitest-focus" ,ruby-minitest-focus)
+ ("ruby-minitest-moar" ,ruby-minitest-moar)))
+ (synopsis "Bonus assertions for @code{Minitest}")
+ (description
+ "Minitest bonus assertions provides extra MiniTest assertions. For
+instance, it provides @code{assert_true}, @code{assert_false} and
address@hidden")
+ (home-page "https://github.com/halostatue/minitest-bonus-assertions")
+ (license license:expat)))
+
(define-public ruby-daemons
(package
(name "ruby-daemons")
- branch master updated (f66842d -> d114cee), Ben Woodcroft, 2016/01/27
- 02/17: gnu: Add ruby-minitest-focus., Ben Woodcroft, 2016/01/27
- 06/17: gnu: Add ruby-minitest-rg., Ben Woodcroft, 2016/01/27
- 04/17: gnu: Add ruby-minitest-moar., Ben Woodcroft, 2016/01/27
- 12/17: gnu: Add ruby-shoulda-matchers., Ben Woodcroft, 2016/01/27
- 05/17: gnu: Add ruby-minitest-bonus-assertions.,
Ben Woodcroft <=
- 14/17: gnu: Add ruby-shoulda., Ben Woodcroft, 2016/01/27
- 16/17: gnu: Add ruby-domain-name., Ben Woodcroft, 2016/01/27
- 17/17: gnu: Add ruby-http-cookie., Ben Woodcroft, 2016/01/27
- 13/17: gnu: Add ruby-shoulda-matchers-2., Ben Woodcroft, 2016/01/27
- 10/17: gnu: Add ruby-sqlite3., Ben Woodcroft, 2016/01/27
- 07/17: gnu: Add ruby-mime-types-data., Ben Woodcroft, 2016/01/27
- 08/17: gnu: Add ruby-fivemat., Ben Woodcroft, 2016/01/27
- 09/17: gnu: Add ruby-mime-types., Ben Woodcroft, 2016/01/27
- 15/17: gnu: Add ruby-unf., Ben Woodcroft, 2016/01/27
- 01/17: gnu: Add ruby-turn., Ben Woodcroft, 2016/01/27