gnu: ruby-globalid: Move to (gnu packages rails).

* gnu/packages/ruby.scm (ruby-globalid): Move to...
* gnu/packages/rails.scm (ruby-globalid): ... here, with minor cosmetic
adjustments.
This commit is contained in:
Maxim Cournoyer 2023-03-10 13:54:11 -05:00
parent 064b6b4e1a
commit 167e69ccdc
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 23 additions and 24 deletions

View file

@ -113,6 +113,29 @@ (define-public ruby-activesupport
(home-page "https://rubyonrails.org/") (home-page "https://rubyonrails.org/")
(license license:expat))) (license license:expat)))
(define-public ruby-globalid
(package
(name "ruby-globalid")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "globalid" version))
(sha256
(base32
"0kqm5ndzaybpnpxqiqkc41k4ksyxl41ln8qqr6kb130cdxsf2dxk"))))
(build-system ruby-build-system)
(arguments
'(#:tests? #f)) ;no included tests
(propagated-inputs
(list ruby-activesupport))
(synopsis "Generate URIs idenfitying model instances in Ruby")
(description
"@code{GlobalID} provides a way to generate URIs from a model in Ruby that
uniquely identify it.")
(home-page "https://rubyonrails.org/")
(license license:expat)))
(define-public ruby-spring (define-public ruby-spring
(package (package
(name "ruby-spring") (name "ruby-spring")

View file

@ -13214,30 +13214,6 @@ (define-public ruby-nio4r
(home-page "https://github.com/socketry/nio4r") (home-page "https://github.com/socketry/nio4r")
(license license:expat))) (license license:expat)))
(define-public ruby-globalid
(package
(name "ruby-globalid")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "globalid" version))
(sha256
(base32
"0kqm5ndzaybpnpxqiqkc41k4ksyxl41ln8qqr6kb130cdxsf2dxk"))))
(build-system ruby-build-system)
(arguments
'(;; No included tests
#:tests? #f))
(propagated-inputs
(list ruby-activesupport))
(synopsis "Generate URIs idenfitying model instances in Ruby")
(description
"@code{GlobalID} provides a way to generate URIs from a model in Ruby that
uniquely identify it.")
(home-page "https://rubyonrails.org/")
(license license:expat)))
(define-public ruby-language-server-protocol (define-public ruby-language-server-protocol
(package (package
(name "ruby-language-server-protocol") (name "ruby-language-server-protocol")