diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-04-04 07:47:31 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-04-04 08:53:51 +0200 |
commit | 392185a1a8c958e833bf09f8f17e601ad9b7499c (patch) | |
tree | 41c9a558d7cc47fc3363ecdfca1a85db7db2c1b3 /dev-ruby/minitest-pretty_diff | |
parent | dev-ruby/listen: add 3.5.1 (diff) | |
download | gentoo-392185a1a8c958e833bf09f8f17e601ad9b7499c.tar.gz gentoo-392185a1a8c958e833bf09f8f17e601ad9b7499c.tar.bz2 gentoo-392185a1a8c958e833bf09f8f17e601ad9b7499c.zip |
dev-ruby/minitest-pretty_diff: add ruby30; EAPI=7
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/minitest-pretty_diff')
-rw-r--r-- | dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r1.ebuild | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r1.ebuild b/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r1.ebuild new file mode 100644 index 000000000000..4033a8a3a327 --- /dev/null +++ b/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +inherit ruby-fakegem + +DESCRIPTION="Pretty-print hashes and arrays before diffing them in MiniTest" +HOMEPAGE="https://github.com/adammck/minitest-pretty_diff" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die +} |