mingle-storage 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/storage/s3_store.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzRhNmJmNDBlMjY5MzVmOWUwNTVhMDRkNWQ3MzMxOTgxM2ViYmI2NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWI5Yjc2NjkzYzJjZjU5Nzc1MzE0NzQ2YmZlNDliNGMzMDQwNTRiMA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGEwYzhjYmQ2MTFiMTc4YWMxNDUzMzdjNGExMjllMjhmMTE2OGEyZTFhN2Qz
|
10
|
+
NGY3NGEyYzcxNDNmYmIzMDZjZTI2N2YxZjM0NzhlNWEwOGM0OWU2NzY2ODdj
|
11
|
+
YzhjNTY1YjU0MGY4NTM0MTdhMzM5YmU2YzdhNjQ0NmI3ZjkyMTg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTEyMGFhZDZjYmJiNGM2OTViYWM5OGZlZDExNjFjMThhN2Y3MDQxMzA3OTlh
|
14
|
+
NzVlMTcwYzcyYzVmNWQ3MGVmMGVkNzcxZjJkZjQwZWU0MjAxYThmNTE2Nzdl
|
15
|
+
MjUyNjExMmYzOGQzNzFhMDhlMDBjZjA5NTNkZmYwZTg4Y2FlNTI=
|
data/lib/storage/s3_store.rb
CHANGED
@@ -150,7 +150,9 @@ module Storage
|
|
150
150
|
end
|
151
151
|
|
152
152
|
def url_for(path)
|
153
|
-
object(path).url_for(:read,
|
153
|
+
object(path).url_for(:read,
|
154
|
+
:expires => @url_expires,
|
155
|
+
:response_content_type => derive_content_type(path)).to_s
|
154
156
|
end
|
155
157
|
|
156
158
|
#todo: this should be interface that retrive a lazy file object
|