dev-ruby/ruby-install: add 0.10.2

Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
This commit is contained in:
Alexey Zapparov
2026-04-20 00:30:18 +02:00
parent 9509de0db6
commit 69eeeefb1e
3 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
From e764a1d64e6d6b4cd0552832405bf4494eb96834 Mon Sep 17 00:00:00 2001
From: Alexey Zapparov <alexey@zapparov.com>
Date: Mon, 20 Apr 2026 00:24:55 +0200
Subject: [PATCH] fix: Skip dependencies tests
ruby-install does not support `emerge` package manager,
thus `dependencies` are never set by default.
---
test/ruby-install-tests/init_test.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/ruby-install-tests/init_test.sh b/test/ruby-install-tests/init_test.sh
index 4eab55a..14c3d40 100755
--- a/test/ruby-install-tests/init_test.sh
+++ b/test/ruby-install-tests/init_test.sh
@@ -69,10 +69,14 @@ function test_init_with_ruby_url()
function test_init_ruby_dependencies()
{
init
+ if [[ -z "$package_manager" ]]; then
+ startSkipping
+ fi
+
assertTrue "did not set \$ruby_dependencies" \
'(( ${#ruby_dependencies[@]} > 0 ))'
}
function test_init_ruby_md5()
--
2.52.0