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
|
+
- 20170905T193118Z
|
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=43d63da21bc9fbeafa4ff018e086f015dba92d165ca5cefe8457cc1b28441e5e
|
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
|
+
- vJqbuT8jPsygGWEPQ1C4UihWrglL85bDP73aCuQiih89Ky/c0PwsuoVj7bLB4N9R979g/Yj20As=
|
35
36
|
X-Amz-Request-Id:
|
36
|
-
-
|
37
|
+
- 0E45BF7BEC6188BC
|
37
38
|
Date:
|
38
|
-
-
|
39
|
+
- Tue, 05 Sep 2017 19:31:20 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:19 GMT
|
54
55
|
- request:
|
55
56
|
method: put
|
56
57
|
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/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
|
+
- 20170905T193119Z
|
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=4b38a76212883ecc7840863fd809d84dffd3af95c055d16138848525ef2c2eb6
|
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
|
+
- OaM4iWKueGYPL5jfGRBb/APY68DVT7pNZAWv1403+GevIynEduiaB2fKdGOCElAlGMncRi3dkYU=
|
90
92
|
X-Amz-Request-Id:
|
91
|
-
-
|
93
|
+
- 63360F32C420D6EA
|
92
94
|
Date:
|
93
|
-
-
|
95
|
+
- Tue, 05 Sep 2017 19:31:20 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:20 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
|
+
- 20170905T193120Z
|
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=d2b1dbd5ba46617f346877d82272bd521f25eed46bd754067600a5635f47b0ce
|
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
|
+
- AkA+oWaKR359uq1189MFd3JXAHeO5GxqyOEysF//yWOkj77xNrb+w/Ww0HRs9U/Zwg9TNVQ7Bjw=
|
137
140
|
X-Amz-Request-Id:
|
138
|
-
-
|
141
|
+
- 6C9D930F29DF4093
|
139
142
|
Date:
|
140
|
-
-
|
143
|
+
- Tue, 05 Sep 2017 19:31:21 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:20 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
|
+
- 20170905T193120Z
|
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=02e75c9a46d5a785da77e62e3344cbfbbeb9256bca4ad5831b89f06525c5f285
|
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
|
+
- EvjdGk2r4HbJehcyvOBE8i+2dfuMhpGGnqsjE597/2StEJN98m6BAVESh1gW/W3YsKnF4JUl6l4=
|
188
192
|
X-Amz-Request-Id:
|
189
|
-
-
|
193
|
+
- A49CE9459FDD6617
|
190
194
|
Date:
|
191
|
-
-
|
195
|
+
- Tue, 05 Sep 2017 19:31:22 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
|
-
<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><Contents><Key>saved.*</Key><LastModified>
|
205
|
-
http_version:
|
206
|
-
recorded_at:
|
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><Contents><Key>saved.*</Key><LastModified>2017-09-05T19:31:20.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
209
|
+
http_version:
|
210
|
+
recorded_at: Tue, 05 Sep 2017 19:31:21 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
|
+
- 20170905T193121Z
|
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=de4789977c1618ca4960b3b70ba86a12ac98d817c22f53a09c529d8a481add4f
|
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
|
+
- Lj7kKnk35yljDNJhgGtPjQ3ZpUIPHxUfXsfwUQcXa4zY0tZj4AbF5GMq2GT0idiUJ2ZqgGZxYB8=
|
239
244
|
X-Amz-Request-Id:
|
240
|
-
-
|
245
|
+
- 1A0A841C72F5AFD0
|
241
246
|
Date:
|
242
|
-
-
|
247
|
+
- Tue, 05 Sep 2017 19:31:23 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>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>saved.*</Key><LastModified>2017-09-05T19:31:20.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:22 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=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
|
+
- 20170905T193122Z
|
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=f5d607dec448bfdfbc02f894d47c92c408b82877d7286834c0745f0fe7b2516b
|
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
|
+
- JccSQJGLJ+ZtY5ufMyikQMNr9DAycDcRjG1u1Y9JNwYr8Dxp8M7wl7KCZfXW3Fd1KA/02luQwTM=
|
290
296
|
X-Amz-Request-Id:
|
291
|
-
-
|
297
|
+
- DE6E81EC131808DC
|
292
298
|
Date:
|
293
|
-
-
|
299
|
+
- Tue, 05 Sep 2017 19:31:24 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>sav</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated><Contents><Key>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>sav</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated><Contents><Key>saved.*</Key><LastModified>2017-09-05T19:31:20.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:23 GMT
|
309
315
|
- request:
|
310
316
|
method: delete
|
311
317
|
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/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
|
+
- 20170905T193123Z
|
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=d50c336cf3552945ee2eecfddcb44e9561d21fc206b2551fb52a35e4de577b98
|
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
|
+
- vot8vwwjOqQJi6ygrm41H6jNiIootzMucv0GEdNJDDI1wnHysjWQn0lN4EscX/c1j6/SZLPQgM0=
|
341
348
|
X-Amz-Request-Id:
|
342
|
-
-
|
349
|
+
- 6C93294789208E48
|
343
350
|
Date:
|
344
|
-
-
|
351
|
+
- Tue, 05 Sep 2017 19:31:25 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:24 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
|
+
- 20170905T193124Z
|
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=368a2dd0c65991862a60731cae3f2aa4f704133a2519805223e496417571b1ab
|
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
|
+
- fuJBEj9ResQ8VG+WBe3DGAQ2nmwyLMAjxEErN36snJW0Gctf/Y7GJGjRlquiEbNLge/THuOEyDQ=
|
384
392
|
X-Amz-Request-Id:
|
385
|
-
-
|
393
|
+
- 3B53124695E9D5B5
|
386
394
|
Date:
|
387
|
-
-
|
395
|
+
- Tue, 05 Sep 2017 19:31:26 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:25 GMT
|
403
411
|
recorded_with: VCR 3.0.1
|