carrierwave-qiniu 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -2
- data/lib/carrierwave/storage/qiniu.rb +4 -0
- data/lib/carrierwave/uploader/base.rb +1 -4
- data/lib/carrierwave-qiniu/version.rb +2 -2
- 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: 1283fa0bce68604381eb4205a7f8822d8c3d4cec
|
4
|
+
data.tar.gz: 5c4bf47715f08955f616054a6953858360fa2678
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b56cbc02bdea0362f2c922724bda4c295a4d893d59a643272ab31150986c1de26d54be141c0057fdfab9737c1257cfea0c8eab941126b7775d7e3004dfe5c4c8
|
7
|
+
data.tar.gz: 41935e2de0415de62d26d06834bdfe41cdc768c4701746dbb2d57ac9e7956bcb358dfed967add495d5844e59cdc03705a97b9e2acf0ac35bfacc4038ce139bf1
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,19 @@
|
|
1
1
|
|
2
2
|
## CHANGE LOG
|
3
3
|
|
4
|
+
### v0.2.3
|
5
|
+
|
6
|
+
- Add extension method
|
7
|
+
https://github.com/huobazi/carrierwave-qiniu/pull/50
|
8
|
+
|
4
9
|
### v0.2.2
|
5
|
-
|
10
|
+
|
11
|
+
- 增加对七牛SDK中复制图片功能的支持
|
6
12
|
https://github.com/huobazi/carrierwave-qiniu/pull/49
|
7
13
|
|
8
14
|
### v0.2.1
|
9
|
-
|
15
|
+
|
16
|
+
- 增加
|
10
17
|
|
11
18
|
qiniu_callback_url
|
12
19
|
qiniu_callback_body
|
@@ -17,13 +17,10 @@ module CarrierWave
|
|
17
17
|
old_cache! new_file
|
18
18
|
|
19
19
|
if new_file.kind_of? CarrierWave::Storage::Qiniu::File
|
20
|
-
|
21
20
|
@file.copy_from_path = new_file.path
|
22
|
-
|
23
21
|
elsif new_file.kind_of? CarrierWave::Uploader::Base
|
24
|
-
|
22
|
+
return unless new_file.file.present?
|
25
23
|
@file.copy_from_path = new_file.file.path
|
26
|
-
|
27
24
|
end
|
28
25
|
|
29
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-qiniu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marble Wu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carrierwave
|