summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-09-18 10:24:32 +0200
committerHans de Graaff <graaff@gentoo.org>2020-09-19 07:35:29 +0200
commite5ac10eb1958a81336226c9020fdec065c1cfb29 (patch)
tree3774e386cd808a0347a83e0ce5201718e3618251 /dev-ruby/coderay
parentprofiles/package.mask: unmask jabref-bin (diff)
downloadgentoo-e5ac10eb1958a81336226c9020fdec065c1cfb29.tar.gz
gentoo-e5ac10eb1958a81336226c9020fdec065c1cfb29.tar.bz2
gentoo-e5ac10eb1958a81336226c9020fdec065c1cfb29.zip
dev-ruby/coderay: also run specs
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/coderay')
-rw-r--r--dev-ruby/coderay/coderay-1.1.3-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/coderay/coderay-1.1.3-r1.ebuild b/dev-ruby/coderay/coderay-1.1.3-r1.ebuild
index cf223d7b17de..1cc2fec61d45 100644
--- a/dev-ruby/coderay/coderay-1.1.3-r1.ebuild
+++ b/dev-ruby/coderay/coderay-1.1.3-r1.ebuild
@@ -7,7 +7,7 @@ USE_RUBY="ruby24 ruby25 ruby26 ruby27"
# The test target also contains test:exe but that requires
# shoulda-context which we do not have packaged yet.
-RUBY_FAKEGEM_TASK_TEST="test:functional test:units"
+RUBY_FAKEGEM_TASK_TEST="spec test:functional test:units"
RUBY_FAKEGEM_TASK_DOC="doc"
RUBY_FAKEGEM_DOCDIR="doc"
@@ -32,6 +32,8 @@ IUSE=""
# bootstrapping rspec with new versions easier, since redcloth depends
# on rake-compiler.
+ruby_add_bdepend "test? ( dev-ruby/rspec:3 )"
+
all_ruby_prepare() {
sed -i -e "/[Bb]undler/d" Rakefile || die
sed -i -e '/git ls-files/ s:^:#:' -e 's/.rc.*"/"/' coderay.gemspec || die