commit:     834f09d20632a7591b24a6f7a9dcd63b0da37ea7
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 28 09:32:30 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Mar 28 10:21:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834f09d2

dev-ruby/connection_pool: fix tests

Use a consistent minitest version for tests.

Package-Manager: portage-2.2.26

 dev-ruby/connection_pool/connection_pool-2.2.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-ruby/connection_pool/connection_pool-2.2.0.ebuild 
b/dev-ruby/connection_pool/connection_pool-2.2.0.ebuild
index e620b07..602a99b 100644
--- a/dev-ruby/connection_pool/connection_pool-2.2.0.ebuild
+++ b/dev-ruby/connection_pool/connection_pool-2.2.0.ebuild
@@ -24,4 +24,5 @@ ruby_add_bdepend "test? ( >=dev-ruby/minitest-5 )"
 all_ruby_prepare() {
        sed -i -e '/git ls-files/d' connection_pool.gemspec || die
        sed -i -e '/bundler/d' Rakefile || die
+       sed -i -e "s/gem 'minitest'/gem 'minitest', '~> 5.0'/" test/helper.rb 
|| die
 }

Reply via email to