carrierwave-aliyun 1.1.2 → 1.1.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 +5 -0
- data/lib/carrierwave/aliyun/bucket.rb +4 -2
- data/lib/carrierwave/aliyun/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2566558b43cc5a630c144191041c2a623249734b2875e1da28f8778a553adf2b
|
4
|
+
data.tar.gz: 3f773081c2e49cd85b83b0677afc108694a1b9b604685460e815330f736b81dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c51793690e631ceb49e0536f76471a4d34bf4cbbb8adeabfddfed95abd4d924c20f1c2c8ac017580bc8785c00c4f0ef1e3b30ca534ecc333aaeb20040fbfe38f
|
7
|
+
data.tar.gz: 34381bab3c7e15f45a231a37adba1481c75499083cdf69a408b0891bb2915ba517b4333926147760c2ee250d9a9675233e2f804068cd6f884f6d145ca71762de
|
data/CHANGELOG.md
CHANGED
@@ -132,9 +132,11 @@ module CarrierWave
|
|
132
132
|
path = path.sub(PATH_PREFIX, "")
|
133
133
|
|
134
134
|
url = if thumb
|
135
|
-
|
135
|
+
thumb = thumb.gsub('?', '')
|
136
|
+
parameters = Hash[*thumb.split('=')]
|
137
|
+
img_client.object_url(path, true, 15.minutes, parameters)
|
136
138
|
else
|
137
|
-
oss_client.object_url(path,
|
139
|
+
oss_client.object_url(path, true, 15.minutes)
|
138
140
|
end
|
139
141
|
|
140
142
|
url.sub("http://", "https://")
|
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: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-09 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: 0.
|
33
|
+
version: 0.7.0
|
34
34
|
type: :runtime
|
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: 0.
|
40
|
+
version: 0.7.0
|
41
41
|
description: Aliyun OSS support for Carrierwave
|
42
42
|
email:
|
43
43
|
- huacnlee@gmail.com
|
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: '0'
|
74
74
|
requirements: []
|
75
|
-
rubygems_version: 3.
|
75
|
+
rubygems_version: 3.0.3
|
76
76
|
signing_key:
|
77
77
|
specification_version: 4
|
78
78
|
summary: Aliyun OSS support for Carrierwave
|