From c76d16fa4104b038cddbf322133e025a60e3e050 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 22 Nov 2015 09:09:34 +0100 Subject: dev-ruby/minitest-pretty_diff: initial import Dependency for dev-ruby/minitest-bonus-assertions. Package-Manager: portage-2.2.20.1 --- dev-ruby/minitest-pretty_diff/Manifest | 1 + dev-ruby/minitest-pretty_diff/metadata.xml | 8 ++++++++ .../minitest-pretty_diff-0.1.ebuild | 23 ++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 dev-ruby/minitest-pretty_diff/Manifest create mode 100644 dev-ruby/minitest-pretty_diff/metadata.xml create mode 100644 dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild (limited to 'dev-ruby') diff --git a/dev-ruby/minitest-pretty_diff/Manifest b/dev-ruby/minitest-pretty_diff/Manifest new file mode 100644 index 000000000000..885b52b3ab1b --- /dev/null +++ b/dev-ruby/minitest-pretty_diff/Manifest @@ -0,0 +1 @@ +DIST minitest-pretty_diff-0.1.gem 4608 SHA256 3234f7a04580e9776252e30172ed1f82c8f0ebec3df8cea170f314120c16e31d SHA512 e04cbbdb9cd12f2b60824dc0e20f5f3ee3e97b6cf3c8b290da941f26af120fd8eb47e33cb501380954ebfd84db817095f2f8a205ea8ee2095868befd443172b6 WHIRLPOOL f682911790c565280c20412cc7a4179303ecf60e67c519a980bbfe19b8683fcc0aacee6cdaf140ff39504a86325ae0010b8181feeb9b4f88f63393ebda3222f1 diff --git a/dev-ruby/minitest-pretty_diff/metadata.xml b/dev-ruby/minitest-pretty_diff/metadata.xml new file mode 100644 index 000000000000..1dae83c57b16 --- /dev/null +++ b/dev-ruby/minitest-pretty_diff/metadata.xml @@ -0,0 +1,8 @@ + + + + ruby + + adammck/minitest-pretty_diff + + 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 +} -- cgit v1.2.3-65-gdbad