summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-29 11:01:57 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-10 08:26:01 +0100
commitecd9d36a33c69ca204dba55aec037c02c38ad526 (patch)
tree24caeb01e7e379a90d48227db769de9ccc0b6e5f
parent6937663eaa07c112f6ef4c0f0f75d75a82edebc1 (diff)
gnu: ruby-braintree: Update to 4.12.0.
* gnu/packages/ruby.scm (ruby-braintree): Update to 4.12.0. [arguments]: Tweak relax-requirements phase and update style.
-rw-r--r--gnu/packages/ruby.scm43
1 files changed, 23 insertions, 20 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0de5571f50..4fde5b9073 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -16102,7 +16102,7 @@ any unhandled exceptions.")
(define-public ruby-braintree
(package
(name "ruby-braintree")
- (version "4.10.0")
+ (version "4.12.0")
(source
(origin
(method git-fetch) ;for tests
@@ -16111,27 +16111,30 @@ any unhandled exceptions.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "01b5bp8q038ray5wwg3qhg4hj3r5a48vnfzs3gxkdjm5ky6bmn4p"))))
+ (base32 "0gfgkymy3655drwgs42bj9ap9qib1l30sajxmypmp6s75m9w3gsh"))))
(build-system ruby-build-system)
(arguments
- `(#:test-target "test:unit"
- #:phases
- (modify-phases %standard-phases
- (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.0.0\"")
- (("gem \"rspec\", \"3.9.0\"")
- "gem \"rspec\", \">= 3.9.0\"")
- (("gem \"webrick\", \"~>1.7.0\"")
- "gem \"webrick\", \">=1.7.0\"")
- ((".*gem \"rubocop\".*") "")
- ((".*gem \"rspec_junit_formatter\".*") "")))))))
+ (list
+ #:test-target "test:unit"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-rubocop
+ (lambda _
+ (substitute* "Rakefile"
+ (("sh \"rubocop\"") ""))))
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "Gemfile"
+ (("gem \"pry\".*") "gem 'pry'\n")
+ (("gem \"rake\".*") "gem 'rake'\n")
+ (("gem \"libxml-ruby\", \"3.2.0\"")
+ "gem \"libxml-ruby\", \"~> 3.0.0\"")
+ (("gem \"rspec\", \"3.9.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