summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-06-15 07:51:31 +0200
committerHans de Graaff <graaff@gentoo.org>2024-06-15 07:51:31 +0200
commita6e66bcafac3bd46dda51e55426754f69605f3fe (patch)
treec19b57a59a06d41615738a50ee852dfb5ab19938 /dev-ruby/will_paginate
parentdev-ruby/rspec-expectations: add 3.13.1 (diff)
downloadgentoo-a6e66bcafac3bd46dda51e55426754f69605f3fe.tar.gz
gentoo-a6e66bcafac3bd46dda51e55426754f69605f3fe.tar.bz2
gentoo-a6e66bcafac3bd46dda51e55426754f69605f3fe.zip
dev-ruby/will_paginate: add 4.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/will_paginate')
-rw-r--r--dev-ruby/will_paginate/Manifest1
-rw-r--r--dev-ruby/will_paginate/will_paginate-4.0.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/will_paginate/Manifest b/dev-ruby/will_paginate/Manifest
index 886ada85f58d..f27f5c5795a9 100644
--- a/dev-ruby/will_paginate/Manifest
+++ b/dev-ruby/will_paginate/Manifest
@@ -1,2 +1,3 @@
DIST will_paginate-3.3.1.gem 34816 BLAKE2B c8506fd9c529764e539ba799b3ef12f47e8d17a8579f2337163ab316cb6d9fe40c3d41c94e9616f55b9f3766989b11e5fb0579f0a69d2ee52c3f5c6104f32b7b SHA512 6b17ba13aeb3733811d6ab10f8c873b9f3687c88a86971f2aa820df7d294b304eaf74c699f34aca2242a0be6033db03d07f67d76fc183b2685ee1be53c9c1c64
DIST will_paginate-4.0.0.tar.gz 36062 BLAKE2B 9d2c61bc7e223be1b94b67807ef80c0d0094c062b06415dd688af8a5e8f62b9eb1a81c84c9fc15ada328cb9df28d354b98cdbbcaa5056cfa3b48a2c6d0ce1be3 SHA512 b6268ef9ec45a03cd21928578ad7df14c80de905b386978cc2dd50b42ea919c9e139ee820362cdd64ed0258bb3f38b3a1c39f4207828891cb1691d16f7699bc0
+DIST will_paginate-4.0.1.tar.gz 36082 BLAKE2B 970b217806eb226bffcc9459fae9f47cbb823f4414da712c7d7063706b09d096537f6a24ff73175dc02a4316d2fba04b5e2410cddac00bf2c57d0afdfd5aabac SHA512 ce0667af75b88500923aac80555423023ac3437e7193e2f5b50d6d8632ad5c6110546ba363f9604ebcc5fefdb96f13e4577553954d865083fff36c6a3cf8b28d
diff --git a/dev-ruby/will_paginate/will_paginate-4.0.1.ebuild b/dev-ruby/will_paginate/will_paginate-4.0.1.ebuild
new file mode 100644
index 000000000000..6f155028baa5
--- /dev/null
+++ b/dev-ruby/will_paginate/will_paginate-4.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="will_paginate.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Most awesome pagination solution for Ruby"
+HOMEPAGE="https://github.com/mislav/will_paginate/"
+SRC_URI="https://github.com/mislav/will_paginate/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE="test"
+
+all_ruby_prepare() {
+ # Remove tests for unpackaged ORMs
+ rm -f spec/finders/{sequel,mongoid,data_mapper}* || die
+}
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/rails
+ dev-ruby/activerecord[sqlite]
+ dev-ruby/mocha
+ )"