summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-01-08 06:36:42 +0000
committerHans de Graaff <graaff@gentoo.org>2013-01-08 06:36:42 +0000
commitf15f86424ffcafac52053131fb4cb9ae80e86fbb (patch)
tree24562f9e348618e1849aeac92e60ab9c2c5e1b4f /dev-ruby/rspec-rails
parentRun python-single-r1_pkg_setup if tests are enabled. (diff)
downloadgentoo-2-f15f86424ffcafac52053131fb4cb9ae80e86fbb.tar.gz
gentoo-2-f15f86424ffcafac52053131fb4cb9ae80e86fbb.tar.bz2
gentoo-2-f15f86424ffcafac52053131fb4cb9ae80e86fbb.zip
Version bump.
(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/ChangeLog9
-rw-r--r--dev-ruby/rspec-rails/rspec-rails-2.12.1.ebuild34
2 files changed, 41 insertions, 2 deletions
diff --git a/dev-ruby/rspec-rails/ChangeLog b/dev-ruby/rspec-rails/ChangeLog
index e4ead5f737ca..edf56a1b0048 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.62 2012/12/29 11:16:05 graaff Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/ChangeLog,v 1.63 2013/01/08 06:36:42 graaff Exp $
+
+*rspec-rails-2.12.1 (08 Jan 2013)
+
+ 08 Jan 2013; Hans de Graaff <graaff@gentoo.org> +rspec-rails-2.12.1.ebuild:
+ Version bump.
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.
diff --git a/dev-ruby/rspec-rails/rspec-rails-2.12.1.ebuild b/dev-ruby/rspec-rails/rspec-rails-2.12.1.ebuild
new file mode 100644
index 000000000000..f55a6f3344f1
--- /dev/null
+++ b/dev-ruby/rspec-rails/rspec-rails-2.12.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 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.1.ebuild,v 1.1 2013/01/08 06:36:42 graaff Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="RSpec's official Ruby on Rails plugin"
+HOMEPAGE="http://rspec.info/"
+
+LICENSE="MIT"
+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/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
+# and rspec-rails for that to work.
+ruby_add_bdepend "test? ( >=dev-ruby/ammeter-0.2.5 ~dev-ruby/rspec-rails-${PV} )"