3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
USE_RUBY="ruby30 ruby31 ruby32"
|
|
6 |
USE_RUBY="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 ~x86"
|
25 |
25 |
IUSE=""
|
26 |
26 |
|
27 |
27 |
RUBY_S="rails-${PV}/${PN}"
|
... | ... | |
57 |
57 |
-e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
|
58 |
58 |
rm ../Gemfile.lock || die
|
59 |
59 |
|
60 |
|
sed -i -e '3igem "railties", "~> 6.1.0"; gem "activerecord", "~> 6.1.0"; gem "minitest", "<5.16"' test/abstract_unit.rb || die
|
|
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 |
62 |
|
62 |
63 |
# Use different timezone notation, this changed at some point due to an external dependency changing.
|
63 |
|
sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die
|
|
64 |
sed -e 's/-0000/GMT/' \
|
|
65 |
-i test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die
|
64 |
66 |
|
65 |
67 |
# Avoid tests depending on an unreleased version of selenium-webdriver
|
66 |
|
sed -i -e '/define extra capabilities/,/^ end/ s:^:#:' test/dispatch/system_testing/driver_test.rb || die
|
|
68 |
sed -e '/define extra capabilities/,/^ end/ s:^:#:' \
|
|
69 |
-i test/dispatch/system_testing/driver_test.rb || die
|
67 |
70 |
|
68 |
71 |
# Avoid tests that fail with a fixed cgi.rb version
|
69 |
|
sed -i -e '/test_session_store_with_all_domains/askip "Fails with fixed cgi.rb"' test/dispatch/session/cookie_store_test.rb || die
|
|
72 |
sed -e '/test_session_store_with_all_domains/askip "Fails with fixed cgi.rb"' \
|
|
73 |
-i test/dispatch/session/cookie_store_test.rb || die
|
70 |
74 |
}
|