carrierwave-upyun 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46d635232316c1ca6dfbdf4314dd97f9aa41a3b8595a68d7bad51311e80a092d
4
- data.tar.gz: f59490f9edb05becd23b4ce4686ea45d5feedb6130e821fb1a4c9c0012bff44e
3
+ metadata.gz: ccf21b12fa1727f741e9e5307fd87821525fd6af31aab41d6391dc245a221172
4
+ data.tar.gz: 37e93f09b32f76ad6b09504af13629a41b2ed5f58bceb9e539e4bf4c0ea68656
5
5
  SHA512:
6
- metadata.gz: 8a82ebefdccdf6547a213be676dc7394ba73fab6b4b438b53508d8e47c5ba569a03f284b257c25f67f12ff753e84bfb09799aa2659221daadbb6ad2b9bf01bcf
7
- data.tar.gz: 691d27d37b8f10f0ea2209a306fd9d22ece505fd16e7a4a9b7c418c731439de24eeb0d50bc126d8b55443c69df70aca3ea9bbcd3701b32442782c0202fc783ee
6
+ metadata.gz: e821955394fe9af03dee991b236e140e1861918200a0f8bbad8a829b3ba3aaca6f578fc4339e8776c0dad75933409ccc5f88dd973e421a8694473ed1174c55d3
7
+ data.tar.gz: 24ac37abe25a50a3f7306196181ebc1d4050dd722f9b701eb5f84222a99ae5c2805c5a48da336e6c11541a22c044e787f4affdfe233d7d06eb86884eeae67b4b
@@ -1,3 +1,7 @@
1
+ ## 1.0.3
2
+
3
+ - 修复文件名含中文问题 #37
4
+
1
5
  ## 1.0.2
2
6
 
3
7
  - 修正 1.0.1 版本上传文件存储不正确的问题。
@@ -97,7 +97,7 @@ module CarrierWave::Storage
97
97
 
98
98
  def headers
99
99
  @headers ||= begin
100
- conn.get(@path).headers
100
+ conn.get(escaped_path).headers
101
101
  rescue Faraday::ClientError
102
102
  {}
103
103
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrierwave-upyun
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nowa Zhu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-12-30 00:00:00.000000000 Z
12
+ date: 2020-02-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: carrierwave