summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-11-22 09:09:34 +0100
committerHans de Graaff <graaff@gentoo.org>2015-11-22 09:29:37 +0100
commitc76d16fa4104b038cddbf322133e025a60e3e050 (patch)
tree6a8b5512cc2c7294cb3065c3f630a4d7f188051f /dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild
parentdev-ruby/mime-types-data: initial import (diff)
downloadgentoo-c76d16fa4104b038cddbf322133e025a60e3e050.tar.gz
gentoo-c76d16fa4104b038cddbf322133e025a60e3e050.tar.bz2
gentoo-c76d16fa4104b038cddbf322133e025a60e3e050.zip
dev-ruby/minitest-pretty_diff: initial import
Dependency for dev-ruby/minitest-bonus-assertions. Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild')
-rw-r--r--dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild b/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild
new file mode 100644
index 000000000000..10ad07124477
--- /dev/null
+++ b/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild
@@ -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
+}