[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/23: gnu: Add ruby-minitest-around.
From: |
guix-commits |
Subject: |
16/23: gnu: Add ruby-minitest-around. |
Date: |
Mon, 4 Mar 2019 15:33:35 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 450a3f7f2b44b5965cf14a2fc95ce1191ae6ab96
Author: Christopher Baines <address@hidden>
Date: Sun Feb 17 17:14:39 2019 +0000
gnu: Add ruby-minitest-around.
* gnu/packages/ruby.scm (ruby-minitest-around): New variable.
---
gnu/packages/ruby.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3ac75cc..3adacfe 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2842,6 +2842,40 @@ facilities supporting TDD, BDD, mocking, and
benchmarking.")
(delete-file "test/minitest/test_minitest_spec.rb")
#t)))))))
+(define-public ruby-minitest-around
+ (package
+ (name "ruby-minitest-around")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "minitest-around" version))
+ (sha256
+ (base32
+ "15ywnqx0719jl9c25yqfshmwcir57i5f4hr1ra9v9vay9ylcwndr"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'extract-gemspec 'remove-unnecessary-dependency-versions
+ (lambda _
+ (substitute* "minitest-around.gemspec"
+ (("%q<cucumber>.*") "%q<cucumber>, [\">= 0\"])\n"))
+ #t)))))
+ (propagated-inputs
+ `(("ruby-minitest" ,ruby-minitest)))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-cucumber" ,ruby-cucumber)
+ ("ruby-bump" ,ruby-bump)
+ ("ruby-test-construct" ,ruby-test-construct)))
+ (synopsis "Run code around tests in Minitest")
+ (description
+ "This library provides a way to run code around tests in Minitest,
+written using either the unit test or spec style.")
+ (home-page "https://github.com/splattael/minitest-around")
+ (license license:expat)))
+
(define-public ruby-minitest-sprint
(package
(name "ruby-minitest-sprint")
- 12/23: gnu: Add ruby-warden-oauth2., (continued)
- 12/23: gnu: Add ruby-warden-oauth2., guix-commits, 2019/03/04
- 05/23: gnu: Add ruby-que., guix-commits, 2019/03/04
- 06/23: gnu: Add ruby-rbnacl., guix-commits, 2019/03/04
- 08/23: gnu: Add ruby-multi-xml., guix-commits, 2019/03/04
- 10/23: gnu: Add ruby-omniauth., guix-commits, 2019/03/04
- 11/23: gnu: Add ruby-warden., guix-commits, 2019/03/04
- 14/23: gnu: Add ruby-omniauth-oauth2., guix-commits, 2019/03/04
- 15/23: gnu: Add ruby-test-construct., guix-commits, 2019/03/04
- 09/23: gnu: Add ruby-oauth2., guix-commits, 2019/03/04
- 13/23: gnu: Add ruby-with-advisory-lock., guix-commits, 2019/03/04
- 16/23: gnu: Add ruby-minitest-around.,
guix-commits <=
- 22/23: gnu: Add ruby-haml., guix-commits, 2019/03/04
- 20/23: gnu: Add ruby-markaby., guix-commits, 2019/03/04
- 23/23: gnu: Add ruby-tilt., guix-commits, 2019/03/04
- 17/23: gnu: Add libsass., guix-commits, 2019/03/04
- 18/23: gnu: sassc: Update and improve the package., guix-commits, 2019/03/04
- 19/23: gnu: Add ruby-sassc., guix-commits, 2019/03/04
- 21/23: gnu: Add ruby-temple., guix-commits, 2019/03/04