diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-04-28 07:36:28 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-04-28 07:36:28 +0200 |
commit | 250bcd3287fd0641a4d91e2288484275841d123c (patch) | |
tree | cee62dbc87bf516397f8ecf615110e9bcf3f2d63 /dev-ruby/minitest-bonus-assertions | |
parent | dev-ruby/minitest-pretty_diff: add ruby24 (diff) | |
download | gentoo-250bcd3287fd0641a4d91e2288484275841d123c.tar.gz gentoo-250bcd3287fd0641a4d91e2288484275841d123c.tar.bz2 gentoo-250bcd3287fd0641a4d91e2288484275841d123c.zip |
dev-ruby/minitest-bonus-assertions: add 3.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/minitest-bonus-assertions')
-rw-r--r-- | dev-ruby/minitest-bonus-assertions/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/minitest-bonus-assertions/Manifest b/dev-ruby/minitest-bonus-assertions/Manifest index b3347ef4fd8f..a8ae57d354d6 100644 --- a/dev-ruby/minitest-bonus-assertions/Manifest +++ b/dev-ruby/minitest-bonus-assertions/Manifest @@ -1 +1,2 @@ DIST minitest-bonus-assertions-2.0.gem 13312 SHA256 754aa3eca9a0cc5364cf7a8f9d337ce928ef62a0676a965eb3c1783ec568d986 SHA512 8cd80b2a2fa68e06caada6fc2a9418c86a7fecaec2f53d2f87e7f11bba3e27d0727d5d173d1e1ecf0d25556aa68145c1c9ed92b8299d2788b987576faa6cb250 WHIRLPOOL 32a6a7f307464aa0df1ec81da882d9c86034fb7ff763f8ff806fbc39065fc600e8db62671ece9b9af0aacb87fa451046105ec5338ef4c9cd0bc512678d173210 +DIST minitest-bonus-assertions-3.0.gem 13824 SHA256 4a4004ca8a2c5b612f9982522deb3cf52b53195e41418f0cfab31390a64c78c1 SHA512 8b07e5d3be7cf68be53b06f6b545445efd9021ff5423bb67c4b0e8e40aa004d75f34eef3fc23ebe83bceaaa064c57a5ac1b9969a28f48203a6ae4c34092c5621 WHIRLPOOL da64cfce4627c2331902cd1f4810d69c574cd72ec411e840cdeb7da0913f26b163150a3a63d3720c5917225b381ea2ba02d4aef2c8a3c3ea0dddc22cbc34d53f diff --git a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0.ebuild b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0.ebuild new file mode 100644 index 000000000000..b8b3b5e97383 --- /dev/null +++ b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Bonus assertions for minitest" +HOMEPAGE="https://github.com/halostatue/minitest-bonus-assertions" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/minitest-pretty_diff )" + +all_ruby_prepare() { + sed -i -e '/\(bisect\|focus\|moar\)/ s:^:#:' test/minitest_config.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} |