summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-01-10 07:47:32 +0100
committerHans de Graaff <graaff@gentoo.org>2020-01-10 15:02:39 +0100
commit68b774da753f81587decb73ffb69c502545d7eff (patch)
tree6dc77af9feb43fb1eb09543129e029ea9475f802 /dev-ruby/shoulda-matchers
parentgnome-extra/evolution-data-server: remove old (diff)
downloadgentoo-68b774da753f81587decb73ffb69c502545d7eff.tar.gz
gentoo-68b774da753f81587decb73ffb69c502545d7eff.tar.bz2
gentoo-68b774da753f81587decb73ffb69c502545d7eff.zip
dev-ruby/shoulda-matchers: add 4.2.0
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/shoulda-matchers')
-rw-r--r--dev-ruby/shoulda-matchers/Manifest1
-rw-r--r--dev-ruby/shoulda-matchers/shoulda-matchers-4.2.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/shoulda-matchers/Manifest b/dev-ruby/shoulda-matchers/Manifest
index b17c61e94568..0a9cf7e7b294 100644
--- a/dev-ruby/shoulda-matchers/Manifest
+++ b/dev-ruby/shoulda-matchers/Manifest
@@ -4,3 +4,4 @@ DIST shoulda-matchers-4.0.1.tar.gz 222637 BLAKE2B 70d1aaa08f7670716f9ad385a22cbc
DIST shoulda-matchers-4.1.0.tar.gz 231976 BLAKE2B dc77f6c8b31209e6651b8cd277a35afb6db9d32db9ce76cdb4f7b53fcd4dcfd86fe147b2aef1cd387eac602aedd863a6c5bb478a763446c30a88bbd0ed61de73 SHA512 9688712cdb2b5440f0a0a41df1c2956d3bb6f8824a41c0c5418706fc9124296705639286e04cc4d90e083b7b44a96b10f831aab2ae382f7379054ea6adb489d1
DIST shoulda-matchers-4.1.1.tar.gz 234756 BLAKE2B 19f178b6f80bbc4439053a11772ed449186f507ee1c971a20df1c50931f6ffb3f8e1555d603a111916fb2ab18329aaf97177e2610ad9e5186bc1fcea4c09f48c SHA512 af2df1321e5421211a01fe9b3a94e2786dd7526050ecd38fd256df2c0ed8187d51423df0df8bdfeb1c3eca9eeb9dc0b757605eb6fef5c42e1895deb2fcac257c
DIST shoulda-matchers-4.1.2.tar.gz 234999 BLAKE2B eccfc9850a7e1ee7bd85575b014c372c0e48104e7792df60046006cfc8398225edd3229532632da30f40bd5b2274aa5a5ad4862edf4eb43832d010efc5ecf773 SHA512 c0b78e2cceeb3b7af9b38b248807b2f86cec85f0ad778a1b9b4e355f6d5488ef125623d9bb2fe10983dc6b6c0cae343b2497a6e438bc3f9c148ccd5462c70510
+DIST shoulda-matchers-4.2.0.tar.gz 234267 BLAKE2B fbd0a742850dbd2eae397c5209e649183dab054af59f10eeb6c6c334ef1bc9ba7116c1758980bae4e988eb3dd496cf1ca7e6af41f3b34da64a77938b953d0935 SHA512 67db32b1b9152f73c9f89679a5415869bfd1cef336172aae05c206a3c1cf9acea74188c69457e5aefc9e2067d0c5a9ad7d9250bef6a3b6980e43f48ff9b981fb
diff --git a/dev-ruby/shoulda-matchers/shoulda-matchers-4.2.0.ebuild b/dev-ruby/shoulda-matchers/shoulda-matchers-4.2.0.ebuild
new file mode 100644
index 000000000000..3d466716405f
--- /dev/null
+++ b/dev-ruby/shoulda-matchers/shoulda-matchers-4.2.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+RUBY_FAKEGEM_EXTRAINSTALL="NEWS.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Making tests easy on the fingers and eyes"
+HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers"
+SRC_URI="https://github.com/thoughtbot/shoulda-matchers/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/activesupport-4.2.0:*"
+
+all_ruby_prepare() {
+ sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die
+ sed -i -e '/s.files/,/^ end/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}