commit: 72a4489a308fc08404d057df1f2d6d4b3a68b111
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 27 05:59:36 2021 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> 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 <graaff <AT> 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
}