diff options
author | Sam James <sam@gentoo.org> | 2023-04-01 23:36:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-02 00:18:49 +0100 |
commit | 256755b5ce9837f26ec225b06a8cef93001091cf (patch) | |
tree | 236de3f2a12ba819b90207ed09d5eda0a6bb83be /dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r2.ebuild | |
parent | dev-ruby/uglifier: enable ruby32 (diff) | |
download | gentoo-256755b5ce9837f26ec225b06a8cef93001091cf.tar.gz gentoo-256755b5ce9837f26ec225b06a8cef93001091cf.tar.bz2 gentoo-256755b5ce9837f26ec225b06a8cef93001091cf.zip |
dev-ruby/minitest-pretty_diff: EAPI 8, enable ruby32
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r2.ebuild')
-rw-r--r-- | dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r2.ebuild | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r2.ebuild b/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r2.ebuild new file mode 100644 index 000000000000..0a9b933c0c5b --- /dev/null +++ b/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +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 ~loong ppc ppc64 ~riscv ~s390 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 +} |