gnu: ruby-commander: Update to 4.6.0.

* gnu/packages/ruby.scm (ruby-commander): Update to 4.6.0.
[arguments]: Update style.
This commit is contained in:
Christopher Baines 2023-06-18 12:15:09 +01:00
parent 7c5d30eb9f
commit 6bafbfd40f
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -321,27 +321,27 @@ (define-public mruby
(define-public ruby-commander (define-public ruby-commander
(package (package
(name "ruby-commander") (name "ruby-commander")
(version "4.4.7") (version "4.6.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (rubygems-uri "commander" version)) (uri (rubygems-uri "commander" version))
(sha256 (sha256
(base32 (base32
"1pxakz596fjqak3cdbha6iva1dlqis86i3kjrgg6lf3sp8i5vhwg")))) "1n8k547hqq9hvbyqbx2qi08g0bky20bbjca1df8cqq5frhzxq7bx"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:test-target "spec" (list
#:phases #:test-target "spec"
(modify-phases %standard-phases #:phases
;; Don't run or require rubocop, the code linting tool, as this is a #~(modify-phases %standard-phases
;; bit unnecessary. ;; Don't run or require rubocop, the code linting tool, as this is a
(add-after 'unpack 'dont-run-rubocop ;; bit unnecessary.
(lambda _ (add-after 'unpack 'dont-run-rubocop
(substitute* "Rakefile" (lambda _
((".*rubocop.*") "") (substitute* "Rakefile"
((".*RuboCop.*") "")) ((".*rubocop.*") "")
#t))))) ((".*RuboCop.*") "")))))))
(propagated-inputs (propagated-inputs
(list ruby-highline)) (list ruby-highline))
(native-inputs (native-inputs