[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: gnu: Add ruby-minitest-hooks.
From: |
Ben Woodcroft |
Subject: |
09/10: gnu: Add ruby-minitest-hooks. |
Date: |
Wed, 25 May 2016 12:41:28 +0000 (UTC) |
benwoodcroft pushed a commit to branch master
in repository guix.
commit 2a96dbe6d6e49d339e54c4afd3d171712e772311
Author: Ben Woodcroft <address@hidden>
Date: Wed May 25 22:15:13 2016 +1000
gnu: Add ruby-minitest-hooks.
* gnu/packages/ruby.scm (ruby-minitest-hooks): New variable.
---
gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f46116e..631a1cd 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1707,6 +1707,33 @@ instance, it provides @code{assert_true},
@code{assert_false} and
(home-page "http://blowmage.com/minitest-rg")
(license license:expat)))
+(define-public ruby-minitest-hooks
+ (package
+ (name "ruby-minitest-hooks")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "minitest-hooks" version))
+ (sha256
+ (base32
+ "092fymh0c09v3a585qw3hc15b0zf159s74rxx1ga87drk5jr958z"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:test-target "spec"))
+ (native-inputs
+ `(("ruby-sequel" ,ruby-sequel)
+ ("ruby-sqlite3" ,ruby-sqlite3)))
+ (synopsis "Hooks for the minitest framework")
+ (description
+ "Minitest-hooks adds @code{around}, @code{before_all}, @code{after_all},
address@hidden hooks for Minitest. This allows, for instance, running each
+suite of specs inside a database transaction, running each spec inside its own
+savepoint inside that transaction. This can significantly speed up testing
+for specs that share expensive database setup code.")
+ (home-page "http://github.com/jeremyevans/minitest-hooks")
+ (license license:expat)))
+
(define-public ruby-daemons
(package
(name "ruby-daemons")
- branch master updated (2301195 -> 803bcc8), Ben Woodcroft, 2016/05/25
- 02/10: gnu: ruby-nokogiri: Update to 1.6.7.2., Ben Woodcroft, 2016/05/25
- 04/10: gnu: ruby-shoulda-matchers: Update to 3.1.1., Ben Woodcroft, 2016/05/25
- 08/10: gnu: Add ruby-sequel., Ben Woodcroft, 2016/05/25
- 09/10: gnu: Add ruby-minitest-hooks.,
Ben Woodcroft <=
- 10/10: gnu: ruby-mime-types: Update to 3.1., Ben Woodcroft, 2016/05/25
- 05/10: gnu: ruby-mime-types-data: Update to 3.2016.0221., Ben Woodcroft, 2016/05/25
- 03/10: gnu: ruby-domain-name: Update to 0.5.20160310., Ben Woodcroft, 2016/05/25
- 07/10: gnu: ruby-nokogumbo: Update to 1.4.7-1., Ben Woodcroft, 2016/05/25
- 01/10: guix: ruby-build-system: Extract gemspec during 'extract-gemspec'., Ben Woodcroft, 2016/05/25
- 06/10: gnu: ruby-mini-portile-2: Update to 2.1.0., Ben Woodcroft, 2016/05/25