summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-06-27 07:05:12 +0200
committerHans de Graaff <graaff@gentoo.org>2018-06-27 07:05:12 +0200
commitb5be4fde8b0d65e5a470ec32c6fe13d84240a96c (patch)
tree01b0d70704560cfccb91510d4e6ec6f5897c16d5
parentdev-ruby/rack-attack: add 5.3.2 (diff)
downloadgentoo-b5be4fde8b0d65e5a470ec32c6fe13d84240a96c.tar.gz
gentoo-b5be4fde8b0d65e5a470ec32c6fe13d84240a96c.tar.bz2
gentoo-b5be4fde8b0d65e5a470ec32c6fe13d84240a96c.zip
dev-ruby/async_sinatra: add ruby24, ruby25
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild b/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild
index 389334c6b89e..6e70d0fca70e 100644
--- a/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild
+++ b/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-USE_RUBY="ruby21 ruby22 ruby23"
+USE_RUBY="ruby23 ruby24 ruby25"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
@@ -22,12 +22,17 @@ ruby_add_bdepend "test? (
>=dev-ruby/hoe-3.13
>=dev-ruby/minitest-5.6:5
>=dev-ruby/eventmachine-0.12.11
+ dev-ruby/rake
dev-ruby/rack-test
)"
ruby_add_rdepend ">=dev-ruby/sinatra-1.3.2
>=dev-ruby/rack-1.4.1:*"
+each_ruby_test() {
+ MT_NO_PLUGINS=true ${RUBY} -S rake test || die
+}
+
all_ruby_install() {
all_fakegem_install