dev-ruby/minitest-pretty_diff: initial import

Dependency for dev-ruby/minitest-bonus-assertions.

Package-Manager: portage-2.2.20.1
This commit is contained in:
Hans de Graaff
2015-11-22 09:09:34 +01:00
parent e0b8892972
commit c76d16fa41
3 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST minitest-pretty_diff-0.1.gem 4608 SHA256 3234f7a04580e9776252e30172ed1f82c8f0ebec3df8cea170f314120c16e31d SHA512 e04cbbdb9cd12f2b60824dc0e20f5f3ee3e97b6cf3c8b290da941f26af120fd8eb47e33cb501380954ebfd84db817095f2f8a205ea8ee2095868befd443172b6 WHIRLPOOL f682911790c565280c20412cc7a4179303ecf60e67c519a980bbfe19b8683fcc0aacee6cdaf140ff39504a86325ae0010b8181feeb9b4f88f63393ebda3222f1

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>ruby</herd>
<upstream>
<remote-id type="github">adammck/minitest-pretty_diff</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby20 ruby21 ruby22"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
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="~amd64"
IUSE=""
each_ruby_test() {
${RUBY} -Ilib:. -e 'require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die
}