Сравнение will_paginate-3.3.1 с will_paginate-4.0.0
/usr/portage/dev-ruby/will_paginate/will_paginate-4.0.0.ebuild 2023-10-09 14:52:30.476368375 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 |
USE_RUBY="ruby30 ruby31 ruby32" |
6 | 6 | |
7 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
|
8 | ||
9 | 7 |
RUBY_FAKEGEM_EXTRADOC="README.md" |
8 |
RUBY_FAKEGEM_GEMSPEC="will_paginate.gemspec" |
|
9 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
|
10 | 10 | |
11 | 11 |
inherit ruby-fakegem |
12 | 12 | |
13 | 13 |
DESCRIPTION="Most awesome pagination solution for Ruby" |
14 | 14 |
HOMEPAGE="https://github.com/mislav/will_paginate/" |
15 |
SRC_URI="https://github.com/mislav/will_paginate/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
|
15 | 16 | |
16 | 17 |
LICENSE="MIT" |
17 |
SLOT="3" |
|
18 |
SLOT="$(ver_cut 1)" |
|
18 | 19 |
KEYWORDS="~amd64" |
19 | 20 |
IUSE="" |
20 | 21 | |
21 | 22 |
all_ruby_prepare() { |
22 | 23 |
# Remove tests for unpackaged ORMs |
23 | 24 |
rm -f spec/finders/{sequel,mongoid,data_mapper}* || die |
24 | ||
25 |
# Use a supported rails version |
|
26 |
sed -e '1igem "activerecord", "<7"; gem "actionpack", "<7"' -i spec/spec_helper.rb || die |
|
27 | 25 |
} |
28 | 26 | |
29 | 27 |
ruby_add_bdepend " |
30 | 28 |
test? ( |
31 |
<dev-ruby/rails-7 |
|
32 |
dev-ruby/sqlite3 |
|
29 |
dev-ruby/rails |
|
30 |
dev-ruby/activerecord[sqlite] |
|
33 | 31 |
dev-ruby/mocha |
34 | 32 |
)" |