mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-29 07:42:23 -05:00
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.
This commit is contained in:
parent
10411b3549
commit
7c461b2ee9
1 changed files with 22 additions and 20 deletions
|
@ -260,28 +260,30 @@ (define-public ruby-autoprefixer-rails
|
||||||
|
|
||||||
(define-public ruby-activemodel
|
(define-public ruby-activemodel
|
||||||
(package
|
(package
|
||||||
(name "ruby-activemodel")
|
(name "ruby-activemodel")
|
||||||
(version "6.1.3")
|
(version %ruby-rails-version)
|
||||||
(source
|
(source ruby-rails-monorepo)
|
||||||
(origin
|
(build-system ruby-build-system)
|
||||||
(method url-fetch)
|
(arguments
|
||||||
(uri (rubygems-uri "activemodel" version))
|
(list
|
||||||
(sha256
|
#:phases
|
||||||
(base32
|
#~(modify-phases %standard-phases
|
||||||
"07m85r00cd1dzxg65zr9wjrdqppw51b5ka9c5mrz92vnw18kfb70"))))
|
(add-after 'extract-gemspec 'chdir
|
||||||
(build-system ruby-build-system)
|
(lambda _
|
||||||
(arguments
|
(chdir "activemodel")))
|
||||||
'(;; No included tests
|
(add-after 'chdir 'delete-problematic-tests
|
||||||
#:tests? #f))
|
(lambda _
|
||||||
(propagated-inputs
|
;; We do not want to depend on ruby-railties at this stage.
|
||||||
(list ruby-activesupport))
|
(delete-file "test/cases/railtie_test.rb"))))))
|
||||||
(synopsis "Toolkit for building modeling frameworks like Active Record")
|
(native-inputs (list ruby-bcrypt))
|
||||||
(description
|
(propagated-inputs (list ruby-activesupport))
|
||||||
"This package provides a toolkit for building modeling frameworks like
|
(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,
|
Active Record. ActiveSupport handles attributes, callbacks, validations,
|
||||||
serialization, internationalization, and testing.")
|
serialization, internationalization, and testing.")
|
||||||
(home-page "https://rubyonrails.org/")
|
(home-page "https://rubyonrails.org/")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public ruby-activerecord
|
(define-public ruby-activerecord
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue