3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
USE_RUBY="ruby31 ruby32"
|
|
6 |
USE_RUBY="ruby30 ruby31 ruby32"
|
7 |
7 |
|
8 |
8 |
RUBY_FAKEGEM_RECIPE_DOC="none"
|
9 |
9 |
RUBY_FAKEGEM_DOCDIR="doc"
|
... | ... | |
21 |
21 |
|
22 |
22 |
LICENSE="MIT"
|
23 |
23 |
SLOT="$(ver_cut 1-2)"
|
24 |
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
|
|
24 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
25 |
25 |
IUSE=""
|
26 |
26 |
|
27 |
27 |
RUBY_S="rails-${PV}/${PN}"
|
... | ... | |
39 |
39 |
test? (
|
40 |
40 |
dev-ruby/mocha:0.14
|
41 |
41 |
dev-ruby/bundler
|
42 |
|
>=dev-ruby/capybara-2.15
|
|
42 |
>=dev-ruby/capybara-3.26
|
43 |
43 |
~dev-ruby/activemodel-${PV}
|
44 |
44 |
~dev-ruby/railties-${PV}
|
45 |
45 |
>=dev-ruby/rack-cache-1.2:1.2
|
|
46 |
dev-ruby/selenium-webdriver:4
|
46 |
47 |
www-servers/puma
|
47 |
48 |
<dev-ruby/minitest-5.16:*
|
48 |
49 |
)"
|
... | ... | |
57 |
58 |
-e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
|
58 |
59 |
rm ../Gemfile.lock || die
|
59 |
60 |
|
60 |
|
sed -e '3igem "railties", "~> 6.1.0"; gem "activerecord", "~> 6.1.0"; gem "minitest", "<5.16"' \
|
61 |
|
-i test/abstract_unit.rb || die
|
|
61 |
sed -i -e '3igem "rack", "<3"; gem "minitest", "<5.16"' test/abstract_unit.rb || die
|
62 |
62 |
|
63 |
63 |
# Use different timezone notation, this changed at some point due to an external dependency changing.
|
64 |
64 |
sed -e 's/-0000/GMT/' \
|
65 |
65 |
-i test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die
|
66 |
66 |
|
67 |
|
# Avoid tests depending on an unreleased version of selenium-webdriver
|
68 |
|
sed -e '/define extra capabilities/,/^ end/ s:^:#:' \
|
69 |
|
-i test/dispatch/system_testing/driver_test.rb || die
|
70 |
|
|
71 |
67 |
# Avoid tests that fail with a fixed cgi.rb version
|
72 |
68 |
sed -e '/test_session_store_with_all_domains/askip "Fails with fixed cgi.rb"' \
|
73 |
69 |
-i test/dispatch/session/cookie_store_test.rb || die
|