diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-03-22 07:23:01 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-03-22 07:50:08 +0100 |
commit | 0157da174e29649ced2af309d5c778809a4a1457 (patch) | |
tree | 22eba6de499585b1aff3f06824247cd794ba5571 /dev-ruby/mocha | |
parent | dev-perl/Parse-RecDescent-1.967.15: arm64 stable (bug #619074) (diff) | |
download | gentoo-0157da174e29649ced2af309d5c778809a4a1457.tar.gz gentoo-0157da174e29649ced2af309d5c778809a4a1457.tar.bz2 gentoo-0157da174e29649ced2af309d5c778809a4a1457.zip |
dev-ruby/mocha: add 1.4.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r-- | dev-ruby/mocha/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-1.4.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index a764df268f41..6518f0c000de 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -2,3 +2,4 @@ DIST mocha-0.10.5.gem 73728 BLAKE2B 334bb5f3fb0f2248362f43bf2efaa879294fb46b2984 DIST mocha-0.14.0.gem 82944 BLAKE2B 50a066e2f5007df08a7f76785fd4c2b12327b4969c11324a0574c707bea3219d51edb9ab40635378c16b46ad826ec7eff42434a27cd61113a6f40251fa2e6930 SHA512 918e45f2ee761c7dc399c7958e4d406f9e186c90f479fd01a421aa542944b47e9b2c5e938f4fc5292a7da345726447b2d47dc5f417e114201f8a4d9893c4d461 DIST mocha-1.1.0.gem 87552 BLAKE2B b09721474520b57472bc54eece8ea27f0172e49ffbf43802854c111632673d05f35931150fe83cf83862471b606c70e8667327f491d280f3cc3d059e752ff0b2 SHA512 5a07c8364ae649a6be821c4b61c349d79e1dbf1e574ed95b07848f5dae3a2860e2f2e06499fc15b8352ec2146f273cc40ee8e65e670214f0f0669b6eedf698bb DIST mocha-1.3.0.gem 92160 BLAKE2B 10ffd1bd9b1ecb99555490b17451ae883986ef17856fb401165bb5239a2c07af2532b20bd62a5b1d8dbdeabda830c01179a025174b890be7ceff238fd9a67dad SHA512 a24de9129da65f6b37f06ad888fdb80ae987f51594980991a6ac3ffd23e9dafeedd7a2e758835f33f4de59e07b7c39449e3a49228159710bd87a3de7d3df6a3c +DIST mocha-1.4.0.gem 92672 BLAKE2B 8b8640038da40f2577431630ffbc773f5a9474a3a872a5f6c26d53b41d2827da59f32f6c7abab78cbf491bb6d58cabe0834e4b1706869cedd1e72f116817537a SHA512 54953d815cddf52deccdddcebc9a9880fa2f14cab9f4ee1e164bfa3afe095d56b409312149341d1bf84fb336ed23512e7acce371135f8a2a1bb16f1de7acff1d diff --git a/dev-ruby/mocha/mocha-1.4.0.ebuild b/dev-ruby/mocha/mocha-1.4.0.ebuild new file mode 100644 index 000000000000..1c0498c648b6 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.4.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="ruby22 ruby23 ruby24" + +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 +} |