activestorage-aliyun-oss 0.1.0 → 0.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93cbbbfad7ef3572ac6d8773008292dcfd5f3798
|
4
|
+
data.tar.gz: a72c4ac3570f734fae0ff52ee1728150d33d3211
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 548f38fda30c31e77566ef4b1ed549ebb4a9e91147418cc202e50854ec5a64f9566c32a30c20e2fb3d4b3e442518ef1ef0ed34b05f7a91b4133939846e12565b
|
7
|
+
data.tar.gz: 21c4816c79a393eba80c404b2afa27c5bf9ed3d261851be444abb6698aa95a71ec783cd86236d7f2938fb1c3fdbe785a7332abdb11184d537fbdf6dc423c7bd8
|
@@ -65,7 +65,7 @@ module ActiveStorage
|
|
65
65
|
def url(key, expires_in:, filename: nil, content_type:, disposition:, params: {})
|
66
66
|
instrument :url, key: key do |payload|
|
67
67
|
sign = private_mode? || disposition == :attachment
|
68
|
-
filekey = path_for(
|
68
|
+
filekey = path_for(key)
|
69
69
|
|
70
70
|
if disposition == :attachment
|
71
71
|
params["response-content-type"] = content_type if content_type
|