diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-02-15 21:12:24 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-02-15 21:12:24 +0000 |
commit | 0bc7639b002a6380ec1207fbc305d726135c75f2 (patch) | |
tree | 491881fac073c6447e43f95f45469759167aefcd /dev-ruby/rubypants | |
parent | Version bump, drop old (diff) | |
download | gentoo-2-0bc7639b002a6380ec1207fbc305d726135c75f2.tar.gz gentoo-2-0bc7639b002a6380ec1207fbc305d726135c75f2.tar.bz2 gentoo-2-0bc7639b002a6380ec1207fbc305d726135c75f2.zip |
Reimplement test function so that it works with Ruby 1.9.2 (and does not require rake); closes bug #332981.
(Portage version: 2.2.0_alpha23/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rubypants')
-rw-r--r-- | dev-ruby/rubypants/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild | 10 |
2 files changed, 14 insertions, 3 deletions
diff --git a/dev-ruby/rubypants/ChangeLog b/dev-ruby/rubypants/ChangeLog index 90ec7849a4fc..5da86c70f374 100644 --- a/dev-ruby/rubypants/ChangeLog +++ b/dev-ruby/rubypants/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rubypants # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/ChangeLog,v 1.11 2011/01/30 17:27:22 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/ChangeLog,v 1.12 2011/02/15 21:12:24 flameeyes Exp $ + + 15 Feb 2011; Diego E. Pettenò <flameeyes@gentoo.org> + rubypants-0.2.0-r2.ebuild: + Reimplement test function so that it works with Ruby 1.9.2 (and does not + require rake); closes bug #332981. 30 Jan 2011; Hans de Graaff <graaff@gentoo.org> -rubypants-0.2.0.ebuild: Remove old version. diff --git a/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild b/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild index e4a7e8af9772..d17488aad9ce 100644 --- a/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild +++ b/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild,v 1.1 2011/01/28 10:01:57 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild,v 1.2 2011/02/15 21:12:24 flameeyes Exp $ EAPI=2 USE_RUBY="ruby18 ruby19 jruby ree18" RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_TASK_TEST="" inherit ruby-fakegem @@ -26,3 +26,9 @@ each_ruby_install() { ruby_fakegem_newins rubypants.rb lib/rubypants.rb } + +each_ruby_test() { + # The rakefile doesn't really implement it properly, so simply + # replace it here. + ${RUBY} -I. test_rubypants.rb || die "tests failed" +} |