diff --git a/Gemfile.lock b/Gemfile.lock index 725343d..052fbbd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - scholarsphere-client (0.2.0) + scholarsphere-client (0.2.1) aws-sdk-s3 (~> 1.49) faraday (> 0.12) marcel (~> 0.3) diff --git a/lib/scholarsphere/client/version.rb b/lib/scholarsphere/client/version.rb index 11afc82..5699e7c 100644 --- a/lib/scholarsphere/client/version.rb +++ b/lib/scholarsphere/client/version.rb @@ -2,6 +2,6 @@ module Scholarsphere module Client - VERSION = '0.2.0' + VERSION = '0.2.1' end end diff --git a/lib/scholarsphere/s3/uploader.rb b/lib/scholarsphere/s3/uploader.rb index b09c0e2..4e7d75b 100644 --- a/lib/scholarsphere/s3/uploader.rb +++ b/lib/scholarsphere/s3/uploader.rb @@ -26,7 +26,6 @@ def initialize(file:) def upload connection(file.presigned_url).put do |req| req.body = file.source.read - req.headers['Content-MD5'] = file.content_md5 end end