carrierwave-qiniu 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 +4 -4
- data/README.md +2 -0
- data/carrierwave-qiniu.gemspec +1 -1
- data/lib/carrierwave-qiniu/version.rb +1 -1
- data/lib/carrierwave/qiniu/configuration.rb +3 -1
- data/lib/carrierwave/storage/qiniu.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c272cbb1f559ce37b71d551214d92b9577feacde
|
4
|
+
data.tar.gz: 7d42e3e2fcd3d5823905bc4b52e5c6fd08b9f400
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82624d7b48bf59f56a8a1a4f9c6a8146e4fbe1c0fb24d6fb2d78662906672c23807fb1f271cb59eee282eabe08f06e55afe7128e45152c69b0c509aa7585ccba
|
7
|
+
data.tar.gz: c1598b1d389d187147eb0dd102237d3daa52ee08e2d4c43b0d7acb3a4fd9321606f24f2e46b58bbd12fccb0078874bffddb91f91cb958fa0a9ea9631cc18fced
|
data/README.md
CHANGED
@@ -29,6 +29,8 @@ You'll need to configure it in config/initializes/carrierwave.rb
|
|
29
29
|
config.qiniu_secret_key = 'your qiniu secret_key'
|
30
30
|
config.qiniu_bucket = "carrierwave-qiniu-example"
|
31
31
|
config.qiniu_bucket_domain = "carrierwave-qiniu-example.aspxboy.com"
|
32
|
+
config.qiniu_block_size = 4*1024*1024
|
33
|
+
config.qiniu_protocal = "http"
|
32
34
|
end
|
33
35
|
```
|
34
36
|
|
data/carrierwave-qiniu.gemspec
CHANGED
@@ -123,7 +123,7 @@ module CarrierWave
|
|
123
123
|
:qiniu_bucket => @uploader.qiniu_bucket,
|
124
124
|
:qiniu_bucket_domain => @uploader.qiniu_bucket_domain,
|
125
125
|
:qiniu_block_size => @uploader.qiniu_block_size,
|
126
|
-
:qiniu_protocal
|
126
|
+
:qiniu_protocal => @uploader.qiniu_protocal
|
127
127
|
}
|
128
128
|
@qiniu_connection ||= Connection.new config
|
129
129
|
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.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- huobazi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carrierwave
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.
|
33
|
+
version: 3.4.2
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.
|
40
|
+
version: 3.4.2
|
41
41
|
description: Qiniu Storage support for CarrierWave
|
42
42
|
email:
|
43
43
|
- huobazi@gmail.com
|