This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 3cd677b2425 gnu: ruby-braintree: Update to 4.41.0.
3cd677b2425 is described below
commit 3cd677b2425851f6005365ee27a2cf5699166751
Author: gemmaro <[email protected]>
AuthorDate: Mon Oct 19 14:59:07 2026 +0900
gnu: ruby-braintree: Update to 4.41.0.
* gnu/packages/ruby-xyz.scm (ruby-braintree): Update to 4.41.0.
[arguments]<#:phases>{disable-bundler}: Remove Bundler setup.
{remove-unused-requirements, disable-failing-tests}: New phases.
[native-inputs]: Remove ruby-libxml and ruby-pry.
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/ruby-xyz.scm | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index b8d6ab618bc..1a778901920 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -16730,7 +16730,7 @@ protocol.")
(define-public ruby-braintree
(package
(name "ruby-braintree")
- (version "4.24.0")
+ (version "4.41.0")
(source
(origin
(method git-fetch) ;for tests
@@ -16739,7 +16739,7 @@ protocol.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1bj229cn37k5m0hb3hw868k8dy4pgvpgfixm61zngbp7p7a2xqpx"))))
+ (base32 "1crj3g0wccgsk8svknf1pnvz76p1dcz79143ik4b394xvahwlc7a"))))
(build-system ruby-build-system)
(arguments
(list
@@ -16752,11 +16752,32 @@ protocol.")
(("sh \"rubocop\"") ""))))
(add-after 'unpack 'disable-bundler
(lambda _
- (delete-file "Gemfile"))))))
+ (delete-file "Gemfile")
+ (substitute* "spec/spec_helper.rb"
+ (("require \"bundler/setup\"") ""))))
+ (add-before 'check 'remove-unused-requirements
+ (lambda _
+ (substitute* "spec/spec_helper.rb"
+ (("require \"rspec/retry\"") "")
+ (("require \"pry\"") "")
+ ;; Setters for RSpec retry gem.
+ (("config\\.verbose_retry .*") "")
+ (("config\\.display_try_failure_messages .*") "")
+ (("config\\.default_retry_count .*") "")
+ (("config\\.default_sleep_interval .*") ""))))
+ (add-before 'check 'disable-failing-tests
+ (lambda _
+ (substitute* "spec/unit/braintree/client_token_spec.rb"
+ (("it \"does not mutate the caller's options hash\"" it)
+ (string-append it ", skip: 'ruby2_keywords incompabitilies'"))
+ (("it \"renames preferred_payment_method_token when the value
is nil\"" it)
+ (string-append it ", skip: 'ruby2_keywords incompabitilies'"))
+ (("it \"renames string preferred_payment_method_token to
payment_method_id\"" it)
+ (string-append it ", skip: 'ruby2_keywords incompabitilies'"))
+ (("it \"renames preferred_payment_method_token to
payment_method_id\"" it)
+ (string-append it ", skip: 'ruby2_keywords
incompabitilies'"))))))))
(native-inputs
- (list ruby-libxml
- ruby-pry
- ruby-rake
+ (list ruby-rake
ruby-rspec
ruby-webrick))
(propagated-inputs