carrierwave-tencent_cos 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/carrierwave/storage/tencent_cos.rb +1 -5
- data/lib/carrierwave/tencent_cos/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ffdcb46f7d74066f1bddcd3d727c9bfbe7434a1
|
4
|
+
data.tar.gz: e04dc86f9af89ecb3cd55f17b85f8899c0f506c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea32e4b088f70b34e844cdf5831ba0262b06ab6afe5ac20b2208b8b66085d450de9b25885ccbeac377eb5aac323d2f67515533fd0f452dfaedd306d187c4370c
|
7
|
+
data.tar.gz: b8fcec893638c3585f8ec65b730006db3eb2350804caade94213deebc9eba3c833f64ff923662ffd246f6e9309bab8ae027f8f81072df59feac8314264d7722e
|
data/README.md
CHANGED
@@ -62,6 +62,6 @@ Everyone interacting in the CarrierWave::TencentCos project’s codebases, issue
|
|
62
62
|
|
63
63
|
## Links
|
64
64
|
|
65
|
-
* [ruby gem carrierwave-tencent_cos](https://
|
66
|
-
* [ruby gem tencent_cos_sdk](https://
|
67
|
-
* [carrierwave](https://github.com/carrierwaveuploader/carrierwave)
|
65
|
+
* [ruby gem carrierwave-tencent_cos](https://github.com/xxjapp/carrierwave-tencent_cos)
|
66
|
+
* [ruby gem tencent_cos_sdk](https://github.com/xxjapp/tencent_cos_sdk)
|
67
|
+
* [ruby gem carrierwave](https://github.com/carrierwaveuploader/carrierwave)
|
@@ -27,11 +27,7 @@ module CarrierWave
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def store(new_file)
|
30
|
-
|
31
|
-
|
32
|
-
options[:log_debug] = !!CarrierWave::Uploader::Base.options[:log_debug]
|
33
|
-
|
34
|
-
TencentCosSdk.put @path, options
|
30
|
+
TencentCosSdk.put @path, file: new_file.path
|
35
31
|
end
|
36
32
|
|
37
33
|
def url
|