summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-07-06 11:58:20 +0200
committerHans de Graaff <graaff@gentoo.org>2021-07-06 12:26:09 +0200
commit5d48b9b60324e91bff5d43ea0d0e5fdb9ab045b1 (patch)
tree16fee8c1ec90d985e97fc73375c7a7f6b07aa697 /dev-ruby/faraday_middleware
parentdev-ruby/treetop: add ruby27 (diff)
downloadgentoo-5d48b9b60324e91bff5d43ea0d0e5fdb9ab045b1.tar.gz
gentoo-5d48b9b60324e91bff5d43ea0d0e5fdb9ab045b1.tar.bz2
gentoo-5d48b9b60324e91bff5d43ea0d0e5fdb9ab045b1.zip
dev-ruby/faraday_middleware: add ruby27
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/faraday_middleware')
-rw-r--r--dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild b/dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild
index 7434e8efdb68..3ad6b8513fdd 100644
--- a/dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild
+++ b/dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-USE_RUBY="ruby24 ruby25 ruby26"
+USE_RUBY="ruby25 ruby26 ruby27"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -55,6 +55,8 @@ all_ruby_prepare() {
# Avoid unneeded dependency on git
sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '1irequire "fileutils"' spec/spec_helper.rb || die
}
each_ruby_test() {