summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-12-13 08:39:28 +0100
committerHans de Graaff <graaff@gentoo.org>2019-12-13 10:20:07 +0100
commit77a3daf8df831a54b51eb6b12d2ae7376542baf0 (patch)
treeea45ee103ec0935f928ec077818fd04c711bbe42 /dev-ruby/mocha
parentwww-apps/wordpress-5.2.4: removed old (diff)
downloadgentoo-77a3daf8df831a54b51eb6b12d2ae7376542baf0.tar.gz
gentoo-77a3daf8df831a54b51eb6b12d2ae7376542baf0.tar.bz2
gentoo-77a3daf8df831a54b51eb6b12d2ae7376542baf0.zip
dev-ruby/mocha: add 1.10.2
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/Manifest1
-rw-r--r--dev-ruby/mocha/mocha-1.10.2.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest
index 273e5c9cd602..91cbda2f1c24 100644
--- a/dev-ruby/mocha/Manifest
+++ b/dev-ruby/mocha/Manifest
@@ -1,5 +1,6 @@
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.10.1.gem 237056 BLAKE2B 05b8d7c309e306e29bde1d84832a129c0d17c7c15dae2ae226e4d561a5fa40e2ce15b90ebde53ff4e986a0c2424bf46e0a8ddd426b7c7541ec31f41644adb85e SHA512 67c9de69fdcbc1143fbabdac6401f54d92b32f32204173b967fdd8533cc00ca9954aa4e31cf0cc0bd6c79b9fca7eaee09d5089d9e00cad136c3fedf59556f514
+DIST mocha-1.10.2.gem 240128 BLAKE2B 50c638a729cf7e11b982f60b3e511166ca896d67167e8c4ae1c8bdb87fed11c9feef21046f84701f93131e1399320635eeb73a8f08adc1f38a4b36e2134cc690 SHA512 efcfaa266f8e6ac84598f69078855f9a36aaea1f5f6bb2b6759ed17577c390bd60c52b0e09de3c2099cc72e6731099f55b647cea158a4b3996d290c79d006670
DIST mocha-1.8.0.gem 223744 BLAKE2B 625f38d6ec53cbf549cbace873172b8511f2e6a2ccb5d7fd4133c3d9a67a8e5d55626fead7a70de363c8564b687530d3e0515ed7fc167a65091d9e17d89dde47 SHA512 b0abd6234f34dfd92d44019001e97914dff80ece5fbe2b53ccc91192f99f06a79f9c96cdb136b2a389a1a1b7038076fce688d8d8ee8645538d3c58f73e345fe4
DIST mocha-1.9.0.gem 224768 BLAKE2B cbba687669691c4771762fdc87285e1d2a2e9cd4a97f42111e0014118dd358e30b4cf3147c973631b491fa981fe4a3212a7eb160b1d7517db78e3f8647ebda15 SHA512 76aa6c1a59d98cf2e592b94785f102fae7d46923cd30494df944a322a6286fb854867ccb32c396f522008b8a0e368ff115693ec6dc63d7cbe84fa26a3a42d9e6
diff --git a/dev-ruby/mocha/mocha-1.10.2.ebuild b/dev-ruby/mocha/mocha-1.10.2.ebuild
new file mode 100644
index 000000000000..ca60b9c99588
--- /dev/null
+++ b/dev-ruby/mocha/mocha-1.10.2.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
+}