dev-ruby/arel: use a consistent minitest version
authorHans de Graaff <graaff@gentoo.org>
Thu, 27 Aug 2015 11:47:22 +0000 (13:47 +0200)
committerHans de Graaff <graaff@gentoo.org>
Fri, 28 Aug 2015 05:10:15 +0000 (07:10 +0200)
Package-Manager: portage-2.2.20.1

dev-ruby/arel/arel-3.0.3.ebuild

index 76df5ab249b26f844bfce69ffa0dce2622ed5121..6b55d49f8658deded0fcf00e7da296d1860bc56e 100644 (file)
@@ -25,10 +25,13 @@ ruby_add_bdepend "
        doc? ( >=dev-ruby/hoe-2.10 )
        test? (
                >=dev-ruby/hoe-2.10
-               virtual/ruby-minitest
+               >=dev-ruby/minitest-4.7:0
        )"
 
 all_ruby_prepare() {
        # Put the proper version number in the gemspec.
        sed -i -e "s/ s.version = \".*\"/ s.version = \"${PV}\"/" arel.gemspec || die
+
+       # Use a consistent minitest version
+       sed -i -e '1igem "minitest", "~>4.7"' Rakefile || die
 }