From feee8bae788a7659bcf8038b52e4a1999de3e080 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 10 Feb 2026 16:52:26 +0900 Subject: [PATCH] Fixed assertion message from rubygems.org --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bc01b1a..c5a7d13 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -69,7 +69,7 @@ jobs: - name: Test token run: | output="$(curl -s -w "\n\n%{http_code}" -v -X POST 'https://${{ matrix.gem-server }}/api/v1/gems' -H "Authorization: $RUBYGEMS_API_KEY" -H 'Accept: application/json')" - expected="$(printf "RubyGems.org cannot process this gem.\nPlease try rebuilding it and installing it locally to make sure it's valid.\nError:\npackage metadata is missing\n\n\n422")" + expected="$(printf "RubyGems.org cannot process this gem.\nPlease try rebuilding it and installing it locally to make sure it's valid.\nError:\ngem package contains no entries\n\n\n422")" test "$output" = "$expected" || (echo "$output" && exit 1) test-all: needs: [test-oidc, test-trusted-publisher]