summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-06-22 06:57:18 +0200
committerHans de Graaff <graaff@gentoo.org>2023-06-22 07:00:17 +0200
commiteafdd726baa37cd574d745702c3b9978744067a1 (patch)
treed3cee3829fe091785e60db381bd745318c6b7606 /dev-ruby/colorize
parentmedia-libs/libsdl2: add 2.28.0 (diff)
downloadgentoo-eafdd726baa37cd574d745702c3b9978744067a1.tar.gz
gentoo-eafdd726baa37cd574d745702c3b9978744067a1.tar.bz2
gentoo-eafdd726baa37cd574d745702c3b9978744067a1.zip
dev-ruby/colorize: add 1.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/colorize')
-rw-r--r--dev-ruby/colorize/Manifest1
-rw-r--r--dev-ruby/colorize/colorize-1.0.3.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/colorize/Manifest b/dev-ruby/colorize/Manifest
index 12a0f769a461..82bb534cc2fb 100644
--- a/dev-ruby/colorize/Manifest
+++ b/dev-ruby/colorize/Manifest
@@ -1,2 +1,3 @@
DIST colorize-0.8.1.gem 15872 BLAKE2B fe8e3a3e010d55954fb9e3e26626202e1d3eba5478e27009fc86bd4029c98fe5a2ed2f2b0d5d1615e892435554272a70c1cbfcdadadea8bcaab894cb290e7992 SHA512 0819dfaa94150c85cbe633c77006f2f4bdd6c4f9bf9dfa954b8c4038b8a680c99a2b4b160da05bf426402d287a0db4c4eb1cc66a949405188b632f39da381c72
DIST colorize-1.0.1.gem 17920 BLAKE2B 850fe181d1f6c9d10cc0c5ebe65913ed2cdc6bfa9a50d7d5377f273927c4b3a5c4e9567473f08c96d92d7b96ab8809836b513a8acefe449be4c187c0b9bbf250 SHA512 c9ccfafc2bee79ec7b908fe73b20831bebf2de8e96d2c1e654eb2441c2e507bd8ded08797f5f34779e0af1eb56ac3659f61c6e091403a3246d1f72cf7a2e0a70
+DIST colorize-1.0.3.gem 17920 BLAKE2B 33864dd5967685ceda163d379063a190ea031a35d5ebb99dc90b54ef7f6c0f95a7b3fd13a73f702c843dc6691095831b777d8572f46da7f897ef01b99fe61c88 SHA512 854bffcadd27ff8a5a52b627125dbfc15f56d4714d28a1e0d64c8d95181d9013ce1ee2f3635cd0b765b3d3cf1688844478a51c2518fac516b3e4e2630a8fc07a
diff --git a/dev-ruby/colorize/colorize-1.0.3.ebuild b/dev-ruby/colorize/colorize-1.0.3.ebuild
new file mode 100644
index 000000000000..8da55ad96550
--- /dev/null
+++ b/dev-ruby/colorize/colorize-1.0.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Adds methods to set color, background color and text effect on console easier"
+HOMEPAGE="https://github.com/fazibear/colorize"
+LICENSE="GPL-2+"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
+
+all_ruby_prepare() {
+ sed -i -e "/[Cc]ode[Cc]limate/d" test/test_colorize.rb || die
+}
+
+each_ruby_test() {
+ cd test || die
+ ${RUBY} test_colorize.rb || die
+}