diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-15 15:38:49 +0900 |
---|---|---|
committer | git <[email protected]> | 2023-03-15 11:21:22 +0000 |
commit | 56b38fdd69d56e8ff2ae9032fa55f2eda8bb5d63 (patch) | |
tree | 4ddfd76d769618d9846b048bba4d85fb1ef8fe01 | |
parent | a90302adec7d56b56020273291c64a06e1c5174a (diff) |
[rubygems/rubygems] Use OpenSSL::Digest instead of digest stdlib
https://github.com/rubygems/rubygems/commit/69aa007679
-rw-r--r-- | spec/bundler/bundler/digest_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/bundler/digest_spec.rb b/spec/bundler/bundler/digest_spec.rb index 841cc0259e..fd7b0c968e 100644 --- a/spec/bundler/bundler/digest_spec.rb +++ b/spec/bundler/bundler/digest_spec.rb @@ -1,12 +1,12 @@ # frozen_string_literal: true -require "digest" +require "openssl" require "bundler/digest" RSpec.describe Bundler::Digest do context "SHA1" do subject { Bundler::Digest } - let(:stdlib) { ::Digest::SHA1 } + let(:stdlib) { OpenSSL::Digest::SHA1 } it "is compatible with stdlib" do random_strings = ["foo", "skfjsdlkfjsdf", "3924m", "ldskfj"] |