mirror of
https://github.com/ruby/ruby.git
synced 2025-09-22 03:53:58 +02:00
Merge RubyGems-3.3.11 and Bundler-2.3.11
This commit is contained in:
parent
ec5dae0d81
commit
8ba584ff3c
69 changed files with 1603 additions and 119 deletions
|
@ -435,6 +435,7 @@ class TestGemCommandsPushCommand < Gem::TestCase
|
|||
|
||||
response_mfa_enabled = "You have enabled multifactor authentication but your request doesn't have the correct OTP code. Please check it and retry."
|
||||
response_success = 'Successfully registered gem: freewill (1.0.0)'
|
||||
response_profile = "mfa: disabled\n"
|
||||
|
||||
@fetcher.data["#{@host}/api/v1/gems"] = [
|
||||
[response_success, 200, "OK"],
|
||||
|
@ -445,6 +446,10 @@ class TestGemCommandsPushCommand < Gem::TestCase
|
|||
["", 200, "OK"],
|
||||
]
|
||||
|
||||
@fetcher.data["#{@host}/api/v1/profile/me.yaml"] = [
|
||||
[response_profile, 200, "OK"],
|
||||
]
|
||||
|
||||
@cmd.instance_variable_set :@scope, :push_rubygem
|
||||
@cmd.options[:args] = [@path]
|
||||
@cmd.options[:host] = @host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue