summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-12-08 07:53:44 +0100
committerHans de Graaff <graaff@gentoo.org>2023-12-08 07:55:04 +0100
commit9c422fb67db8df9e1dbb800ff6d6603607de052e (patch)
treee0cb4226acb124eb3cf63fe982c8cbb6bde51f5b /dev-ruby/rack-cache
parentmedia-libs/openh264: drop 2.3.1-r1 (diff)
downloadgentoo-9c422fb67db8df9e1dbb800ff6d6603607de052e.tar.gz
gentoo-9c422fb67db8df9e1dbb800ff6d6603607de052e.tar.bz2
gentoo-9c422fb67db8df9e1dbb800ff6d6603607de052e.zip
dev-ruby/rack-cache: remove duplicate prepare, fix tests
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rack-cache')
-rw-r--r--dev-ruby/rack-cache/rack-cache-1.14.0.ebuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/dev-ruby/rack-cache/rack-cache-1.14.0.ebuild b/dev-ruby/rack-cache/rack-cache-1.14.0.ebuild
index f36440096e15..a1ec29fd920b 100644
--- a/dev-ruby/rack-cache/rack-cache-1.14.0.ebuild
+++ b/dev-ruby/rack-cache/rack-cache-1.14.0.ebuild
@@ -32,13 +32,9 @@ ruby_add_bdepend "test? (
>=dev-ruby/mocha-2 )"
all_ruby_prepare() {
- sed -i -e '/bundler/ s:^:#:' \
- test/test_helper.rb || die
-}
-
-all_ruby_prepare() {
sed -i -e 's/git ls-files/find */' -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die
+ sed -i -e 's/MiniTest/Minitest/' test/*_test.rb || die
}
each_ruby_test() {