[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 219/223] gnu: Add ruby-spy.
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 219/223] gnu: Add ruby-spy. |
Date: |
Mon, 20 Mar 2023 13:29:29 -0400 |
* 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 f8e736aecd..45bd6cd7e9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13848,6 +13848,38 @@ (define-public ruby-language-server-protocol
(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")
--
2.39.1
- [bug#62196] [PATCH 207/223] gnu: ruby-omniauth: Update to 2.1.1., (continued)
- [bug#62196] [PATCH 207/223] gnu: ruby-omniauth: Update to 2.1.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 215/223] gnu: Add ruby-ammeter., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 216/223] gnu: ruby-autoprefixer-rails: Update to 10.4.13.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 223/223] gnu: ruby-net-scp: Update to 4.0.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 214/223] gnu: ruby-rspec-rails: Update to 6.0.1 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 218/223] gnu: ruby-coveralls: Propagate ruby-simplecov and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 210/223] gnu: ruby-single-cov: Update to 1.9.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 212/223] gnu: Add ruby-sassc-rails., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 213/223] gnu: Add ruby-ammeter-bootstrap., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 211/223] gnu: ruby-parallel-tests: Update to 4.2.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 219/223] gnu: Add ruby-spy.,
Maxim Cournoyer <=
- [bug#62196] [PATCH 209/223] gnu: ruby-cuke-modeler: Update to 3.19.0 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 203/223] gnu: Add ruby-version-gem., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 205/223] gnu: Add ruby-snaky-hash., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 206/223] gnu: ruby-oauth2: Update to 2.0.9 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 217/223] gnu: Add ruby-truthy., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 222/223] gnu: Add ruby-liquid-c., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 220/223] gnu: Add ruby-liquid-c-bootstrap., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 221/223] gnu: ruby-liquid: Update to 5.4.0 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 000/182] Add FPM, update Rails and other Ruby additions/updates, Christopher Baines, 2023/03/21