dev-ruby/stringex: add 2.7.1

Package-Manager: portage-2.3.3
This commit is contained in:
Hans de Graaff
2017-02-11 07:19:57 +01:00
parent 86ff7174bd
commit 674985890e
2 changed files with 41 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST stringex-2.6.1.gem 130048 SHA256 e19fcf32cc429a12d454b14db3a43a6227ee9da233b10240fe1572c9aae7ce65 SHA512 b2ca4de05a8a1e3ef9fa85324f2280a27de7ef04ac3eb0f76006e07d86e5fa0fc84acd4ee6d39f86416bc769cf4e2804421703533b8609a18228cdfeb769a841 WHIRLPOOL 41e78d6563c166bd2e933caee86d3f61538b60d643344a576c7d636d2664e885c95ff6fafaa42c0563aaf8b9ef8f246016523544dbf88bfc8686be2d34b4ddb1
DIST stringex-2.7.0.gem 130048 SHA256 e9864b143c4c27a61a2af5d8ad585809e36d7708b51daee412919ed44682031a SHA512 f47cbddc0e298548d230759c5d0da84bca4d754141ad900cbafad09748d389505358e2a4dd0b61f2e55804c15d9c6d1b0fbccde9c3cd3408814dd898461e1212 WHIRLPOOL 2de63c63fa28b726e87b5e5961d6790a3838b3cb0ae182a11ef15b916c5f7d03887cf54de18c8f6d0a360b13f670e82f8a4a4548fa97d8f8a31174aba65d3ce6
DIST stringex-2.7.1.gem 130048 SHA256 bb054a02e2d43bfc918d2d40e815f6059e38394f804a6b181dc46c05c01e89fd SHA512 2e53079ceaa33a7d040efcd3428601ffa0b4a1c2c231c8d068754ed4577ca610aeae46cde5d402566929cb5204a1999a287f10661a241197e6efbdadd4c928c4 WHIRLPOOL fadca31bf7ffc295d822d0e68238168c4b8a292ad685dccad4af65091af546fbc93626e2ec4a011da0e67bfbe6b82c16197783307a5da95f516de3465204e564

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby21 ruby22 ruby23"
RUBY_FAKEGEM_DOC_DIR="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
inherit ruby-fakegem
DESCRIPTION="Extensions for Ruby's String class"
HOMEPAGE="https://github.com/rsl/stringex"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64"
IUSE="test"
# we could rely on activerecord[sqlite3], but since we do not remove the
# sqlite3 adapter from activerecord when building -sqlite3, it's easier
# to just add another dependency, so the user doesn't have to change the
# USE flags at all.
ruby_add_bdepend "
test? (
>=dev-ruby/i18n-0.6.9:0.6
dev-ruby/redcloth
dev-ruby/test-unit:2
>=dev-ruby/activerecord-3
dev-ruby/sqlite3 )"
all_ruby_prepare() {
sed -i -e '1agem "i18n", "~>0.6.9"' test/test_helper.rb || die
}
each_ruby_test() {
# rake seems to break this
ruby-ng_testrb-2 -Ilib -Itest test/unit/*/*_test.rb test/performance/*_test.rb || die "tests failed"
}