commit: bb65ff51ce103dd198d3471d85c1cfe53f029737 Author: Hans de Graaff <hans <AT> degraaff <DOT> org> AuthorDate: Thu Sep 8 05:11:03 2016 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu Sep 8 05:11:03 2016 +0000 URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=bb65ff51
dev-ruby/minitest-around: add 0.4.0 Package-Manager: portage-2.2.28 dev-ruby/minitest-around/Manifest | 1 + .../minitest-around/minitest-around-0.4.0.ebuild | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-ruby/minitest-around/Manifest b/dev-ruby/minitest-around/Manifest index 6f01074..b5544d6 100644 --- a/dev-ruby/minitest-around/Manifest +++ b/dev-ruby/minitest-around/Manifest @@ -1 +1,2 @@ DIST minitest-around-0.3.2.gem 11776 SHA256 d8f02084bcea9bef6020ad3e2250581885de7ce669eb76c744dd5740cd622697 SHA512 545e7064f2e3341bba28d7c15016e6d0a5a0936e8cfbe5d7efb35fc139f9f68f8a3e9ea56db113ba3d29f4b0e1d7c11ae58ee7aabd59f232568bc45e7115f16b WHIRLPOOL 7d05fb949865801c977b1b99bad10946a26cdc6d7362e875a4456692f5cf2eccbafb9a95bc4a97c2fbb464feed5f3a5f16c100fd9d4eba056ab0e270db1126b3 +DIST minitest-around-0.4.0.gem 11776 SHA256 dcd9b2da385d1280a5faf3bb03d37a81731352bb2abe398cfe855a482ff276da SHA512 f049aa28dd0139647db106aaf2276068cf05fa71132a83d6cba6b098bee9d4501c733c9463bbbd656d7cf569d08bd421b7ca3223d793c4a399fe84aa60135bd7 WHIRLPOOL e95fcb21626eb494a832d9a0a1778c22904b25a20b9d79f59c03b3f2b46f4d464452a4891c6e0df60acc4f26acc15d34854925f0836f2e789b5cf6682c4001e6 diff --git a/dev-ruby/minitest-around/minitest-around-0.4.0.ebuild b/dev-ruby/minitest-around/minitest-around-0.4.0.ebuild new file mode 100644 index 0000000..bfe0f37 --- /dev/null +++ b/dev-ruby/minitest-around/minitest-around-0.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Alternative for setup/teardown dance" +HOMEPAGE="https://github.com/splattael/minitest-around" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/minitest:5" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + sed -i -e '/bump/ s:^:#:' -e '/ls-files/d' minitest-around.gemspec Rakefile || die +} + +each_ruby_test() { + for f in test/*_{test,spec}.rb ; do + ${RUBY} -S rake test:isolated TEST="${f}" || die + done +}