lsst-git-lfs-s3 0.2.4 → 0.2.5

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: d0be52919513909eef0f0f6e6e712e9beea29e4e
4
- data.tar.gz: befaf21c52a0e5a9ba3108144adfff830dd603fb
3
+ metadata.gz: 8a6a49b1f7ebd26adec08094c2ab365bdd7d53ef
4
+ data.tar.gz: 0c91f046d398b3cda0413adb4821aba073d616da
5
5
  SHA512:
6
- metadata.gz: cf88659af0a18bce90047d6e9ef4021039c6d77df45c3efa975eec3424cbfd3d31876c14622dcb85ee35bd08b6cf75c33743052c0cec6b83fbf6f5e781dec02a
7
- data.tar.gz: fb464ebb9a4ce8ad118077e04f14fc9d7e2f5d5713811a2d840d60271111423353f51ef54deb9cd3fae3908d479ca9d7f81febf474059791c871ce0751aa0515
6
+ metadata.gz: 623928084299d4c7878c02ceb5f681518c78de603ecf97624cdc2f4c05379dee8737befb0b4d9c495b55aa0d5091f015cc24546b54a9c0b122df4f2d6682b63c
7
+ data.tar.gz: 534e117aa929ffe5aa7a61e613c25db13cd1f845517cf93546aca7801da44b28e3549455689c1888fe21980742155ebf47fb492ccec258e8d9936e037c3489bc
@@ -31,7 +31,11 @@ module GitLfsS3
31
31
  if ceph_s3
32
32
  GitLfsS3::CephPresignerService::signed_url(object)
33
33
  else
34
- object.presigned_url(:put)
34
+ if GitLfsS3::Application.settings.public_server
35
+ object.presigned_url(:put, acl: 'public-read')
36
+ else
37
+ object.presigned_url(:put)
38
+ end
35
39
  end
36
40
  end
37
41
 
@@ -1,3 +1,3 @@
1
1
  module GitLfsS3
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
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.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan LeFevre
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-15 00:00:00.000000000 Z
12
+ date: 2015-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk