file-manager 0.2.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,8 @@
1
1
  require './test/test_helper'
2
2
  require 'memory_file_manager'
3
+ require_relative 'file_manager_test'
4
+
5
+ SingleCov.covered!
3
6
 
4
7
  class MemoryFileManagerTest < Minitest::Test
5
8
  include FileManagerTest
@@ -1,6 +1,8 @@
1
1
  require './test/test_helper'
2
2
  require 's3_file_manager'
3
3
 
4
+ SingleCov.covered!
5
+
4
6
  class S3FileManagerTest < Minitest::Test
5
7
  include FileManagerTest
6
8
 
@@ -1,6 +1,5 @@
1
- require 'codeclimate-test-reporter'
2
- CodeClimate::TestReporter.start
3
-
1
+ require 'single_cov'
2
+ SingleCov.setup :minitest, branches: true if RUBY_PLATFORM != "java"
4
3
  require 'minitest/autorun'
5
4
  require 'webmock/minitest'
6
5
  require 'vcr'
@@ -8,5 +7,5 @@ require 'vcr'
8
7
  VCR.configure do |c|
9
8
  c.cassette_library_dir = 'test/vcr_cassettes'
10
9
  c.hook_into :webmock
11
- c.ignore_hosts 'codeclimate.com'
10
+ # c.debug_logger = File.open("record.log", 'w')
12
11
  end
@@ -0,0 +1,552 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ Content-Type:
11
+ - ''
12
+ Accept-Encoding:
13
+ - ''
14
+ User-Agent:
15
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
16
+ Host:
17
+ - file-manager-tests.s3.us-west-2.amazonaws.com
18
+ X-Amz-Date:
19
+ - 20201113T141427Z
20
+ X-Amz-Content-Sha256:
21
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
22
+ Authorization:
23
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
24
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=b278186ca8cd6ea1efda1c871be688da2b3d9f15bcc8ae61b963d56cb0887f87
25
+ Content-Length:
26
+ - '0'
27
+ Accept:
28
+ - "*/*"
29
+ response:
30
+ status:
31
+ code: 200
32
+ message: OK
33
+ headers:
34
+ X-Amz-Id-2:
35
+ - 2h+4jPuI9o+Rha1ZZoJvbxtu62hks3F1Pr6lTqbjG+CC7KffXWobnkLxgmOuF4bPktEt6yAFG64=
36
+ X-Amz-Request-Id:
37
+ - 14934A7A94877DFB
38
+ Date:
39
+ - Fri, 13 Nov 2020 14:14:29 GMT
40
+ X-Amz-Bucket-Region:
41
+ - us-west-2
42
+ Content-Type:
43
+ - application/xml
44
+ Transfer-Encoding:
45
+ - chunked
46
+ Server:
47
+ - AmazonS3
48
+ body:
49
+ encoding: UTF-8
50
+ string: |-
51
+ <?xml version="1.0" encoding="UTF-8"?>
52
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
53
+ recorded_at: Fri, 13 Nov 2020 14:14:28 GMT
54
+ - request:
55
+ method: put
56
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/original/name.txt
57
+ body:
58
+ encoding: UTF-8
59
+ string: same_content
60
+ headers:
61
+ Content-Type:
62
+ - ''
63
+ Accept-Encoding:
64
+ - ''
65
+ User-Agent:
66
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
67
+ Expect:
68
+ - 100-continue
69
+ Content-Md5:
70
+ - 6gDCZThhMakTDILmJpZnSQ==
71
+ Host:
72
+ - file-manager-tests.s3.us-west-2.amazonaws.com
73
+ X-Amz-Date:
74
+ - 20201113T141428Z
75
+ X-Amz-Content-Sha256:
76
+ - 04b5ae20c2966399a15cce2d0e2eb1dc59d04b9b4709f0ca5f20e5f7a379f962
77
+ Authorization:
78
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
79
+ SignedHeaders=content-md5;host;user-agent;x-amz-content-sha256;x-amz-date,
80
+ Signature=6514686f94df5fc5d2a5c2626ce03a59bd8927513bbae543ba0b8e7a2ae56897
81
+ Content-Length:
82
+ - '12'
83
+ Accept:
84
+ - "*/*"
85
+ response:
86
+ status:
87
+ code: 200
88
+ message: OK
89
+ headers:
90
+ X-Amz-Id-2:
91
+ - D7j4fZXbRBB/QgBAhfYRqS47rXREjgK8GF/Bz74nCbvXutXExTxuBWzHcdy90HyYxt7x2hx5fiM=
92
+ X-Amz-Request-Id:
93
+ - DE46DA178F462066
94
+ Date:
95
+ - Fri, 13 Nov 2020 14:14:30 GMT
96
+ Etag:
97
+ - '"ea00c265386131a9130c82e626966749"'
98
+ Content-Length:
99
+ - '0'
100
+ Server:
101
+ - AmazonS3
102
+ body:
103
+ encoding: UTF-8
104
+ string: ''
105
+ recorded_at: Fri, 13 Nov 2020 14:14:29 GMT
106
+ - request:
107
+ method: put
108
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
109
+ body:
110
+ encoding: UTF-8
111
+ string: ''
112
+ headers:
113
+ Content-Type:
114
+ - ''
115
+ Accept-Encoding:
116
+ - ''
117
+ User-Agent:
118
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
119
+ X-Amz-Copy-Source:
120
+ - file-manager-tests/original/name.txt
121
+ Host:
122
+ - file-manager-tests.s3.us-west-2.amazonaws.com
123
+ X-Amz-Date:
124
+ - 20201113T141429Z
125
+ X-Amz-Content-Sha256:
126
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
127
+ Authorization:
128
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
129
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-copy-source;x-amz-date,
130
+ Signature=29e23d4858875e58876bb2a39c53b45011f15a956ab21feaed242f6df34335c2
131
+ Content-Length:
132
+ - '0'
133
+ Accept:
134
+ - "*/*"
135
+ response:
136
+ status:
137
+ code: 200
138
+ message: OK
139
+ headers:
140
+ X-Amz-Id-2:
141
+ - FEmro9OGYIXos2DeXZJydTiUo34IovnRgq0DrTj/l6Syaouj/bjlUcVSvSSa4xSkVxNJt98NUak=
142
+ X-Amz-Request-Id:
143
+ - 8BFC4BF1B7B31DDD
144
+ Date:
145
+ - Fri, 13 Nov 2020 14:14:31 GMT
146
+ Content-Type:
147
+ - application/xml
148
+ Content-Length:
149
+ - '234'
150
+ Server:
151
+ - AmazonS3
152
+ body:
153
+ encoding: UTF-8
154
+ string: |-
155
+ <?xml version="1.0" encoding="UTF-8"?>
156
+ <CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2020-11-13T14:14:31.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag></CopyObjectResult>
157
+ recorded_at: Fri, 13 Nov 2020 14:14:30 GMT
158
+ - request:
159
+ method: get
160
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
161
+ body:
162
+ encoding: UTF-8
163
+ string: ''
164
+ headers:
165
+ Content-Type:
166
+ - ''
167
+ Accept-Encoding:
168
+ - ''
169
+ User-Agent:
170
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
171
+ Host:
172
+ - file-manager-tests.s3.us-west-2.amazonaws.com
173
+ X-Amz-Date:
174
+ - 20201113T141430Z
175
+ X-Amz-Content-Sha256:
176
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
177
+ Authorization:
178
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
179
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=ab3b8d64a1bc5df3561922db2446a2b55e1653168cf1b5af2f4933e1cd9279d9
180
+ Content-Length:
181
+ - '0'
182
+ Accept:
183
+ - "*/*"
184
+ response:
185
+ status:
186
+ code: 200
187
+ message: OK
188
+ headers:
189
+ X-Amz-Id-2:
190
+ - mXjVX3XTQrPGk24zh2oYwtQnQ5TUMq71UZNuId6DT5EmjlCDlokaLJFE/+z9genu9JCCS6ah5gU=
191
+ X-Amz-Request-Id:
192
+ - 1ECAB067D29DA076
193
+ Date:
194
+ - Fri, 13 Nov 2020 14:14:31 GMT
195
+ X-Amz-Bucket-Region:
196
+ - us-west-2
197
+ Content-Type:
198
+ - application/xml
199
+ Transfer-Encoding:
200
+ - chunked
201
+ Server:
202
+ - AmazonS3
203
+ body:
204
+ encoding: UTF-8
205
+ string: |-
206
+ <?xml version="1.0" encoding="UTF-8"?>
207
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>2</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>new/name.txt</Key><LastModified>2020-11-13T14:14:31.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag><Size>12</Size><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>original/name.txt</Key><LastModified>2020-11-13T14:14:30.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag><Size>12</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
208
+ recorded_at: Fri, 13 Nov 2020 14:14:31 GMT
209
+ - request:
210
+ method: get
211
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
212
+ body:
213
+ encoding: UTF-8
214
+ string: ''
215
+ headers:
216
+ Content-Type:
217
+ - ''
218
+ Accept-Encoding:
219
+ - ''
220
+ User-Agent:
221
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
222
+ Host:
223
+ - file-manager-tests.s3.us-west-2.amazonaws.com
224
+ X-Amz-Date:
225
+ - 20201113T141431Z
226
+ X-Amz-Content-Sha256:
227
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
228
+ Authorization:
229
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
230
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=2a59a737bfaa02584dd5efd7df4dbdaf54f2e4ead89605189855ad758a34b582
231
+ Content-Length:
232
+ - '0'
233
+ Accept:
234
+ - "*/*"
235
+ response:
236
+ status:
237
+ code: 200
238
+ message: OK
239
+ headers:
240
+ X-Amz-Id-2:
241
+ - KkTap7ySM2ehT0AXffSwgUGqjGYixZLhyOXg7QfGng4PxIiTyxD+fNUuHpqVqjLs9FBaGk84wdo=
242
+ X-Amz-Request-Id:
243
+ - 3785461039E6162E
244
+ Date:
245
+ - Fri, 13 Nov 2020 14:14:32 GMT
246
+ Last-Modified:
247
+ - Fri, 13 Nov 2020 14:14:31 GMT
248
+ Etag:
249
+ - '"ea00c265386131a9130c82e626966749"'
250
+ Accept-Ranges:
251
+ - bytes
252
+ Content-Type:
253
+ - ''
254
+ Content-Length:
255
+ - '12'
256
+ Server:
257
+ - AmazonS3
258
+ body:
259
+ encoding: UTF-8
260
+ string: same_content
261
+ recorded_at: Fri, 13 Nov 2020 14:14:31 GMT
262
+ - request:
263
+ method: put
264
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
265
+ body:
266
+ encoding: UTF-8
267
+ string: ''
268
+ headers:
269
+ Content-Type:
270
+ - ''
271
+ Accept-Encoding:
272
+ - ''
273
+ User-Agent:
274
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
275
+ X-Amz-Copy-Source:
276
+ - file-manager-tests/original/name.txt
277
+ Host:
278
+ - file-manager-tests.s3.us-west-2.amazonaws.com
279
+ X-Amz-Date:
280
+ - 20201113T141431Z
281
+ X-Amz-Content-Sha256:
282
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
283
+ Authorization:
284
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
285
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-copy-source;x-amz-date,
286
+ Signature=5c2eb9f16ff4c2d3fdd29c2569685b7592289b3ea23821f3ef0fc6b554c430c2
287
+ Content-Length:
288
+ - '0'
289
+ Accept:
290
+ - "*/*"
291
+ response:
292
+ status:
293
+ code: 200
294
+ message: OK
295
+ headers:
296
+ X-Amz-Id-2:
297
+ - vKZdYWI+09o36CEtoshwdKv7NY/O0PQzAgql7tOMY33nHliVP6gBDQoXsO5FRlNAo19BIdv4mks=
298
+ X-Amz-Request-Id:
299
+ - BK5N9W5GDM5NES9W
300
+ Date:
301
+ - Fri, 13 Nov 2020 14:14:33 GMT
302
+ Content-Type:
303
+ - application/xml
304
+ Content-Length:
305
+ - '234'
306
+ Server:
307
+ - AmazonS3
308
+ body:
309
+ encoding: UTF-8
310
+ string: |-
311
+ <?xml version="1.0" encoding="UTF-8"?>
312
+ <CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2020-11-13T14:14:33.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag></CopyObjectResult>
313
+ recorded_at: Fri, 13 Nov 2020 14:14:32 GMT
314
+ - request:
315
+ method: get
316
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
317
+ body:
318
+ encoding: UTF-8
319
+ string: ''
320
+ headers:
321
+ Content-Type:
322
+ - ''
323
+ Accept-Encoding:
324
+ - ''
325
+ User-Agent:
326
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
327
+ Host:
328
+ - file-manager-tests.s3.us-west-2.amazonaws.com
329
+ X-Amz-Date:
330
+ - 20201113T141432Z
331
+ X-Amz-Content-Sha256:
332
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
333
+ Authorization:
334
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
335
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=1a21fa25a39e65d73bfa1705b9a2c39ec40fe056609cbdce685bdb842f53bc31
336
+ Content-Length:
337
+ - '0'
338
+ Accept:
339
+ - "*/*"
340
+ response:
341
+ status:
342
+ code: 200
343
+ message: OK
344
+ headers:
345
+ X-Amz-Id-2:
346
+ - Eqrw4O25FO/ZmqfwD9GoBXrPARKvOgbc+SihPew4gjOiza9q34VnDf6wVclwjYpLGk2BbHIGHcM=
347
+ X-Amz-Request-Id:
348
+ - CQ4YES2TCQ7Q5MBP
349
+ Date:
350
+ - Fri, 13 Nov 2020 14:14:34 GMT
351
+ X-Amz-Bucket-Region:
352
+ - us-west-2
353
+ Content-Type:
354
+ - application/xml
355
+ Transfer-Encoding:
356
+ - chunked
357
+ Server:
358
+ - AmazonS3
359
+ body:
360
+ encoding: UTF-8
361
+ string: |-
362
+ <?xml version="1.0" encoding="UTF-8"?>
363
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>2</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>new/name.txt</Key><LastModified>2020-11-13T14:14:33.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag><Size>12</Size><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>original/name.txt</Key><LastModified>2020-11-13T14:14:30.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag><Size>12</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
364
+ recorded_at: Fri, 13 Nov 2020 14:14:33 GMT
365
+ - request:
366
+ method: put
367
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
368
+ body:
369
+ encoding: UTF-8
370
+ string: ''
371
+ headers:
372
+ Content-Type:
373
+ - ''
374
+ Accept-Encoding:
375
+ - ''
376
+ User-Agent:
377
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
378
+ X-Amz-Copy-Source:
379
+ - file-manager-tests/nao_existe/name.txt
380
+ Host:
381
+ - file-manager-tests.s3.us-west-2.amazonaws.com
382
+ X-Amz-Date:
383
+ - 20201113T141433Z
384
+ X-Amz-Content-Sha256:
385
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
386
+ Authorization:
387
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
388
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-copy-source;x-amz-date,
389
+ Signature=0c1e2ccfc4b28312109f52345c802d6f5d0be205131f0004aea9850f55ce5e50
390
+ Content-Length:
391
+ - '0'
392
+ Accept:
393
+ - "*/*"
394
+ response:
395
+ status:
396
+ code: 404
397
+ message: Not Found
398
+ headers:
399
+ X-Amz-Request-Id:
400
+ - 9H1VEJEX5K4HEV4M
401
+ X-Amz-Id-2:
402
+ - I6xu5Gr9s7AEKy2Octi8waiQmVQfCE2CxpAGkXEsKijhCU5QEslBIyQsfEIWD8MQ3vQiiNsNfsU=
403
+ Content-Type:
404
+ - application/xml
405
+ Transfer-Encoding:
406
+ - chunked
407
+ Date:
408
+ - Fri, 13 Nov 2020 14:14:33 GMT
409
+ Server:
410
+ - AmazonS3
411
+ body:
412
+ encoding: UTF-8
413
+ string: "<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>nao_existe/name.txt</Key><RequestId>9H1VEJEX5K4HEV4M</RequestId><HostId>I6xu5Gr9s7AEKy2Octi8waiQmVQfCE2CxpAGkXEsKijhCU5QEslBIyQsfEIWD8MQ3vQiiNsNfsU=</HostId></Error>"
414
+ recorded_at: Fri, 13 Nov 2020 14:14:34 GMT
415
+ - request:
416
+ method: delete
417
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/original/name.txt
418
+ body:
419
+ encoding: UTF-8
420
+ string: ''
421
+ headers:
422
+ Content-Type:
423
+ - ''
424
+ Accept-Encoding:
425
+ - ''
426
+ User-Agent:
427
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
428
+ Host:
429
+ - file-manager-tests.s3.us-west-2.amazonaws.com
430
+ X-Amz-Date:
431
+ - 20201113T141434Z
432
+ X-Amz-Content-Sha256:
433
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
434
+ Authorization:
435
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
436
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=f262acd72a43edb17cae2ae67761a76e1aaf681c0c50117d22e44a5f87f70a17
437
+ Content-Length:
438
+ - '0'
439
+ Accept:
440
+ - "*/*"
441
+ response:
442
+ status:
443
+ code: 204
444
+ message: No Content
445
+ headers:
446
+ X-Amz-Id-2:
447
+ - kvW7+vBBUjuKjZFANt+5OxTv4F4yPqCFnJbXtrY/naf2U8h2YeJ3Lcn/6tXDuYCx9nX6XB9wrf4=
448
+ X-Amz-Request-Id:
449
+ - 82B496C465016F24
450
+ Date:
451
+ - Fri, 13 Nov 2020 14:14:35 GMT
452
+ Server:
453
+ - AmazonS3
454
+ body:
455
+ encoding: UTF-8
456
+ string: ''
457
+ recorded_at: Fri, 13 Nov 2020 14:14:34 GMT
458
+ - request:
459
+ method: delete
460
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
461
+ body:
462
+ encoding: UTF-8
463
+ string: ''
464
+ headers:
465
+ Content-Type:
466
+ - ''
467
+ Accept-Encoding:
468
+ - ''
469
+ User-Agent:
470
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
471
+ Host:
472
+ - file-manager-tests.s3.us-west-2.amazonaws.com
473
+ X-Amz-Date:
474
+ - 20201113T141434Z
475
+ X-Amz-Content-Sha256:
476
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
477
+ Authorization:
478
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
479
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=283b68240b88e24421f53a44dcb7cf97b4f5fa064b2c47d9da0e9e8b19a1b7bb
480
+ Content-Length:
481
+ - '0'
482
+ Accept:
483
+ - "*/*"
484
+ response:
485
+ status:
486
+ code: 204
487
+ message: No Content
488
+ headers:
489
+ X-Amz-Id-2:
490
+ - fyRYk+aFLFPn65VOU0bAADJ8esChwMMQ/KxfJuod8kSJuRJeidqjlquMrwpWu60W4wlYn3kNYL0=
491
+ X-Amz-Request-Id:
492
+ - 3BA6FBFFF6F90355
493
+ Date:
494
+ - Fri, 13 Nov 2020 14:14:36 GMT
495
+ Server:
496
+ - AmazonS3
497
+ body:
498
+ encoding: UTF-8
499
+ string: ''
500
+ recorded_at: Fri, 13 Nov 2020 14:14:35 GMT
501
+ - request:
502
+ method: get
503
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
504
+ body:
505
+ encoding: UTF-8
506
+ string: ''
507
+ headers:
508
+ Content-Type:
509
+ - ''
510
+ Accept-Encoding:
511
+ - ''
512
+ User-Agent:
513
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
514
+ Host:
515
+ - file-manager-tests.s3.us-west-2.amazonaws.com
516
+ X-Amz-Date:
517
+ - 20201113T141435Z
518
+ X-Amz-Content-Sha256:
519
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
520
+ Authorization:
521
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
522
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=47362ff133173f2410e12c0a3d0e11385b23afb9d5924494d0f8c1de7cd94d42
523
+ Content-Length:
524
+ - '0'
525
+ Accept:
526
+ - "*/*"
527
+ response:
528
+ status:
529
+ code: 200
530
+ message: OK
531
+ headers:
532
+ X-Amz-Id-2:
533
+ - q8xm5wyMNFrMqTupxAGEY1L2lz+hyvnsFUV9exve+871YL2tjIKPwYHlgGpF4RIi51W+zPrSNVg=
534
+ X-Amz-Request-Id:
535
+ - '9779829796732903'
536
+ Date:
537
+ - Fri, 13 Nov 2020 14:14:37 GMT
538
+ X-Amz-Bucket-Region:
539
+ - us-west-2
540
+ Content-Type:
541
+ - application/xml
542
+ Transfer-Encoding:
543
+ - chunked
544
+ Server:
545
+ - AmazonS3
546
+ body:
547
+ encoding: UTF-8
548
+ string: |-
549
+ <?xml version="1.0" encoding="UTF-8"?>
550
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
551
+ recorded_at: Fri, 13 Nov 2020 14:14:36 GMT
552
+ recorded_with: VCR 6.0.0