commit:     6977900dbba0cf50d84964730ddcc3dfe4638b41
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun May  3 08:15:29 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun May  3 08:15:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6977900d

dev-ruby/globalid: fix tests

Add missing require for Forwardable. This probably got dropped
in one of the dependencies at some point.

Bug: https://bugs.gentoo.org/720408
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/globalid/globalid-0.4.2.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/globalid/globalid-0.4.2.ebuild 
b/dev-ruby/globalid/globalid-0.4.2.ebuild
index 9d61ff1f8a1..1d8455b2ab5 100644
--- a/dev-ruby/globalid/globalid-0.4.2.ebuild
+++ b/dev-ruby/globalid/globalid-0.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,4 +23,6 @@ ruby_add_rdepend ">=dev-ruby/activesupport-4.2.0:*"
 
 all_ruby_prepare() {
        rm -f Gemfile.lock || die
+
+       sed -i -e '2irequire "forwardable"' test/helper.rb || die
 }

Reply via email to