diff options
author | Christopher Baines <mail@cbaines.net> | 2023-06-18 11:56:02 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-06-20 22:04:50 +0100 |
commit | 1abf7f6556c2d25ace981b3c8dc30d6e72f9be3a (patch) | |
tree | 2ba77459a9171c5df7e9df33357414d9983449a2 /gnu/packages/ruby.scm | |
parent | 04e5318eaceaaeb7ee6391307a34e14fa921326c (diff) |
gnu: ruby-range-compressor: Update to 1.2.0.
* gnu/packages/ruby.scm (ruby-range-compressor): Update to 1.2.0.
[arguments]: Update style.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index c7bb133848..07f90e3da3 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -8471,7 +8471,7 @@ better performance than @code{Regexp} and @code{String} methods from the (define-public ruby-range-compressor (package (name "ruby-range-compressor") - (version "1.0.0") + (version "1.2.0") (source (origin (method git-fetch) @@ -8481,17 +8481,18 @@ better performance than @code{Regexp} and @code{String} methods from the (file-name (git-file-name name version)) (sha256 (base32 - "0y8slri2msyyg2szgwgriqd6qw9hkxycssdrcl5lk2dbcq5zvn54")))) + "1zmc44si5ac2h7r1x4f1j8z5yr6wz528c7dssh0g70fmczs3pfga")))) (build-system ruby-build-system) (arguments - `(#:test-target "spec" - #:phases (modify-phases %standard-phases - (add-after 'extract-gemspec 'strip-version-requirements - (lambda _ - (substitute* "range_compressor.gemspec" - (("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped) - (string-append stripped "\n"))) - #t))))) + (list + #:test-target "spec" + #:phases + #~(modify-phases %standard-phases + (add-after 'extract-gemspec 'strip-version-requirements + (lambda _ + (substitute* "range_compressor.gemspec" + (("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped) + (string-append stripped "\n")))))))) (native-inputs (list ruby-rspec)) (synopsis "Simple arrays of objects to arrays of ranges compressor") |