guix-commits
[Top][All Lists]
Advanced

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

57/229: gnu: ruby-railties: Update to 7.0.4.3.


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

apteryx pushed a commit to branch master
in repository guix.

commit 599ceb95109c491daaeccd76daba99351e347526
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Mar 5 21:26:10 2023 -0500

    gnu: ruby-railties: Update to 7.0.4.3.
    
    * gnu/packages/rails.scm (ruby-railties): Update to 7.0.4.3.
    [version]: Use %ruby-rails-version.
    [source]: Use ruby-rails-monorepo.
    [arguments]: Add #:phases.
    [propagated-inputs]: Add ruby-zeitwerk.
---
 gnu/packages/rails.scm | 43 +++++++++++++++++++++----------------------
 1 file changed, 21 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 3af90bc913..9fa0f23ad8 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -609,28 +609,27 @@ pattern.  Including support for multipart email and 
attachments.")
 
 (define-public ruby-railties
   (package
-   (name "ruby-railties")
-   (version "6.1.3")
-   (source
-    (origin
-     (method url-fetch)
-     (uri (rubygems-uri "railties" version))
-     (sha256
-      (base32
-       "1685y5dcfgcq0b38j13vrpkhiiblmrl64wa9w065669bkgmkw4ra"))))
-   (build-system ruby-build-system)
-   (arguments
-    '(;; No included tests
-      #:tests? #f))
-   (propagated-inputs
-    (list ruby-actionpack ruby-activesupport ruby-method-source ruby-rake
-          ruby-thor))
-   (synopsis "Rails internals, including application bootup and generators")
-   (description
-    "@code{railties} provides the core Rails internals including handling
-application bootup, plugins, generators, and Rake tasks.")
-   (home-page "https://rubyonrails.org/";)
-   (license license:expat)))
+    (name "ruby-railties")
+    (version %ruby-rails-version)
+    (source ruby-rails-monorepo)
+    (build-system ruby-build-system)
+    (arguments
+     (list #:tests? #f                  ;requires rails to be installed
+           #:phases #~(modify-phases %standard-phases
+                        (add-after 'delete-gemfiles 'chdir
+                          (lambda _
+                            (chdir "railties"))))))
+    (propagated-inputs (list ruby-actionpack
+                             ruby-activesupport
+                             ruby-method-source
+                             ruby-rake
+                             ruby-thor
+                             ruby-zeitwerk))
+    (synopsis "Rails internals, including application bootup and generators")
+    (description "@code{railties} provides the core Rails internals including
+handling application bootup, plugins, generators, and Rake tasks.")
+    (home-page "https://rubyonrails.org";)
+    (license license:expat)))
 
 (define-public ruby-sprockets-rails
   (package



reply via email to

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