summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/rr/Manifest1
-rw-r--r--dev-ruby/rr/rr-1.2.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/rr/Manifest b/dev-ruby/rr/Manifest
index 7e1c296fa5e0..d2f1ef7f6aad 100644
--- a/dev-ruby/rr/Manifest
+++ b/dev-ruby/rr/Manifest
@@ -1 +1,2 @@
DIST rr-1.1.2.tar.gz 89970 SHA256 17396ac98c63d57ef83dea3904de2e86f5b78c9893b8f64e66d434dcd2e32438 SHA512 e0954206b8118cf0acd785cc300e267556cd62bc73dbbca885848205df6456e43463cc46ed1fc47c672574bdf33c42d288c403e550a89c74cac452a54c30a384 WHIRLPOOL bb6a7c128a84f17a690a35f904822324664471b366cb8d6a3677c45f025cebbd38f2f5afbd2bdafe861a979b6260fd21204395a61abc37e75c18b93efc7c07d4
+DIST rr-1.2.0.tar.gz 137694 SHA256 80d78995ebc7be2ce07ba9415597d10cf1a018205accb7853ce1610da4b40942 SHA512 d693dd720067c6d2cf04da6e980ec4d34fdb461fc9d316b4740d7c19047e349ddc7938e2965890dfe5ee35d7d45b7d53185e37460b202fd3108214ef894f17c4 WHIRLPOOL 92fb38b89851422ff25c33f7fbf7e083407b49d1e716baf3aeb086e8c3582166c8109267dc7b3ca60cc910fcb8a8c161d1961c3eadab610781cbef1bffec1c99
diff --git a/dev-ruby/rr/rr-1.2.0.ebuild b/dev-ruby/rr/rr-1.2.0.ebuild
new file mode 100644
index 000000000000..153799e89af0
--- /dev/null
+++ b/dev-ruby/rr/rr-1.2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A double framework featuring a selection of double techniques and a terse syntax"
+HOMEPAGE="http://pivotallabs.com/"
+SRC_URI="https://github.com/rr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec:2
+ dev-ruby/minitest
+ dev-ruby/session
+ dev-ruby/diff-lcs )"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '1,2 s:^:#:' spec/suites/rspec_2/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ # Only run the rspec 2 case since we don't have appraisals. Setting
+ # up everything correctly without it seems very complicated.
+ ruby-ng_rspec --format progress spec/suites/rspec_2/unit || die
+}