commit:     e5ac10eb1958a81336226c9020fdec065c1cfb29
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 18 08:24:32 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 05:35:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5ac10eb

dev-ruby/coderay: also run specs

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/coderay/coderay-1.1.3-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/coderay/coderay-1.1.3-r1.ebuild 
b/dev-ruby/coderay/coderay-1.1.3-r1.ebuild
index cf223d7b17d..1cc2fec61d4 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

Reply via email to