summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-06-23 06:25:02 +0200
committerHans de Graaff <graaff@gentoo.org>2023-06-23 06:25:02 +0200
commit3cab7cfe9f702bdb92934688a1c6bb6f8aee6c12 (patch)
treecbce2e592fb05f2e4166175bbb997fc165299102 /dev-ruby/colorize
parentdev-ruby/bcrypt-ruby: update upstream metadata (diff)
downloadgentoo-3cab7cfe9f702bdb92934688a1c6bb6f8aee6c12.tar.gz
gentoo-3cab7cfe9f702bdb92934688a1c6bb6f8aee6c12.tar.bz2
gentoo-3cab7cfe9f702bdb92934688a1c6bb6f8aee6c12.zip
dev-ruby/colorize: add 1.0.5
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.5.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/colorize/Manifest b/dev-ruby/colorize/Manifest
index 82bb534cc2fb..4eb434fcd1e8 100644
--- a/dev-ruby/colorize/Manifest
+++ b/dev-ruby/colorize/Manifest
@@ -1,3 +1,4 @@
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
+DIST colorize-1.0.5.gem 17920 BLAKE2B 332b430510de5e85e69bf2a96cba81f53db49aab00bf9cef82a98e49654707ce4dcb4956a637c9b529df2a16ce3ed155dc4f6cb596aad9558c5409507763ead3 SHA512 b0edad3771928ae8ca91ef5a0f44adfb026f894a254a7422ea33439d8bf301f3ce98d5d03eb5ed3a95e5d750e7c7bded1f5767042639dce816934146dad00d51
diff --git a/dev-ruby/colorize/colorize-1.0.5.ebuild b/dev-ruby/colorize/colorize-1.0.5.ebuild
new file mode 100644
index 000000000000..8da55ad96550
--- /dev/null
+++ b/dev-ruby/colorize/colorize-1.0.5.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
+}