diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-12-03 07:49:19 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-12-03 07:49:19 +0100 |
commit | 24b540e2923469490eb8b1a8380ed9872f81ceca (patch) | |
tree | 120f87e8e6604ae38f783fcd5664260b3c979118 /dev-ruby/mocha | |
parent | dev-ruby/faker: add 2.8.0 (diff) | |
download | gentoo-24b540e2923469490eb8b1a8380ed9872f81ceca.tar.gz gentoo-24b540e2923469490eb8b1a8380ed9872f81ceca.tar.bz2 gentoo-24b540e2923469490eb8b1a8380ed9872f81ceca.zip |
dev-ruby/mocha: add 1.10.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/mocha')
-rw-r--r-- | dev-ruby/mocha/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-1.10.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index fce8a96da75e..481dc2ea5c69 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -1,4 +1,5 @@ DIST mocha-0.14.0.gem 82944 BLAKE2B 50a066e2f5007df08a7f76785fd4c2b12327b4969c11324a0574c707bea3219d51edb9ab40635378c16b46ad826ec7eff42434a27cd61113a6f40251fa2e6930 SHA512 918e45f2ee761c7dc399c7958e4d406f9e186c90f479fd01a421aa542944b47e9b2c5e938f4fc5292a7da345726447b2d47dc5f417e114201f8a4d9893c4d461 +DIST mocha-1.10.0.gem 236544 BLAKE2B 91f1e69ae7a8931de69284b81adbf824f67ff26ac089dde03caf2ce373ce6af539b2debacd07df8cf6f9be21fd5f720cb214e448fdd3f2ad7ccd52485c4f80f4 SHA512 ab4c90c8d7d4fb7d8af6b2210994e39e0116e23751a4ed24795f92aec0c29b60becd08da1237341a0a565db83b3a1bc620ac4ab41672ea2200f39463d4fa8db5 DIST mocha-1.4.0.gem 92672 BLAKE2B 8b8640038da40f2577431630ffbc773f5a9474a3a872a5f6c26d53b41d2827da59f32f6c7abab78cbf491bb6d58cabe0834e4b1706869cedd1e72f116817537a SHA512 54953d815cddf52deccdddcebc9a9880fa2f14cab9f4ee1e164bfa3afe095d56b409312149341d1bf84fb336ed23512e7acce371135f8a2a1bb16f1de7acff1d DIST mocha-1.7.0.gem 96768 BLAKE2B d6b2f14bb1277473c3393b06e2f4830331bcf4f2d02fa918a006eeb65a340e1f8bf25e354910bff1cdc3abae9b98bd53de272c628cec7bb59e30c5b02dc8ffc6 SHA512 b3fd656523e6ec1eb81e941cd43fe402254b6b15a00cdb459a900c94df02bd20f7ca8aafc796e418c6ba3e3b71c5bdc74a97e380f1c106e2831e78d9aaa7887e DIST mocha-1.8.0.gem 223744 BLAKE2B 625f38d6ec53cbf549cbace873172b8511f2e6a2ccb5d7fd4133c3d9a67a8e5d55626fead7a70de363c8564b687530d3e0515ed7fc167a65091d9e17d89dde47 SHA512 b0abd6234f34dfd92d44019001e97914dff80ece5fbe2b53ccc91192f99f06a79f9c96cdb136b2a389a1a1b7038076fce688d8d8ee8645538d3c58f73e345fe4 diff --git a/dev-ruby/mocha/mocha-1.10.0.ebuild b/dev-ruby/mocha/mocha-1.10.0.ebuild new file mode 100644 index 000000000000..ca60b9c99588 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.10.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" + +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="https://mocha.jamesmead.org/" + +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 )" + +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 +} |