summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-07-15 07:04:56 +0000
committerHans de Graaff <graaff@gentoo.org>2012-07-15 07:04:56 +0000
commit0d66fab6b78da565b49ccc9e5d357abdc25b3c33 (patch)
treebd1013852cc9960e31155096612f066aac209663 /dev-ruby/rspec-rails
parentVersion bump. (diff)
downloadgentoo-2-0d66fab6b78da565b49ccc9e5d357abdc25b3c33.tar.gz
gentoo-2-0d66fab6b78da565b49ccc9e5d357abdc25b3c33.tar.bz2
gentoo-2-0d66fab6b78da565b49ccc9e5d357abdc25b3c33.zip
Version bump.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rspec-rails')
-rw-r--r--dev-ruby/rspec-rails/ChangeLog7
-rw-r--r--dev-ruby/rspec-rails/rspec-rails-2.11.0.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-ruby/rspec-rails/ChangeLog b/dev-ruby/rspec-rails/ChangeLog
index b34ebb6167d6..c98f5eec1df5 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/ChangeLog,v 1.54 2012/06/10 06:54:07 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/ChangeLog,v 1.55 2012/07/15 07:04:56 graaff Exp $
+
+*rspec-rails-2.11.0 (15 Jul 2012)
+
+ 15 Jul 2012; Hans de Graaff <graaff@gentoo.org> +rspec-rails-2.11.0.ebuild:
+ Version bump.
*rspec-rails-2.10.1 (10 Jun 2012)
diff --git a/dev-ruby/rspec-rails/rspec-rails-2.11.0.ebuild b/dev-ruby/rspec-rails/rspec-rails-2.11.0.ebuild
new file mode 100644
index 000000000000..eb49e5e3ac46
--- /dev/null
+++ b/dev-ruby/rspec-rails/rspec-rails-2.11.0.ebuild
@@ -0,0 +1,39 @@
+# 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.11.0.ebuild,v 1.1 2012/07/15 07:04:56 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
+
+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"
+
+# Depend on the package being already installed for tests, because
+# requiring ammeter will load it, and we need a consistent set of rspec
+# and rspec-rails for that to work.
+ruby_add_bdepend "test? ( >=dev-ruby/ammeter-0.2.5 ~dev-ruby/rspec-rails-${PV} )"
+
+each_ruby_test() {
+ ${RUBY} -I lib -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.
+}