summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-02-10 07:40:14 +0100
committerHans de Graaff <graaff@gentoo.org>2017-02-10 07:40:14 +0100
commit485a992b158a59d46b6075c579a17a99c28f2e22 (patch)
treed2cf9eb2730b38b068b27195f60c23743a1ba7ef /dev-ruby/acts_as_list
parentdev-ruby/acts_as_list: cleanup (diff)
downloadgentoo-485a992b158a59d46b6075c579a17a99c28f2e22.tar.gz
gentoo-485a992b158a59d46b6075c579a17a99c28f2e22.tar.bz2
gentoo-485a992b158a59d46b6075c579a17a99c28f2e22.zip
dev-ruby/acts_as_list: add 0.9.2
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/acts_as_list')
-rw-r--r--dev-ruby/acts_as_list/Manifest1
-rw-r--r--dev-ruby/acts_as_list/acts_as_list-0.9.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/acts_as_list/Manifest b/dev-ruby/acts_as_list/Manifest
index 6035baefd4b4..f9440b5625aa 100644
--- a/dev-ruby/acts_as_list/Manifest
+++ b/dev-ruby/acts_as_list/Manifest
@@ -1,2 +1,3 @@
DIST acts_as_list-0.8.2.gem 26624 SHA256 999df2ddddecbc5b0a502b34f518ab6fe0e54bad62ef68f5d7acf019e5d9978a SHA512 145ee906252253fb436036d0a2bada7693039b87d9209dc31b5714b51579afe53201252ab1772aea0cdcb3450822e6ca8c47e89085aa2587c1c608f4d437d03e WHIRLPOOL 25e9d7ddc05facbea4dc5aa8f37227363198ec40b133e3ef6fbc067c2b730b704aab2c15066ef9d30cfac0131e329f5e019b1a397655546209fdb8204dc0baf4
DIST acts_as_list-0.9.1.gem 31232 SHA256 b1c9b1ee656ab64f592c972f2778efe142bd116311964341abf373c5420e46a8 SHA512 e9116181603dbf1c661a3f6c6ad67a403cd213acfe6d6d270cc34318c60c48e259309242cd6c0ba80cbcd04778ba41d0a8eff96ded7397c8b642f5e66a9b1881 WHIRLPOOL 62213eabc1ca599ffa1d5b6b6ca5dc1b298b81dbb6f8198999a7adc4e0dcb5d7b29a22d58b804c7a2185bf2bdf20358e2c0b73a8d7eb5bc95537940a0aa55d93
+DIST acts_as_list-0.9.2.gem 31232 SHA256 dbabd5135abd57e684bc0298397c71acbde2a5fdaf04b61c2322867540b7ab32 SHA512 7d83e0c624179627c52a227924296dbb8f749218f09b4b72155587b6dc07eb359dc57d9b7ac4d08f0bc470ab40aa1f67a42c9b7b3b3def709d68096061cd04ad WHIRLPOOL fb18d581de3988f54eff0beb1cc477883c0f813a4e94d93e5b978ceb3d36f1dd38e1699459261cf992385c2037d1a6dffa2b3ca85f4017ac68e7ec6af9beee28
diff --git a/dev-ruby/acts_as_list/acts_as_list-0.9.2.ebuild b/dev-ruby/acts_as_list/acts_as_list-0.9.2.ebuild
new file mode 100644
index 000000000000..30cd11d80119
--- /dev/null
+++ b/dev-ruby/acts_as_list/acts_as_list-0.9.2.ebuild
@@ -0,0 +1,39 @@
+# 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_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md 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="https://github.com/swanandp/acts_as_list"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~amd64 ~x86-macos"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/activerecord-3:*"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/test-unit:2
+ dev-ruby/activerecord[sqlite]
+ )"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile || die
+ sed -i -e '/bundler/,/^end/ s:^:#:' test/helper.rb || die
+ sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die
+}