Skip to content

Commit

Permalink
Temporarily disable md5-checksums
Browse files Browse the repository at this point in the history
This should get the client working until we can fix this.
  • Loading branch information
awead committed Mar 10, 2021
1 parent 629a778 commit b6d309c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/scholarsphere/client/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Scholarsphere
module Client
VERSION = '0.2.0'
VERSION = '0.2.1'
end
end
1 change: 0 additions & 1 deletion lib/scholarsphere/s3/uploader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b6d309c

Please sign in to comment.