commit:     6b60990ce47bac5413aa51712433c46e0ff4e529
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 19:14:12 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 19:24:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b60990c

dev-ruby/rspec-expectations: add ruby27

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild 
b/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild
index 1ccac87ba93..afe2e00f7f1 100644
--- a/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild
+++ b/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 
@@ -51,9 +51,5 @@ all_ruby_prepare() {
 }
 
 each_ruby_prepare() {
-       case ${RUBY} in
-               *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
+       sed -i -e 's/of Fixnum/of Integer/' 
spec/rspec/expectations/expectation_target_spec.rb 
spec/rspec/matchers/be_instance_of_spec.rb || die
 }

Reply via email to