Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::GemcutterUtilities#wait_for_otp_thread
wait_for_otp_thread(*threads)
lib/rubygems/gemcutter_utilities.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/gemcutter_utilities.rb, line 281
def wait_for_otp_thread(*threads)
loop do
threads.each do |otp_thread|
return otp_thread unless otp_thread.alive?
end
sleep 0.1
end
ensure
threads.each(&:exit)
end
No documentation available
See also
#verify_api_key
#webauthn_verification_url
#update_scope
#with_response
also in
4.1 · 4.0 · 3.4