[bug#78826,21/88] gnu: ruby-insist: Improve style.

Message ID 20250618142822.27945-21-ngraves@ngraves.fr
State New
Headers
Series Switch to ruby@3.3 and build -P1 ruby@3.3 |

Commit Message

Nicolas Graves June 18, 2025, 2:27 p.m. UTC
  * gnu/packages/ruby-xyz.scm (ruby-insist): Run guix style.
---
 gnu/packages/ruby-xyz.scm | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)
  

Patch

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 1010687445..6a933c099e 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -4977,20 +4977,24 @@  (define-public ruby-insist
   (package
     (name "ruby-insist")
     (version "1.0.0")
-    (source (origin
-              (method url-fetch)
-              (uri (rubygems-uri "insist" version))
-              (sha256
-               (base32
-                "0bw3bdwns14mapbgb8cbjmr0amvwz8y72gyclq04xp43wpp5jrvg"))))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "insist" version))
+       (sha256
+        (base32 "0bw3bdwns14mapbgb8cbjmr0amvwz8y72gyclq04xp43wpp5jrvg"))))
     (build-system ruby-build-system)
-    (arguments (list #:phases #~(modify-phases %standard-phases
-                                  (replace 'check
-                                    (lambda* (#:key tests? #:allow-other-keys)
-                                      (when tests?
-                                        (invoke "ruby" "test/testing.rb")))))))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "ruby" "test/testing.rb")))))))
     (synopsis "Testing tool for Ruby")
-    (description "This package provides a simple block-driven assertion
+    (description
+     "This package provides a simple block-driven assertion
 library for both testing and for production code that attempts to make test
 definitions more readable.")
     (home-page "https://github.com/jordansissel/ruby-insist/")