summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-05-16 07:22:34 +0200
committerHans de Graaff <graaff@gentoo.org>2021-05-16 07:22:34 +0200
commit796dbeb27b8322cf9810b6667766f266bcf4df55 (patch)
tree09d5999f3192ff3b63c838c19dbb31894a0b7dab /dev-ruby
parentdev-ruby/actionpack-action_caching: add 1.2.2 (diff)
downloadgentoo-796dbeb27b8322cf9810b6667766f266bcf4df55.tar.gz
gentoo-796dbeb27b8322cf9810b6667766f266bcf4df55.tar.bz2
gentoo-796dbeb27b8322cf9810b6667766f266bcf4df55.zip
dev-ruby/acts_as_list: add 1.0.4
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/acts_as_list/Manifest1
-rw-r--r--dev-ruby/acts_as_list/acts_as_list-1.0.4.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/acts_as_list/Manifest b/dev-ruby/acts_as_list/Manifest
index 1e42db6fada5..5874825eaa20 100644
--- a/dev-ruby/acts_as_list/Manifest
+++ b/dev-ruby/acts_as_list/Manifest
@@ -1,2 +1,3 @@
DIST acts_as_list-1.0.1.gem 39424 BLAKE2B 278705cd57bf3fcf2d1d9e2f4ad8757c9842f768bc36470e5b9a2f52f0d695f4c7bbab71200dde8e1fb099840495ea5a6ad131d1a213b8389dce49e08240eb3a SHA512 15a0cd7e6c89ba6ed218c5e866b15c33ae64f5ed1587de67ec6ea20480fa622ec32f3131e714ff0d5196189a46d5d745ff5de026c451a485ebb735df73ef9ce5
DIST acts_as_list-1.0.3.gem 40448 BLAKE2B dd847fc30b374d2d0087fcdef95aabbcf0b5237597ec908c422708519fb3a39892a419a0acb5e33751005f64bf5c30ea76927e17b77a7970764009c19ef83663 SHA512 efcfb79cb09543867d6938766c39c4a89de09f957c1d37a716e41c895dbea8d324c40f17952d878cc97a2a449fb01f24823109978bf4901771ddfdb4929f6ee4
+DIST acts_as_list-1.0.4.gem 40448 BLAKE2B ac0d9e29006c052b1f421fc734d19390942fcb1eb68d33ed67944bf9bcf1dc8b73c813a2ee8ae6b358f74e019bf36d200e6fe44e01391dff68041d5263b907b1 SHA512 45cc3a2ddc3bdf245819bfe62c39cea5e9b96bf63b3e817adae2acadcf7b51f47379ae9bf1c2c1cfd6a1dc70d7279f44e0a932c838fa93fa4a0c3b9dcbcd46ea
diff --git a/dev-ruby/acts_as_list/acts_as_list-1.0.4.ebuild b/dev-ruby/acts_as_list/acts_as_list-1.0.4.ebuild
new file mode 100644
index 000000000000..600bb27fcc37
--- /dev/null
+++ b/dev-ruby/acts_as_list/acts_as_list-1.0.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+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"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/activerecord-4.2:*"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/mocha
+ 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
+}