diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-06-09 09:49:37 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-06-09 11:20:03 +0200 |
commit | 67d55b6ab2c31a115689d73f2244ab0f0f5e73a2 (patch) | |
tree | 2266edb33679a761ff334cb05d846de00dff9024 /dev-ruby | |
parent | app-xemacs/ebuild-mode: drop 1.69 (diff) | |
download | gentoo-67d55b6ab2c31a115689d73f2244ab0f0f5e73a2.tar.gz gentoo-67d55b6ab2c31a115689d73f2244ab0f0f5e73a2.tar.bz2 gentoo-67d55b6ab2c31a115689d73f2244ab0f0f5e73a2.zip |
dev-ruby/acts_as_list: add 1.2.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/acts_as_list/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/acts_as_list/acts_as_list-1.2.1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/acts_as_list/Manifest b/dev-ruby/acts_as_list/Manifest index cc06dff44ea1..a669404e6beb 100644 --- a/dev-ruby/acts_as_list/Manifest +++ b/dev-ruby/acts_as_list/Manifest @@ -1,2 +1,3 @@ DIST acts_as_list-1.1.0.gem 41984 BLAKE2B abeb0325795276294451b4cb86e20dab6871003c72679ce28f9326cd844234ad56457a03d9b9ecd81b8c143deeefc25dd15df88a38ebdd1324a953b2399465e7 SHA512 bdcaf07bc4ad3854d68c8d95e666e86c2500474ffa212c315b6b4abd321341ac782c0e301f2c859c12b80ecfdd1cc743ccf8a7bdbdb36e30fafcd98d4928a00a DIST acts_as_list-1.2.0.gem 41984 BLAKE2B 98652e8b974501a499fb06f73807adfca411912f7b6e705ca91f654b814c61d419018af068ea4977abae55b6ebcea7d2dd7c48a2b107f0d31f1027799875978a SHA512 16e5b5549db7884077b3fe3131b1f91f3b857a083ab80b9b1c19a59b25740b53b032081743f222850fd06cc5892164e0c06cc0c63ae35cf646920f5e7d87292d +DIST acts_as_list-1.2.1.gem 42496 BLAKE2B ba7d009db1a0cabaea360401df3dbaddbae4d94cf4f9be2d6f9001c1be720d17a5ec7556723878923e85ad9acd231af8c5014f393aff0744bae0c110b01101a6 SHA512 095d402c49f855cd1274e3ca3afdcbdd4e4d747c7bf2d0a010257c14de8751a13da889273acf9fa134c7da12d7bb92474377c8f6082bc7b9fa919c67d992bebc diff --git a/dev-ruby/acts_as_list/acts_as_list-1.2.1.ebuild b/dev-ruby/acts_as_list/acts_as_list-1.2.1.ebuild new file mode 100644 index 000000000000..c33afe589595 --- /dev/null +++ b/dev-ruby/acts_as_list/acts_as_list-1.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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/brendon/acts_as_list" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/activerecord-6.1:* >=dev-ruby/activesupport-6.1:*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/mocha-2.1.0:2 + dev-ruby/test-unit:2 + dev-ruby/timecop + 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 +} + +each_ruby_test() { + DB=sqlite each_fakegem_test +} |