summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-07-20 06:49:28 +0000
committerHans de Graaff <graaff@gentoo.org>2013-07-20 06:49:28 +0000
commit6ed33677778c0d07299953b43a58839470812ba5 (patch)
treee7078cd944315d0bdb96258e4249a49ac2fe1651 /dev-ruby/rspec-rails
parentVersion bump. (diff)
downloadgentoo-2-6ed33677778c0d07299953b43a58839470812ba5.tar.gz
gentoo-2-6ed33677778c0d07299953b43a58839470812ba5.tar.bz2
gentoo-2-6ed33677778c0d07299953b43a58839470812ba5.zip
Version bump.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
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.14.0.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-ruby/rspec-rails/ChangeLog b/dev-ruby/rspec-rails/ChangeLog
index e6db8fdce345..6115e8153679 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/ChangeLog,v 1.70 2013/07/20 06:34:10 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/ChangeLog,v 1.71 2013/07/20 06:49:28 graaff Exp $
+
+*rspec-rails-2.14.0 (20 Jul 2013)
+
+ 20 Jul 2013; Hans de Graaff <graaff@gentoo.org> +rspec-rails-2.14.0.ebuild:
+ Version bump.
20 Jul 2013; Hans de Graaff <graaff@gentoo.org> -rspec-rails-2.6.1-r1.ebuild:
Cleanup.
diff --git a/dev-ruby/rspec-rails/rspec-rails-2.14.0.ebuild b/dev-ruby/rspec-rails/rspec-rails-2.14.0.ebuild
new file mode 100644
index 000000000000..410e8758bc6a
--- /dev/null
+++ b/dev-ruby/rspec-rails/rspec-rails-2.14.0.ebuild
@@ -0,0 +1,42 @@
+# 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.14.0.ebuild,v 1.1 2013/07/20 06:49:28 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19"
+
+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/"
+SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+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/mocha-0.10* >=dev-ruby/ammeter-0.2.5 ~dev-ruby/rspec-rails-${PV} )"
+
+
+all_ruby_prepare() {
+ # Remove .rspec options to avoid dependency on newer rspec when
+ # bootstrapping.
+ rm .rspec || die
+}