1 |
commit: 31aff268aa18182296a45dc1b8a2644b812bfed1 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 27 07:07:09 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 27 07:15:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31aff268 |
7 |
|
8 |
dev-ruby/actionview: avoid activerecord integration tests |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/actionview/actionview-5.2.4.2.ebuild | 15 ++++++++------- |
14 |
1 file changed, 8 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/actionview/actionview-5.2.4.2.ebuild b/dev-ruby/actionview/actionview-5.2.4.2.ebuild |
17 |
index 76df6e724c6..87622071e47 100644 |
18 |
--- a/dev-ruby/actionview/actionview-5.2.4.2.ebuild |
19 |
+++ b/dev-ruby/actionview/actionview-5.2.4.2.ebuild |
20 |
@@ -49,12 +49,13 @@ all_ruby_prepare() { |
21 |
-e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die |
22 |
rm ../Gemfile.lock || die |
23 |
|
24 |
- # Avoid tests failing due to missing logger setup in activerecord, |
25 |
- # most likely related to test environment setup. |
26 |
- rm -f test/activerecord/render_partial_with_record_identification_test.rb || die |
27 |
- |
28 |
- sed -e '1igem "actionpack", "~> 5.2.0"' \ |
29 |
- -e '1igem "activemodel", "~> 5.2.0"' \ |
30 |
- -e '1igem "railties", "~> 5.2.0"' \ |
31 |
+ # Avoid activerecord integration tests because they are very sensitive to the specifics |
32 |
+ # of the environment. |
33 |
+ sed -i -e 's/, "test:integration:active_record"//' Rakefile || die |
34 |
+ |
35 |
+ sed -e '2igem "actionpack", "~> 5.2.0"' \ |
36 |
+ -e '2igem "activemodel", "~> 5.2.0"' \ |
37 |
+ -e '2igem "railties", "~> 5.2.0"' \ |
38 |
+ -e '/active_record/ s:^:#:' \ |
39 |
-i test/abstract_unit.rb || die |
40 |
} |