summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-02-01 19:10:04 +0000
committerHans de Graaff <graaff@gentoo.org>2012-02-01 19:10:04 +0000
commit03b80429a9a011fbe639bf236e4eaa9cbc4e940d (patch)
tree4c6494f60c2357d4c550394862ce0e88fe4dead9 /dev-ruby/rspec-rails
parentBump to 1.1.4, fix metadata. Bug 401635 (diff)
downloadgentoo-2-03b80429a9a011fbe639bf236e4eaa9cbc4e940d.tar.gz
gentoo-2-03b80429a9a011fbe639bf236e4eaa9cbc4e940d.tar.bz2
gentoo-2-03b80429a9a011fbe639bf236e4eaa9cbc4e940d.zip
Revision bump to add ruby19. Drop keywords accordingly, bug 401841.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rspec-rails')
-rw-r--r--dev-ruby/rspec-rails/ChangeLog9
-rw-r--r--dev-ruby/rspec-rails/rspec-rails-2.6.1-r1.ebuild36
2 files changed, 43 insertions, 2 deletions
diff --git a/dev-ruby/rspec-rails/ChangeLog b/dev-ruby/rspec-rails/ChangeLog
index a582877f3eca..3703cfd79af8 100644
--- a/dev-ruby/rspec-rails/ChangeLog
+++ b/dev-ruby/rspec-rails/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rspec-rails
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/ChangeLog,v 1.48 2011/12/06 13:01:09 graaff Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/ChangeLog,v 1.49 2012/02/01 19:10:04 graaff Exp $
+
+*rspec-rails-2.6.1-r1 (01 Feb 2012)
+
+ 01 Feb 2012; Hans de Graaff <graaff@gentoo.org> +rspec-rails-2.6.1-r1.ebuild:
+ Revision bump to add ruby19. Drop keywords accordingly, bug 401841.
06 Dec 2011; Hans de Graaff <graaff@gentoo.org> -rspec-rails-1.3.3.ebuild:
Remove old version.
diff --git a/dev-ruby/rspec-rails/rspec-rails-2.6.1-r1.ebuild b/dev-ruby/rspec-rails/rspec-rails-2.6.1-r1.ebuild
new file mode 100644
index 000000000000..d9b064ac5f01
--- /dev/null
+++ b/dev-ruby/rspec-rails/rspec-rails-2.6.1-r1.ebuild
@@ -0,0 +1,36 @@
+# 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-r1.ebuild,v 1.1 2012/02/01 19:10:04 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="History.md README.md Upgrade.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="templates"
+
+inherit ruby-fakegem
+
+DESCRIPTION="RSpec's official Ruby on Rails plugin"
+HOMEPAGE="http://rspec.info/"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "=dev-ruby/activesupport-3*
+ =dev-ruby/actionpack-3*
+ =dev-ruby/railties-3*
+ dev-ruby/rspec:2"
+
+each_ruby_test() {
+ ${RUBY} -S rspec spec || die "Tests failed."
+
+ # There are also features but they require aruba which we don't have
+ # yet and it requires local install of various rails versions.
+}