mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-timecop: Update to 0.9.6.
* gnu/packages/ruby.scm (ruby-timecop): Update to 0.9.6. [arguments]: Update style. [native-inputs]: Add ruby-pry.
This commit is contained in:
parent
aad852857e
commit
bc9d7cc211
1 changed files with 14 additions and 10 deletions
|
@ -12052,25 +12052,29 @@ associated records.")
|
||||||
(define-public ruby-timecop
|
(define-public ruby-timecop
|
||||||
(package
|
(package
|
||||||
(name "ruby-timecop")
|
(name "ruby-timecop")
|
||||||
(version "0.9.1")
|
(version "0.9.6")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (rubygems-uri "timecop" version))
|
(uri (rubygems-uri "timecop" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0d7mm786180v4kzvn1f77rhfppsg5n0sq2bdx63x9nv114zm8jrp"))))
|
"0dlx4gx0zh836i7nzna03xdl7fc233s5z6plnr6k3kw46ah8d1fc"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-before 'check 'set-check-rubylib
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-before 'check 'set-check-rubylib
|
||||||
;; Set RUBYLIB so timecop tests finds its own lib.
|
(lambda _
|
||||||
(setenv "RUBYLIB" "lib")
|
;; Set RUBYLIB so timecop tests finds its own lib.
|
||||||
#t)))))
|
(setenv "RUBYLIB" "lib"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bundler ruby-minitest-rg ruby-mocha ruby-activesupport))
|
(list bundler
|
||||||
|
ruby-minitest-rg
|
||||||
|
ruby-mocha
|
||||||
|
ruby-activesupport
|
||||||
|
ruby-pry))
|
||||||
(synopsis "Test mocks for time-dependent functions")
|
(synopsis "Test mocks for time-dependent functions")
|
||||||
(description
|
(description
|
||||||
"Timecop provides \"time travel\" and \"time freezing\" capabilities,
|
"Timecop provides \"time travel\" and \"time freezing\" capabilities,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue