dev-ruby/rspec-expectations: add ruby25
authorHans de Graaff <graaff@gentoo.org>
Sat, 24 Mar 2018 07:40:46 +0000 (08:40 +0100)
committerHans de Graaff <graaff@gentoo.org>
Sat, 24 Mar 2018 08:35:34 +0000 (09:35 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild

index 9da5e9c1653abde67b9e482a8484022b53f8ef31..2c12f2af442126118fc8c1fcbde8d7a477d0f8f0 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 
@@ -52,7 +52,7 @@ all_ruby_prepare() {
 
 each_ruby_prepare() {
        case ${RUBY} in
-               *ruby24)
+               *ruby24|*ruby25)
                        sed -i -e 's/of Fixnum/of Integer/' spec/rspec/expectations/expectation_target_spec.rb spec/rspec/matchers/be_instance_of_spec.rb || die
                        ;;
        esac