dev-ruby/rspec-expectations: add ruby26
authorHans de Graaff <graaff@gentoo.org>
Fri, 18 Jan 2019 11:10:33 +0000 (12:10 +0100)
committerHans de Graaff <graaff@gentoo.org>
Fri, 18 Jan 2019 11:12:21 +0000 (12:12 +0100)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

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

index 2c12f2af442126118fc8c1fcbde8d7a477d0f8f0..86ee348aeca3cf6b01cfb8d75a470c6ac9a96ba8 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 
@@ -52,7 +52,7 @@ all_ruby_prepare() {
 
 each_ruby_prepare() {
        case ${RUBY} in
-               *ruby24|*ruby25)
+               *ruby24|*ruby25|*ruby26)
                        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