summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-21 07:07:51 +0200
committerHans de Graaff <graaff@gentoo.org>2018-07-21 07:57:55 +0200
commit44aa881806b23231259f694fdede0255fe482287 (patch)
tree396e4fbff02b372c534b051bb1682e2b713653e2 /dev-ruby/activemodel
parentdev-ruby/activesupport: amd64 stable (diff)
downloadgentoo-44aa881806b23231259f694fdede0255fe482287.tar.gz
gentoo-44aa881806b23231259f694fdede0255fe482287.tar.bz2
gentoo-44aa881806b23231259f694fdede0255fe482287.zip
dev-ruby/activemodel: fix tests with rails 5.2 present
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/activemodel')
-rw-r--r--dev-ruby/activemodel/activemodel-5.1.6.ebuild4
1 files 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 a0b573ba9df5..bd145fbf2c53 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"
}