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 27CDC139337 for ; Tue, 27 Jul 2021 06:30:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65CE2E0848; Tue, 27 Jul 2021 06:30:18 +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 4C280E0848 for ; Tue, 27 Jul 2021 06:30:18 +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 90EC5342BD0 for ; Tue, 27 Jul 2021 06:30:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F11757A2 for ; Tue, 27 Jul 2021 06:30:14 +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: <1627367411.72a4489a308fc08404d057df1f2d6d4b3a68b111.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/elasticsearch-transport/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.1.ebuild X-VCS-Directories: dev-ruby/elasticsearch-transport/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 72a4489a308fc08404d057df1f2d6d4b3a68b111 X-VCS-Branch: master Date: Tue, 27 Jul 2021 06:30:14 +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: 860802ff-2fa8-4223-b100-aa8aa77f7e23 X-Archives-Hash: 0a70c7ebcf69dd201f164fbbca1ca31c commit: 72a4489a308fc08404d057df1f2d6d4b3a68b111 Author: Hans de Graaff gentoo org> AuthorDate: Tue Jul 27 05:59:36 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Jul 27 06:30:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a4489a dev-ruby/elasticsearch-transport: add ruby27; fix tests Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> .../elasticsearch-transport-6.8.1.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.1.ebuild b/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.1.ebuild index dde668b3853..15c571ae204 100644 --- a/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.1.ebuild +++ b/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26" +USE_RUBY="ruby25 ruby26 ruby27" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" RUBY_FAKEGEM_TASK_TEST="NOTURN=true test" @@ -48,6 +48,8 @@ all_ruby_prepare() { -i Rakefile || die # Tweak test setup to only run unit tests since we don't have a live cluster - sed -i -e "s/RUBY_VERSION > '1.9'/false/" \ - -e '/module Elasticsearch/,$ s:^:#:' test/test_helper.rb || die + sed -e "s/RUBY_VERSION > '1.9'/false/" \ + -e '/module Elasticsearch/,$ s:^:#:' \ + -e '1igem "faraday", "~> 0.9"; gem "patron"' \ + -i test/test_helper.rb || die }