From b22b01297537a3fd6915f743db22c2d357fff5b0 Mon Sep 17 00:00:00 2001 From: Taiju HIGASHI Date: Fri, 2 Sep 2022 18:03:13 +0900 Subject: gnu: Add ruby-latest-ruby. * gnu/packages/ruby.scm (ruby-latest-ruby): New variable. Signed-off-by: Christopher Baines --- gnu/packages/ruby.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/ruby.scm') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a2cafbf1f1..d658581ed0 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2021 Giovanni Biscuolo ;;; Copyright © 2022 Philip McGrath ;;; Copyright © 2022 Remco van 't Veer +;;; Copyright © 2022 Taiju HIGASHI ;;; ;;; This file is part of GNU Guix. ;;; @@ -5398,6 +5399,24 @@ The output can be customized with a formatting system.") (home-page "https://github.com/jfelchner/ruby-progressbar") (license license:expat))) +(define-public ruby-latest-ruby + (package + (name "ruby-latest-ruby") + (version "3.1.0") + (source (origin + (method url-fetch) + (uri (rubygems-uri "latest_ruby" version)) + (sha256 + (base32 + "15rqwgxzpnkzdiz8m02jra0zq5sx0fiz61vkfrj1ls6slqfhnzqg")))) + (build-system ruby-build-system) + (arguments + '(#:tests? #f)) ; No Rakefile + (synopsis "Answers the question of what the latest Ruby version is") + (description "Knows about MRI, Rubinius, JRuby, MagLev and MacRuby.") + (home-page "https://github.com/kyrylo/latest_ruby") + (license license:zlib))) + (define-public ruby-pry (package (name "ruby-pry") -- cgit v1.2.3 From 98d7ffcda683c052ea670ebb8ea3e1e29e7daa37 Mon Sep 17 00:00:00 2001 From: Taiju HIGASHI Date: Fri, 2 Sep 2022 18:03:14 +0900 Subject: gnu: Add ruby-pry-doc. * gnu/packages/ruby.scm (ruby-pry-doc): New variable. Signed-off-by: Christopher Baines --- gnu/packages/ruby.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/ruby.scm') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index d658581ed0..94c3bfeb6f 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5440,6 +5440,29 @@ invocation, and source and documentation browsing.") (home-page "https://cobaltbluemedia.com/pryrepl/") (license license:expat))) +(define-public ruby-pry-doc + (package + (name "ruby-pry-doc") + (version "1.3.0") + (source (origin + (method url-fetch) + (uri (rubygems-uri "pry-doc" version)) + (sha256 + (base32 + "0wyvql6pb6m8jl8bsamabxhxhd86bnqblspaxzz05sl0fm2ynj0r")))) + (build-system ruby-build-system) + (propagated-inputs (list ruby-pry ruby-yard)) + (native-inputs (list ruby-latest-ruby ruby-rspec ruby-rake)) ;for tests + (synopsis "Provides YARD and extended documentation support for Pry") + (description + "Pry Doc is a Pry REPL plugin. It provides extended documentation +support for the REPL by means of improving the @code{show-doc} and +@code{show-source} commands. With help of the plugin the commands are +be able to display the source code and the docs of Ruby methods and +classes implemented in C.") + (home-page "https://github.com/pry/pry-doc") + (license license:expat))) + (define-public ruby-single-cov (package (name "ruby-single-cov") -- cgit v1.2.3