guix-commits
[Top][All Lists]
Advanced

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

148/229: gnu: ruby-activestorage: Update to 7.0.4.3.


From: guix-commits
Subject: 148/229: gnu: ruby-activestorage: Update to 7.0.4.3.
Date: Tue, 28 Mar 2023 22:29:15 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit c22dbc65f530d473a8a3a25be9be460c2e7ef8ab
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Mar 9 15:38:28 2023 -0500

    gnu: ruby-activestorage: Update to 7.0.4.3.
    
    * gnu/packages/rails.scm (ruby-activestorage): Update to 7.0.4.3.
    [source]: Use ruby-rail-monorepo.
    [arguments]: Add #:phases argument.
    [propagated-inputs]: replace ruby-mimemagic with ruby-mini-mime.
---
 gnu/packages/rails.scm | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 540c69ec2f..6c41466ac3 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -643,25 +643,26 @@ across Rails applications.")
 (define-public ruby-activestorage
   (package
     (name "ruby-activestorage")
-    (version "6.1.3")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (rubygems-uri "activestorage" version))
-       (sha256
-        (base32
-         "0gkxvbi5w8zmdxpiyz3b10kzz8cxqqh9bj81sjl3fp8wa3v2ld4i"))))
+    (version %ruby-rails-version)
+    (source ruby-rails-monorepo)
     (build-system ruby-build-system)
     (arguments
-     '(;; No included tests
-       #:tests? #f))
+     (list
+      ;; The test suite is disabled, because it activestorage requires
+      ;; 'rails', which would introduce a dependency cycle.
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'extract-gemspec 'chdir
+            (lambda _
+              (chdir "activestorage"))))))
     (propagated-inputs
      (list ruby-actionpack
            ruby-activejob
            ruby-activerecord
            ruby-activesupport
            ruby-marcel
-           ruby-mimemagic))
+           ruby-mini-mime))
     (synopsis "Integrate file storage services in to Rails applications")
     (description
      "ActiveStorage integrates file storage services with Rails applications,



reply via email to

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