projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
700a91c
)
dev-ruby/samuel: fix tests
author
Hans de Graaff
<graaff@gentoo.org>
Thu, 1 Sep 2016 19:42:23 +0000
(21:42 +0200)
committer
Hans de Graaff
<graaff@gentoo.org>
Thu, 1 Sep 2016 19:49:47 +0000
(21:49 +0200)
Package-Manager: portage-2.2.28
dev-ruby/samuel/samuel-0.3.3-r2.ebuild
patch
|
blob
|
history
diff --git
a/dev-ruby/samuel/samuel-0.3.3-r2.ebuild
b/dev-ruby/samuel/samuel-0.3.3-r2.ebuild
index 9bfaff0c23bb86de3d298df19e1ef1a1615085aa..ac56bef0727b0ac9311882cf34c8a9ac000c4275 100644
(file)
--- a/
dev-ruby/samuel/samuel-0.3.3-r2.ebuild
+++ b/
dev-ruby/samuel/samuel-0.3.3-r2.ebuild
@@
-39,6
+39,6
@@
all_ruby_prepare() {
# Require an old enough version of mocha.
sed -i -e '1igem "mocha", "~> 0.14.0"' test/test_helper.rb || die
- # Use the test-unit gem
to make jruby compatible with newer mocha.
- sed -i -e '1igem "test-unit"' test/test_helper.rb || die
+ # Use the test-unit gem
for consistency accross ruby versions
+ sed -i -e '1igem "test-unit"
; require "test/unit"
' test/test_helper.rb || die
}