summaryrefslogtreecommitdiff
path: root/dev-ruby/minitest-around
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/minitest-around')
-rw-r--r--dev-ruby/minitest-around/Manifest2
-rw-r--r--dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild5
2 files changed, 6 insertions, 1 deletions
diff --git a/dev-ruby/minitest-around/Manifest b/dev-ruby/minitest-around/Manifest
index 88b0ca8b75b6..1ecf084b572d 100644
--- a/dev-ruby/minitest-around/Manifest
+++ b/dev-ruby/minitest-around/Manifest
@@ -1,3 +1,3 @@
DIST minitest-around-0.5.0.gem 11776 BLAKE2B 1b1bacc229252e41412380d95e50ad05f918c13d37e7939f96fa19e4254c7f5222482d0f080355e5a900ff8ef89f768cc527c9b1c2644817e4d46842cbf83140 SHA512 8e57d436d39a41c5a08df6006a5cd46f92550844f01f9b6662918b9ba9536b74f6c83fcaea64180c7e025a1a14d4e037e1b17b84ae395a2b745e58f21ba5c752
-EBUILD minitest-around-0.5.0-r1.ebuild 858 BLAKE2B 00943187317e2378d9c1b616996127c3710d0e3cb22613c9f57725f8e741b00bf99e6f9685e71d3d2317faa609d19e566bc769b4ee05097c04bdc64ed9dd3414 SHA512 3ce47efb1ad8c9a6af3f6dea9cc504763cf49208d5a223bd19547151a9f2dda9b2d9184008847d126d8496ca5a0288e97008584148236b53c0817591b131802a
+EBUILD minitest-around-0.5.0-r1.ebuild 963 BLAKE2B 387ec6a0c4db949a61ffd8c042459eb06d8c58fcbd18df87508790e71517b0d47ae49ad9cbfd2bcdc0be30490e59aa26d1ecc98d09b8a712350315399be4d851 SHA512 8eb01eac076e5ab299198a92245dd6df124b0a50f2cda2649acc1fa8abd1916bbfd2a416fbe4e995751fd9739da7c4f720dc3c5527ae56c91d8678e26d81dd7e
MISC metadata.xml 352 BLAKE2B 299495959553f3851c1ad79b58f388357c9ad37d442d77e1ccf8cb857750ba81ccf1d0e87e7387b3fc70d8bdf63027a4356ac0827aac5d8ef47bf7e944e107fb SHA512 85dbb782b3bfddb799c94a0e03f5dd6c75282b25bce995791cf2a383d6324ffa9f36f1a6e99c1807a0cc5f7c14de93924c0534ca40f0fe003a8742aaee0f04d8
diff --git a/dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild b/dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild
index c1444d3859dc..f4b8a550ce61 100644
--- a/dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild
+++ b/dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild
@@ -29,6 +29,11 @@ all_ruby_prepare() {
-i test/helper.rb Rakefile || die
}
+each_ruby_prepare() {
+ sed -e "/spawn_test/,/^end/ s:ruby:${RUBY}:" \
+ -i test/around_spec.rb || die
+}
+
each_ruby_test() {
for f in test/*_{test,spec}.rb ; do
${RUBY} -S rake test:isolated TEST="${f}" || die