summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-14 07:01:46 +0200
committerHans de Graaff <graaff@gentoo.org>2018-07-14 07:01:46 +0200
commite9f4df2e28f769f1456279bd762655e3b57afbe2 (patch)
treeb971eee3f4842fb8ff4d35b71bdadb1e6c9f8977 /dev-ruby/shoulda
parentdev-ruby/shoulda-matchers: move ~arm64 forward (diff)
downloadgentoo-e9f4df2e28f769f1456279bd762655e3b57afbe2.tar.gz
gentoo-e9f4df2e28f769f1456279bd762655e3b57afbe2.tar.bz2
gentoo-e9f4df2e28f769f1456279bd762655e3b57afbe2.zip
dev-ruby/shoulda: add 3.6.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/shoulda')
-rw-r--r--dev-ruby/shoulda/Manifest1
-rw-r--r--dev-ruby/shoulda/shoulda-3.6.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/shoulda/Manifest b/dev-ruby/shoulda/Manifest
index 3d86143cc6bb..b3dc173bb388 100644
--- a/dev-ruby/shoulda/Manifest
+++ b/dev-ruby/shoulda/Manifest
@@ -1,2 +1,3 @@
DIST shoulda-2.11.3.tar.gz 145068 BLAKE2B 5e6d9b78b255612ec18c78076f9c4d45265a3e02a8fd56a127ea8f235e3b344005942c4b6e53014e6328206501c178ce76e1554a9d995ba0de04f5afefe4a0f7 SHA512 0b347c4a8be177b5806364114c25dc786ca2ac95a11c93a723dbc9ea1f6d8ae62df7fb420a52d477cd1e10e8d894074072a040eef36ee8a43440e5256c8427e4
DIST shoulda-3.5.0.tar.gz 7149 BLAKE2B 2944ac1b586d960dbe3706ca9fe8f3448ab15b23e5b6ed188cac1c4280f47fec1bd9c0f9231fc7003956eb45dbac49920d9195e5f648e6fc127b4c71e2ca79c6 SHA512 41fe41ab1fcd3dd1b2ebde1163cb0712f4cd2615fea9cd2ad6fbd6de46cca8039db94fb91ce1850e84632dbfc299692a728ec91e7c0fbf2d9050fa2c1ee98933
+DIST shoulda-3.6.0.tar.gz 22691 BLAKE2B 798b88e208355b0325b9e8b48f66687ad2702e1b5fc058d45504648fe7c7760b018eaf3d1c7bd45c68656c7bbba8fccc9b74d72003ee0b78ac53a277567609bb SHA512 10f7c6801eaabafa08eb2bc9c4d2a96237d4494aee7d40e5db8cf9c1abd8cccfe86aa21b0e68e2ec42cf222d285cdbec11ed2fdd804ffb8bd65ffd2efa3e72ac
diff --git a/dev-ruby/shoulda/shoulda-3.6.0.ebuild b/dev-ruby/shoulda/shoulda-3.6.0.ebuild
new file mode 100644
index 000000000000..d30df1eda642
--- /dev/null
+++ b/dev-ruby/shoulda/shoulda-3.6.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Making tests easy on the fingers and eyes"
+HOMEPAGE="http://thoughtbot.com/projects/shoulda"
+SRC_URI="https://github.com/thoughtbot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64"
+IUSE=""
+
+# This now more or less a meta-gem and it only contains features for
+# integration tests using Appraisals, which we don't currently package.
+RESTRICT=test
+
+ruby_add_rdepend ">=dev-ruby/shoulda-context-1.0.1
+ dev-ruby/shoulda-matchers:3"
+
+all_ruby_prepare() {
+ sed -e '/executables/,/^ end/d ; /test_files/d; s/git ls-files/find . -print/' -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}