Skip to content

Commit

Permalink
Refs #37852 - Update VCR cassettes since ActiveSupport::Digest uses S…
Browse files Browse the repository at this point in the history
…HA256
  • Loading branch information
ofedoren committed Nov 20, 2024
1 parent 3602a31 commit b835788
Show file tree
Hide file tree
Showing 11 changed files with 2,839 additions and 2,454 deletions.
2 changes: 1 addition & 1 deletion app/lib/katello/util/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def self.array_with_indifferent_access(variable)
end

def self.hexdigest(string)
defined?(ActiveSupport::Digest) ? OpenSSL::Digest::SHA1.hexdigest(string)[0...32] : Digest::MD5.hexdigest(string)
defined?(ActiveSupport::Digest) ? ActiveSupport::Digest.hexdigest(string) : Digest::MD5.hexdigest(string)
end

def self.ostructize(obj, options = {})
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b835788

Please sign in to comment.