gnu: ruby-awesome-print: Update to 1.9.2.

* gnu/packages/ruby.scm (ruby-awesome-print): Update to 1.9.2.
[arguments]: Update style.
This commit is contained in:
Christopher Baines 2023-06-29 10:34:02 +01:00
parent 6d82239a5f
commit 8cd697f8ff
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -1368,29 +1368,30 @@ line of code.")
(define-public ruby-awesome-print (define-public ruby-awesome-print
(package (package
(name "ruby-awesome-print") (name "ruby-awesome-print")
(version "1.8.0") (version "1.9.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (rubygems-uri "awesome_print" version)) (uri (rubygems-uri "awesome_print" version))
(sha256 (sha256
(base32 (base32
"14arh1ixfsd6j5md0agyzvksm5svfkvchb90fp32nn7y3avcmc2h")))) "0vkq6c8y2jvaw03ynds5vjzl1v9wg608cimkd3bidzxc0jvk56z9"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
(replace 'check #~(modify-phases %standard-phases
(lambda _ (replace 'check
;; Remove failing test. (lambda _
(for-each delete-file ;; Remove failing test.
'("spec/ext/nokogiri_spec.rb" (for-each delete-file
"spec/colors_spec.rb" '("spec/ext/nokogiri_spec.rb"
"spec/formats_spec.rb" "spec/colors_spec.rb"
"spec/methods_spec.rb" "spec/formats_spec.rb"
"spec/misc_spec.rb" "spec/methods_spec.rb"
"spec/objects_spec.rb")) "spec/misc_spec.rb"
(invoke "rspec" "-c" "spec")))))) "spec/objects_spec.rb"))
(invoke "rspec" "-c" "spec"))))))
(native-inputs (native-inputs
(list ruby-nokogiri ruby-rspec ruby-simplecov)) (list ruby-nokogiri ruby-rspec ruby-simplecov))
(synopsis "Pretty print Ruby objects to visualize their structure") (synopsis "Pretty print Ruby objects to visualize their structure")