apteryx pushed a commit to branch master
in repository guix.
commit e936bd2b75d1951de1e6ec191365c16c41e19091
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Thu Mar 16 08:58:22 2023 -0400
gnu: Add ruby-rspec-pending-for.
* gnu/packages/ruby.scm (ruby-rspec-pending-for): New variable.
---
gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index aa15f7278e..ee81d96a2e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -929,6 +929,30 @@ support for stubbing and mocking.")
(propagated-inputs
(list ruby-diff-lcs))))
+(define-public ruby-rspec-pending-for
+ (package
+ (name "ruby-rspec-pending-for")
+ (version "0.1.16")
+ (source (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/pboling/rspec-pending_for")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "107l560vm0kx25w5iy5rsk9ly8dxzr81b31284j514f4hkd0qv3m"))))
+ (build-system ruby-build-system)
+ (native-inputs (list ruby-rspec ruby-simplecov))
+ (propagated-inputs (list ruby-rspec-core ruby-ruby-engine
+ ruby-ruby-version))
+ (synopsis "Skip RSpec tests for specific Ruby engines or versions")
+ (description "This RSpec plugin makes it easy to mark test cases as
+pending or skipped for a specific Ruby engine (e.g. MRI or JRuby) or version
+combinations.")
+ (home-page "https://github.com/pboling/rspec-pending_for")
+ (license license:expat)))
+
(define-public ruby-rspec-rerun
(package
(name "ruby-rspec-rerun")