gnu: ruby-debug-inspector: Update to 1.1.0.

* gnu/packages/rails.scm (ruby-debug-inspector): Update to 1.1.0.
[arguments]: Update style.
[native-inputs]: Add ruby-rake-compiler.
This commit is contained in:
Christopher Baines 2023-06-18 12:12:01 +01:00
parent 6eb15ac58e
commit 7c5d30eb9f
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -207,18 +207,19 @@ (define-public ruby-sass-rails
(define-public ruby-debug-inspector (define-public ruby-debug-inspector
(package (package
(name "ruby-debug-inspector") (name "ruby-debug-inspector")
(version "0.0.3") (version "1.1.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (rubygems-uri "debug_inspector" version)) (uri (rubygems-uri "debug_inspector" version))
(sha256 (sha256
(base32 (base32
"0vxr0xa1mfbkfcrn71n7c4f2dj7la5hvphn904vh20j3x4j5lrx0")))) "01l678ng12rby6660pmwagmyg8nccvjfgs3487xna7ay378a59ga"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda _
(invoke "rake" "compile") (invoke "rake" "compile")
@ -226,6 +227,8 @@ (define-public ruby-debug-inspector
(string-append (string-append
"require 'debug_inspector'; RubyVM::DebugInspector." "require 'debug_inspector'; RubyVM::DebugInspector."
"open{|dc| p dc.backtrace_locations}"))))))) "open{|dc| p dc.backtrace_locations}")))))))
(native-inputs
(list ruby-rake-compiler))
(synopsis "Ruby wrapper for the MRI 2.0 debug_inspector API") (synopsis "Ruby wrapper for the MRI 2.0 debug_inspector API")
(description (description
"This package provides a Ruby wrapper for the MRI 2.0 debug_inspector "This package provides a Ruby wrapper for the MRI 2.0 debug_inspector