commit: 44aa881806b23231259f694fdede0255fe482287
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 21 05:07:51 2018 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jul 21 05:57:55 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44aa8818
dev-ruby/activemodel: fix tests with rails 5.2 present
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-ruby/activemodel/activemodel-5.1.6.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-ruby/activemodel/activemodel-5.1.6.ebuild
b/dev-ruby/activemodel/activemodel-5.1.6.ebuild
index a0b573ba9df..bd145fbf2c5 100644
--- a/dev-ruby/activemodel/activemodel-5.1.6.ebuild
+++ b/dev-ruby/activemodel/activemodel-5.1.6.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-USE_RUBY="ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR=""
@@ -40,5 +40,5 @@ ruby_add_bdepend "
all_ruby_prepare() {
# Set test environment to our hand.
- sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove
load paths"
+ sed -i -e '/load_paths/d ; 1igem "activesupport", "~>5.1.6" ; gem
"railties", "~>5.1.6"' test/cases/helper.rb || die "Unable to remove load paths"
}