summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-07-05 21:53:59 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-07-05 21:53:59 +0000
commit92720694fff2697f708f3632254debe05cd00455 (patch)
tree78d3cd116fb1104d2006bc3910eb16b106cef618 /dev-ruby/xpath
parentRe-sign manifest. (diff)
downloadgentoo-2-92720694fff2697f708f3632254debe05cd00455.tar.gz
gentoo-2-92720694fff2697f708f3632254debe05cd00455.tar.bz2
gentoo-2-92720694fff2697f708f3632254debe05cd00455.zip
Use the new rspec testing support; remove jruby from the compatible implementations because tests fail only there.
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/xpath')
-rw-r--r--dev-ruby/xpath/ChangeLog7
-rw-r--r--dev-ruby/xpath/xpath-0.1.4.ebuild14
2 files changed, 9 insertions, 12 deletions
diff --git a/dev-ruby/xpath/ChangeLog b/dev-ruby/xpath/ChangeLog
index 534e5b120e3b..4765ff9815b3 100644
--- a/dev-ruby/xpath/ChangeLog
+++ b/dev-ruby/xpath/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/xpath
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xpath/ChangeLog,v 1.4 2012/01/11 06:51:41 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xpath/ChangeLog,v 1.5 2012/07/05 21:53:59 flameeyes Exp $
+
+ 05 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> xpath-0.1.4.ebuild:
+ Use the new rspec testing support; remove jruby from the compatible
+ implementations because tests fail only there.
11 Jan 2012; Hans de Graaff <graaff@gentoo.org> xpath-0.1.4.ebuild:
Add ruby19.
@@ -16,4 +20,3 @@
18 May 2011; Hans de Graaff <graaff@gentoo.org> +xpath-0.1.4.ebuild,
+metadata.xml:
Initial import. Dependency of forthcoming capybara.
-
diff --git a/dev-ruby/xpath/xpath-0.1.4.ebuild b/dev-ruby/xpath/xpath-0.1.4.ebuild
index 185774a9c10f..4db650620e57 100644
--- a/dev-ruby/xpath/xpath-0.1.4.ebuild
+++ b/dev-ruby/xpath/xpath-0.1.4.ebuild
@@ -1,14 +1,14 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xpath/xpath-0.1.4.ebuild,v 1.4 2012/01/11 06:51:41 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xpath/xpath-0.1.4.ebuild,v 1.5 2012/07/05 21:53:59 flameeyes Exp $
EAPI="4"
-USE_RUBY="ruby18 ruby19 ree18 jruby"
+USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
inherit ruby-fakegem
@@ -18,14 +18,8 @@ LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
-IUSE="test"
-
-ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
+IUSE=""
all_ruby_prepare() {
sed -i -e '/bundler/d' spec/spec_helper.rb || die
}
-
-each_ruby_test() {
- ${RUBY} -Ilib -S rspec spec || die "Tests failed."
-}