me
/
guix
Archived
1
0
Fork 0

gnu: ruby-yard: Update to 0.9.20.

* gnu/packages/ruby.scm (ruby-yard): Update to 0.9.20.
[arguments]: Delete the Gemfile before running the tests.
[native-inputs]: Add ruby-redcloth and ruby-asciidoctor.
master
Christopher Baines 2020-01-13 19:58:22 +00:00
parent 459e4a1aa1
commit f321380fb3
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 7 additions and 3 deletions

View File

@ -5783,7 +5783,7 @@ A modified copy of yajl is used, and included in the package.")
(define-public ruby-yard (define-public ruby-yard
(package (package
(name "ruby-yard") (name "ruby-yard")
(version "0.9.16") (version "0.9.20")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -5794,20 +5794,24 @@ A modified copy of yajl is used, and included in the package.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0a4r1pfs0ms4vlccsf1x2jckx35lqm8b8lh6rdjxqfr5fia5izpf")))) "1v48zz8hzazrg79jksj9siys21d2axvzijvkxw2j42zh86syi1wi"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda _
;; Delete the Gemfile to avoid errors relating to it
(delete-file "Gemfile")
;; $HOME needs to be set to somewhere writeable for tests to run ;; $HOME needs to be set to somewhere writeable for tests to run
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")
;; Run tests without using 'rake' to avoid dependencies. ;; Run tests without using 'rake' to avoid dependencies.
(invoke "rspec")))))) (invoke "rspec"))))))
(native-inputs (native-inputs
`(("ruby-rspec" ,ruby-rspec) `(("ruby-rspec" ,ruby-rspec)
("ruby-rack" ,ruby-rack))) ("ruby-rack" ,ruby-rack)
("ruby-redcloth" ,ruby-redcloth)
("ruby-asciidoc" ,ruby-asciidoctor)))
(synopsis "Documentation generation tool for Ruby") (synopsis "Documentation generation tool for Ruby")
(description (description
"YARD is a documentation generation tool for the Ruby programming "YARD is a documentation generation tool for the Ruby programming