file-manager 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/file-manager.gemspec +1 -1
- data/lib/file_manager.rb +4 -0
- data/lib/local_file_manager.rb +11 -0
- data/lib/memory_file_manager.rb +9 -0
- data/lib/s3_file_manager.rb +18 -0
- data/test/file_manager_test.rb +14 -0
- data/test/vcr_cassettes/test_downloading_to_temp_file.yml +207 -0
- data/test/vcr_cassettes/test_listing_files.yml +92 -84
- data/test/vcr_cassettes/test_listing_files_in_sub_dir.yml +91 -83
- data/test/vcr_cassettes/test_reading.yml +59 -54
- data/test/vcr_cassettes/test_reading_in_sub_dir.yml +59 -54
- metadata +5 -4
@@ -12,30 +12,31 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- ''
|
14
14
|
User-Agent:
|
15
|
-
- aws-sdk-ruby2/2.2.13
|
15
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
|
16
16
|
X-Amz-Date:
|
17
|
-
-
|
17
|
+
- 20170905T193104Z
|
18
18
|
Host:
|
19
19
|
- file-manager-tests.s3-us-west-2.amazonaws.com
|
20
20
|
X-Amz-Content-Sha256:
|
21
21
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
22
22
|
Authorization:
|
23
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
23
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
|
24
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=968d7b452c83788ddafb912438c0fdaefa73b71e2716f1445e1e34468d661017
|
24
25
|
Content-Length:
|
25
26
|
- '0'
|
26
27
|
Accept:
|
27
|
-
-
|
28
|
+
- "*/*"
|
28
29
|
response:
|
29
30
|
status:
|
30
31
|
code: 200
|
31
32
|
message: OK
|
32
33
|
headers:
|
33
34
|
X-Amz-Id-2:
|
34
|
-
-
|
35
|
+
- 87IMpOf6INiLZUlKWQ6k7W6SboiwNwLfNZyyTQ53l+x9+xsi41xCHmGPKXcEnecvgdrb/Xy6JmU=
|
35
36
|
X-Amz-Request-Id:
|
36
|
-
-
|
37
|
+
- 6A8E30A399ECD1DA
|
37
38
|
Date:
|
38
|
-
-
|
39
|
+
- Tue, 05 Sep 2017 19:31:06 GMT
|
39
40
|
X-Amz-Bucket-Region:
|
40
41
|
- us-west-2
|
41
42
|
Content-Type:
|
@@ -45,17 +46,17 @@ http_interactions:
|
|
45
46
|
Server:
|
46
47
|
- AmazonS3
|
47
48
|
body:
|
48
|
-
encoding:
|
49
|
+
encoding: UTF-8
|
49
50
|
string: |-
|
50
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
51
52
|
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated></ListBucketResult>
|
52
|
-
http_version:
|
53
|
-
recorded_at:
|
53
|
+
http_version:
|
54
|
+
recorded_at: Tue, 05 Sep 2017 19:31:05 GMT
|
54
55
|
- request:
|
55
56
|
method: put
|
56
57
|
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/sub_dir/saved.*
|
57
58
|
body:
|
58
|
-
encoding:
|
59
|
+
encoding: UTF-8
|
59
60
|
string: content
|
60
61
|
headers:
|
61
62
|
Content-Type:
|
@@ -63,34 +64,35 @@ http_interactions:
|
|
63
64
|
Accept-Encoding:
|
64
65
|
- ''
|
65
66
|
User-Agent:
|
66
|
-
- aws-sdk-ruby2/2.2.13
|
67
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
|
67
68
|
Expect:
|
68
69
|
- 100-continue
|
69
70
|
Content-Md5:
|
70
71
|
- mgNkuembtIDdJeHwKEyFVQ==
|
71
72
|
X-Amz-Date:
|
72
|
-
-
|
73
|
+
- 20170905T193105Z
|
73
74
|
Host:
|
74
75
|
- file-manager-tests.s3-us-west-2.amazonaws.com
|
75
76
|
X-Amz-Content-Sha256:
|
76
77
|
- ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
|
77
78
|
Authorization:
|
78
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
79
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
|
80
|
+
SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=b1c0f2331cd9d278bfc53474ba9e8ba1cefe13be45e92c3daa5e92f484ab57a3
|
79
81
|
Content-Length:
|
80
82
|
- '7'
|
81
83
|
Accept:
|
82
|
-
-
|
84
|
+
- "*/*"
|
83
85
|
response:
|
84
86
|
status:
|
85
87
|
code: 200
|
86
88
|
message: OK
|
87
89
|
headers:
|
88
90
|
X-Amz-Id-2:
|
89
|
-
-
|
91
|
+
- yFdY8VhEF2TDRsQql/zz6T8Xcqx9y2HdC4+rEUGTOfIEO9mm9RMfetUccCw9ZC2Ux62dko/3xYM=
|
90
92
|
X-Amz-Request-Id:
|
91
|
-
-
|
93
|
+
- 1664CEB7CACB6E35
|
92
94
|
Date:
|
93
|
-
-
|
95
|
+
- Tue, 05 Sep 2017 19:31:07 GMT
|
94
96
|
Etag:
|
95
97
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
96
98
|
Content-Length:
|
@@ -98,10 +100,10 @@ http_interactions:
|
|
98
100
|
Server:
|
99
101
|
- AmazonS3
|
100
102
|
body:
|
101
|
-
encoding:
|
103
|
+
encoding: UTF-8
|
102
104
|
string: ''
|
103
|
-
http_version:
|
104
|
-
recorded_at:
|
105
|
+
http_version:
|
106
|
+
recorded_at: Tue, 05 Sep 2017 19:31:06 GMT
|
105
107
|
- request:
|
106
108
|
method: get
|
107
109
|
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=other_prefix
|
@@ -114,30 +116,31 @@ http_interactions:
|
|
114
116
|
Accept-Encoding:
|
115
117
|
- ''
|
116
118
|
User-Agent:
|
117
|
-
- aws-sdk-ruby2/2.2.13
|
119
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
|
118
120
|
X-Amz-Date:
|
119
|
-
-
|
121
|
+
- 20170905T193106Z
|
120
122
|
Host:
|
121
123
|
- file-manager-tests.s3-us-west-2.amazonaws.com
|
122
124
|
X-Amz-Content-Sha256:
|
123
125
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
124
126
|
Authorization:
|
125
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
127
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
|
128
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=d93e8c7ece028b12498e0844e4d3ba92bef620fc9e5ba2e52b1f4074cc0530a6
|
126
129
|
Content-Length:
|
127
130
|
- '0'
|
128
131
|
Accept:
|
129
|
-
-
|
132
|
+
- "*/*"
|
130
133
|
response:
|
131
134
|
status:
|
132
135
|
code: 200
|
133
136
|
message: OK
|
134
137
|
headers:
|
135
138
|
X-Amz-Id-2:
|
136
|
-
-
|
139
|
+
- dJtL9M6oG4YjuNKEnqo7bFrGQNoyyQ7DGtoiMERMwqaqHmMvNFFW9Aknm43Qx1jWYs1SOs2bWa4=
|
137
140
|
X-Amz-Request-Id:
|
138
|
-
-
|
141
|
+
- FD91B81CE7B966A2
|
139
142
|
Date:
|
140
|
-
-
|
143
|
+
- Tue, 05 Sep 2017 19:31:08 GMT
|
141
144
|
X-Amz-Bucket-Region:
|
142
145
|
- us-west-2
|
143
146
|
Content-Type:
|
@@ -147,12 +150,12 @@ http_interactions:
|
|
147
150
|
Server:
|
148
151
|
- AmazonS3
|
149
152
|
body:
|
150
|
-
encoding:
|
153
|
+
encoding: UTF-8
|
151
154
|
string: |-
|
152
155
|
<?xml version="1.0" encoding="UTF-8"?>
|
153
156
|
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>other_prefix</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated></ListBucketResult>
|
154
|
-
http_version:
|
155
|
-
recorded_at:
|
157
|
+
http_version:
|
158
|
+
recorded_at: Tue, 05 Sep 2017 19:31:07 GMT
|
156
159
|
- request:
|
157
160
|
method: get
|
158
161
|
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=sav
|
@@ -165,30 +168,31 @@ http_interactions:
|
|
165
168
|
Accept-Encoding:
|
166
169
|
- ''
|
167
170
|
User-Agent:
|
168
|
-
- aws-sdk-ruby2/2.2.13
|
171
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
|
169
172
|
X-Amz-Date:
|
170
|
-
-
|
173
|
+
- 20170905T193107Z
|
171
174
|
Host:
|
172
175
|
- file-manager-tests.s3-us-west-2.amazonaws.com
|
173
176
|
X-Amz-Content-Sha256:
|
174
177
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
175
178
|
Authorization:
|
176
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
179
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
|
180
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=18c09ade9485fcbc7e9c79dde13df1a7a69430e38d7498192558177a8d510d06
|
177
181
|
Content-Length:
|
178
182
|
- '0'
|
179
183
|
Accept:
|
180
|
-
-
|
184
|
+
- "*/*"
|
181
185
|
response:
|
182
186
|
status:
|
183
187
|
code: 200
|
184
188
|
message: OK
|
185
189
|
headers:
|
186
190
|
X-Amz-Id-2:
|
187
|
-
-
|
191
|
+
- ubtP9W1AGVk66UVj/HGqAKUlRY4oiG7Y+FgtJU9paaaLi2sQvRb7a1G/q84i7FuIqpiafXdCjZg=
|
188
192
|
X-Amz-Request-Id:
|
189
|
-
-
|
193
|
+
- 4ABB6C758B999140
|
190
194
|
Date:
|
191
|
-
-
|
195
|
+
- Tue, 05 Sep 2017 19:31:08 GMT
|
192
196
|
X-Amz-Bucket-Region:
|
193
197
|
- us-west-2
|
194
198
|
Content-Type:
|
@@ -198,12 +202,12 @@ http_interactions:
|
|
198
202
|
Server:
|
199
203
|
- AmazonS3
|
200
204
|
body:
|
201
|
-
encoding:
|
205
|
+
encoding: UTF-8
|
202
206
|
string: |-
|
203
207
|
<?xml version="1.0" encoding="UTF-8"?>
|
204
208
|
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated></ListBucketResult>
|
205
|
-
http_version:
|
206
|
-
recorded_at:
|
209
|
+
http_version:
|
210
|
+
recorded_at: Tue, 05 Sep 2017 19:31:08 GMT
|
207
211
|
- request:
|
208
212
|
method: get
|
209
213
|
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=
|
@@ -216,30 +220,31 @@ http_interactions:
|
|
216
220
|
Accept-Encoding:
|
217
221
|
- ''
|
218
222
|
User-Agent:
|
219
|
-
- aws-sdk-ruby2/2.2.13
|
223
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
|
220
224
|
X-Amz-Date:
|
221
|
-
-
|
225
|
+
- 20170905T193108Z
|
222
226
|
Host:
|
223
227
|
- file-manager-tests.s3-us-west-2.amazonaws.com
|
224
228
|
X-Amz-Content-Sha256:
|
225
229
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
226
230
|
Authorization:
|
227
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
231
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
|
232
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=b3c8c30621da1d27f40d31b4acf7ca0bcc1bf447b4b2c13d8a539340a2e96461
|
228
233
|
Content-Length:
|
229
234
|
- '0'
|
230
235
|
Accept:
|
231
|
-
-
|
236
|
+
- "*/*"
|
232
237
|
response:
|
233
238
|
status:
|
234
239
|
code: 200
|
235
240
|
message: OK
|
236
241
|
headers:
|
237
242
|
X-Amz-Id-2:
|
238
|
-
-
|
243
|
+
- s8BXemnm57J5xfny5ZTobEZZv7OeXzKBOBpopekdWXdRWgj7Wf+9brvRPeBGDtDPrpJwmbftUvs=
|
239
244
|
X-Amz-Request-Id:
|
240
|
-
-
|
245
|
+
- 53A2AF7DC09DABEB
|
241
246
|
Date:
|
242
|
-
-
|
247
|
+
- Tue, 05 Sep 2017 19:31:09 GMT
|
243
248
|
X-Amz-Bucket-Region:
|
244
249
|
- us-west-2
|
245
250
|
Content-Type:
|
@@ -249,12 +254,12 @@ http_interactions:
|
|
249
254
|
Server:
|
250
255
|
- AmazonS3
|
251
256
|
body:
|
252
|
-
encoding:
|
257
|
+
encoding: UTF-8
|
253
258
|
string: |-
|
254
259
|
<?xml version="1.0" encoding="UTF-8"?>
|
255
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated><Contents><Key>sub_dir/saved.*</Key><LastModified>
|
256
|
-
http_version:
|
257
|
-
recorded_at:
|
260
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated><Contents><Key>sub_dir/saved.*</Key><LastModified>2017-09-05T19:31:07.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
261
|
+
http_version:
|
262
|
+
recorded_at: Tue, 05 Sep 2017 19:31:08 GMT
|
258
263
|
- request:
|
259
264
|
method: get
|
260
265
|
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=sub_dir/sav
|
@@ -267,30 +272,31 @@ http_interactions:
|
|
267
272
|
Accept-Encoding:
|
268
273
|
- ''
|
269
274
|
User-Agent:
|
270
|
-
- aws-sdk-ruby2/2.2.13
|
275
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
|
271
276
|
X-Amz-Date:
|
272
|
-
-
|
277
|
+
- 20170905T193108Z
|
273
278
|
Host:
|
274
279
|
- file-manager-tests.s3-us-west-2.amazonaws.com
|
275
280
|
X-Amz-Content-Sha256:
|
276
281
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
277
282
|
Authorization:
|
278
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
283
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
|
284
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=690829088866758d0bbb83b0a661bf0b86635427fc414207be94c55f35853074
|
279
285
|
Content-Length:
|
280
286
|
- '0'
|
281
287
|
Accept:
|
282
|
-
-
|
288
|
+
- "*/*"
|
283
289
|
response:
|
284
290
|
status:
|
285
291
|
code: 200
|
286
292
|
message: OK
|
287
293
|
headers:
|
288
294
|
X-Amz-Id-2:
|
289
|
-
-
|
295
|
+
- KOhkjlVgC8QjvBLFoy/80Ex9rNyGJfTTIwhw7HJwGld2deLaCH/cIqqNfgdnoU9ZJtpFGSy4vgs=
|
290
296
|
X-Amz-Request-Id:
|
291
|
-
-
|
297
|
+
- EE1815FA330266B7
|
292
298
|
Date:
|
293
|
-
-
|
299
|
+
- Tue, 05 Sep 2017 19:31:10 GMT
|
294
300
|
X-Amz-Bucket-Region:
|
295
301
|
- us-west-2
|
296
302
|
Content-Type:
|
@@ -300,12 +306,12 @@ http_interactions:
|
|
300
306
|
Server:
|
301
307
|
- AmazonS3
|
302
308
|
body:
|
303
|
-
encoding:
|
309
|
+
encoding: UTF-8
|
304
310
|
string: |-
|
305
311
|
<?xml version="1.0" encoding="UTF-8"?>
|
306
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sub_dir/sav</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated><Contents><Key>sub_dir/saved.*</Key><LastModified>
|
307
|
-
http_version:
|
308
|
-
recorded_at:
|
312
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sub_dir/sav</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated><Contents><Key>sub_dir/saved.*</Key><LastModified>2017-09-05T19:31:07.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
313
|
+
http_version:
|
314
|
+
recorded_at: Tue, 05 Sep 2017 19:31:09 GMT
|
309
315
|
- request:
|
310
316
|
method: delete
|
311
317
|
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/sub_dir/saved.*
|
@@ -318,37 +324,38 @@ http_interactions:
|
|
318
324
|
Accept-Encoding:
|
319
325
|
- ''
|
320
326
|
User-Agent:
|
321
|
-
- aws-sdk-ruby2/2.2.13
|
327
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
|
322
328
|
X-Amz-Date:
|
323
|
-
-
|
329
|
+
- 20170905T193109Z
|
324
330
|
Host:
|
325
331
|
- file-manager-tests.s3-us-west-2.amazonaws.com
|
326
332
|
X-Amz-Content-Sha256:
|
327
333
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
328
334
|
Authorization:
|
329
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
335
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
|
336
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=47b4f3ce7d862ab0d573715974228e03e70a60b7ad0d56ced35c5d23de53d88b
|
330
337
|
Content-Length:
|
331
338
|
- '0'
|
332
339
|
Accept:
|
333
|
-
-
|
340
|
+
- "*/*"
|
334
341
|
response:
|
335
342
|
status:
|
336
343
|
code: 204
|
337
344
|
message: No Content
|
338
345
|
headers:
|
339
346
|
X-Amz-Id-2:
|
340
|
-
-
|
347
|
+
- DDhqjq3XtWpW+OXzahdpzauNC3ZH5kkqrguTxV+Cmlml9qHGhdsB6VjKMAtjtpjxxsV+yqhOgKQ=
|
341
348
|
X-Amz-Request-Id:
|
342
|
-
-
|
349
|
+
- E6D36F35EABC3C77
|
343
350
|
Date:
|
344
|
-
-
|
351
|
+
- Tue, 05 Sep 2017 19:31:11 GMT
|
345
352
|
Server:
|
346
353
|
- AmazonS3
|
347
354
|
body:
|
348
|
-
encoding:
|
355
|
+
encoding: UTF-8
|
349
356
|
string: ''
|
350
|
-
http_version:
|
351
|
-
recorded_at:
|
357
|
+
http_version:
|
358
|
+
recorded_at: Tue, 05 Sep 2017 19:31:10 GMT
|
352
359
|
- request:
|
353
360
|
method: get
|
354
361
|
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=
|
@@ -361,30 +368,31 @@ http_interactions:
|
|
361
368
|
Accept-Encoding:
|
362
369
|
- ''
|
363
370
|
User-Agent:
|
364
|
-
- aws-sdk-ruby2/2.2.13
|
371
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
|
365
372
|
X-Amz-Date:
|
366
|
-
-
|
373
|
+
- 20170905T193110Z
|
367
374
|
Host:
|
368
375
|
- file-manager-tests.s3-us-west-2.amazonaws.com
|
369
376
|
X-Amz-Content-Sha256:
|
370
377
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
371
378
|
Authorization:
|
372
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
379
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
|
380
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=04312d86d7f136c53689ba35133b65a8e2c7b730291314bf9e69e1ae2185869d
|
373
381
|
Content-Length:
|
374
382
|
- '0'
|
375
383
|
Accept:
|
376
|
-
-
|
384
|
+
- "*/*"
|
377
385
|
response:
|
378
386
|
status:
|
379
387
|
code: 200
|
380
388
|
message: OK
|
381
389
|
headers:
|
382
390
|
X-Amz-Id-2:
|
383
|
-
-
|
391
|
+
- 31msfBBbbnUQLUIYUdzRkHMbnkBQPwuRcVYySkicxK5JCKXQyMVq59AKHBofLu5hgxTuQdS8Vk0=
|
384
392
|
X-Amz-Request-Id:
|
385
|
-
-
|
393
|
+
- 95889FEC49A57A59
|
386
394
|
Date:
|
387
|
-
-
|
395
|
+
- Tue, 05 Sep 2017 19:31:12 GMT
|
388
396
|
X-Amz-Bucket-Region:
|
389
397
|
- us-west-2
|
390
398
|
Content-Type:
|
@@ -394,10 +402,10 @@ http_interactions:
|
|
394
402
|
Server:
|
395
403
|
- AmazonS3
|
396
404
|
body:
|
397
|
-
encoding:
|
405
|
+
encoding: UTF-8
|
398
406
|
string: |-
|
399
407
|
<?xml version="1.0" encoding="UTF-8"?>
|
400
408
|
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated></ListBucketResult>
|
401
|
-
http_version:
|
402
|
-
recorded_at:
|
409
|
+
http_version:
|
410
|
+
recorded_at: Tue, 05 Sep 2017 19:31:11 GMT
|
403
411
|
recorded_with: VCR 3.0.1
|