summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-09-11 10:44:33 +0200
committerHans de Graaff <graaff@gentoo.org>2021-09-11 10:44:40 +0200
commit3fa85663b9a3ef79babc3bb24b128576cf3ef440 (patch)
tree26185724762064575cd0952aac91ade5a1f2b4f2 /dev-ruby
parentgames-strategy/s25rttr: Drop old 0.9.0_pre20200723-r100 (diff)
downloadgentoo-3fa85663b9a3ef79babc3bb24b128576cf3ef440.tar.gz
gentoo-3fa85663b9a3ef79babc3bb24b128576cf3ef440.tar.bz2
gentoo-3fa85663b9a3ef79babc3bb24b128576cf3ef440.zip
dev-ruby/activesupport: fix test dependencies
Clean up Gemfile and update test dependencies. Closes: https://bugs.gentoo.org/812008 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/activesupport/activesupport-6.1.4.1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild b/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild
index 76b3ac7c82f2..28b06d08700c 100644
--- a/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild
@@ -36,10 +36,12 @@ ruby_add_rdepend "
# but there are tests using this code.
ruby_add_bdepend "test? (
>=dev-ruby/dalli-2.2.1
- >=dev-ruby/nokogiri-1.4.5
+ dev-ruby/connection_pool
+ >=dev-ruby/nokogiri-1.8.1
>=dev-ruby/builder-3.1.0
>=dev-ruby/listen-3.3:3
dev-ruby/rack
+ dev-ruby/rexml
dev-ruby/mocha
)"
@@ -49,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\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|blade\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\)/ 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\)/ 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