Subject: [PATCH 163/223] gnu: ruby-globalid: Move to (gnu packages rails).

From: Maxim Cournoyer <[email-masked]>
Date: Mon, 20 Mar 2023 13:22:49 -0400

* gnu/packages/ruby.scm (ruby-globalid): Move to...
* gnu/packages/rails.scm (ruby-globalid): ... here, with minor cosmetic
adjustments.
---

 gnu/packages/rails.scm | 23 +++++++++++++++++++++++
 gnu/packages/ruby.scm  | 24 ------------------------
 2 files changed, 23 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 33c0af70b2..802c4b9dec 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -113,6 +113,29 @@ (define-public ruby-activesupport
     (home-page "https://rubyonrails.org/")
     (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
   (package
     (name "ruby-spring")
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f7d663f931..4bc2439192 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13214,30 +13214,6 @@ (define-public ruby-nio4r
    (home-page "https://github.com/socketry/nio4r")
    (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
   (package
     (name "ruby-language-server-protocol")
-- 
2.39.1