Subject: [PATCH ruby-team 63/71] gnu: ruby-rubocop-capybara: Relax ruby-danger requirement.

From: Nicolas Graves <[email-masked]>
Date: Sun, 16 Feb 2025 01:34:31 +0100

* gnu/packages/ruby.scm (ruby-rubocop-capybara)[arguments]<#:phases>:
Relax ruby-danger requirement in phase 'relax-requirements.
---
 gnu/packages/ruby.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7ada2cb99e..95e575f7b7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2045,7 +2045,8 @@ code style checking of Capybara test files (RSpec, Cucumber, Minitest).")
                           (lambda _
                             (substitute* "Gemfile"
                               (("gem 'rubocop-rspec', '~> 2.16.0'")
-                               "gem 'rubocop-rspec', '>= 2.16.0'")))))))
+                               "gem 'rubocop-rspec', '>= 2.16.0'")
+                              (("gem 'danger'.*") "")))))))
     (native-inputs
      (list ruby-bump
            ruby-rack
-- 
2.48.1