plntr-fakes3 1.0.0.pre.10alpha44 → 1.0.0.pre.10alpha45
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 +1 -4
- 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: d713abba37cdd7738f94479f33eae1c4870fbc8878803c3c1e02387ff9bc6de6
|
4
|
+
data.tar.gz: 1a3b452e596e84a7eadcbb6608d842d981511ed6564a3c9775027347c30b8566
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8059791c1a9079600d9bf3ea8948c61a1126ae30bb80f4ad1a2a7b98b9dda5f92c2d5773e36180da61800f64be050f00c2428c493066c1a1ad7d48439fef7d9
|
7
|
+
data.tar.gz: a4ec32f11f28c45755f38e002fc6ff2c77245bb9032d23e602e9888e9ca142668100b458cdaa8ad25ada8f93c0b9107088ed9ea09374f3172e4b640a78b95b8a
|
data/lib/fakes3/server.rb
CHANGED
@@ -345,7 +345,7 @@ module FakeS3
|
|
345
345
|
response.body << "<DeleteResult>\n"
|
346
346
|
objects.each do |obj|
|
347
347
|
warn "process key=#{obj[:key]} version_id=#{obj[:version_id]}"
|
348
|
-
if obj[:version_id].nil?
|
348
|
+
if not obj[:version_id].nil?
|
349
349
|
response.body << <<-eos
|
350
350
|
<Error>
|
351
351
|
<Key>#{obj[:key]}</Key>
|
@@ -579,9 +579,6 @@ module FakeS3
|
|
579
579
|
objects_xml = objects_xml.scan(/<Object>.*?<\/Object>/)
|
580
580
|
|
581
581
|
objects_xml.collect do |obj|
|
582
|
-
warn ">>> #{obj}"
|
583
|
-
warn " > #{obj[/<Key>(.+)<\/Key>/, 1]}"
|
584
|
-
warn " > #{obj[/<VersionId>(.+)<\/VersionId>/, 1]}"
|
585
582
|
{
|
586
583
|
key: obj[/<Key>(.+)<\/Key>/, 1],
|
587
584
|
version_id: obj[/<VersionId>(.+)<\/VersionId>/, 1]
|
data/lib/fakes3/version.rb
CHANGED