commit:     95ea6f679f4d8b908370d2e45b8f72eb7bd5e844
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 21 06:05:30 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jul 21 06:05:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ea6f67

dev-ruby/actionmailer: fix tests with rails 5.2 present

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/actionmailer/actionmailer-5.1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/actionmailer/actionmailer-5.1.6.ebuild 
b/dev-ruby/actionmailer/actionmailer-5.1.6.ebuild
index eb97299a0c6..3715e6a0434 100644
--- a/dev-ruby/actionmailer/actionmailer-5.1.6.ebuild
+++ b/dev-ruby/actionmailer/actionmailer-5.1.6.ebuild
@@ -38,7 +38,7 @@ ruby_add_bdepend "test? (
 all_ruby_prepare() {
        # Set test environment to our hand.
        rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
-       sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to 
remove load paths"
+       sed -i -e '/\/load_paths/d ; 1igem "railties", "~>5.1.0"; gem 
"activejob", "~>5.1.0"' test/abstract_unit.rb || die "Unable to remove load 
paths"
 
        # Avoid a test failing only on attachment ordering, since this is a
        # security release.

Reply via email to