aliyun-sdk 0.3.2 → 0.3.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
  SHA1:
3
- metadata.gz: 92abcf259fe7eaea3a58e48e8e9fa46b6e7a842e
4
- data.tar.gz: c1c3c72bd651bc19bf42b1a325bf55003852487d
3
+ metadata.gz: b4b469a5bd4f206a09968a4a6a2a19d44f6a8adf
4
+ data.tar.gz: d963b79eda62894d2adbae4391a45efa309096be
5
5
  SHA512:
6
- metadata.gz: a4221cfa8663737bed084077793f6acaed03fcd5912a3fd1741f5b71435c9ccc1b25071123c59801fc5613c64e38bd168206885d4b5221f2269cbb549e26c6dc
7
- data.tar.gz: 86123f41ba9d877d6443df644e16053235fe473fb6d7ede26f9a64d9f50e44b27d4db2ba253c3959a42931c5dc54b0181f8075e91765f127074afe036a509dbd
6
+ metadata.gz: 7c3f0e7efdf6e88b33416c075f813da54f630f23415d3f7ba1b1e3a7e824e1e1681fc5eedf4e3c0ec2fa9ab1e6c9cf72b844afcdb69f9ffabb79f5b5f2f7278b
7
+ data.tar.gz: 532c750ab5d898e7241698e9eab32ab5a8175122b1e88835a370f9182995f54c0a3e5c6e467f031f25c5db53055c54426a8bbbeb28b8d69b64a6a9f6a2d40a34
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## Change Log
2
2
 
3
+ ### v0.3.3
4
+
5
+ - Fix object key problem in batch_delete
6
+
3
7
  ### v0.3.2
4
8
 
5
9
  - Allow setting custom HTTP headers in put/append/resumable_upload
@@ -919,7 +919,7 @@ module Aliyun
919
919
  body << '<Delete>'
920
920
  body << '<Quiet>' << (opts[:quiet]? true : false).to_s << '</Quiet>'
921
921
  object_names.each { |k|
922
- body << '<Object><Key>' << k << '</Key></Object>'
922
+ body << '<Object><Key>' << CGI.escapeHTML(k) << '</Key></Object>'
923
923
  }
924
924
  body << '</Delete>'
925
925
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Aliyun
4
4
 
5
- VERSION = "0.3.2"
5
+ VERSION = "0.3.3"
6
6
 
7
7
  end # Aliyun
@@ -20,7 +20,8 @@ class TestObjectKey < Minitest::Test
20
20
  simple: 'simple_key',
21
21
  chinese: '杭州・中国',
22
22
  space: '是 空格 yeah +-/\\&*#',
23
- invisible: '' << 1 << 10 << 12 << 7,
23
+ invisible: '' << 1 << 10 << 12 << 7 << 80 << 99,
24
+ xml: 'a<b&c>d +'
24
25
  }
25
26
  end
26
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aliyun-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tianlong Wu