diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-03-11 09:34:00 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-03-11 10:31:30 +0100 |
commit | aed0892dab3082600f70f4e89067391506f8833d (patch) | |
tree | 084192c7385491e60b01b11206b1c99d1e43fe3a /dev-ruby/pathutil | |
parent | dev-ruby/pathutil: fix misspelled HOMEPAGE link (diff) | |
download | gentoo-aed0892dab3082600f70f4e89067391506f8833d.tar.gz gentoo-aed0892dab3082600f70f4e89067391506f8833d.tar.bz2 gentoo-aed0892dab3082600f70f4e89067391506f8833d.zip |
dev-ruby/pathutil: fix tests; add ruby27
Closes: https://bugs.gentoo.org/775383
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/pathutil')
-rw-r--r-- | dev-ruby/pathutil/pathutil-0.16.2.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-ruby/pathutil/pathutil-0.16.2.ebuild b/dev-ruby/pathutil/pathutil-0.16.2.ebuild index c2a85052c089..c12850513c72 100644 --- a/dev-ruby/pathutil/pathutil-0.16.2.ebuild +++ b/dev-ruby/pathutil/pathutil-0.16.2.ebuild @@ -3,7 +3,7 @@ EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25 ruby26" +USE_RUBY="ruby25 ruby26 ruby27" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -31,4 +31,7 @@ all_ruby_prepare() { -e '1irequire "pathname"; require "tempfile"; require "tmpdir"; require "json"' \ spec/rspec/helper.rb || die rm -f spec/support/coverage.rb || die + + # Avoid spec failing with newer rspec versions, bug 775383 + sed -i -e '/should chdir before running the glob/apending' spec/tests/lib/pathutil_spec.rb || die } |