summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-05-15 09:49:30 +0200
committerHans de Graaff <graaff@gentoo.org>2022-05-15 09:50:44 +0200
commite8567f8a580a1ce134f06ca4ff5d57e59a97de54 (patch)
tree42738a1956b2ef6eb5fba8f0c7f670db9a4c5db6 /dev-ruby/ammeter
parentdev-ruby/sass-rails: enable ruby30 and disable ruby25 (diff)
downloadgentoo-e8567f8a580a1ce134f06ca4ff5d57e59a97de54.tar.gz
gentoo-e8567f8a580a1ce134f06ca4ff5d57e59a97de54.tar.bz2
gentoo-e8567f8a580a1ce134f06ca4ff5d57e59a97de54.zip
dev-ruby/ammeter: enable ruby30 and disable ruby25
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ammeter')
-rw-r--r--dev-ruby/ammeter/ammeter-1.1.5.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/dev-ruby/ammeter/ammeter-1.1.5.ebuild b/dev-ruby/ammeter/ammeter-1.1.5.ebuild
index 4e27c1aab425..3de18e3f1520 100644
--- a/dev-ruby/ammeter/ammeter-1.1.5.ebuild
+++ b/dev-ruby/ammeter/ammeter-1.1.5.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby25 ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -21,10 +21,6 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
-# Restrict tests since they now require the specific rspec version to be
-# provided in an environment variable.
-#RESTRICT="test"
-
ruby_add_rdepend "
>=dev-ruby/activesupport-3.0:*
>=dev-ruby/railties-3.0:*
@@ -61,5 +57,5 @@ all_ruby_prepare() {
}
each_ruby_test() {
- ${RUBY} -S bundle exec ${RUBY} -S rspec-3 spec || die
+ RSPEC_VERSION=">=4" ${RUBY} -S bundle exec ${RUBY} -S rspec-3 spec || die
}