mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-02 09:28:57 -05:00
gnu: ruby-contracts: Update to 0.17.
* gnu/packages/ruby.scm (ruby-contracts): Update to 0.17. [arguments]: Update style.
This commit is contained in:
parent
46565974a5
commit
830d6e342f
1 changed files with 13 additions and 13 deletions
|
@ -2449,27 +2449,27 @@ (define-public ruby-console
|
|||
(define-public ruby-contracts
|
||||
(package
|
||||
(name "ruby-contracts")
|
||||
(version "0.16.0")
|
||||
(version "0.17")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "contracts" version))
|
||||
(sha256
|
||||
(base32
|
||||
"119f5p1n6r5svbx8h09za6a4vrsnj5i1pzr9cqdn9hj3wrxvyl3a"))))
|
||||
"0gfybfsb6kqxvvcrv1q7bfjaxmq73pf3vqy4bbzarkbajil05ii5"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
'(#:test-target "spec"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; Don't run or require rubocop, the code linting tool, as this is a
|
||||
;; bit unnecessary.
|
||||
(add-after 'unpack 'dont-run-rubocop
|
||||
(lambda _
|
||||
(substitute* "Rakefile"
|
||||
((".*rubocop.*") "")
|
||||
((".*RuboCop.*") ""))
|
||||
#t)))))
|
||||
(list
|
||||
#:test-target "spec"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; Don't run or require rubocop, the code linting tool, as this is a
|
||||
;; bit unnecessary.
|
||||
(add-after 'unpack 'dont-run-rubocop
|
||||
(lambda _
|
||||
(substitute* "Rakefile"
|
||||
((".*rubocop.*") "")
|
||||
((".*RuboCop.*") "")))))))
|
||||
(native-inputs
|
||||
(list ruby-rspec))
|
||||
(synopsis "Method contracts for Ruby")
|
||||
|
|
Loading…
Reference in a new issue