Skip to content
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

Digest::Digest is deprecated; use Digest #3

Open
shakaran opened this issue Sep 24, 2014 · 2 comments
Open

Digest::Digest is deprecated; use Digest #3

shakaran opened this issue Sep 24, 2014 · 2 comments

Comments

@shakaran
Copy link

I get the warning multiple times in each execution. Could upgrade to new versions of digest please?

@jeffvautin
Copy link

I concur - I'd love to get rid of these warnings.

@mikofski
Copy link

I think this may actually be an issue with right_aws which has the bug fixed in master, but unfortunately the most recent gem is right_aws-3.1.0 was released in June 13, 2013, whereas the fix wasn't applied until December 30, 2013. So I guess pull the repo, build a gem and install your own gem to fix the issue.

FYI: rightscale also recommends using right_aws_api instead.

Seriously, I just manually edited right_aws-3.1.0/lib/awsbase/right_awsbase.rb and changed OpenSSL::Digest::Digest to OpenSSL::Digest and the annoying deprecation warning is gone!

sed -i -e s/OpenSSL::Digest::Digest/OpenSSL::Digest/g right_aws-3.1.0/lib/awsbase/right_awsbase.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants