commit: 07b5d2fae8f07612d01f2f7e68fd5ed98905dcd0
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 22 15:09:03 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Oct 23 06:06:24 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b5d2fa
dev-ruby/acts_as_list: add 1.2.6
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/acts_as_list/Manifest | 1 +
dev-ruby/acts_as_list/acts_as_list-1.2.6.ebuild | 50 +++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/dev-ruby/acts_as_list/Manifest b/dev-ruby/acts_as_list/Manifest
index 638c315c4bf9..3662dd35ab73 100644
--- a/dev-ruby/acts_as_list/Manifest
+++ b/dev-ruby/acts_as_list/Manifest
@@ -1 +1,2 @@
DIST acts_as_list-1.2.4.tar.gz 38582 BLAKE2B
85b2a246c878df8c7f14b5976a28e00fda3a672f5dd423baf92bafedcb839a731c683d0f9e376a9f0b4b5a2493883ad268fbbd6023da7bc062d483d08bfddf2a
SHA512
66be0ff06818adbd688b6e3ce2b30e79c7fc7bfad5abfbe6343fb4bbade0c0abe7c480f1a905aa3f17696fd873f072dc736677035e05623ce9d2ff337080cf42
+DIST acts_as_list-1.2.6.tar.gz 39861 BLAKE2B
f4758aa08396d65e9b4064b6eb52619e05016dafc124a4b11f69ea800463f00cfd8343adc9ebc1608d8ced67f0f400507ad6228ee0db66d352e11f092384d8b8
SHA512
851f28eb5579605997a7d60bd9fd795a33efea331b0d61c2f4a7930e4c1c50c67338d587a6c58fcdf08e300edb575916cd26abeaa57b499eb3f965208d41f62a
diff --git a/dev-ruby/acts_as_list/acts_as_list-1.2.6.ebuild
b/dev-ruby/acts_as_list/acts_as_list-1.2.6.ebuild
new file mode 100644
index 000000000000..f848daecd570
--- /dev/null
+++ b/dev-ruby/acts_as_list/acts_as_list-1.2.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+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"
+SRC_URI="https://github.com/brendon/acts_as_list/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
+
+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/minitest-hooks-1.5.1:1
+ >=dev-ruby/mocha-2.1.0:2
+ dev-ruby/test-unit:2
+ >=dev-ruby/timecop-0.9.8
+ <dev-ruby/activerecord-8[sqlite]
+ )"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile || die
+ sed -e '/bundler/,/^end/ s:^:#:' \
+ -e '2igem "activerecord", "<8"' \
+ -i test/helper.rb || die
+ sed -e 's/git ls-files -z/find lib CHANGELOG.md README.md init.rb
-print0/' \
+ -e '/executables/ s:^:#:' \
+ -e 's/__dir__/"."/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die
+}
+
+each_ruby_test() {
+ DB=sqlite each_fakegem_test
+}