diff options
author | Christopher Baines <mail@cbaines.net> | 2023-07-03 10:13:00 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-07-10 08:26:04 +0100 |
commit | 29ecffebbfb8a8ab213c4b27e0290a5968853dfe (patch) | |
tree | c36135524401eabbe8f409ba05466bb07904af94 /gnu/packages/ruby.scm | |
parent | 411791ea40bec166afd5480d6b7500375c494f82 (diff) |
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.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 11 |
1 files 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") |