-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Ruby 3.0 or later #388
Conversation
Failed to load aws-sdk-core on Ruby 3.x.
It's caused by aws/aws-sdk-ruby@cc06703#diff-a9af0bc706c822e7c90ca01122dfac7e0a877a69346c5ae5f805839363aa3d18 It will be removed in the next release: aws/aws-sdk-ruby@64e9ea9#diff-a9af0bc706c822e7c90ca01122dfac7e0a877a69346c5ae5f805839363aa3d18 |
Signed-off-by: Takuro Ashie <[email protected]>
Sorry, it's wrong. The correct cause is that rexml isn't default gem anymore as of 3.0, it's a "bundled gem": |
aws-sdk-core requires one of ox, oga, libxml, nokogiri or rexml, and rexml is no longer default gem as of Ruby 3.0, it's a "bundled gem". https://www.ruby-lang.org/en/news/2020/09/25/ruby-3-0-0-preview1-released/ Signed-off-by: Takuro Ashie <[email protected]>
Signed-off-by: Takuro Ashie <[email protected]>
And out_s3 had incompatible issue against Ruby 3.0 or later... 0c63d26 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable. Thanks!
`Aws::AssumeRoleCredentials.new` and Aws::AssumeRoleWebIdentityCredentials.new` are expects a hash argument, not kwargs. Tests for them were wrong, not the implementation. https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AssumeRoleCredentials.html#initialize-instance_method https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AssumeRoleWebIdentityCredentials.html#initialize-instance_metho Signed-off-by: Takuro Ashie <[email protected]>
`Aws::AssumeRoleCredentials.new` and Aws::AssumeRoleWebIdentityCredentials.new` expect a hash argument, not kwargs. Tests for them were wrong, not the implementation. https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AssumeRoleCredentials.html#initialize-instance_method https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AssumeRoleWebIdentityCredentials.html#initialize-instance_metho Signed-off-by: Takuro Ashie <[email protected]>
`Aws::AssumeRoleCredentials.new` and `Aws::AssumeRoleWebIdentityCredentials.new` expect a hash argument, not kwargs. Tests for them were wrong, not the implementation. https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AssumeRoleCredentials.html#initialize-instance_method https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AssumeRoleWebIdentityCredentials.html#initialize-instance_metho Signed-off-by: Takuro Ashie <[email protected]>
Signed-off-by: Takuro Ashie [email protected]