diff options
-rw-r--r-- | dev-ruby/minitest-pretty_diff/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/minitest-pretty_diff/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild | 23 |
3 files changed, 32 insertions, 0 deletions
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 @@ +<?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> 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 +} |