summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-04-28 22:11:07 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-04-28 22:11:07 +0000
commit4fe404292530118487101ca4dca6d46539eab10c (patch)
tree524bc14802d71eb7c72781ff5a03cea7e2e291b7 /dev-ruby/stringex
parentVersion bump, thanks to Enrico. (diff)
downloadgentoo-2-4fe404292530118487101ca4dca6d46539eab10c.tar.gz
gentoo-2-4fe404292530118487101ca4dca6d46539eab10c.tar.bz2
gentoo-2-4fe404292530118487101ca4dca6d46539eab10c.zip
Version bump.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/stringex')
-rw-r--r--dev-ruby/stringex/ChangeLog7
-rw-r--r--dev-ruby/stringex/stringex-1.3.3.ebuild35
2 files changed, 41 insertions, 1 deletions
diff --git a/dev-ruby/stringex/ChangeLog b/dev-ruby/stringex/ChangeLog
index 2ff805311620..04e8eea79c0a 100644
--- a/dev-ruby/stringex/ChangeLog
+++ b/dev-ruby/stringex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/stringex
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/ChangeLog,v 1.3 2012/02/17 22:15:21 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/ChangeLog,v 1.4 2012/04/28 22:11:07 flameeyes Exp $
+
+*stringex-1.3.3 (28 Apr 2012)
+
+ 28 Apr 2012; Diego E. Pettenò <flameeyes@gentoo.org> +stringex-1.3.3.ebuild:
+ Version bump.
*stringex-1.3.2 (17 Feb 2012)
diff --git a/dev-ruby/stringex/stringex-1.3.3.ebuild b/dev-ruby/stringex/stringex-1.3.3.ebuild
new file mode 100644
index 000000000000..6d286e8743f5
--- /dev/null
+++ b/dev-ruby/stringex/stringex-1.3.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/stringex-1.3.3.ebuild,v 1.1 2012/04/28 22:11:07 flameeyes Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_DOC_DIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Extensions for Ruby's String class"
+HOMEPAGE="http://github.com/rsl/stringex"
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64"
+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/activerecord
+ dev-ruby/sqlite3-ruby
+ dev-ruby/redcloth
+ )"
+
+each_ruby_test() {
+ # rake seems to break this
+ ${RUBY} -Ilib -S testrb test/*_test.rb || die "tests failed"
+}