diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-12-08 07:53:44 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-12-08 07:55:04 +0100 |
commit | 9c422fb67db8df9e1dbb800ff6d6603607de052e (patch) | |
tree | e0cb4226acb124eb3cf63fe982c8cbb6bde51f5b /dev-ruby/rack-cache | |
parent | media-libs/openh264: drop 2.3.1-r1 (diff) | |
download | gentoo-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.ebuild | 6 |
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() { |