[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
180/229: gnu: ruby-braintree: Update to 4.10.0.
From: |
guix-commits |
Subject: |
180/229: gnu: ruby-braintree: Update to 4.10.0. |
Date: |
Tue, 28 Mar 2023 22:29:20 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit a6f56be1031624aa15781224a3161bd44e1862c0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 15 10:11:11 2023 -0400
gnu: ruby-braintree: Update to 4.10.0.
* gnu/packages/ruby.scm (ruby-braintree): Update to 4.10.0.
[source]: Streamline comment.
[arguments]: Add disable-rubocop phase. Rename the less-strict-dependencies
phase to relax-requirements, and update the substitutions.
[native-inputs]: Remove ruby-rubocop.
---
gnu/packages/ruby.scm | 35 +++++++++++++++++++----------------
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 6d22846917..d3c9ab9c7e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -15149,42 +15149,45 @@ any unhandled exceptions.")
(define-public ruby-braintree
(package
(name "ruby-braintree")
- (version "4.7.0")
+ (version "4.10.0")
(source
(origin
- (method git-fetch)
- ;; Download from GitHub because the rubygems version does not contain
- ;; Rakefile.
+ (method git-fetch) ;for tests
(uri (git-reference
(url "https://github.com/braintree/braintree_ruby")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1gixqf9vsjsyrk45lf9xcz0ggdydpgsk8ahknd27bbigz1j4pdf6"))))
+ (base32 "01b5bp8q038ray5wwg3qhg4hj3r5a48vnfzs3gxkdjm5ky6bmn4p"))))
(build-system ruby-build-system)
(arguments
`(#:test-target "test:unit"
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'less-strict-dependencies
+ (add-after 'unpack 'disable-rubocop
+ (lambda _
+ (substitute* "Rakefile"
+ (("sh \"rubocop\"") ""))))
+ (add-after 'unpack 'relax-requirements
(lambda _
(substitute* "Gemfile"
- (("gem \"libxml-ruby\", \"3.2.0\"")
+ (("gem \"libxml-ruby\", \"3.2.0\"")
"gem \"libxml-ruby\", \"~> 3.0.0\"")
(("gem \"rspec\", \"3.9.0\"")
- "gem \"rspec\", \"~> 3.8.0\"")
- (("gem \"rubocop\", \"~>1.12.0\"")
- "gem \"rubocop\", \"~> 1.10.0\"")))))))
+ "gem \"rspec\", \">= 3.9.0\"")
+ (("gem \"webrick\", \"~>1.7.0\"")
+ "gem \"webrick\", \">=1.7.0\"")
+ ((".*gem \"rubocop\".*") "")
+ ((".*gem \"rspec_junit_formatter\".*") "")))))))
(native-inputs
(list ruby-libxml
- ruby-pry
- ruby-rake
- ruby-rspec
- ruby-rubocop
- ruby-webrick))
+ ruby-pry
+ ruby-rake
+ ruby-rspec
+ ruby-webrick))
(propagated-inputs
(list ruby-builder
- ruby-rexml))
+ ruby-rexml))
(home-page "https://www.braintreepayments.com/")
(synopsis "Integration access to the Braintree Gateway")
(description "Braintree provides resources and tools for developers to
- 196/229: gnu: jekyll: Use gexps and remove input labels., (continued)
- 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
- 175/229: gnu: Add perl-app-cpanminus., guix-commits, 2023/03/28
- 180/229: gnu: ruby-braintree: Update to 4.10.0.,
guix-commits <=
- 184/229: gnu: ruby-prawn-svg: Fix build., guix-commits, 2023/03/28
- 188/229: gnu: ruby-liquid: Update to 4.0.3., guix-commits, 2023/03/28
- 200/229: gnu: Add ruby-ruby-version., guix-commits, 2023/03/28
- 201/229: gnu: Add ruby-rspec-pending-for., guix-commits, 2023/03/28
- 219/229: gnu: Add ruby-spy., guix-commits, 2023/03/28
- 220/229: gnu: Add ruby-liquid-c-bootstrap., guix-commits, 2023/03/28
- 226/229: gnu: ruby-rack-protection: Update to 3.0.5., guix-commits, 2023/03/28
- 221/229: gnu: ruby-liquid: Update to 5.4.0 and enable tests., guix-commits, 2023/03/28
- 222/229: gnu: Add ruby-liquid-c., guix-commits, 2023/03/28
- 223/229: gnu: ruby-net-scp: Update to 4.0.0., guix-commits, 2023/03/28