commit:     c1e69cfb7c979ab7c4ab8a94886fa2aa485e9b54
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 20 07:22:22 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jul 20 07:22:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e69cfb

dev-ruby/activesupport: avoid unneeded gems during tests

Closes: https://bugs.gentoo.org/910506
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/activesupport/activesupport-6.1.7.4.ebuild | 2 +-
 dev-ruby/activesupport/activesupport-7.0.6.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/activesupport/activesupport-6.1.7.4.ebuild 
b/dev-ruby/activesupport/activesupport-6.1.7.4.ebuild
index 723e2ffcc925..69e7680e5803 100644
--- a/dev-ruby/activesupport/activesupport-6.1.7.4.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.7.4.ebuild
@@ -58,7 +58,7 @@ all_ruby_prepare() {
 
        # Remove items from the common Gemfile that we don't need for this
        # test run. This also requires handling some gemspecs.
-       sed -i -e 
"/\(system_timer\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\|rack-test\)/
 s:^:#:" \
+       sed -i -e 
"/\(system_timer\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\|rack-test\|net-smtp\|net-imap\|net-pop\|digest\|matrix\)/
 s:^:#:" \
                -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) 
do/,/^end/ s:^:#:' \
                -e 's/gemspec/gemspec path: "activesupport"/' \
                -e '5igem "builder"; gem "rack"' ../Gemfile || die

diff --git a/dev-ruby/activesupport/activesupport-7.0.6.ebuild 
b/dev-ruby/activesupport/activesupport-7.0.6.ebuild
index 1e261e644d4e..a40b35af2336 100644
--- a/dev-ruby/activesupport/activesupport-7.0.6.ebuild
+++ b/dev-ruby/activesupport/activesupport-7.0.6.ebuild
@@ -51,7 +51,7 @@ all_ruby_prepare() {
 
        # Remove items from the common Gemfile that we don't need for this
        # test run. This also requires handling some gemspecs.
-       sed -i -e 
"/\(system_timer\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\|propshaft\|rack-test\|terser\|cgi\)/
 s:^:#:" \
+       sed -i -e 
"/\(system_timer\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\|propshaft\|rack-test\|terser\|cgi\|net-smtp\|net-imap\|net-pop\|digest\|matrix\)/
 s:^:#:" \
                -e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \
                -e '/group 
:\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\|view\) do/,/^end/ s:^:#:' \
                -e 's/gemspec/gemspec path: "activesupport"/' \

Reply via email to