diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-07-27 07:59:36 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-07-27 08:30:11 +0200 |
commit | 72a4489a308fc08404d057df1f2d6d4b3a68b111 (patch) | |
tree | 85f96ce680fe9ab8d81289ff56b7f709788e3e6b /dev-ruby | |
parent | dev-python/python-docs: stable 3.6.14 for hppa/sparc, bug #804276 (diff) | |
download | gentoo-72a4489a308fc08404d057df1f2d6d4b3a68b111.tar.gz gentoo-72a4489a308fc08404d057df1f2d6d4b3a68b111.tar.bz2 gentoo-72a4489a308fc08404d057df1f2d6d4b3a68b111.zip |
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@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.1.ebuild | 10 |
1 files 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 dde668b3853c..15c571ae204d 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 } |