[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
219/229: gnu: Add ruby-spy.
From: |
guix-commits |
Subject: |
219/229: gnu: Add ruby-spy. |
Date: |
Tue, 28 Mar 2023 22:29:26 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 464aa1def741d87e0b42f4a5dd68278d2a18ba50
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Mar 18 00:03:40 2023 -0400
gnu: Add ruby-spy.
* gnu/packages/ruby.scm (ruby-spy): New variable.
---
gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5db81fbba7..a06ae4f5c1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13848,6 +13848,38 @@ development kit for Ruby.")
(home-page "https://github.com/mtsmfm/language_server-protocol-ruby")
(license license:expat)))
+(define-public ruby-spy
+ (package
+ (name "ruby-spy")
+ (version "1.0.5")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "spy" version))
+ (sha256
+ (base32
+ "0g2mma8q17m26k5s864ndlvvqllhcivwg2wdigjvb7z06iw17gds"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-after 'extract-gemspec 'relax-requirements
+ (lambda _
+ (substitute* "Gemfile"
+ ((".*redcarpet.*") "")
+ ((".*yard.*") "")))))))
+ (native-inputs
+ (list ruby-coveralls
+ ruby-minitest-reporters
+ ruby-pry
+ ruby-pry-byebug
+ ruby-rspec-core
+ ruby-rspec-expectations))
+ (synopsis "Mocking library for Ruby")
+ (description "Spy is a mocking library. By default, it will raise an
+error if you attempt to stub a method that doesn't exist or call the stubbed
+method with the wrong arity.")
+ (home-page "https://github.com/ryanong/spy")
+ (license license:expat)))
+
(define-public ruby-subprocess
(package
(name "ruby-subprocess")
- 194/229: gnu: ruby-shoulda: Honor #:tests?., (continued)
- 194/229: gnu: ruby-shoulda: Honor #:tests?., guix-commits, 2023/03/28
- 205/229: gnu: Add ruby-snaky-hash., guix-commits, 2023/03/28
- 206/229: gnu: ruby-oauth2: Update to 2.0.9 and enable tests., guix-commits, 2023/03/28
- 163/229: gnu: ruby-globalid: Move to (gnu packages rails)., guix-commits, 2023/03/28
- 175/229: gnu: Add perl-app-cpanminus., guix-commits, 2023/03/28
- 180/229: gnu: ruby-braintree: Update to 4.10.0., guix-commits, 2023/03/28
- 184/229: gnu: ruby-prawn-svg: Fix build., guix-commits, 2023/03/28
- 188/229: gnu: ruby-liquid: Update to 4.0.3., guix-commits, 2023/03/28
- 200/229: gnu: Add ruby-ruby-version., guix-commits, 2023/03/28
- 201/229: gnu: Add ruby-rspec-pending-for., guix-commits, 2023/03/28
- 219/229: gnu: Add ruby-spy.,
guix-commits <=
- 220/229: gnu: Add ruby-liquid-c-bootstrap., guix-commits, 2023/03/28
- 226/229: gnu: ruby-rack-protection: Update to 3.0.5., guix-commits, 2023/03/28
- 221/229: gnu: ruby-liquid: Update to 5.4.0 and enable tests., guix-commits, 2023/03/28
- 222/229: gnu: Add ruby-liquid-c., guix-commits, 2023/03/28
- 223/229: gnu: ruby-net-scp: Update to 4.0.0., guix-commits, 2023/03/28
- 176/229: gnu: ruby-minitest: Update home page URL., guix-commits, 2023/03/28
- 213/229: gnu: Add ruby-ammeter-bootstrap., guix-commits, 2023/03/28
- 166/229: gnu: Add ruby-propshaft., guix-commits, 2023/03/28
- 167/229: gnu: Add ruby-stimulus-rails., guix-commits, 2023/03/28
- 169/229: gnu: ruby-rails: Update to 7.0.4.3., guix-commits, 2023/03/28