commit:     8ca236e51bf87914458c23bb87d41429e99523a2
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 17 07:11:57 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Nov 17 07:12:13 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca236e5

dev-ruby/did_you_mean: avoid broken test

Fixes: https://bugs.gentoo.org/671124
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.0.2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/did_you_mean/did_you_mean-1.0.2.ebuild 
b/dev-ruby/did_you_mean/did_you_mean-1.0.2.ebuild
index 5531a462bc1..3d4c3dcac4d 100644
--- a/dev-ruby/did_you_mean/did_you_mean-1.0.2.ebuild
+++ b/dev-ruby/did_you_mean/did_you_mean-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 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