[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/229: gnu: ruby-activemodel: Update to 7.0.4.3 and enable tests.
From: |
guix-commits |
Subject: |
59/229: gnu: ruby-activemodel: Update to 7.0.4.3 and enable tests. |
Date: |
Tue, 28 Mar 2023 22:29:02 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 7c461b2ee9ddecf53944de6623fb1458b08e1c7f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Mar 7 23:42:13 2023 -0500
gnu: ruby-activemodel: Update to 7.0.4.3 and enable tests.
* gnu/packages/rails.scm (ruby-activemodel): Update to 7.0.4.3. Fix
indentation.
[source]: Use ruby-rails-monorepo.
[arguments]: Remove #:tests? argument. Add #:phases argument.
[native-inputs]: New field.
---
gnu/packages/rails.scm | 42 ++++++++++++++++++++++--------------------
1 file changed, 22 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 9fa0f23ad8..329bacdaef 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -260,28 +260,30 @@ Can I Use website.")
(define-public ruby-activemodel
(package
- (name "ruby-activemodel")
- (version "6.1.3")
- (source
- (origin
- (method url-fetch)
- (uri (rubygems-uri "activemodel" version))
- (sha256
- (base32
- "07m85r00cd1dzxg65zr9wjrdqppw51b5ka9c5mrz92vnw18kfb70"))))
- (build-system ruby-build-system)
- (arguments
- '(;; No included tests
- #:tests? #f))
- (propagated-inputs
- (list ruby-activesupport))
- (synopsis "Toolkit for building modeling frameworks like Active Record")
- (description
- "This package provides a toolkit for building modeling frameworks like
+ (name "ruby-activemodel")
+ (version %ruby-rails-version)
+ (source ruby-rails-monorepo)
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'extract-gemspec 'chdir
+ (lambda _
+ (chdir "activemodel")))
+ (add-after 'chdir 'delete-problematic-tests
+ (lambda _
+ ;; We do not want to depend on ruby-railties at this stage.
+ (delete-file "test/cases/railtie_test.rb"))))))
+ (native-inputs (list ruby-bcrypt))
+ (propagated-inputs (list ruby-activesupport))
+ (synopsis "Toolkit for building modeling frameworks like Active Record")
+ (description
+ "This package provides a toolkit for building modeling frameworks like
Active Record. ActiveSupport handles attributes, callbacks, validations,
serialization, internationalization, and testing.")
- (home-page "https://rubyonrails.org/")
- (license license:expat)))
+ (home-page "https://rubyonrails.org/")
+ (license license:expat)))
(define-public ruby-activerecord
(package
- 35/229: gnu: Add ruby-minitest-retry., (continued)
- 35/229: gnu: Add ruby-minitest-retry., guix-commits, 2023/03/28
- 36/229: gnu: Add ruby-dalli., guix-commits, 2023/03/28
- 43/229: gnu: ruby-cucumber-tag-expressions: Update to 5.0.1, fixing build., guix-commits, 2023/03/28
- 46/229: gnu: ruby-cucumber-html-formatter: Update to 20.2.1., guix-commits, 2023/03/28
- 51/229: gnu: ruby-gherkin: Rename to ruby-cucumber-gherkin., guix-commits, 2023/03/28
- 26/229: gnu: Add ruby-rubocop-rake., guix-commits, 2023/03/28
- 30/229: gnu: Add ruby-m., guix-commits, 2023/03/28
- 31/229: gnu: Add ruby-language-server-protocol., guix-commits, 2023/03/28
- 49/229: gnu: ruby-cucumber-expressions: Update to 16.1.2., guix-commits, 2023/03/28
- 52/229: gnu: ruby-cucumber: Update to 8.0.0., guix-commits, 2023/03/28
- 59/229: gnu: ruby-activemodel: Update to 7.0.4.3 and enable tests.,
guix-commits <=
- 63/229: gnu: Add ruby-delayed-job., guix-commits, 2023/03/28
- 53/229: gnu: Remove ruby-cucumber-create-meta., guix-commits, 2023/03/28
- 54/229: gnu: Add ruby-rake-manifest., guix-commits, 2023/03/28
- 57/229: gnu: ruby-railties: Update to 7.0.4.3., guix-commits, 2023/03/28
- 61/229: gnu: Add ruby-simplecov-lcov., guix-commits, 2023/03/28
- 68/229: gnu: Add ruby-xpath., guix-commits, 2023/03/28
- 72/229: gnu: Add ruby-selenium-webdriver., guix-commits, 2023/03/28
- 76/229: gnu: ruby-rack: Update home page URL., guix-commits, 2023/03/28
- 41/229: gnu: ruby-cucumber-messages: Update to 21.0.1., guix-commits, 2023/03/28
- 34/229: gnu: Add ruby-dotenv., guix-commits, 2023/03/28