plntr-fakes3 1.0.0.pre.10alpha39 → 1.0.0.pre.10alpha40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fakes3/server.rb +2 -2
- data/lib/fakes3/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 532ebe97e2494b325e8c366f09e601f8e62d6d3fb1c85e7a161e657259a42bff
|
4
|
+
data.tar.gz: 920618a3e624e1787fb3373e4c292685fdaf29838e197289443524ecd6aeb978
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70e890acf398d88b041b1da644e9d0ded6f8659b614d4fc2fc3665eb85636ab7232e1170461dff49a94cd68d97cf9df18b0fc6f08979223135ad3fccf05ea2e9
|
7
|
+
data.tar.gz: eeb7535d5063e33ce5028567ec013e482f3c428a264c644876db970aef5c2f322fc8216f0ace34afa77c0567af62c73af917abd354bf632fbaee3d7c6515151c
|
data/lib/fakes3/server.rb
CHANGED
@@ -342,7 +342,7 @@ module FakeS3
|
|
342
342
|
bucket_obj = @store.get_bucket(s_req.bucket)
|
343
343
|
response.status = 200
|
344
344
|
response.body = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
345
|
-
response.body <<
|
345
|
+
response.body << "<DeleteResult>\n"
|
346
346
|
objects.each do |obj|
|
347
347
|
warn "process key=#{obj[:key]} version_id=#{obj[:version_id]}"
|
348
348
|
if obj[:version_id].nil?
|
@@ -354,7 +354,7 @@ module FakeS3
|
|
354
354
|
</Error>
|
355
355
|
eos
|
356
356
|
else
|
357
|
-
|
357
|
+
@store.delete_object(bucket_obj, obj.key)
|
358
358
|
response.body << <<-eos
|
359
359
|
<Deleted>
|
360
360
|
<Key>#{obj[:key]}</Key>
|
data/lib/fakes3/version.rb
CHANGED