[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/17: gnu: Add ruby-shoulda.
From: |
Ben Woodcroft |
Subject: |
14/17: gnu: Add ruby-shoulda. |
Date: |
Wed, 27 Jan 2016 14:12:27 +0000 |
benwoodcroft pushed a commit to branch master
in repository guix.
commit 6f390716b664c5cbebef2130d605925d272e3c0a
Author: Ben Woodcroft <address@hidden>
Date: Thu Dec 31 09:22:43 2015 +1000
gnu: Add ruby-shoulda.
* gnu/packages/ruby.scm (ruby-shoulda): New variable.
---
gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3e53647..373bf5c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3268,6 +3268,35 @@ more complex, and error-prone.")
(base32
"0d3ryqcsk1n9y35bx5wxnqbgw4m8b3c79isazdjnnbg8crdp72d0"))))))
+(define-public ruby-shoulda
+ (package
+ (name "ruby-shoulda")
+ (version "3.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "shoulda" version))
+ (sha256
+ (base32
+ "0csmf15a7mcinfq54lfa4arp0f4b2jmwva55m0p94hdf3pxnjymy"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ ;; Don't run tests to avoid circular dependence with rails. Instead
+ ;; just import the library to test.
+ (lambda _ (zero? (system* "ruby" "-Ilib" "-r" "shoulda")))))))
+ (propagated-inputs
+ `(("ruby-shoulda-context" ,ruby-shoulda-context)
+ ("ruby-shoulda-matchers" ,ruby-shoulda-matchers-2)))
+ (synopsis "Context framework and matchers for testing")
+ (description
+ "@code{shoulda} is a meta-package combining @code{shoulda-context} and
address@hidden providing tools for writing tests.")
+ (home-page "https://github.com/thoughtbot/shoulda")
+ (license license:expat)))
+
(define-public ruby-ansi
(package
(name "ruby-ansi")
- 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, 2016/01/27
- 14/17: gnu: Add ruby-shoulda.,
Ben Woodcroft <=
- 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
- 11/17: gnu: Add ruby-shoulda-context., Ben Woodcroft, 2016/01/27