summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/sassc-rails/sassc-rails-2.1.1.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/sassc-rails/sassc-rails-2.1.1.ebuild b/dev-ruby/sassc-rails/sassc-rails-2.1.1.ebuild
index 2aeb1374d578..ca9443f56d99 100644
--- a/dev-ruby/sassc-rails/sassc-rails-2.1.1.ebuild
+++ b/dev-ruby/sassc-rails/sassc-rails-2.1.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-USE_RUBY="ruby24 ruby25"
+USE_RUBY="ruby24 ruby25 ruby26"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
@@ -20,8 +20,6 @@ KEYWORDS="~amd64"
IUSE=""
-RESTRICT=test
-
ruby_add_rdepend "
>=dev-ruby/sassc-2.0
dev-ruby/tilt:*
@@ -30,6 +28,13 @@ ruby_add_rdepend "
dev-ruby/sprockets-rails:*
"
+ruby_add_bdepend "
+ test? ( dev-ruby/bundler dev-ruby/mocha )"
+
+all_ruby_prepare() {
+ sed -i -e '/rake/ s/,.*$//' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
each_ruby_test() {
${RUBY} -S bundle exec rake test || die
}