activestorage-aliyun 0.6.0 → 0.6.1

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: 13d2065fdd23d9b862a8aab77c90ff972dccf68c9e42ee04e0fb04e62328026f
4
- data.tar.gz: 3b3e025934acb414c4510562b5bd76dcb2217a4df52632e53fe80745a037ec02
3
+ metadata.gz: f81af61936818ed9b9dae07b278fe888969788d608c63dcd325c622fc2df6e8e
4
+ data.tar.gz: 9252d0b2798ab109e86f91573993a1bb742275a9d710cb9405cf23c4b63b7d87
5
5
  SHA512:
6
- metadata.gz: e30124997158c3a6f42fd2810e582fd729955bab04c180cd5ef1bd4b37d9bb666e3abc9d5cfb37125ed3c46a0afdccbe41bc588863f5e0371f5dcdba0de75a31
7
- data.tar.gz: 639a5f5ecdb2a9b3d0b1bdb47937893466bb15c61361412ee38d68f9755d9a1ca01f5a20b34e86cb8a9dfc20b25872adbfb40d43bda8d653207e3af456e1a0b0
6
+ metadata.gz: d7f1287a68a943b54470f9b155ea1c2fcdfde2cdb1d365de81e96781e0140001ee061c56c9d2c3dad1c95f00aaf9d65dcefeb0013e4c25b23471b79ce6580404
7
+ data.tar.gz: c870fdb4915cf8b3fef01a9e996543f85d7263cbaa4e94883b6b91a9776abbc0bd6e55bac65713aaf4af8ab5fb27c9f9337b045825811a157f0ae1e8632d8e7c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.6.1
2
+
3
+ - Fix signature issue when content-type is empty.
4
+
1
5
  ## 0.6.0
2
6
 
3
7
  - Fix upload method option for Rails 5.2.1.1
@@ -72,7 +72,7 @@ module ActiveStorage
72
72
  filekey = path_for(key)
73
73
 
74
74
  if disposition == :attachment
75
- params["response-content-type"] = content_type if content_type
75
+ params["response-content-type"] = content_type unless content_type.blank?
76
76
  unless filename.is_a?(ActiveStorage::Filename)
77
77
  filename = ActiveStorage::Filename.new(filename)
78
78
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveStorageAliyun
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activestorage-aliyun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
@@ -69,8 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubyforge_project:
73
- rubygems_version: 2.7.8
72
+ rubygems_version: 3.0.1
74
73
  signing_key:
75
74
  specification_version: 4
76
75
  summary: Wraps the Aliyun OSS as an Active Storage service