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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07d1f478053a6c45ceefdb00d3e55050d8b73d10
4
- data.tar.gz: f41444ad00a59132dda790b87e983dbab71818c0
3
+ metadata.gz: 1c26e16310be2b42c59fedd7295a234ef851bc4a
4
+ data.tar.gz: e9e29ae46a9035e85d41b27e58ebb012881c6f7f
5
5
  SHA512:
6
- metadata.gz: 408c816c7eb33ce4fc1df01dba9e33317a83947239cd7c6152fbd3ec8856f77eccca9fcb81f8a74fab03ef37b24724be90cb0fb565d8e9c5f028e6ec69545e82
7
- data.tar.gz: 59a744a51b5a75f7cfecbccc98376e58d0d265f871066fe18fe3ae79326a03957a0b48af91543f449b87bdc84dd0c8b080b98de3778b8da9a1de20c0247f0de2
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
@@ -1,3 +1,3 @@
1
1
  module GitLfsS3
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lsst-git-lfs-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan LeFevre