summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/xdr/xdr-3.0.0.ebuild')
-rw-r--r--dev-ruby/xdr/xdr-3.0.0.ebuild18
1 files changed, 6 insertions, 12 deletions
diff --git a/dev-ruby/xdr/xdr-3.0.0.ebuild b/dev-ruby/xdr/xdr-3.0.0.ebuild
index 382bce21b9ef..2923a56ad05e 100644
--- a/dev-ruby/xdr/xdr-3.0.0.ebuild
+++ b/dev-ruby/xdr/xdr-3.0.0.ebuild
@@ -2,8 +2,11 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-USE_RUBY="ruby24"
-RUBY_FAKEGEM_RECIPE_DOC=""
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
inherit ruby-fakegem
@@ -19,15 +22,6 @@ IUSE="test"
ruby_add_rdepend ">=dev-ruby/activemodel-5.2.0:*
>=dev-ruby/activesupport-5.2.0:*"
-ruby_add_bdepend "test? ( dev-ruby/bundler
- dev-ruby/rake
- dev-ruby/rspec:3 )"
-
all_ruby_prepare() {
- sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
-}
-
-each_ruby_test() {
- RSPEC_VERSION=3 ruby-ng_rspec
- ruby-ng_cucumber
+ sed -i -e '/bundler/,/pry/ s:^:#:' spec/spec_helper.rb || die
}