summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-09-23 07:32:28 +0200
committerHans de Graaff <graaff@gentoo.org>2019-09-24 08:40:39 +0200
commitd32bc9ae5e29be139f2fcb096f79661f0ea83c1e (patch)
tree4560866b1a305f3b4e9e3d102dd060655d64729e /dev-ruby/minitest
parentnet-analyzer/wireshark: Version 3.0.5 (diff)
downloadgentoo-d32bc9ae5e29be139f2fcb096f79661f0ea83c1e.tar.gz
gentoo-d32bc9ae5e29be139f2fcb096f79661f0ea83c1e.tar.bz2
gentoo-d32bc9ae5e29be139f2fcb096f79661f0ea83c1e.zip
dev-ruby/minitest: add 5.12.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/minitest')
-rw-r--r--dev-ruby/minitest/Manifest1
-rw-r--r--dev-ruby/minitest/minitest-5.12.0.ebuild22
2 files changed, 23 insertions, 0 deletions
diff --git a/dev-ruby/minitest/Manifest b/dev-ruby/minitest/Manifest
index 06f0dc5ca31a..4fb04f90f761 100644
--- a/dev-ruby/minitest/Manifest
+++ b/dev-ruby/minitest/Manifest
@@ -1,3 +1,4 @@
DIST minitest-4.7.5.gem 57856 BLAKE2B d0ecb0a0693c35ebbda52e9c755b72f07e38d6ccc266312a3426f9de3c40165d68bf07d5ed162ce51e31b1bb8502dc844fe61d9e93733108501f156c3096af23 SHA512 7ea0a52d37f4631fb8b11d4389da2123e4207093f7b34c497fced8729c9086faaa35e997debdb53b694e05eb52b16e843960f0b54515c32207f87161a76c3851
DIST minitest-5.10.3.gem 76288 BLAKE2B 2c4fa5bca17e8a6270923225cd91fa9b6374d2a00b278906faf4e3ead0baf5fb1572a3c75322befc35ad0016d86f49c905e7de0283b07c60585c4c0348d69701 SHA512 6a3b1c86471fd7bb6ca078de9f253aeb9533f8da027998c34cd7fb8165a1d3bb565c1f8df958bb0eef6b7e22658894175c5f54f475585f2c05bb667e812b7aa3
DIST minitest-5.11.3.gem 79360 BLAKE2B c348957e094bd91e88c6dace522b8e88c37ec435d58b4f6f8c8b458cfd26b789cb00cd43fa9d515112a8f3c9a736756d59c46f4117d1c1948d08cab0a5eed6aa SHA512 387537aff51f8e8f9cc2feddadf6813d11f0ba623ae3d5929d7b7a88e180b60c961dfa1d2ba0f3a4ad7d2c1af250245376fa62b23f68c8b57812c7e86efba0c7
+DIST minitest-5.12.0.gem 82432 BLAKE2B 6bc28aeb28646716a246e69c2ead3acbd1cbc8d719654509228422ceff4cd224e3c2e718b2300c7b181b1685db22416cb1943042132e5093a396cf733eb3fb90 SHA512 54a4385120f37472c68baaf97aca01630cad4ecf48256f923921ae827e60541328dfca445a7175786aa4819492d9dfba6c3054e8c8a95f5bd09e1ceb73534f8e
diff --git a/dev-ruby/minitest/minitest-5.12.0.ebuild b/dev-ruby/minitest/minitest-5.12.0.ebuild
new file mode 100644
index 000000000000..f32b6e9bead5
--- /dev/null
+++ b/dev-ruby/minitest/minitest-5.12.0.ebuild
@@ -0,0 +1,22 @@
+# 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_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit"
+HOMEPAGE="https://github.com/seattlerb/minitest"
+
+LICENSE="MIT"
+SLOT="5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc test"
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed"
+}