carrierwave-aliyun 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +9 -3
- data/.travis.yml +1 -1
- data/CHANGELOG.md +28 -24
- data/Gemfile.lock +151 -0
- data/Rakefile +7 -0
- data/carrierwave-aliyun.gemspec +1 -1
- data/lib/carrierwave-aliyun.rb +6 -4
- data/lib/carrierwave/aliyun/version.rb +1 -28
- data/lib/carrierwave/storage/aliyun.rb +38 -42
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32069f77772a0096a898c9edb0449f2626623911
|
4
|
+
data.tar.gz: 24e3c0c5cda7292b9083443b9c907887b370c01f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3073b74446c7f29d3e8cd9973f85235f46e3df074a6028d97f5c99bc1ea8672d87589ad0af9232dd4c134511639e0b8a9d02ad6bc2b889cd9b35296d9a12bac2
|
7
|
+
data.tar.gz: dc8d9f2809f437090939a91344b8588d281c513a6910e7b0f52954254ec23d60ef97aa6f995cb2b4acfba1ef03deaeb23681916b92380020a75554825777b243
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,77 +1,81 @@
|
|
1
|
+
## 0.4.4
|
2
|
+
|
3
|
+
- 修正对 Carrierwave master 版本的支持,它们[移除了](https://github.com/carrierwaveuploader/carrierwave/pull/1813) `carrierwave/processing/mime_types`;
|
4
|
+
|
1
5
|
## 0.4.3
|
2
6
|
|
3
|
-
|
7
|
+
- 修正私密空间下载地址算法的问题,导致偶尔会签名错误无法下载的问题;
|
4
8
|
|
5
9
|
## 0.4.2
|
6
10
|
|
7
|
-
|
11
|
+
- `config.aliyun_host` 现在支持配置 //you-host.com,以便同时支持 http 和 https。
|
8
12
|
|
9
13
|
## 0.4.1
|
10
14
|
|
11
|
-
|
15
|
+
- 由于 aliyun-oss-sdk 目前不支持 internal 上传,暂时去掉,以免签名错误。
|
12
16
|
|
13
17
|
## 0.4.0
|
14
18
|
|
15
|
-
|
16
|
-
|
17
|
-
|
19
|
+
- 采用 aliyun-oss-sdk 来作为上传后端,不再依赖 rest-client,不再内部实现上传逻辑;
|
20
|
+
- 增加 `config.aliyun_private_read` 配置项,开启以后,返回的 @user.avatar.url 将会是带 Token 和有效期的 URL,可以用于访问私有读取空间的文件;
|
21
|
+
- 去掉 `config.aliyun_upload_host` 配置项,删除了阿里内部的支持,以后请用 0.3.x 版本;
|
18
22
|
|
19
23
|
## 0.3.6
|
20
24
|
|
21
|
-
|
25
|
+
- 修正上传中文文件名无法成功的问题;
|
22
26
|
|
23
27
|
## 0.3.5
|
24
28
|
|
25
|
-
|
29
|
+
- CarrierWave::Storage::Aliyun::File 继承 CarrierWave::SanitizedFile 以实现一些方法;
|
26
30
|
|
27
31
|
## 0.3.4
|
28
32
|
|
29
|
-
|
33
|
+
- Use OpenSSL::HMAC with Ruby 2.2.0.
|
30
34
|
|
31
35
|
## 0.3.3
|
32
36
|
|
33
|
-
|
37
|
+
- 增加 `config.aliyun_upload_host`, 以便有需要的时候,可以自由修改上传的 host.
|
34
38
|
|
35
39
|
## 0.3.2
|
36
40
|
|
37
|
-
|
41
|
+
- 请注意 `config.aliyun_host` 要求修改带 HTTP 协议,以便支持设置 http:// 或 https://.
|
38
42
|
|
39
43
|
## 0.3.1
|
40
44
|
|
41
|
-
|
45
|
+
- 修复当文件名中包含了 "+",在 OSS 中上传会遇到签名不对应的问题;
|
42
46
|
|
43
47
|
## 0.3.0
|
44
48
|
|
45
|
-
|
49
|
+
- 新增 `aliyun_area` 参数,用于配置 OSS 所在地区数据中心;
|
46
50
|
|
47
51
|
## 0.2.1
|
48
52
|
|
49
|
-
|
50
|
-
|
53
|
+
- 避免计算上传文件的时候读取所有内容到内存,之前的做法对于大文件会耗费过多的内存;
|
54
|
+
- Carrierwave::Storage::Aliyum::Connection 的 put 方法接口变化,file 现在应该传一个 File 的实例。
|
51
55
|
|
52
56
|
## 0.2.0
|
53
57
|
|
54
|
-
|
55
|
-
|
58
|
+
- Aliyun OSS 新的[三级域名规则支持](http://bbs.aliyun.com/read.php?tid=139226) by [chaixl](https://github.com/chaixl)
|
59
|
+
- 注意! 如果你之前使用 0.1.5 一下的版本,你可能需要调整一下你的自定义域名的 CNAME 解析,阿里云新的 URL 结构变化(少了 Bucket 一层目录),当然你也可以选择不要升级,之前 0.1.5 版本是稳定的。
|
56
60
|
|
57
61
|
## 0.1.5
|
58
62
|
|
59
|
-
|
63
|
+
- 自定义域名支持
|
60
64
|
|
61
65
|
## 0.1.3
|
62
66
|
|
63
|
-
|
64
|
-
|
67
|
+
- delete 接口加入。
|
68
|
+
- 支持 Carriewave 自动在更新上传文件的时候删除老文件(比如,用户重新上传头像,老头像图片文件将会被 CarrierWave 删除)。
|
65
69
|
|
66
70
|
## 0.1.2
|
67
71
|
|
68
|
-
|
72
|
+
- 修正 content_type 的支持,自动用原始文件的 content_type,以免上传 zip 之类的文件以后无法下载.
|
69
73
|
|
70
74
|
## 0.1.1
|
71
75
|
|
72
|
-
|
73
|
-
|
76
|
+
- 修改 Aliyun OSS 的请求地址.
|
77
|
+
- 加入可选项,使用 Aliyun 内部地址调用上传,以提高内部网络使用的速度.
|
74
78
|
|
75
79
|
## 0.1.0
|
76
80
|
|
77
|
-
|
81
|
+
- 功能实现.
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,151 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
carrierwave-aliyun (0.4.4)
|
5
|
+
aliyun-oss-sdk (>= 0.1.6)
|
6
|
+
carrierwave (>= 0.5.7)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: http://gems.ruby-china.org/
|
10
|
+
specs:
|
11
|
+
actionmailer (4.2.0)
|
12
|
+
actionpack (= 4.2.0)
|
13
|
+
actionview (= 4.2.0)
|
14
|
+
activejob (= 4.2.0)
|
15
|
+
mail (~> 2.5, >= 2.5.4)
|
16
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
17
|
+
actionpack (4.2.0)
|
18
|
+
actionview (= 4.2.0)
|
19
|
+
activesupport (= 4.2.0)
|
20
|
+
rack (~> 1.6.0)
|
21
|
+
rack-test (~> 0.6.2)
|
22
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
23
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
24
|
+
actionview (4.2.0)
|
25
|
+
activesupport (= 4.2.0)
|
26
|
+
builder (~> 3.1)
|
27
|
+
erubis (~> 2.7.0)
|
28
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
29
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
30
|
+
activejob (4.2.0)
|
31
|
+
activesupport (= 4.2.0)
|
32
|
+
globalid (>= 0.3.0)
|
33
|
+
activemodel (4.2.0)
|
34
|
+
activesupport (= 4.2.0)
|
35
|
+
builder (~> 3.1)
|
36
|
+
activerecord (4.2.0)
|
37
|
+
activemodel (= 4.2.0)
|
38
|
+
activesupport (= 4.2.0)
|
39
|
+
arel (~> 6.0)
|
40
|
+
activesupport (4.2.0)
|
41
|
+
i18n (~> 0.7)
|
42
|
+
json (~> 1.7, >= 1.7.7)
|
43
|
+
minitest (~> 5.1)
|
44
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
45
|
+
tzinfo (~> 1.1)
|
46
|
+
addressable (2.4.0)
|
47
|
+
aliyun-oss-sdk (0.1.6)
|
48
|
+
addressable
|
49
|
+
gyoku
|
50
|
+
httparty
|
51
|
+
arel (6.0.3)
|
52
|
+
builder (3.2.2)
|
53
|
+
carrierwave (0.11.2)
|
54
|
+
activemodel (>= 3.2.0)
|
55
|
+
activesupport (>= 3.2.0)
|
56
|
+
json (>= 1.7)
|
57
|
+
mime-types (>= 1.16)
|
58
|
+
mimemagic (>= 0.3.0)
|
59
|
+
concurrent-ruby (1.0.1)
|
60
|
+
diff-lcs (1.2.5)
|
61
|
+
erubis (2.7.0)
|
62
|
+
globalid (0.3.6)
|
63
|
+
activesupport (>= 4.1.0)
|
64
|
+
gyoku (1.3.1)
|
65
|
+
builder (>= 2.1.2)
|
66
|
+
httparty (0.13.7)
|
67
|
+
json (~> 1.8)
|
68
|
+
multi_xml (>= 0.5.2)
|
69
|
+
i18n (0.7.0)
|
70
|
+
json (1.8.3)
|
71
|
+
loofah (2.0.3)
|
72
|
+
nokogiri (>= 1.5.9)
|
73
|
+
mail (2.6.3)
|
74
|
+
mime-types (>= 1.16, < 3)
|
75
|
+
mime-types (2.99.1)
|
76
|
+
mimemagic (0.3.1)
|
77
|
+
mini_magick (4.4.0)
|
78
|
+
mini_portile2 (2.0.0)
|
79
|
+
minitest (5.8.4)
|
80
|
+
multi_xml (0.5.5)
|
81
|
+
nokogiri (1.6.7.2)
|
82
|
+
mini_portile2 (~> 2.0.0.rc2)
|
83
|
+
rack (1.6.4)
|
84
|
+
rack-test (0.6.3)
|
85
|
+
rack (>= 1.0)
|
86
|
+
rails (4.2.0)
|
87
|
+
actionmailer (= 4.2.0)
|
88
|
+
actionpack (= 4.2.0)
|
89
|
+
actionview (= 4.2.0)
|
90
|
+
activejob (= 4.2.0)
|
91
|
+
activemodel (= 4.2.0)
|
92
|
+
activerecord (= 4.2.0)
|
93
|
+
activesupport (= 4.2.0)
|
94
|
+
bundler (>= 1.3.0, < 2.0)
|
95
|
+
railties (= 4.2.0)
|
96
|
+
sprockets-rails
|
97
|
+
rails-deprecated_sanitizer (1.0.3)
|
98
|
+
activesupport (>= 4.2.0.alpha)
|
99
|
+
rails-dom-testing (1.0.7)
|
100
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
101
|
+
nokogiri (~> 1.6.0)
|
102
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
103
|
+
rails-html-sanitizer (1.0.3)
|
104
|
+
loofah (~> 2.0)
|
105
|
+
railties (4.2.0)
|
106
|
+
actionpack (= 4.2.0)
|
107
|
+
activesupport (= 4.2.0)
|
108
|
+
rake (>= 0.8.7)
|
109
|
+
thor (>= 0.18.1, < 2.0)
|
110
|
+
rake (10.5.0)
|
111
|
+
rspec (3.4.0)
|
112
|
+
rspec-core (~> 3.4.0)
|
113
|
+
rspec-expectations (~> 3.4.0)
|
114
|
+
rspec-mocks (~> 3.4.0)
|
115
|
+
rspec-core (3.4.3)
|
116
|
+
rspec-support (~> 3.4.0)
|
117
|
+
rspec-expectations (3.4.0)
|
118
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
119
|
+
rspec-support (~> 3.4.0)
|
120
|
+
rspec-mocks (3.4.1)
|
121
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
122
|
+
rspec-support (~> 3.4.0)
|
123
|
+
rspec-support (3.4.1)
|
124
|
+
sprockets (3.5.2)
|
125
|
+
concurrent-ruby (~> 1.0)
|
126
|
+
rack (> 1, < 3)
|
127
|
+
sprockets-rails (3.0.4)
|
128
|
+
actionpack (>= 4.0)
|
129
|
+
activesupport (>= 4.0)
|
130
|
+
sprockets (>= 3.0.0)
|
131
|
+
sqlite3 (1.3.11)
|
132
|
+
sqlite3-ruby (1.3.3)
|
133
|
+
sqlite3 (>= 1.3.3)
|
134
|
+
thor (0.19.1)
|
135
|
+
thread_safe (0.3.5)
|
136
|
+
tzinfo (1.2.2)
|
137
|
+
thread_safe (~> 0.1)
|
138
|
+
|
139
|
+
PLATFORMS
|
140
|
+
ruby
|
141
|
+
|
142
|
+
DEPENDENCIES
|
143
|
+
carrierwave-aliyun!
|
144
|
+
mini_magick
|
145
|
+
rails (= 4.2.0)
|
146
|
+
rake
|
147
|
+
rspec
|
148
|
+
sqlite3-ruby
|
149
|
+
|
150
|
+
BUNDLED WITH
|
151
|
+
1.11.2
|
data/Rakefile
ADDED
data/carrierwave-aliyun.gemspec
CHANGED
@@ -4,7 +4,7 @@ require File.expand_path('lib/carrierwave/aliyun/version')
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "carrierwave-aliyun"
|
7
|
-
s.version = CarrierWave::Aliyun::
|
7
|
+
s.version = CarrierWave::Aliyun::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Jason Lee"]
|
10
10
|
s.email = ["huacnlee@gmail.com"]
|
data/lib/carrierwave-aliyun.rb
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
require 'carrierwave/storage/aliyun'
|
2
|
-
require 'carrierwave/processing/mime_types'
|
3
2
|
require 'carrierwave/aliyun/configuration'
|
4
3
|
|
5
4
|
CarrierWave.configure do |config|
|
6
5
|
config.storage_engines.merge!({ aliyun: 'CarrierWave::Storage::Aliyun' })
|
7
6
|
end
|
8
|
-
|
9
7
|
CarrierWave::Uploader::Base.send(:include, CarrierWave::Aliyun::Configuration)
|
10
|
-
|
11
|
-
CarrierWave::
|
8
|
+
|
9
|
+
if CarrierWave::VERSION <= '0.11.0'
|
10
|
+
require 'carrierwave/processing/mime_types'
|
11
|
+
CarrierWave::Uploader::Base.send(:include, CarrierWave::MimeTypes)
|
12
|
+
CarrierWave::Uploader::Base.send(:process, :set_content_type)
|
13
|
+
end
|
@@ -1,32 +1,5 @@
|
|
1
1
|
module CarrierWave
|
2
2
|
module Aliyun
|
3
|
-
|
4
|
-
MAJOR, MINOR, PATCH = 0, 4, 3
|
5
|
-
|
6
|
-
##
|
7
|
-
# Returns the major version ( big release based off of multiple minor releases )
|
8
|
-
def self.major
|
9
|
-
MAJOR
|
10
|
-
end
|
11
|
-
|
12
|
-
##
|
13
|
-
# Returns the minor version ( small release based off of multiple patches )
|
14
|
-
def self.minor
|
15
|
-
MINOR
|
16
|
-
end
|
17
|
-
|
18
|
-
##
|
19
|
-
# Returns the patch version ( updates, features and (crucial) bug fixes )
|
20
|
-
def self.patch
|
21
|
-
PATCH
|
22
|
-
end
|
23
|
-
|
24
|
-
##
|
25
|
-
# Returns the current version of the Backup gem ( qualified for the gemspec )
|
26
|
-
def self.current
|
27
|
-
"#{major}.#{minor}.#{patch}"
|
28
|
-
end
|
29
|
-
|
30
|
-
end
|
3
|
+
VERSION = '0.4.4'
|
31
4
|
end
|
32
5
|
end
|
@@ -1,4 +1,3 @@
|
|
1
|
-
# encoding: utf-8
|
2
1
|
require 'aliyun/oss'
|
3
2
|
require 'carrierwave'
|
4
3
|
require 'uri'
|
@@ -6,8 +5,9 @@ require 'uri'
|
|
6
5
|
module CarrierWave
|
7
6
|
module Storage
|
8
7
|
class Aliyun < Abstract
|
9
|
-
|
10
8
|
class Connection
|
9
|
+
PATH_PREFIX = %r{^/}
|
10
|
+
|
11
11
|
def initialize(uploader)
|
12
12
|
@uploader = uploader
|
13
13
|
@aliyun_access_id = uploader.aliyun_access_id
|
@@ -19,8 +19,8 @@ module CarrierWave
|
|
19
19
|
# Host for get request
|
20
20
|
@aliyun_host = uploader.aliyun_host || "http://#{@aliyun_bucket}.oss-#{@aliyun_area}.aliyuncs.com"
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
unless @aliyun_host.include?('//')
|
23
|
+
fail "config.aliyun_host requirement include // http:// or https://, but you give: #{@aliyun_host}"
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
@@ -32,17 +32,17 @@ module CarrierWave
|
|
32
32
|
# - content_type - 上传文件的 MimeType,默认 `image/jpg`
|
33
33
|
# returns:
|
34
34
|
# 图片的下载地址
|
35
|
-
def put(path, file, options={})
|
36
|
-
path.sub!(
|
35
|
+
def put(path, file, options = {})
|
36
|
+
path.sub!(PATH_PREFIX, '')
|
37
37
|
opts = {
|
38
|
-
'Content-Type' => options[:content_type] ||
|
38
|
+
'Content-Type' => options[:content_type] || 'image/jpg'
|
39
39
|
}
|
40
40
|
|
41
41
|
res = oss_upload_client.bucket_create_object(path, file, opts)
|
42
42
|
if res.success?
|
43
43
|
path_to_url(path)
|
44
44
|
else
|
45
|
-
|
45
|
+
fail 'Put file failed'
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
@@ -52,12 +52,12 @@ module CarrierWave
|
|
52
52
|
# returns:
|
53
53
|
# file data
|
54
54
|
def get(path)
|
55
|
-
path.sub!(
|
55
|
+
path.sub!(PATH_PREFIX, '')
|
56
56
|
res = oss_upload_client.bucket_get_object(path)
|
57
57
|
if res.success?
|
58
58
|
return res.parsed_response
|
59
59
|
else
|
60
|
-
|
60
|
+
fail 'Get content faild'
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
@@ -69,29 +69,30 @@ module CarrierWave
|
|
69
69
|
# returns:
|
70
70
|
# 图片的下载地址
|
71
71
|
def delete(path)
|
72
|
-
path.sub!(
|
72
|
+
path.sub!(PATH_PREFIX, '')
|
73
73
|
res = oss_upload_client.bucket_delete_object(path)
|
74
74
|
if res.success?
|
75
75
|
return path_to_url(path)
|
76
76
|
else
|
77
|
-
|
77
|
+
fail 'Delete failed'
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
81
81
|
##
|
82
82
|
# 根据配置返回完整的上传文件的访问地址
|
83
83
|
def path_to_url(path)
|
84
|
-
[@aliyun_host, path].join(
|
84
|
+
[@aliyun_host, path].join('/')
|
85
85
|
end
|
86
86
|
|
87
87
|
# 私有空间访问地址,会带上实时算出的 token 信息
|
88
88
|
# 有效期 3600s
|
89
89
|
def private_get_url(path)
|
90
|
-
path.sub!(
|
90
|
+
path.sub!(PATH_PREFIX, '')
|
91
91
|
oss_client.bucket_get_object_share_link(path, 3600)
|
92
92
|
end
|
93
93
|
|
94
94
|
private
|
95
|
+
|
95
96
|
def oss_client
|
96
97
|
return @oss_client if defined?(@oss_client)
|
97
98
|
opts = {
|
@@ -117,12 +118,6 @@ module CarrierWave
|
|
117
118
|
end
|
118
119
|
|
119
120
|
class File < CarrierWave::SanitizedFile
|
120
|
-
def initialize(uploader, base, path)
|
121
|
-
@uploader = uploader
|
122
|
-
@path = URI.encode(path)
|
123
|
-
@base = base
|
124
|
-
end
|
125
|
-
|
126
121
|
##
|
127
122
|
# Returns the current path/filename of the file on Cloud Files.
|
128
123
|
#
|
@@ -130,8 +125,12 @@ module CarrierWave
|
|
130
125
|
#
|
131
126
|
# [String] A path
|
132
127
|
#
|
133
|
-
|
134
|
-
|
128
|
+
attr_reader :path
|
129
|
+
|
130
|
+
def initialize(uploader, base, path)
|
131
|
+
@uploader = uploader
|
132
|
+
@path = URI.encode(path)
|
133
|
+
@base = base
|
135
134
|
end
|
136
135
|
|
137
136
|
##
|
@@ -151,14 +150,12 @@ module CarrierWave
|
|
151
150
|
# Remove the file from Cloud Files
|
152
151
|
#
|
153
152
|
def delete
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
nil
|
161
|
-
end
|
153
|
+
oss_connection.delete(@path)
|
154
|
+
true
|
155
|
+
rescue => e
|
156
|
+
# If the file's not there, don't panic
|
157
|
+
puts "carrierwave-aliyun delete file failed: #{e}"
|
158
|
+
nil
|
162
159
|
end
|
163
160
|
|
164
161
|
def url
|
@@ -183,25 +180,24 @@ module CarrierWave
|
|
183
180
|
|
184
181
|
private
|
185
182
|
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
def connection
|
191
|
-
@base.connection
|
192
|
-
end
|
183
|
+
def headers
|
184
|
+
@headers ||= {}
|
185
|
+
end
|
193
186
|
|
194
|
-
|
195
|
-
|
187
|
+
def connection
|
188
|
+
@base.connection
|
189
|
+
end
|
196
190
|
|
197
|
-
|
198
|
-
|
191
|
+
def oss_connection
|
192
|
+
return @oss_connection if defined? @oss_connection
|
199
193
|
|
194
|
+
@oss_connection = CarrierWave::Storage::Aliyun::Connection.new(@uploader)
|
195
|
+
end
|
200
196
|
end
|
201
197
|
|
202
198
|
def store!(file)
|
203
199
|
f = CarrierWave::Storage::Aliyun::File.new(uploader, self, uploader.store_path)
|
204
|
-
f.store(::File.open(file.file), :
|
200
|
+
f.store(::File.open(file.file), content_type: file.content_type)
|
205
201
|
f
|
206
202
|
end
|
207
203
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-aliyun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carrierwave
|
@@ -50,7 +50,9 @@ files:
|
|
50
50
|
- ".travis.yml"
|
51
51
|
- CHANGELOG.md
|
52
52
|
- Gemfile
|
53
|
+
- Gemfile.lock
|
53
54
|
- README.md
|
55
|
+
- Rakefile
|
54
56
|
- carrierwave-aliyun.gemspec
|
55
57
|
- lib/carrierwave-aliyun.rb
|
56
58
|
- lib/carrierwave/aliyun/configuration.rb
|