From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B8C41382C5 for ; Sun, 31 May 2020 08:09:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA226E091D; Sun, 31 May 2020 08:09:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86B88E091D for ; Sun, 31 May 2020 08:09:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 579C634F06F for ; Sun, 31 May 2020 08:09:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3E5F27C for ; Sun, 31 May 2020 08:09:25 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1590912535.f90fb72bba0504467c243710de56ffe52e3d0ba8.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/oauth/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/oauth/oauth-0.5.4.ebuild X-VCS-Directories: dev-ruby/oauth/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f90fb72bba0504467c243710de56ffe52e3d0ba8 X-VCS-Branch: master Date: Sun, 31 May 2020 08:09:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 091254c3-92f8-4bc4-941e-fd07657734bc X-Archives-Hash: 5ddeced7492464017e7cc8c6f87dad05 commit: f90fb72bba0504467c243710de56ffe52e3d0ba8 Author: Hans de Graaff gentoo org> AuthorDate: Sun May 31 08:08:38 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun May 31 08:08:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f90fb72b dev-ruby/oauth: fix tests Closes: https://bugs.gentoo.org/723930 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/oauth/oauth-0.5.4.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-ruby/oauth/oauth-0.5.4.ebuild b/dev-ruby/oauth/oauth-0.5.4.ebuild index d674b5571b4..59a71726716 100644 --- a/dev-ruby/oauth/oauth-0.5.4.ebuild +++ b/dev-ruby/oauth/oauth-0.5.4.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 @@ -21,16 +21,19 @@ KEYWORDS="~amd64 ~ppc ~x86 ~x86-macos" IUSE="" ruby_add_bdepend "test? ( + dev-ruby/bundler dev-ruby/test-unit:2 dev-ruby/mocha:1.0 dev-ruby/webmock dev-ruby/rack dev-ruby/actionpack:5.2 + dev-ruby/railties:5.2 )" all_ruby_prepare() { # Require a compatible version of mocha - sed -i -e '1igem "mocha", "~> 1.0"; gem "actionpack", "~>5.2.0"' \ + sed -i -e '1igem "mocha", "~> 1.0"; gem "railties", "~>5.2.0" ; gem "actionpack", "~>5.2.0"' \ -e '2i gem "test-unit"; require "test/unit"' \ + -e '/mocha/ s/mini_test/minitest/' \ -e '/\(byebug\|minitest_helpers\|simplecov\)/I s:^:#:' test/test_helper.rb || die }