aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-21 10:19:21 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-10 08:25:56 +0100
commit830d6e342f44e6203f28e240a2828ec7d689c6a5 (patch)
treeeb7e0fe5635bcb06bd321d89401542150b0100a9 /gnu/packages/ruby.scm
parent46565974a5c6da3a753ada21a6d4dd1770fdb617 (diff)
downloadguix-830d6e342f44e6203f28e240a2828ec7d689c6a5.tar.gz
guix-830d6e342f44e6203f28e240a2828ec7d689c6a5.zip
gnu: ruby-contracts: Update to 0.17.
* gnu/packages/ruby.scm (ruby-contracts): Update to 0.17. [arguments]: Update style.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm26
1 files changed, 13 insertions, 13 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 55d3fb1713..8ad0961475 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2449,27 +2449,27 @@ features:
(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")