summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/mocha/Manifest1
-rw-r--r--dev-ruby/mocha/mocha-1.6.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest
index addd80b6f05f..96eb04095906 100644
--- a/dev-ruby/mocha/Manifest
+++ b/dev-ruby/mocha/Manifest
@@ -3,3 +3,4 @@ DIST mocha-0.14.0.gem 82944 BLAKE2B 50a066e2f5007df08a7f76785fd4c2b12327b4969c11
DIST mocha-1.1.0.gem 87552 BLAKE2B b09721474520b57472bc54eece8ea27f0172e49ffbf43802854c111632673d05f35931150fe83cf83862471b606c70e8667327f491d280f3cc3d059e752ff0b2 SHA512 5a07c8364ae649a6be821c4b61c349d79e1dbf1e574ed95b07848f5dae3a2860e2f2e06499fc15b8352ec2146f273cc40ee8e65e670214f0f0669b6eedf698bb
DIST mocha-1.4.0.gem 92672 BLAKE2B 8b8640038da40f2577431630ffbc773f5a9474a3a872a5f6c26d53b41d2827da59f32f6c7abab78cbf491bb6d58cabe0834e4b1706869cedd1e72f116817537a SHA512 54953d815cddf52deccdddcebc9a9880fa2f14cab9f4ee1e164bfa3afe095d56b409312149341d1bf84fb336ed23512e7acce371135f8a2a1bb16f1de7acff1d
DIST mocha-1.5.0.gem 93184 BLAKE2B fe29eab462db2283449587324fa7c607c84bdc6cf8106c8714de29ac2ec8aa9352ed0ebe60a5f8ad05e8ed9a1256f534c352b17f9519de79490a548468afeb57 SHA512 dd4e37f2d3e65fbaafb9bad345419a042682c5db33ee1787b65db1d0889418463d32c87deeddd2b953e0024ea55a5a36b816712e94b4ca740a6163c6ee51dc85
+DIST mocha-1.6.0.gem 94720 BLAKE2B 57836aed4a5c0dc4c2c9e9c32d5c0dcceb4e65d6987e79c2085de295bb742b8f709ca828cbc9558e261317a637af7f14f8160058bb067c2102bc7d708bdc4d90 SHA512 7269df7796aa124c79256914fc2dd2cadaa6f2f0fbb9f5bbf48b71fabaa1d87c3f9c6a086f8f8c5fd43ba31e482d164cee1ec344a289e5824b124ac5d27de50c
diff --git a/dev-ruby/mocha/mocha-1.6.0.ebuild b/dev-ruby/mocha/mocha-1.6.0.ebuild
new file mode 100644
index 000000000000..7522eb9038e2
--- /dev/null
+++ b/dev-ruby/mocha/mocha-1.6.0.ebuild
@@ -0,0 +1,36 @@
+# 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_TEST="test:units"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock"
+HOMEPAGE="http://gofreerange.com/mocha/docs/"
+
+LICENSE="MIT"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "
+ test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )"
+
+ruby_add_rdepend "=dev-ruby/metaclass-0.0*"
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
+}
+
+each_ruby_test() {
+ export MOCHA_NO_DOCS=true
+ each_fakegem_test
+}