guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.
commit 49ed145def9179cf94b2cd8b6c55f516a08ed741
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jun 18 16:27:23 2025 +0200
gnu: ruby-spy: Improve style.
* 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 5f048b188f..8cb0ac1c19 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -14000,32 +14000,35 @@ development kit for Ruby.")
(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")