Skip to content

Commit

Permalink
Undo rbs spy change as it is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Apr 29, 2024
1 parent daf4d00 commit 81d107e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gems/aws-sdk-s3/spec/endpoint_provider_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6607,7 +6607,7 @@ module Aws::S3
expiration: Time.now + 60 * 5
})
expect_auth({"name"=>"sigv4", "signingName"=>"s3express"})
n cachAws::S3.express_credentials_cache.clear
Aws::S3.express_credentials_cache.clear
expect_auth({"name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"ap-northeast-1", "disableDoubleEncoding"=>true})
resp = client.get_object(
bucket: 'mybucket--apne1-az1--x-s3',
Expand Down
6 changes: 1 addition & 5 deletions tasks/rbs.rake
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@ namespace :rbs do
# Just test s3 for most type coverage
%w[core s3].each do |identifier|
sdk_gem = "aws-sdk-#{identifier}"
ruby_opt = '-r bundler/setup -r rbs/test/setup'
if identifier == 's3'
ruby_opt += ' -I gems/aws-sdk-s3control/lib -I gems/aws-sdk-kms/lib'
end
puts "Run rspec with RBS::Test on `#{sdk_gem}`"
env = {
'RUBYOPT' => ruby_opt,
'RUBYOPT' => '-r bundler/setup -r rbs/test/setup',
'RBS_TEST_RAISE' => 'true',
'RBS_TEST_LOGLEVEL' => 'error',
'RBS_TEST_OPT' => "-I gems/aws-sdk-core/sig -I gems/#{sdk_gem}/sig",
Expand Down

0 comments on commit 81d107e

Please sign in to comment.