[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/17: gnu: Add ruby-shoulda-context.
From: |
Ben Woodcroft |
Subject: |
11/17: gnu: Add ruby-shoulda-context. |
Date: |
Wed, 27 Jan 2016 14:12:26 +0000 |
benwoodcroft pushed a commit to branch master
in repository guix.
commit 4dfa39cc67b4ca0f21d9d7794593f399c141625c
Author: Ben Woodcroft <address@hidden>
Date: Thu Dec 31 09:11:35 2015 +1000
gnu: Add ruby-shoulda-context.
* gnu/packages/ruby.scm (ruby-shoulda-context): 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 fd13d08..0dc3561 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3190,6 +3190,35 @@ engine.")
"https://github.com/sparklemotion/sqlite3-ruby")
(license license:bsd-3)))
+(define-public ruby-shoulda-context
+ (package
+ (name "ruby-shoulda-context")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "shoulda-context" version))
+ (sha256
+ (base32
+ "06wv2ika5zrbxn0m3qxwk0zkbspxids3zmlq3xxays5qmvl1qb55"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ ;; Do not run tests to avoid circular dependence with rails.
+ ;; Instead just import the library to test.
+ (zero? (system* "ruby" "-Ilib" "-r" "shoulda-context")))))))
+ (synopsis "Test::Unit context framework extracted from Shoulda")
+ (description
+ "@code{shoulda-context} is the context framework extracted from Shoulda.
+Instead of writing Ruby methods with lots_of_underscores, shoulda-context adds
+context, setup, and should blocks combine to produce natural test method
+names.")
+ (home-page "https://github.com/thoughtbot/shoulda-context")
+ (license license:expat)))
+
(define-public ruby-ansi
(package
(name "ruby-ansi")
- 14/17: gnu: Add ruby-shoulda., (continued)
- 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
- 11/17: gnu: Add ruby-shoulda-context.,
Ben Woodcroft <=
- 03/17: gnu: Add ruby-minitest-pretty-diff., Ben Woodcroft, 2016/01/27