dev-ruby/require_relative: use a consistent minitest version
authorHans de Graaff <graaff@gentoo.org>
Fri, 28 Aug 2015 05:28:44 +0000 (07:28 +0200)
committerHans de Graaff <graaff@gentoo.org>
Fri, 28 Aug 2015 05:28:44 +0000 (07:28 +0200)
Package-Manager: portage-2.2.20.1

dev-ruby/require_relative/require_relative-1.0.3-r1.ebuild

index e408c0456e6644beb4c9cb332ad4285e7b031b46..b82ea8de28d35d25056284ad8e1607947ea74780 100644 (file)
@@ -20,9 +20,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
 IUSE="test"
 
-ruby_add_bdepend "test? ( virtual/ruby-minitest )"
+ruby_add_bdepend "test? ( >=dev-ruby/minitest-4.7:0 )"
 
 all_ruby_prepare() {
        rm Gemfile || die
        sed -i -e '/[Bb]undler/d' Rakefile test/require_relative_test.rb || die
+       sed -i -e '1igem "minitest", "~> 4.7"' test/require_relative_test.rb || die
 }