dev-ruby/rack-test: add ruby24
authorHans de Graaff <graaff@gentoo.org>
Fri, 23 Jun 2017 03:38:14 +0000 (05:38 +0200)
committerHans de Graaff <graaff@gentoo.org>
Fri, 23 Jun 2017 03:38:14 +0000 (05:38 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

dev-ruby/rack-test/rack-test-0.6.3.ebuild

index a241f353f10719b82c59c837d79e2f85580b97c2..be105cc88506b359288acab8bc2a724503b0f01c 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
 
 # no documentation is generable, it needs hanna, which is broken
 RUBY_FAKEGEM_TASK_DOC=""
@@ -27,5 +27,5 @@ ruby_add_bdepend "
 
 all_ruby_prepare() {
        rm Gemfile* || die
-       sed -i -e '/bundler/d' -e '/[Cc]ode[Cc]limate/d' spec/spec_helper.rb || die
+       sed -i -e '/bundler/d' -e '/[Cc]ode[Cc]limate/d' -e '1igem "rack", "~>1.0"' spec/spec_helper.rb || die
 }