summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-02-24 06:48:22 +0000
committerHans de Graaff <graaff@gentoo.org>2014-02-24 06:48:22 +0000
commit4a92f6e7fada8b495ae4862f20b9a546ec34d446 (patch)
treee260a01d8ef222d30131a9781657aad932fb76e2 /dev-ruby/acts_as_list
parentBump for #488474 (diff)
downloadgentoo-2-4a92f6e7fada8b495ae4862f20b9a546ec34d446.tar.gz
gentoo-2-4a92f6e7fada8b495ae4862f20b9a546ec34d446.tar.bz2
gentoo-2-4a92f6e7fada8b495ae4862f20b9a546ec34d446.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/acts_as_list')
-rw-r--r--dev-ruby/acts_as_list/ChangeLog9
-rw-r--r--dev-ruby/acts_as_list/acts_as_list-0.4.0.ebuild43
2 files changed, 50 insertions, 2 deletions
diff --git a/dev-ruby/acts_as_list/ChangeLog b/dev-ruby/acts_as_list/ChangeLog
index e71a6f7bd09a..92af4f8fac8f 100644
--- a/dev-ruby/acts_as_list/ChangeLog
+++ b/dev-ruby/acts_as_list/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/acts_as_list
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/acts_as_list/ChangeLog,v 1.4 2013/12/24 15:47:07 graaff Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/acts_as_list/ChangeLog,v 1.5 2014/02/24 06:48:22 graaff Exp $
+
+*acts_as_list-0.4.0 (24 Feb 2014)
+
+ 24 Feb 2014; Hans de Graaff <graaff@gentoo.org> +acts_as_list-0.4.0.ebuild:
+ Version bump.
24 Dec 2013; Hans de Graaff <graaff@gentoo.org> -acts_as_list-0.1.9.ebuild,
-acts_as_list-0.2.0.ebuild:
diff --git a/dev-ruby/acts_as_list/acts_as_list-0.4.0.ebuild b/dev-ruby/acts_as_list/acts_as_list-0.4.0.ebuild
new file mode 100644
index 000000000000..971cfcea4466
--- /dev/null
+++ b/dev-ruby/acts_as_list/acts_as_list-0.4.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/acts_as_list/acts_as_list-0.4.0.ebuild,v 1.1 2014/02/24 06:48:22 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list."
+HOMEPAGE="http://rake.rubyforge.org/"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~amd64 ~x86 ~x86-macos"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/activerecord-3"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/test-unit:2
+ dev-ruby/activerecord[sqlite3]
+ )"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile || die
+ sed -i -e '1,9 s:^:#:' test/helper.rb || die
+ sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ruby-ng_testrb-2 -Ilib test/test_*.rb
+}