commit:     c6460ff357f0426252f1157e9962984590087fc9
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 17 07:08:32 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Nov 17 07:12:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6460ff3

dev-ruby/did_you_mean: avoid broken test

Fixes: https://bugs.gentoo.org/671120
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-ruby/did_you_mean/did_you_mean-1.1.2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/did_you_mean/did_you_mean-1.1.2.ebuild 
b/dev-ruby/did_you_mean/did_you_mean-1.1.2.ebuild
index bd875176b60..3656e938bba 100644
--- a/dev-ruby/did_you_mean/did_you_mean-1.1.2.ebuild
+++ b/dev-ruby/did_you_mean/did_you_mean-1.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,4 +19,7 @@ IUSE=""
 
 all_ruby_prepare() {
        sed -i -e '/bundler/ s:^:#:' Rakefile || die
+
+       # Skip test that is broken with newer ruby releases
+       sed -i -e  '/test_message/,/^  end/ s:^:#:' 
test/core_ext/name_error_extension_test.rb || die
 }

Reply via email to