upyun-rb 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/upyun-rb/bucket.rb +2 -2
- data/lib/upyun-rb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c996a66c6930c4daa33dbb9ec0ea018a4206de9e
|
4
|
+
data.tar.gz: b4a07ad4c4e4f78a5050701728071009c186006c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56358ab06793ce64e67bd7dc130e4e4f6d5e01eef000d70a9d1870944eb1bb3aaf94d5ed10091bb8ab7584a1dd975fd0b6477744f8179602bd90fbe26df8ecc3
|
7
|
+
data.tar.gz: 4692f1f31c41763e6bac355d9dda7687b1db208da5577c9d85b9dc3c96d43b90c2fd5e0ed8a4321903b3c486bbc18d4a8d1c6a555b2650cff56ea03ed198575c
|
data/lib/upyun-rb/bucket.rb
CHANGED
@@ -46,10 +46,10 @@ module Upyun
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
-
def delete(path
|
49
|
+
def delete(path)
|
50
50
|
uri = "/#{@bucket}/#{path}"
|
51
51
|
date = Upyun::Util.current_date
|
52
|
-
sign = Digest::MD5.hexdigest("
|
52
|
+
sign = Digest::MD5.hexdigest("DELETE&#{uri}&#{date}&0&#{@signed_password}")
|
53
53
|
|
54
54
|
@connection.delete do |req|
|
55
55
|
req.url uri
|
data/lib/upyun-rb/version.rb
CHANGED