guix-commits
[Top][All Lists]
Advanced

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

02/09: gnu: ruby-activesupport: Update to 5.0.0.


From: Ben Woodcroft
Subject: 02/09: gnu: ruby-activesupport: Update to 5.0.0.
Date: Wed, 10 Aug 2016 05:37:28 +0000 (UTC)

benwoodcroft pushed a commit to branch master
in repository guix.

commit 2af45e5025300f97f4451f75f40ec6a0e34a797f
Author: Ben Woodcroft <address@hidden>
Date:   Tue Jul 19 22:38:29 2016 +1000

    gnu: ruby-activesupport: Update to 5.0.0.
    
    * gnu/packages/ruby.scm (ruby-activesupport): Update to 5.0.0.
    [arguments]: Include the library as a test.
    [propagated-inputs]: Add ruby-concurrent.  Remove ruby-thread-safe,
    ruby-json.
---
 gnu/packages/ruby.scm |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 21ca2f2..fed46ab 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2536,22 +2536,26 @@ you about the changes.")
 (define-public ruby-activesupport
   (package
     (name "ruby-activesupport")
-    (version "4.2.4")
+    (version "5.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "activesupport" version))
        (sha256
         (base32
-         "19n38rj6r1gyxgka18qvcxyla0fwan8a5p3ghq0pp8aj93sbmr6f"))))
+         "0k7zhnz0aw1ym8phs10r85f91ja45vsd058fm9v0h2k0igw12cpf"))))
     (build-system ruby-build-system)
     (arguments
-     '(#:tests? #f)) ; no tests
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             ;; There is no tests, instead attempt to load the library.
+             (zero? (system* "ruby" "-Ilib" "-r" "active_support")))))))
     (propagated-inputs
-     `(("ruby-i18n" ,ruby-i18n)
-       ("ruby-json" ,ruby-json)
+     `(("ruby-concurrent" ,ruby-concurrent)
+       ("ruby-i18n" ,ruby-i18n)
        ("ruby-minitest" ,ruby-minitest)
-       ("ruby-thread-safe" ,ruby-thread-safe)
        ("ruby-tzinfo" ,ruby-tzinfo)
        ("ruby-tzinfo-data" ,ruby-tzinfo-data)))
     (synopsis "Ruby on Rails utility library")



reply via email to

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