dev-ruby/rspec-expectations: add ruby26

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
Hans de Graaff
2019-01-18 12:10:33 +01:00
parent bdc76d431f
commit a8ea55fbfe

View 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