lsst-git-lfs-s3 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/git-lfs-s3/application.rb +4 -0
- data/lib/git-lfs-s3/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c26e16310be2b42c59fedd7295a234ef851bc4a
|
4
|
+
data.tar.gz: e9e29ae46a9035e85d41b27e58ebb012881c6f7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad478525958051f9d4ad421ba4aa6b47a608758b4e664e80ccaef5b98004ab403e124d6c71cbfc17e436cc84fbbc33269fefc4a32c6e77f892483bfa607b9129
|
7
|
+
data.tar.gz: 6f81becf84563abeeaa44377e7e0d3fad9795dd5e09de03fb487e5d982865cacea53b75870f40db692c11b337926f6abaa80073afc29389f916f50af5a2c8e5b
|
@@ -178,6 +178,10 @@ module GitLfsS3
|
|
178
178
|
if params[:operation] == 'download'
|
179
179
|
if settings.public_server
|
180
180
|
lfs_resp(download(authenticated, params))
|
181
|
+
elsif authenticated
|
182
|
+
lfs_resp(download(authenticated, params))
|
183
|
+
else
|
184
|
+
error_resp(401, 'Credentials needed')
|
181
185
|
end
|
182
186
|
elsif params[:operation] == 'upload'
|
183
187
|
if authenticated
|
data/lib/git-lfs-s3/version.rb
CHANGED