summaryrefslogtreecommitdiff
path: root/dev-ruby/coderay
diff options
context:
space:
mode:
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