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 +4 -4
- data/lib/git-lfs-s3/services/upload/upload_required.rb +5 -1
- data/lib/git-lfs-s3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a6a49b1f7ebd26adec08094c2ab365bdd7d53ef
|
4
|
+
data.tar.gz: 0c91f046d398b3cda0413adb4821aba073d616da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
|
data/lib/git-lfs-s3/version.rb
CHANGED
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
|
+
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-
|
12
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|