gnu: ruby-actiontext: Update to 7.0.4.3.

* gnu/packages/rails.scm (ruby-actiontext): Update to 7.0.4.3.
[source]: Use ruby-rail-monorepo.
[arguments]: Add #:phases argument.
This commit is contained in:
Maxim Cournoyer 2023-03-09 15:44:30 -05:00
parent c22dbc65f5
commit 1d211e237d
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -415,21 +415,23 @@ (define-public ruby-rails-dom-testing
(define-public ruby-actiontext
(package
(name "ruby-actiontext")
(version "6.1.3")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "actiontext" version))
(sha256
(base32
"04k4z4xj40sbzbgx0x9m6i8k0nc22jb6dkrlslj16p2z2dfnwhqg"))))
(version %ruby-rails-version)
(source ruby-rails-monorepo)
(build-system ruby-build-system)
(arguments
'(;; No included tests
#:tests? #f))
(arguments
(list
#:tests? #f ;avoid a cycle with ruby-rails
#:phases
#~(modify-phases %standard-phases
(add-after 'extract-gemspec 'chdir
(lambda _
(chdir "actiontext"))))))
(propagated-inputs
(list ruby-actionpack ruby-activerecord ruby-activestorage
ruby-activesupport ruby-nokogiri))
(list ruby-actionpack
ruby-activerecord
ruby-activestorage
ruby-activesupport
ruby-nokogiri))
(synopsis "Edit and display rich text in Rails applications")
(description
"ActionText edits and displays rich text in Rails applications.")