From 064f251571f6d96ff3edcd81e6743eb617f66db9 Mon Sep 17 00:00:00 2001 From: Vitaliy Serov <154601125+VitaliySerov@users.noreply.github.com> Date: Thu, 25 Jan 2024 20:46:39 +0300 Subject: [PATCH] [rubygems/rubygems] Change gem login message to clear up that username can be also used https://github.com/rubygems/rubygems/commit/2bf6163eaf --- lib/rubygems/gemcutter_utilities.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rubygems/gemcutter_utilities.rb b/lib/rubygems/gemcutter_utilities.rb index 796938c40b..de617ccc9f 100644 --- a/lib/rubygems/gemcutter_utilities.rb +++ b/lib/rubygems/gemcutter_utilities.rb @@ -130,8 +130,8 @@ module Gem::GemcutterUtilities say "The existing key doesn't have access of #{scope} on #{pretty_host}. Please sign in to update access." - email = ask " Email: " - password = ask_for_password "Password: " + email = ask "Username/email: " + password = ask_for_password " Password: " response = rubygems_api_request(:put, "api/v1/api_key", sign_in_host, scope: scope) do |request|