gnu: ruby-hashery: Update to 2.1.2.

* gnu/packages/ruby.scm (ruby-hashery): Update to 2.1.2.
[arguments]: Remove test workaround.
This commit is contained in:
Ben Woodcroft 2016-05-02 10:20:17 +10:00
parent ae4ff9f359
commit cba962086d
1 changed files with 2 additions and 6 deletions

View File

@ -3737,24 +3737,20 @@ Rubytest-based test frameworks. It provides the @code{rubytest} executable.")
(define-public ruby-hashery (define-public ruby-hashery
(package (package
(name "ruby-hashery") (name "ruby-hashery")
(version "2.1.1") (version "2.1.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (rubygems-uri "hashery" version)) (uri (rubygems-uri "hashery" version))
(sha256 (sha256
(base32 (base32
"0xawbljsjarl9l7700bka672ixwznzwih4s9i38p1y9mp8hyx54g")))) "0qj8815bf7q6q7llm5rzdz279gzmpqmqqicxnzv066a020iwqffj"))))
(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 _
;; Remove known test failure documented at
;; https://github.com/rubyworks/hashery/issues/25
(substitute* "test/case_key_hash.rb"
(("^ assert\\(s\\)") ""))
(and (zero? (system* "qed")) (and (zero? (system* "qed"))
(zero? (system* "rubytest" "-Ilib" "-Itest" "test/")))))))) (zero? (system* "rubytest" "-Ilib" "-Itest" "test/"))))))))
(native-inputs (native-inputs