me
/
guix
Archived
1
0
Fork 0

gnu: Add ruby-spy.

* gnu/packages/ruby.scm (ruby-spy): New variable.
master
Maxim Cournoyer 2023-03-18 00:03:40 -04:00
parent 2be4b3c59b
commit 464aa1def7
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 32 additions and 0 deletions

View File

@ -13848,6 +13848,38 @@ development kit for Ruby.")
(home-page "https://github.com/mtsmfm/language_server-protocol-ruby") (home-page "https://github.com/mtsmfm/language_server-protocol-ruby")
(license license:expat))) (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 (define-public ruby-subprocess
(package (package
(name "ruby-subprocess") (name "ruby-subprocess")