From 675f8cc52501c01e87576f85adc4898ebf5a7ac5 Mon Sep 17 00:00:00 2001 From: chaadow Date: Sun, 16 Jun 2024 12:16:49 +0100 Subject: [PATCH] Remove base64 instead of adding it since it's never used + fix ruby 3.4 warning --- lib/fog/core.rb | 1 - lib/fog/storage.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/fog/core.rb b/lib/fog/core.rb index 230f047..3e86ee2 100644 --- a/lib/fog/core.rb +++ b/lib/fog/core.rb @@ -1,5 +1,4 @@ # external core dependencies -require "base64" require "cgi" require "uri" require "excon" diff --git a/lib/fog/storage.rb b/lib/fog/storage.rb index f721def..dd0ca7b 100644 --- a/lib/fog/storage.rb +++ b/lib/fog/storage.rb @@ -59,7 +59,6 @@ def self.parse_data(data) headers: { "Content-Length" => get_body_size(data), "Content-Type" => get_content_type(data) - # "Content-MD5" => Base64.encode64(Digest::MD5.digest(metadata[:body])).strip } } end