summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-28 21:04:29 +0100
committerSam James <sam@gentoo.org>2021-09-28 21:05:35 +0100
commit595b8ae8c58985e058e0be9acdda1c8849623b24 (patch)
treed1593fb8f2730de49aa7205185cbcbf21534b2c7 /dev-ruby/roadie-rails
parentapp-emulation/vagrant: drop 2.2.14 (diff)
downloadgentoo-595b8ae8c58985e058e0be9acdda1c8849623b24.tar.gz
gentoo-595b8ae8c58985e058e0be9acdda1c8849623b24.tar.bz2
gentoo-595b8ae8c58985e058e0be9acdda1c8849623b24.zip
dev-ruby/roadie-rails: fix tests in 2.2.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/roadie-rails')
-rw-r--r--dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild
index d939b3c7c113..fe6ad76611c9 100644
--- a/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild
+++ b/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild
@@ -19,9 +19,6 @@ SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64"
-IUSE=""
-
-#RESTRICT="test"
ruby_add_rdepend ">=dev-ruby/roadie-3.1
|| ( dev-ruby/railties:6.1 dev-ruby/railties:6.0 dev-ruby/railties:5.2 )"
@@ -38,6 +35,12 @@ all_ruby_prepare() {
# Avoid already removed rails version
sed -i -e '/rails_51/ s:^:#:' spec/integration_spec.rb || die
+
+ # Revert https://github.com/Mange/roadie-rails/commit/03acd8fddf651d43919e92db35d541ec4281c5fc for now
+ # Fragile test which is affected by dependency versions (unclear which)
+ sed -e 's/cd95a25e70dfe61add5a96e11d3fee0f29e9ba2b05099723d57bba7dfa725c8a/322506f9917889126e81df2833a6eecdf2e394658d53dad347e9882dd4dbf28e/' \
+ -i spec/integration_spec.rb || die
+
}
each_ruby_test() {