[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
193/229: gnu: ruby-shoulda: Update to 4.0.0.
From: |
guix-commits |
Subject: |
193/229: gnu: ruby-shoulda: Update to 4.0.0. |
Date: |
Tue, 28 Mar 2023 22:29:22 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 208cf6916e7a9708c1ae6cc49c129719ca0089a7
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 15 21:52:14 2023 -0400
gnu: ruby-shoulda: Update to 4.0.0.
* gnu/packages/ruby.scm (ruby-shoulda): Update to 4.0.0.
[arguments]: Add relax-requirements phase.
[propagated-inputs]: Replace ruby-shoulda-matchers-2 with
ruby-shoulda-matchers.
(ruby-shoulda-matchers-2): Delete variable.
---
gnu/packages/ruby.scm | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index faf3dafdda..24b5546ecf 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10136,28 +10136,17 @@ more complex, and error-prone.")
(home-page "https://github.com/thoughtbot/shoulda-matchers")
(license license:expat)))
-(define-public ruby-shoulda-matchers-2
- (package
- (inherit ruby-shoulda-matchers)
- (version "2.8.0")
- (source (origin
- (method url-fetch)
- (uri (rubygems-uri "shoulda-matchers" version))
- (sha256
- (base32
- "0d3ryqcsk1n9y35bx5wxnqbgw4m8b3c79isazdjnnbg8crdp72d0"))))))
-
(define-public ruby-shoulda
(package
(name "ruby-shoulda")
- (version "3.5.0")
+ (version "4.0.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "shoulda" version))
(sha256
(base32
- "0csmf15a7mcinfq54lfa4arp0f4b2jmwva55m0p94hdf3pxnjymy"))))
+ "02lww34kn1g6lidp4rx4rs6bqvirrzxlfw1y2wm11aif8f622xz6"))))
(build-system ruby-build-system)
(arguments
`(#:phases
@@ -10165,9 +10154,17 @@ more complex, and error-prone.")
(replace 'check
;; Don't run tests to avoid circular dependence with rails. Instead
;; just import the library to test.
- (lambda _ (invoke "ruby" "-Ilib" "-r" "shoulda"))))))
- (propagated-inputs
- (list ruby-shoulda-context ruby-shoulda-matchers-2))
+ (lambda _ (invoke "ruby" "-Ilib" "-r" "shoulda")))
+ (add-after 'extract-gemspec 'relax-requirements
+ (lambda _
+ (substitute* "shoulda.gemspec"
+ ;; An older version of shoulda-matchers (4.0) is used, out of
+ ;; little maintenance rather than because of an real
+ ;; incompatibility (see:
+ ;; https://github.com/thoughtbot/shoulda/issues/275).
+ ((", \\[\"~> 4.0\"]") "")))))))
+ (propagated-inputs
+ (list ruby-shoulda-context ruby-shoulda-matchers))
(synopsis "Context framework and matchers for testing")
(description
"@code{shoulda} is a meta-package combining @code{shoulda-context} and
- 197/229: gnu: jekyll: Update to 4.3.2 and enable tests., (continued)
- 197/229: gnu: jekyll: Update to 4.3.2 and enable tests., guix-commits, 2023/03/28
- 199/229: gnu: Add ruby-silent-stream., guix-commits, 2023/03/28
- 202/229: gnu: Add ruby-rspec-block-is-expected., guix-commits, 2023/03/28
- 212/229: gnu: Add ruby-sassc-rails., guix-commits, 2023/03/28
- 216/229: gnu: ruby-autoprefixer-rails: Update to 10.4.13.0., guix-commits, 2023/03/28
- 225/229: gnu: ruby-mustermann: Update to 3.0.0., guix-commits, 2023/03/28
- 139/229: gnu: Add ruby-websocket-native., guix-commits, 2023/03/28
- 161/229: gnu: Add ruby-bootsnap., guix-commits, 2023/03/28
- 170/229: gnu: ruby-spring: Update to 4.1.1., guix-commits, 2023/03/28
- 187/229: gnu: ruby-terminal-table: Update to 3.0.2., guix-commits, 2023/03/28
- 193/229: gnu: ruby-shoulda: Update to 4.0.0.,
guix-commits <=
- 195/229: gnu: ruby-unf-ext: Update to 0.0.8.2., guix-commits, 2023/03/28
- 196/229: gnu: jekyll: Use gexps and remove input labels., guix-commits, 2023/03/28
- 203/229: gnu: Add ruby-version-gem., guix-commits, 2023/03/28
- 207/229: gnu: ruby-omniauth: Update to 2.1.1., guix-commits, 2023/03/28
- 209/229: gnu: ruby-cuke-modeler: Update to 3.19.0 and enable tests., guix-commits, 2023/03/28
- 191/229: gnu: ruby-shoulda-matchers: Update to 5.3.0., guix-commits, 2023/03/28
- 194/229: gnu: ruby-shoulda: Honor #:tests?., guix-commits, 2023/03/28
- 205/229: gnu: Add ruby-snaky-hash., guix-commits, 2023/03/28
- 206/229: gnu: ruby-oauth2: Update to 2.0.9 and enable tests., guix-commits, 2023/03/28
- 163/229: gnu: ruby-globalid: Move to (gnu packages rails)., guix-commits, 2023/03/28