diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-06-20 06:25:49 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-06-20 06:25:49 +0200 |
commit | 7acaa9ff3cc4e86a4aa4cade0905a91faf7b61e1 (patch) | |
tree | c12addeea97f9c1b30c71ed5c1291c14755beb30 /dev-ruby/colorize | |
parent | dev-ruby/colorize: drop 0.8.1-r1 (diff) | |
download | gentoo-7acaa9ff3cc4e86a4aa4cade0905a91faf7b61e1.tar.gz gentoo-7acaa9ff3cc4e86a4aa4cade0905a91faf7b61e1.tar.bz2 gentoo-7acaa9ff3cc4e86a4aa4cade0905a91faf7b61e1.zip |
dev-ruby/colorize: add 1.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/colorize')
-rw-r--r-- | dev-ruby/colorize/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/colorize/colorize-1.0.1.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/colorize/Manifest b/dev-ruby/colorize/Manifest index eec357092a64..12a0f769a461 100644 --- a/dev-ruby/colorize/Manifest +++ b/dev-ruby/colorize/Manifest @@ -1 +1,2 @@ DIST colorize-0.8.1.gem 15872 BLAKE2B fe8e3a3e010d55954fb9e3e26626202e1d3eba5478e27009fc86bd4029c98fe5a2ed2f2b0d5d1615e892435554272a70c1cbfcdadadea8bcaab894cb290e7992 SHA512 0819dfaa94150c85cbe633c77006f2f4bdd6c4f9bf9dfa954b8c4038b8a680c99a2b4b160da05bf426402d287a0db4c4eb1cc66a949405188b632f39da381c72 +DIST colorize-1.0.1.gem 17920 BLAKE2B 850fe181d1f6c9d10cc0c5ebe65913ed2cdc6bfa9a50d7d5377f273927c4b3a5c4e9567473f08c96d92d7b96ab8809836b513a8acefe449be4c187c0b9bbf250 SHA512 c9ccfafc2bee79ec7b908fe73b20831bebf2de8e96d2c1e654eb2441c2e507bd8ded08797f5f34779e0af1eb56ac3659f61c6e091403a3246d1f72cf7a2e0a70 diff --git a/dev-ruby/colorize/colorize-1.0.1.ebuild b/dev-ruby/colorize/colorize-1.0.1.ebuild new file mode 100644 index 000000000000..8da55ad96550 --- /dev/null +++ b/dev-ruby/colorize/colorize-1.0.1.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 +} |