summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-12-29 11:16:05 +0000
committerHans de Graaff <graaff@gentoo.org>2012-12-29 11:16:05 +0000
commit96dac53b1dbb5a4d1348922b0cf5dc9c396be255 (patch)
tree65c96a0315f557a67b44cab04a15af1bd3fc13c0 /dev-ruby/rspec-rails
parentCleanup. (diff)
downloadgentoo-2-96dac53b1dbb5a4d1348922b0cf5dc9c396be255.tar.gz
gentoo-2-96dac53b1dbb5a4d1348922b0cf5dc9c396be255.tar.bz2
gentoo-2-96dac53b1dbb5a4d1348922b0cf5dc9c396be255.zip
Add missing dependency on rspec itself that is present in the gemspec.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/rspec-rails')
-rw-r--r--dev-ruby/rspec-rails/ChangeLog5
-rw-r--r--dev-ruby/rspec-rails/rspec-rails-2.12.0.ebuild9
2 files changed, 10 insertions, 4 deletions
diff --git a/dev-ruby/rspec-rails/ChangeLog b/dev-ruby/rspec-rails/ChangeLog
index 2f51f14a7a3c..e4ead5f737ca 100644
--- a/dev-ruby/rspec-rails/ChangeLog
+++ b/dev-ruby/rspec-rails/ChangeLog
@@ -1,6 +1,9 @@
# 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.61 2012/12/29 11:08:36 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/ChangeLog,v 1.62 2012/12/29 11:16:05 graaff Exp $
+
+ 29 Dec 2012; Hans de Graaff <graaff@gentoo.org> rspec-rails-2.12.0.ebuild:
+ Add missing dependency on rspec itself that is present in the gemspec.
29 Dec 2012; Hans de Graaff <graaff@gentoo.org> -rspec-rails-2.11.0.ebuild:
Cleanup.
diff --git a/dev-ruby/rspec-rails/rspec-rails-2.12.0.ebuild b/dev-ruby/rspec-rails/rspec-rails-2.12.0.ebuild
index ebc6e0486361..bce0df28fc23 100644
--- a/dev-ruby/rspec-rails/rspec-rails-2.12.0.ebuild
+++ b/dev-ruby/rspec-rails/rspec-rails-2.12.0.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-ruby/rspec-rails/rspec-rails-2.12.0.ebuild,v 1.1 2012/11/15 07:19:56 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/rspec-rails-2.12.0.ebuild,v 1.2 2012/12/29 11:16:05 graaff Exp $
EAPI=4
@@ -11,7 +11,7 @@ RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
-inherit ruby-fakegem
+inherit ruby-fakegem versionator
DESCRIPTION="RSpec's official Ruby on Rails plugin"
HOMEPAGE="http://rspec.info/"
@@ -21,9 +21,12 @@ SLOT="2"
KEYWORDS="~amd64"
IUSE=""
+SUBVERSION="$(get_version_component_range 1-2)"
+
ruby_add_rdepend "=dev-ruby/activesupport-3*
=dev-ruby/actionpack-3*
- =dev-ruby/railties-3*"
+ =dev-ruby/railties-3*
+ =dev-ruby/rspec-${SUBVERSION}*"
# Depend on the package being already installed for tests, because
# requiring ammeter will load it, and we need a consistent set of rspec