# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/rspec-rails-2.6.1.ebuild,v 1.4 2012/05/01 18:24:11 armin76 Exp $ EAPI=4 USE_RUBY="ruby18 ruby19 ree18 jruby" inherit ruby-fakegem DESCRIPTION="A binary search library for Ruby" HOMEPAGE="http://0xcc.net/ruby-bsearch/" RUBY_FAKEGEM_TASK_DOC="" LICENSE="Ruby" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" all_ruby_prepare() { sed -i 's/ruby/\$\{RUBY\}/' test/test.sh || die } each_ruby_test() { pushd test RUBY=${RUBY} sh test.sh popd }