guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

92/100: gnu: ruby-rspec-block-is-expected: Update to 1.0.5.


From: guix-commits
Subject: 92/100: gnu: ruby-rspec-block-is-expected: Update to 1.0.5.
Date: Mon, 10 Jul 2023 03:27:40 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 29ecffebbfb8a8ab213c4b27e0290a5968853dfe
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Mon Jul 3 10:13:00 2023 +0100

    gnu: ruby-rspec-block-is-expected: Update to 1.0.5.
    
    * gnu/packages/ruby.scm (ruby-rspec-block-is-expected): Update to 1.0.5.
    [arguments]: Don't attempt to sign gem.
---
 gnu/packages/ruby.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e5b84a82f9..aea268e459 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -971,7 +971,7 @@ support for stubbing and mocking.")
 (define-public ruby-rspec-block-is-expected
   (package
     (name "ruby-rspec-block-is-expected")
-    (version "1.0.2")
+    (version "1.0.5")
     (source (origin
               (method git-fetch)        ;for tests
               (uri (git-reference
@@ -980,7 +980,7 @@ support for stubbing and mocking.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1w8mj00k8am24yw7lbhg616m111p7h7bbfxaw7np4i7wnlwzm8fk"))))
+                "1zi5z12lkw3fiwgr7g61845wj73asr2vzw4zsjv45klnnfspwass"))))
     (build-system ruby-build-system)
     (arguments
      (list #:phases #~(modify-phases %standard-phases
@@ -991,7 +991,12 @@ support for stubbing and mocking.")
                               (("RuboCop::RakeTask.new") ""))
                             ;; Contains extraneous requirements not actually
                             ;; needed for the test suite.
-                            (delete-file "Gemfile"))))))
+                            (delete-file "Gemfile")))
+                        (add-before 'build 'drop-signing-key-requirement
+                          (lambda _
+                            (substitute* "rspec-block_is_expected.gemspec"
+                              (("spec.signing_key =.*")
+                               "spec.signing_key = nil")))))))
     (native-inputs (list ruby-rspec-pending-for ruby-rspec-expectations))
     (propagated-inputs (list ruby-rspec-core))
     (synopsis "Simplify testing of blocks in RSpec")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]