guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

46/100: gnu: ruby-timecop: Update to 0.9.6.


From: guix-commits
Subject: 46/100: gnu: ruby-timecop: Update to 0.9.6.
Date: Mon, 10 Jul 2023 03:27:32 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit bc9d7cc2110270d3e6893dcd6a317ae6eac00850
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed Jun 28 08:35:46 2023 +0100

    gnu: ruby-timecop: Update to 0.9.6.
    
    * gnu/packages/ruby.scm (ruby-timecop): Update to 0.9.6.
    [arguments]: Update style.
    [native-inputs]: Add ruby-pry.
---
 gnu/packages/ruby.scm | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e3610fe850..2eb1aa8250 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12052,25 +12052,29 @@ associated records.")
 (define-public ruby-timecop
   (package
     (name "ruby-timecop")
-    (version "0.9.1")
+    (version "0.9.6")
     (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "timecop" version))
        (sha256
         (base32
-         "0d7mm786180v4kzvn1f77rhfppsg5n0sq2bdx63x9nv114zm8jrp"))))
+         "0dlx4gx0zh836i7nzna03xdl7fc233s5z6plnr6k3kw46ah8d1fc"))))
     (build-system ruby-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'set-check-rubylib
-           (lambda _
-             ;; Set RUBYLIB so timecop tests finds its own lib.
-             (setenv "RUBYLIB" "lib")
-             #t)))))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'set-check-rubylib
+            (lambda _
+              ;; Set RUBYLIB so timecop tests finds its own lib.
+              (setenv "RUBYLIB" "lib"))))))
     (native-inputs
-     (list bundler ruby-minitest-rg ruby-mocha ruby-activesupport))
+     (list bundler
+           ruby-minitest-rg
+           ruby-mocha
+           ruby-activesupport
+           ruby-pry))
     (synopsis "Test mocks for time-dependent functions")
     (description
      "Timecop provides \"time travel\" and \"time freezing\" capabilities,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]