blob: d7b30d9882c62d55f3fb1fe21d52bbfc7d27e4d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/spork/spork-0.8.4-r1.ebuild,v 1.4 2012/06/12 11:45:00 iksaif Exp $
EAPI=2
USE_RUBY="ruby18 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
RUBY_FAKEGEM_EXTRAINSTALL="assets"
inherit ruby-fakegem
DESCRIPTION="Spork is Tim Harper's implementation of test server."
HOMEPAGE="https://github.com/sporkrb/spork"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""
ruby_add_bdepend "dev-util/cucumber
>=dev-ruby/rspec-1.2.9:0
>=dev-ruby/rspec-rails-1.2.9
dev-util/cucumber-rails
>=dev-ruby/rails-2.3
>=dev-ruby/ruby-debug-0.10.3"
each_ruby_prepare() {
# Don't use deprecated name in feature file.
sed -i -e 's/Fonction/Fonctionnalité/' features/cucumber_rails_integration.feature || die
}
each_ruby_test() {
${RUBY} -S spec spec || die
${RUBY} -Ilib -S cucumber features || die
}
|