GNU bug report logs -
#78826
[PATCH ruby-team 00/88] Switch to ruby@3.3 and build -P1 ruby@3.3
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Wed, 18 Jun 2025 14:22:02 UTC
Severity: normal
Tags: patch
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
Full log
Message #149 received at 78826 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ruby-xyz.scm (ruby-spy): Run guix style.
---
gnu/packages/ruby-xyz.scm | 49 +++++++++++++++++++++------------------
1 file changed, 26 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 1b582cd0cc..85ab40a9b6 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -13984,32 +13984,35 @@ (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"))))
+ (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* "spy.gemspec"
- ((".*pry-byebug.*") ""))
- (substitute* "test/test_helper.rb"
- ((".*pry-byebug.*") ""))
- (substitute* "Gemfile"
- ((".*redcarpet.*") "")
- ((".*yard.*") "")))))))
- (native-inputs
- (list ruby-coveralls
- ruby-minitest-reporters
- ruby-pry
- ruby-rspec-core
- ruby-rspec-expectations))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'extract-gemspec 'relax-requirements
+ (lambda _
+ (substitute* "spy.gemspec"
+ ((".*pry-byebug.*")
+ ""))
+ (substitute* "test/test_helper.rb"
+ ((".*pry-byebug.*")
+ ""))
+ (substitute* "Gemfile"
+ ((".*redcarpet.*")
+ "")
+ ((".*yard.*")
+ "")))))))
+ (native-inputs (list ruby-coveralls ruby-minitest-reporters ruby-pry
+ ruby-rspec-core ruby-rspec-expectations))
(synopsis "Mocking library for Ruby")
- (description "Spy is a mocking library. By default, it will raise an
+ (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")
--
2.49.0
This bug report was last modified 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.