file-manager 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +21 -17
- data/file-manager.gemspec +1 -1
- data/lib/file_manager.rb +4 -0
- data/lib/local_file_manager.rb +12 -6
- data/lib/s3_file_manager.rb +10 -10
- data/test/file_manager_test.rb +23 -0
- data/test/local_test.rb +1 -1
- data/test/s3_test.rb +1 -1
- data/test/vcr_cassettes/test_listing_files.yml +64 -416
- data/test/vcr_cassettes/test_listing_files_in_sub_dir.yml +353 -0
- data/test/vcr_cassettes/test_reading.yml +34 -263
- data/test/vcr_cassettes/test_reading_in_sub_dir.yml +216 -0
- metadata +8 -3
@@ -0,0 +1,353 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://file-manager-tests.s3.amazonaws.com/?max-keys=1000&prefix=
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- ''
|
12
|
+
Accept-Encoding:
|
13
|
+
- ''
|
14
|
+
User-Agent:
|
15
|
+
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
16
|
+
Date:
|
17
|
+
- Thu, 21 Jan 2016 21:01:40 GMT
|
18
|
+
Authorization:
|
19
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:QbQBHLwcCygH4isXxyev78/0aRU=
|
20
|
+
Accept:
|
21
|
+
- "*/*"
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
X-Amz-Id-2:
|
28
|
+
- mstlpvMyIGaRHlyrtdNMpWSMbC8kaZDhDz+q3v0So6sGU5r80IKgHZSgu4xjrZy7um/gqjNDiEI=
|
29
|
+
X-Amz-Request-Id:
|
30
|
+
- 0F7A07B57047777D
|
31
|
+
Date:
|
32
|
+
- Thu, 21 Jan 2016 21:01:41 GMT
|
33
|
+
X-Amz-Bucket-Region:
|
34
|
+
- us-west-2
|
35
|
+
Content-Type:
|
36
|
+
- application/xml
|
37
|
+
Transfer-Encoding:
|
38
|
+
- chunked
|
39
|
+
Server:
|
40
|
+
- AmazonS3
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: |-
|
44
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
45
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
46
|
+
http_version:
|
47
|
+
recorded_at: Thu, 21 Jan 2016 21:01:40 GMT
|
48
|
+
- request:
|
49
|
+
method: put
|
50
|
+
uri: https://file-manager-tests.s3.amazonaws.com/sub_dir/saved.*
|
51
|
+
body:
|
52
|
+
encoding: ASCII-8BIT
|
53
|
+
string: content
|
54
|
+
headers:
|
55
|
+
Content-Type:
|
56
|
+
- ''
|
57
|
+
Accept-Encoding:
|
58
|
+
- ''
|
59
|
+
Content-Length:
|
60
|
+
- '7'
|
61
|
+
User-Agent:
|
62
|
+
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
63
|
+
Date:
|
64
|
+
- Thu, 21 Jan 2016 21:01:40 GMT
|
65
|
+
Authorization:
|
66
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:+2XS9ZVGJNu5rlVFzq36mHSOF0Y=
|
67
|
+
Accept:
|
68
|
+
- "*/*"
|
69
|
+
response:
|
70
|
+
status:
|
71
|
+
code: 200
|
72
|
+
message: OK
|
73
|
+
headers:
|
74
|
+
X-Amz-Id-2:
|
75
|
+
- tO4LyTO2nnv/ygFsiCgBnZ3x60p7ksXAuhqcpolLbOy8qCJ8eaQwWoYCD2KJQ3wRrcWgPvWQ/us=
|
76
|
+
X-Amz-Request-Id:
|
77
|
+
- 96DACC3B02AC9C54
|
78
|
+
Date:
|
79
|
+
- Thu, 21 Jan 2016 21:01:43 GMT
|
80
|
+
Etag:
|
81
|
+
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
82
|
+
Content-Length:
|
83
|
+
- '0'
|
84
|
+
Server:
|
85
|
+
- AmazonS3
|
86
|
+
body:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: ''
|
89
|
+
http_version:
|
90
|
+
recorded_at: Thu, 21 Jan 2016 21:01:42 GMT
|
91
|
+
- request:
|
92
|
+
method: get
|
93
|
+
uri: https://file-manager-tests.s3.amazonaws.com/?max-keys=1000&prefix=other_prefix
|
94
|
+
body:
|
95
|
+
encoding: US-ASCII
|
96
|
+
string: ''
|
97
|
+
headers:
|
98
|
+
Content-Type:
|
99
|
+
- ''
|
100
|
+
Accept-Encoding:
|
101
|
+
- ''
|
102
|
+
User-Agent:
|
103
|
+
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
104
|
+
Date:
|
105
|
+
- Thu, 21 Jan 2016 21:01:42 GMT
|
106
|
+
Authorization:
|
107
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:cNaQaz4sZRSyivYNQ3SpM13S2uM=
|
108
|
+
Accept:
|
109
|
+
- "*/*"
|
110
|
+
response:
|
111
|
+
status:
|
112
|
+
code: 200
|
113
|
+
message: OK
|
114
|
+
headers:
|
115
|
+
X-Amz-Id-2:
|
116
|
+
- hMaRa+4QQoHa1M/az8ZlRm1M14SkfK5gyeWqPVm1sMW7PxU/LMVAlVfB7AMT2EnJiihbw1OGB/A=
|
117
|
+
X-Amz-Request-Id:
|
118
|
+
- BC48B54294440528
|
119
|
+
Date:
|
120
|
+
- Thu, 21 Jan 2016 21:01:43 GMT
|
121
|
+
X-Amz-Bucket-Region:
|
122
|
+
- us-west-2
|
123
|
+
Content-Type:
|
124
|
+
- application/xml
|
125
|
+
Transfer-Encoding:
|
126
|
+
- chunked
|
127
|
+
Server:
|
128
|
+
- AmazonS3
|
129
|
+
body:
|
130
|
+
encoding: UTF-8
|
131
|
+
string: |-
|
132
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
133
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>other_prefix</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
134
|
+
http_version:
|
135
|
+
recorded_at: Thu, 21 Jan 2016 21:01:42 GMT
|
136
|
+
- request:
|
137
|
+
method: get
|
138
|
+
uri: https://file-manager-tests.s3.amazonaws.com/?max-keys=1000&prefix=sav
|
139
|
+
body:
|
140
|
+
encoding: US-ASCII
|
141
|
+
string: ''
|
142
|
+
headers:
|
143
|
+
Content-Type:
|
144
|
+
- ''
|
145
|
+
Accept-Encoding:
|
146
|
+
- ''
|
147
|
+
User-Agent:
|
148
|
+
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
149
|
+
Date:
|
150
|
+
- Thu, 21 Jan 2016 21:01:42 GMT
|
151
|
+
Authorization:
|
152
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:cNaQaz4sZRSyivYNQ3SpM13S2uM=
|
153
|
+
Accept:
|
154
|
+
- "*/*"
|
155
|
+
response:
|
156
|
+
status:
|
157
|
+
code: 200
|
158
|
+
message: OK
|
159
|
+
headers:
|
160
|
+
X-Amz-Id-2:
|
161
|
+
- TLVM9OhWI7CxIC1WjXf2FNsLSsTip1fEbEmM1Ahjl7b1+bVdKJiJRiXFa72hgnC+Yot0Xqrtd6Y=
|
162
|
+
X-Amz-Request-Id:
|
163
|
+
- C362E1D2273E62B3
|
164
|
+
Date:
|
165
|
+
- Thu, 21 Jan 2016 21:01:44 GMT
|
166
|
+
X-Amz-Bucket-Region:
|
167
|
+
- us-west-2
|
168
|
+
Content-Type:
|
169
|
+
- application/xml
|
170
|
+
Transfer-Encoding:
|
171
|
+
- chunked
|
172
|
+
Server:
|
173
|
+
- AmazonS3
|
174
|
+
body:
|
175
|
+
encoding: UTF-8
|
176
|
+
string: |-
|
177
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
178
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
179
|
+
http_version:
|
180
|
+
recorded_at: Thu, 21 Jan 2016 21:01:44 GMT
|
181
|
+
- request:
|
182
|
+
method: get
|
183
|
+
uri: https://file-manager-tests.s3.amazonaws.com/?max-keys=1000&prefix=
|
184
|
+
body:
|
185
|
+
encoding: US-ASCII
|
186
|
+
string: ''
|
187
|
+
headers:
|
188
|
+
Content-Type:
|
189
|
+
- ''
|
190
|
+
Accept-Encoding:
|
191
|
+
- ''
|
192
|
+
User-Agent:
|
193
|
+
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
194
|
+
Date:
|
195
|
+
- Thu, 21 Jan 2016 21:01:44 GMT
|
196
|
+
Authorization:
|
197
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:hOJet/81KA6ygVHwEXGZ1cZwxX4=
|
198
|
+
Accept:
|
199
|
+
- "*/*"
|
200
|
+
response:
|
201
|
+
status:
|
202
|
+
code: 200
|
203
|
+
message: OK
|
204
|
+
headers:
|
205
|
+
X-Amz-Id-2:
|
206
|
+
- jAGq6yg+mX4htkkubGYV/QaRPa2kbk5YsFF6FE5kbabSsRph4j07ZPnSaqc1clNFhTT8my0SD0w=
|
207
|
+
X-Amz-Request-Id:
|
208
|
+
- 8A888FC4B6305D54
|
209
|
+
Date:
|
210
|
+
- Thu, 21 Jan 2016 21:01:45 GMT
|
211
|
+
X-Amz-Bucket-Region:
|
212
|
+
- us-west-2
|
213
|
+
Content-Type:
|
214
|
+
- application/xml
|
215
|
+
Transfer-Encoding:
|
216
|
+
- chunked
|
217
|
+
Server:
|
218
|
+
- AmazonS3
|
219
|
+
body:
|
220
|
+
encoding: UTF-8
|
221
|
+
string: |-
|
222
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
223
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>sub_dir/saved.*</Key><LastModified>2016-01-21T21:01:43.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
224
|
+
http_version:
|
225
|
+
recorded_at: Thu, 21 Jan 2016 21:01:45 GMT
|
226
|
+
- request:
|
227
|
+
method: get
|
228
|
+
uri: https://file-manager-tests.s3.amazonaws.com/?max-keys=1000&prefix=sub_dir/sav
|
229
|
+
body:
|
230
|
+
encoding: US-ASCII
|
231
|
+
string: ''
|
232
|
+
headers:
|
233
|
+
Content-Type:
|
234
|
+
- ''
|
235
|
+
Accept-Encoding:
|
236
|
+
- ''
|
237
|
+
User-Agent:
|
238
|
+
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
239
|
+
Date:
|
240
|
+
- Thu, 21 Jan 2016 21:01:45 GMT
|
241
|
+
Authorization:
|
242
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:2sK7YSwBfGEpz4k4kqPTZOQotCA=
|
243
|
+
Accept:
|
244
|
+
- "*/*"
|
245
|
+
response:
|
246
|
+
status:
|
247
|
+
code: 200
|
248
|
+
message: OK
|
249
|
+
headers:
|
250
|
+
X-Amz-Id-2:
|
251
|
+
- Hw5nzYUmv381Z6mgI6oul/vT5AWElCXRHbp4ntdO32JlaxAUh4kic5leIr0m2KJj0CjaKY/vYGs=
|
252
|
+
X-Amz-Request-Id:
|
253
|
+
- B30BE1606AF7159D
|
254
|
+
Date:
|
255
|
+
- Thu, 21 Jan 2016 21:01:46 GMT
|
256
|
+
X-Amz-Bucket-Region:
|
257
|
+
- us-west-2
|
258
|
+
Content-Type:
|
259
|
+
- application/xml
|
260
|
+
Transfer-Encoding:
|
261
|
+
- chunked
|
262
|
+
Server:
|
263
|
+
- AmazonS3
|
264
|
+
body:
|
265
|
+
encoding: UTF-8
|
266
|
+
string: |-
|
267
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
268
|
+
<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><IsTruncated>false</IsTruncated><Contents><Key>sub_dir/saved.*</Key><LastModified>2016-01-21T21:01:43.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
269
|
+
http_version:
|
270
|
+
recorded_at: Thu, 21 Jan 2016 21:01:45 GMT
|
271
|
+
- request:
|
272
|
+
method: delete
|
273
|
+
uri: https://file-manager-tests.s3.amazonaws.com/sub_dir/saved.*
|
274
|
+
body:
|
275
|
+
encoding: US-ASCII
|
276
|
+
string: ''
|
277
|
+
headers:
|
278
|
+
Content-Type:
|
279
|
+
- ''
|
280
|
+
Accept-Encoding:
|
281
|
+
- ''
|
282
|
+
User-Agent:
|
283
|
+
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
284
|
+
Date:
|
285
|
+
- Thu, 21 Jan 2016 21:01:45 GMT
|
286
|
+
Authorization:
|
287
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:OdFBRL+7q0ddTYjEfP4uM0n6xao=
|
288
|
+
Accept:
|
289
|
+
- "*/*"
|
290
|
+
response:
|
291
|
+
status:
|
292
|
+
code: 204
|
293
|
+
message: No Content
|
294
|
+
headers:
|
295
|
+
X-Amz-Id-2:
|
296
|
+
- DtMrB0AYydZyu/VE0avoX9XIILBK25FF3qdZEn7Rfp4oUqF5ofSAUTNZHrw8fNwHR9Fpr2OaQCc=
|
297
|
+
X-Amz-Request-Id:
|
298
|
+
- FD41FFD2045C34A9
|
299
|
+
Date:
|
300
|
+
- Thu, 21 Jan 2016 21:01:47 GMT
|
301
|
+
Server:
|
302
|
+
- AmazonS3
|
303
|
+
body:
|
304
|
+
encoding: UTF-8
|
305
|
+
string: ''
|
306
|
+
http_version:
|
307
|
+
recorded_at: Thu, 21 Jan 2016 21:01:46 GMT
|
308
|
+
- request:
|
309
|
+
method: get
|
310
|
+
uri: https://file-manager-tests.s3.amazonaws.com/?max-keys=1000&prefix=
|
311
|
+
body:
|
312
|
+
encoding: US-ASCII
|
313
|
+
string: ''
|
314
|
+
headers:
|
315
|
+
Content-Type:
|
316
|
+
- ''
|
317
|
+
Accept-Encoding:
|
318
|
+
- ''
|
319
|
+
User-Agent:
|
320
|
+
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
321
|
+
Date:
|
322
|
+
- Thu, 21 Jan 2016 21:01:46 GMT
|
323
|
+
Authorization:
|
324
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:Lpt3RCzqXrT2r41O+oew67OXnNQ=
|
325
|
+
Accept:
|
326
|
+
- "*/*"
|
327
|
+
response:
|
328
|
+
status:
|
329
|
+
code: 200
|
330
|
+
message: OK
|
331
|
+
headers:
|
332
|
+
X-Amz-Id-2:
|
333
|
+
- 1fmh2flbBYOVqO/om5BPrwrleJB3YpKDrH8HbhCxuVCC2D4kz9cNLJJu6LHEis2iwzvHwDX4R5w=
|
334
|
+
X-Amz-Request-Id:
|
335
|
+
- DEC75DFF197D1790
|
336
|
+
Date:
|
337
|
+
- Thu, 21 Jan 2016 21:01:48 GMT
|
338
|
+
X-Amz-Bucket-Region:
|
339
|
+
- us-west-2
|
340
|
+
Content-Type:
|
341
|
+
- application/xml
|
342
|
+
Transfer-Encoding:
|
343
|
+
- chunked
|
344
|
+
Server:
|
345
|
+
- AmazonS3
|
346
|
+
body:
|
347
|
+
encoding: UTF-8
|
348
|
+
string: |-
|
349
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
350
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
351
|
+
http_version:
|
352
|
+
recorded_at: Thu, 21 Jan 2016 21:01:48 GMT
|
353
|
+
recorded_with: VCR 3.0.1
|
@@ -14,54 +14,9 @@ http_interactions:
|
|
14
14
|
User-Agent:
|
15
15
|
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
16
16
|
Date:
|
17
|
-
-
|
17
|
+
- Thu, 21 Jan 2016 18:48:30 GMT
|
18
18
|
Authorization:
|
19
|
-
- AWS AKIAJ73G6IOWSUPCKP5A:
|
20
|
-
Accept:
|
21
|
-
- "*/*"
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 307
|
25
|
-
message: Temporary Redirect
|
26
|
-
headers:
|
27
|
-
X-Amz-Request-Id:
|
28
|
-
- 5B074ADCA354296A
|
29
|
-
X-Amz-Id-2:
|
30
|
-
- SBuldhfY7DswMa5KWnLvFdeBVBBjBtWOML+MHXRrfeZZYY4vzsz8UPo+DRa/1sNNtfEqkxaVqj4=
|
31
|
-
Location:
|
32
|
-
- https://file-manager-tests.s3-us-west-2.amazonaws.com/not_saved
|
33
|
-
Content-Type:
|
34
|
-
- application/xml
|
35
|
-
Transfer-Encoding:
|
36
|
-
- chunked
|
37
|
-
Date:
|
38
|
-
- Tue, 07 Apr 2015 18:02:07 GMT
|
39
|
-
Server:
|
40
|
-
- AmazonS3
|
41
|
-
body:
|
42
|
-
encoding: UTF-8
|
43
|
-
string: |-
|
44
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
45
|
-
<Error><Code>TemporaryRedirect</Code><Message>Please re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.</Message><Bucket>file-manager-tests</Bucket><Endpoint>file-manager-tests.s3-us-west-2.amazonaws.com</Endpoint><RequestId>5B074ADCA354296A</RequestId><HostId>SBuldhfY7DswMa5KWnLvFdeBVBBjBtWOML+MHXRrfeZZYY4vzsz8UPo+DRa/1sNNtfEqkxaVqj4=</HostId></Error>
|
46
|
-
http_version:
|
47
|
-
recorded_at: Tue, 07 Apr 2015 18:01:19 GMT
|
48
|
-
- request:
|
49
|
-
method: get
|
50
|
-
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/not_saved
|
51
|
-
body:
|
52
|
-
encoding: US-ASCII
|
53
|
-
string: ''
|
54
|
-
headers:
|
55
|
-
Content-Type:
|
56
|
-
- ''
|
57
|
-
Accept-Encoding:
|
58
|
-
- ''
|
59
|
-
User-Agent:
|
60
|
-
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
61
|
-
Date:
|
62
|
-
- Tue, 07 Apr 2015 18:01:20 GMT
|
63
|
-
Authorization:
|
64
|
-
- AWS AKIAJ73G6IOWSUPCKP5A:RNorMJvfVti0+1GebxOsXZryINM=
|
19
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:6OEvZ4Lmz0eYaRHvHBVs4iNwc1U=
|
65
20
|
Accept:
|
66
21
|
- "*/*"
|
67
22
|
response:
|
@@ -70,24 +25,24 @@ http_interactions:
|
|
70
25
|
message: Not Found
|
71
26
|
headers:
|
72
27
|
X-Amz-Request-Id:
|
73
|
-
-
|
28
|
+
- 418B3E43188B85B8
|
74
29
|
X-Amz-Id-2:
|
75
|
-
-
|
30
|
+
- GfmOmObANrCCXLyUF1Woz68zuiBOCLkbx9zWEjo2XDqR0R/ROEj8JYz2m4hMwiE2xdDcOXOHRWQ=
|
76
31
|
Content-Type:
|
77
32
|
- application/xml
|
78
33
|
Transfer-Encoding:
|
79
34
|
- chunked
|
80
35
|
Date:
|
81
|
-
-
|
36
|
+
- Thu, 21 Jan 2016 18:48:31 GMT
|
82
37
|
Server:
|
83
38
|
- AmazonS3
|
84
39
|
body:
|
85
40
|
encoding: UTF-8
|
86
41
|
string: |-
|
87
42
|
<?xml version="1.0" encoding="UTF-8"?>
|
88
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>not_saved</Key><RequestId>
|
43
|
+
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>not_saved</Key><RequestId>418B3E43188B85B8</RequestId><HostId>GfmOmObANrCCXLyUF1Woz68zuiBOCLkbx9zWEjo2XDqR0R/ROEj8JYz2m4hMwiE2xdDcOXOHRWQ=</HostId></Error>
|
89
44
|
http_version:
|
90
|
-
recorded_at:
|
45
|
+
recorded_at: Thu, 21 Jan 2016 18:48:31 GMT
|
91
46
|
- request:
|
92
47
|
method: put
|
93
48
|
uri: https://file-manager-tests.s3.amazonaws.com/saved
|
@@ -104,58 +59,9 @@ http_interactions:
|
|
104
59
|
User-Agent:
|
105
60
|
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
106
61
|
Date:
|
107
|
-
-
|
108
|
-
Authorization:
|
109
|
-
- AWS AKIAJ73G6IOWSUPCKP5A:/tvYeOF5Abq+F+ZdPUxe0ePcSvs=
|
110
|
-
Accept:
|
111
|
-
- "*/*"
|
112
|
-
response:
|
113
|
-
status:
|
114
|
-
code: 307
|
115
|
-
message: Temporary Redirect
|
116
|
-
headers:
|
117
|
-
X-Amz-Request-Id:
|
118
|
-
- 3DCD0783F2E0B1DB
|
119
|
-
X-Amz-Id-2:
|
120
|
-
- dUO55XJGUFzxEGwgcIMBBHFQTVKsifidMGXGWnofJ3hxKEYsgaHYJIJwDFVJvRb8jTXUTGVVU3w=
|
121
|
-
Location:
|
122
|
-
- https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
123
|
-
Content-Type:
|
124
|
-
- application/xml
|
125
|
-
Transfer-Encoding:
|
126
|
-
- chunked
|
127
|
-
Date:
|
128
|
-
- Tue, 07 Apr 2015 18:02:07 GMT
|
129
|
-
Connection:
|
130
|
-
- close
|
131
|
-
Server:
|
132
|
-
- AmazonS3
|
133
|
-
body:
|
134
|
-
encoding: UTF-8
|
135
|
-
string: |-
|
136
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
137
|
-
<Error><Code>TemporaryRedirect</Code><Message>Please re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.</Message><Bucket>file-manager-tests</Bucket><Endpoint>file-manager-tests.s3-us-west-2.amazonaws.com</Endpoint><RequestId>3DCD0783F2E0B1DB</RequestId><HostId>dUO55XJGUFzxEGwgcIMBBHFQTVKsifidMGXGWnofJ3hxKEYsgaHYJIJwDFVJvRb8jTXUTGVVU3w=</HostId></Error>
|
138
|
-
http_version:
|
139
|
-
recorded_at: Tue, 07 Apr 2015 18:01:21 GMT
|
140
|
-
- request:
|
141
|
-
method: put
|
142
|
-
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
143
|
-
body:
|
144
|
-
encoding: ASCII-8BIT
|
145
|
-
string: content
|
146
|
-
headers:
|
147
|
-
Content-Type:
|
148
|
-
- ''
|
149
|
-
Accept-Encoding:
|
150
|
-
- ''
|
151
|
-
Content-Length:
|
152
|
-
- '7'
|
153
|
-
User-Agent:
|
154
|
-
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
155
|
-
Date:
|
156
|
-
- Tue, 07 Apr 2015 18:01:21 GMT
|
62
|
+
- Thu, 21 Jan 2016 18:48:31 GMT
|
157
63
|
Authorization:
|
158
|
-
- AWS AKIAJ73G6IOWSUPCKP5A
|
64
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:cGIHDadLHy6d7c6tlfA6HUMLUQ0=
|
159
65
|
Accept:
|
160
66
|
- "*/*"
|
161
67
|
response:
|
@@ -164,11 +70,11 @@ http_interactions:
|
|
164
70
|
message: OK
|
165
71
|
headers:
|
166
72
|
X-Amz-Id-2:
|
167
|
-
-
|
73
|
+
- et7xF3i9+E0wIV0eElWiA/pSWa1M6mfGdN0jB/5JZ0n6SsBdNXL3pa2mHfA7kmWcWWIMspYUjD0=
|
168
74
|
X-Amz-Request-Id:
|
169
|
-
-
|
75
|
+
- 94FD1641E0A41D35
|
170
76
|
Date:
|
171
|
-
-
|
77
|
+
- Thu, 21 Jan 2016 18:48:33 GMT
|
172
78
|
Etag:
|
173
79
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
174
80
|
Content-Length:
|
@@ -179,7 +85,7 @@ http_interactions:
|
|
179
85
|
encoding: UTF-8
|
180
86
|
string: ''
|
181
87
|
http_version:
|
182
|
-
recorded_at:
|
88
|
+
recorded_at: Thu, 21 Jan 2016 18:48:32 GMT
|
183
89
|
- request:
|
184
90
|
method: get
|
185
91
|
uri: https://file-manager-tests.s3.amazonaws.com/saved
|
@@ -194,54 +100,9 @@ http_interactions:
|
|
194
100
|
User-Agent:
|
195
101
|
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
196
102
|
Date:
|
197
|
-
-
|
103
|
+
- Thu, 21 Jan 2016 18:48:32 GMT
|
198
104
|
Authorization:
|
199
|
-
- AWS AKIAJ73G6IOWSUPCKP5A:
|
200
|
-
Accept:
|
201
|
-
- "*/*"
|
202
|
-
response:
|
203
|
-
status:
|
204
|
-
code: 307
|
205
|
-
message: Temporary Redirect
|
206
|
-
headers:
|
207
|
-
X-Amz-Request-Id:
|
208
|
-
- 096C2E6FABC4BDA2
|
209
|
-
X-Amz-Id-2:
|
210
|
-
- WkFvERstk7QP2/cITDmWod+UANhKT9MS9bBry9zYRLM1M/TKeLdJSPA1P/yV7ThvZwV5tnl0mBo=
|
211
|
-
Location:
|
212
|
-
- https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
213
|
-
Content-Type:
|
214
|
-
- application/xml
|
215
|
-
Transfer-Encoding:
|
216
|
-
- chunked
|
217
|
-
Date:
|
218
|
-
- Tue, 07 Apr 2015 18:02:09 GMT
|
219
|
-
Server:
|
220
|
-
- AmazonS3
|
221
|
-
body:
|
222
|
-
encoding: UTF-8
|
223
|
-
string: |-
|
224
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
225
|
-
<Error><Code>TemporaryRedirect</Code><Message>Please re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.</Message><Bucket>file-manager-tests</Bucket><Endpoint>file-manager-tests.s3-us-west-2.amazonaws.com</Endpoint><RequestId>096C2E6FABC4BDA2</RequestId><HostId>WkFvERstk7QP2/cITDmWod+UANhKT9MS9bBry9zYRLM1M/TKeLdJSPA1P/yV7ThvZwV5tnl0mBo=</HostId></Error>
|
226
|
-
http_version:
|
227
|
-
recorded_at: Tue, 07 Apr 2015 18:01:22 GMT
|
228
|
-
- request:
|
229
|
-
method: get
|
230
|
-
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
231
|
-
body:
|
232
|
-
encoding: US-ASCII
|
233
|
-
string: ''
|
234
|
-
headers:
|
235
|
-
Content-Type:
|
236
|
-
- ''
|
237
|
-
Accept-Encoding:
|
238
|
-
- ''
|
239
|
-
User-Agent:
|
240
|
-
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
241
|
-
Date:
|
242
|
-
- Tue, 07 Apr 2015 18:01:22 GMT
|
243
|
-
Authorization:
|
244
|
-
- AWS AKIAJ73G6IOWSUPCKP5A:zsEDdknEX2L53fulptmSEkRVefo=
|
105
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:Ucie94YVOAYgttIFtTwHJHyw4xQ=
|
245
106
|
Accept:
|
246
107
|
- "*/*"
|
247
108
|
response:
|
@@ -250,13 +111,13 @@ http_interactions:
|
|
250
111
|
message: OK
|
251
112
|
headers:
|
252
113
|
X-Amz-Id-2:
|
253
|
-
-
|
114
|
+
- KiTtIEKxwm/u2xiLEKSklIqC8g6Lz1wsBFm33fnP+mgpPNW6OLC30cCscjcJHtWuU+6a3t7Atuo=
|
254
115
|
X-Amz-Request-Id:
|
255
|
-
-
|
116
|
+
- 91EF46A18FE25EA1
|
256
117
|
Date:
|
257
|
-
-
|
118
|
+
- Thu, 21 Jan 2016 18:48:34 GMT
|
258
119
|
Last-Modified:
|
259
|
-
-
|
120
|
+
- Thu, 21 Jan 2016 18:48:33 GMT
|
260
121
|
Etag:
|
261
122
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
262
123
|
Accept-Ranges:
|
@@ -271,7 +132,7 @@ http_interactions:
|
|
271
132
|
encoding: UTF-8
|
272
133
|
string: content
|
273
134
|
http_version:
|
274
|
-
recorded_at:
|
135
|
+
recorded_at: Thu, 21 Jan 2016 18:48:33 GMT
|
275
136
|
- request:
|
276
137
|
method: delete
|
277
138
|
uri: https://file-manager-tests.s3.amazonaws.com/saved
|
@@ -286,54 +147,9 @@ http_interactions:
|
|
286
147
|
User-Agent:
|
287
148
|
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
288
149
|
Date:
|
289
|
-
-
|
150
|
+
- Thu, 21 Jan 2016 18:48:33 GMT
|
290
151
|
Authorization:
|
291
|
-
- AWS AKIAJ73G6IOWSUPCKP5A:
|
292
|
-
Accept:
|
293
|
-
- "*/*"
|
294
|
-
response:
|
295
|
-
status:
|
296
|
-
code: 307
|
297
|
-
message: Temporary Redirect
|
298
|
-
headers:
|
299
|
-
X-Amz-Request-Id:
|
300
|
-
- 88840F577C8B9767
|
301
|
-
X-Amz-Id-2:
|
302
|
-
- jmZ3PFkUXykeHcJDTiwO5cdx+g99ki2N3drUhJiR+N0LetsdSTtxRMpsf65MaIpuyhcr55fL5XE=
|
303
|
-
Location:
|
304
|
-
- https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
305
|
-
Content-Type:
|
306
|
-
- application/xml
|
307
|
-
Transfer-Encoding:
|
308
|
-
- chunked
|
309
|
-
Date:
|
310
|
-
- Tue, 07 Apr 2015 18:02:11 GMT
|
311
|
-
Server:
|
312
|
-
- AmazonS3
|
313
|
-
body:
|
314
|
-
encoding: UTF-8
|
315
|
-
string: |-
|
316
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
317
|
-
<Error><Code>TemporaryRedirect</Code><Message>Please re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.</Message><Bucket>file-manager-tests</Bucket><Endpoint>file-manager-tests.s3-us-west-2.amazonaws.com</Endpoint><RequestId>88840F577C8B9767</RequestId><HostId>jmZ3PFkUXykeHcJDTiwO5cdx+g99ki2N3drUhJiR+N0LetsdSTtxRMpsf65MaIpuyhcr55fL5XE=</HostId></Error>
|
318
|
-
http_version:
|
319
|
-
recorded_at: Tue, 07 Apr 2015 18:01:24 GMT
|
320
|
-
- request:
|
321
|
-
method: delete
|
322
|
-
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
323
|
-
body:
|
324
|
-
encoding: US-ASCII
|
325
|
-
string: ''
|
326
|
-
headers:
|
327
|
-
Content-Type:
|
328
|
-
- ''
|
329
|
-
Accept-Encoding:
|
330
|
-
- ''
|
331
|
-
User-Agent:
|
332
|
-
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
333
|
-
Date:
|
334
|
-
- Tue, 07 Apr 2015 18:01:24 GMT
|
335
|
-
Authorization:
|
336
|
-
- AWS AKIAJ73G6IOWSUPCKP5A:WoE/0yMeGyqueLSpDfHesimxx+U=
|
152
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:T+EsXszEBhYUW20hbtHrwhuQTSw=
|
337
153
|
Accept:
|
338
154
|
- "*/*"
|
339
155
|
response:
|
@@ -342,18 +158,18 @@ http_interactions:
|
|
342
158
|
message: No Content
|
343
159
|
headers:
|
344
160
|
X-Amz-Id-2:
|
345
|
-
-
|
161
|
+
- 89faMoehngd6EviqO8y+eA7RZl6cfCMDCfGfRBI7p6LnYJBlJER2ut8CtGJOQsBwEyVMqU15uvI=
|
346
162
|
X-Amz-Request-Id:
|
347
|
-
-
|
163
|
+
- 162E2371A4740748
|
348
164
|
Date:
|
349
|
-
-
|
165
|
+
- Thu, 21 Jan 2016 18:48:35 GMT
|
350
166
|
Server:
|
351
167
|
- AmazonS3
|
352
168
|
body:
|
353
169
|
encoding: UTF-8
|
354
170
|
string: ''
|
355
171
|
http_version:
|
356
|
-
recorded_at:
|
172
|
+
recorded_at: Thu, 21 Jan 2016 18:48:34 GMT
|
357
173
|
- request:
|
358
174
|
method: get
|
359
175
|
uri: https://file-manager-tests.s3.amazonaws.com/saved
|
@@ -368,54 +184,9 @@ http_interactions:
|
|
368
184
|
User-Agent:
|
369
185
|
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
370
186
|
Date:
|
371
|
-
-
|
372
|
-
Authorization:
|
373
|
-
- AWS AKIAJ73G6IOWSUPCKP5A:6RNsTemd6a0MKKmlNqn6pRGzbNs=
|
374
|
-
Accept:
|
375
|
-
- "*/*"
|
376
|
-
response:
|
377
|
-
status:
|
378
|
-
code: 307
|
379
|
-
message: Temporary Redirect
|
380
|
-
headers:
|
381
|
-
X-Amz-Request-Id:
|
382
|
-
- 282A23A0D122F46B
|
383
|
-
X-Amz-Id-2:
|
384
|
-
- c3rQueBe7j/H3N7RT8Xyidh7GDWrt/BxQzV1gkRHxnB3HOHzlqKa5qbhUPxNjXFMvc4OV5aTtag=
|
385
|
-
Location:
|
386
|
-
- https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
387
|
-
Content-Type:
|
388
|
-
- application/xml
|
389
|
-
Transfer-Encoding:
|
390
|
-
- chunked
|
391
|
-
Date:
|
392
|
-
- Tue, 07 Apr 2015 18:02:13 GMT
|
393
|
-
Server:
|
394
|
-
- AmazonS3
|
395
|
-
body:
|
396
|
-
encoding: UTF-8
|
397
|
-
string: |-
|
398
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
399
|
-
<Error><Code>TemporaryRedirect</Code><Message>Please re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.</Message><Bucket>file-manager-tests</Bucket><Endpoint>file-manager-tests.s3-us-west-2.amazonaws.com</Endpoint><RequestId>282A23A0D122F46B</RequestId><HostId>c3rQueBe7j/H3N7RT8Xyidh7GDWrt/BxQzV1gkRHxnB3HOHzlqKa5qbhUPxNjXFMvc4OV5aTtag=</HostId></Error>
|
400
|
-
http_version:
|
401
|
-
recorded_at: Tue, 07 Apr 2015 18:01:25 GMT
|
402
|
-
- request:
|
403
|
-
method: get
|
404
|
-
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
405
|
-
body:
|
406
|
-
encoding: US-ASCII
|
407
|
-
string: ''
|
408
|
-
headers:
|
409
|
-
Content-Type:
|
410
|
-
- ''
|
411
|
-
Accept-Encoding:
|
412
|
-
- ''
|
413
|
-
User-Agent:
|
414
|
-
- aws-sdk-ruby/1.52.0 ruby/2.2.1 x86_64-darwin14
|
415
|
-
Date:
|
416
|
-
- Tue, 07 Apr 2015 18:01:25 GMT
|
187
|
+
- Thu, 21 Jan 2016 18:48:34 GMT
|
417
188
|
Authorization:
|
418
|
-
- AWS AKIAJ73G6IOWSUPCKP5A:
|
189
|
+
- AWS AKIAJ73G6IOWSUPCKP5A:Tvb9AIgFJ0w89opmjJbTg4jQamg=
|
419
190
|
Accept:
|
420
191
|
- "*/*"
|
421
192
|
response:
|
@@ -424,22 +195,22 @@ http_interactions:
|
|
424
195
|
message: Not Found
|
425
196
|
headers:
|
426
197
|
X-Amz-Request-Id:
|
427
|
-
-
|
198
|
+
- E02142B2076D9478
|
428
199
|
X-Amz-Id-2:
|
429
|
-
-
|
200
|
+
- Tdc/6aktrcgdizkEjMCiuh2yXmqjZ21NPEs87/8lKc9CzFKpnZh2AdXacuwFTG4nZNM6z+4dEpc=
|
430
201
|
Content-Type:
|
431
202
|
- application/xml
|
432
203
|
Transfer-Encoding:
|
433
204
|
- chunked
|
434
205
|
Date:
|
435
|
-
-
|
206
|
+
- Thu, 21 Jan 2016 18:48:34 GMT
|
436
207
|
Server:
|
437
208
|
- AmazonS3
|
438
209
|
body:
|
439
210
|
encoding: UTF-8
|
440
211
|
string: |-
|
441
212
|
<?xml version="1.0" encoding="UTF-8"?>
|
442
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>saved</Key><RequestId>
|
213
|
+
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>saved</Key><RequestId>E02142B2076D9478</RequestId><HostId>Tdc/6aktrcgdizkEjMCiuh2yXmqjZ21NPEs87/8lKc9CzFKpnZh2AdXacuwFTG4nZNM6z+4dEpc=</HostId></Error>
|
443
214
|
http_version:
|
444
|
-
recorded_at:
|
445
|
-
recorded_with: VCR
|
215
|
+
recorded_at: Thu, 21 Jan 2016 18:48:35 GMT
|
216
|
+
recorded_with: VCR 3.0.1
|