Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/roadie-rails/
Date: Tue, 28 Sep 2021 20:06:02
Message-Id: 1632859535.595b8ae8c58985e058e0be9acdda1c8849623b24.sam@gentoo
1 commit: 595b8ae8c58985e058e0be9acdda1c8849623b24
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 28 20:04:29 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 28 20:05:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595b8ae8
7
8 dev-ruby/roadie-rails: fix tests in 2.2.0
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild | 9 ++++++---
13 1 file changed, 6 insertions(+), 3 deletions(-)
14
15 diff --git a/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild
16 index d939b3c7c11..fe6ad76611c 100644
17 --- a/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild
18 +++ b/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild
19 @@ -19,9 +19,6 @@ SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
20 LICENSE="MIT"
21 SLOT="$(ver_cut 1)"
22 KEYWORDS="~amd64"
23 -IUSE=""
24 -
25 -#RESTRICT="test"
26
27 ruby_add_rdepend ">=dev-ruby/roadie-3.1
28 || ( dev-ruby/railties:6.1 dev-ruby/railties:6.0 dev-ruby/railties:5.2 )"
29 @@ -38,6 +35,12 @@ all_ruby_prepare() {
30
31 # Avoid already removed rails version
32 sed -i -e '/rails_51/ s:^:#:' spec/integration_spec.rb || die
33 +
34 + # Revert https://github.com/Mange/roadie-rails/commit/03acd8fddf651d43919e92db35d541ec4281c5fc for now
35 + # Fragile test which is affected by dependency versions (unclear which)
36 + sed -e 's/cd95a25e70dfe61add5a96e11d3fee0f29e9ba2b05099723d57bba7dfa725c8a/322506f9917889126e81df2833a6eecdf2e394658d53dad347e9882dd4dbf28e/' \
37 + -i spec/integration_spec.rb || die
38 +
39 }
40
41 each_ruby_test() {