summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-14 15:47:51 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-14 15:47:51 +0000
commita2f655007a5da057b5bea50c692259a3c7a639b3 (patch)
treea4ebe7000166c2ea6327b7ff91b53efe7450e9d5 /dev-util/cucumber-rails
parentUse default install function with EAPI=4. (diff)
downloadgentoo-2-a2f655007a5da057b5bea50c692259a3c7a639b3.tar.gz
gentoo-2-a2f655007a5da057b5bea50c692259a3c7a639b3.tar.bz2
gentoo-2-a2f655007a5da057b5bea50c692259a3c7a639b3.zip
Port to rspec helper for testing. Make sure not to use git in the gemspec. Add a missing dependency over rspec-rails.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/cucumber-rails')
-rw-r--r--dev-util/cucumber-rails/ChangeLog8
-rw-r--r--dev-util/cucumber-rails/cucumber-rails-1.2.1.ebuild10
2 files changed, 12 insertions, 6 deletions
diff --git a/dev-util/cucumber-rails/ChangeLog b/dev-util/cucumber-rails/ChangeLog
index 413208f47620..bf9a54b2f4c3 100644
--- a/dev-util/cucumber-rails/ChangeLog
+++ b/dev-util/cucumber-rails/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/cucumber-rails
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber-rails/ChangeLog,v 1.21 2012/06/12 11:49:01 iksaif Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber-rails/ChangeLog,v 1.22 2012/08/14 15:47:51 flameeyes Exp $
+
+ 14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org>
+ cucumber-rails-1.2.1.ebuild:
+ Port to rspec helper for testing. Make sure not to use git in the gemspec. Add
+ a missing dependency over rspec-rails.
12 Jun 2012; Corentin Chary <iksaif@gentoo.org>
cucumber-rails-0.3.2-r1.ebuild, cucumber-rails-1.0.6.ebuild,
@@ -115,4 +120,3 @@
18 Dec 2009; Hans de Graaff <graaff@gentoo.org>
+cucumber-rails-0.2.1.ebuild, +metadata.xml:
Initial import. Spun off from dev-util/cucumber.
-
diff --git a/dev-util/cucumber-rails/cucumber-rails-1.2.1.ebuild b/dev-util/cucumber-rails/cucumber-rails-1.2.1.ebuild
index b951c580f468..1f81e669a59c 100644
--- a/dev-util/cucumber-rails/cucumber-rails-1.2.1.ebuild
+++ b/dev-util/cucumber-rails/cucumber-rails-1.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber-rails/cucumber-rails-1.2.1.ebuild,v 1.3 2012/06/12 11:49:01 iksaif Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber-rails/cucumber-rails-1.2.1.ebuild,v 1.4 2012/08/14 15:47:51 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18 ruby19 ree18"
@@ -9,7 +9,7 @@ RUBY_FAKEGEM_TASK_DOC=""
# There are also cucumber features. They require a Rails project with
# factory girl which we don't have packaged yet.
-RUBY_FAKEGEM_TASK_TEST="spec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
@@ -25,9 +25,10 @@ KEYWORDS="~amd64"
SLOT="1"
IUSE=""
-ruby_add_bdepend "test? (
- >=dev-ruby/rspec-2.6:2
+ruby_add_bdepend "
+ test? (
>=dev-ruby/ammeter-0.2.1
+ dev-ruby/rspec-rails
)"
ruby_add_rdepend "
@@ -38,4 +39,5 @@ ruby_add_rdepend "
all_ruby_prepare() {
rm Gemfile || die
sed -i -e '/[Bb]undler/d' Rakefile || die
+ sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die
}