file-manager 0.0.12 → 0.1.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 +10 -11
- data/file-manager.gemspec +2 -2
- data/lib/s3_file_manager.rb +14 -14
- data/test/s3_test.rb +6 -1
- data/test/vcr_cassettes/test_listing_files.yml +146 -88
- data/test/vcr_cassettes/test_listing_files_in_sub_dir.yml +146 -88
- data/test/vcr_cassettes/test_reading.yml +92 -55
- data/test/vcr_cassettes/test_reading_in_sub_dir.yml +92 -55
- metadata +6 -6
@@ -2,9 +2,9 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://file-manager-tests.s3.amazonaws.com/?
|
5
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: ASCII-8BIT
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
@@ -12,11 +12,18 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- ''
|
14
14
|
User-Agent:
|
15
|
-
- aws-sdk-
|
16
|
-
Date:
|
17
|
-
-
|
15
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
16
|
+
X-Amz-Date:
|
17
|
+
- 20160128T193525Z
|
18
|
+
Host:
|
19
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
20
|
+
X-Amz-Content-Sha256:
|
21
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
18
22
|
Authorization:
|
19
|
-
-
|
23
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
24
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=7ceff082a5fbf036f38d0db259aca14113c4ff37452dbddfe8023dcd081ae08a
|
25
|
+
Content-Length:
|
26
|
+
- '0'
|
20
27
|
Accept:
|
21
28
|
- "*/*"
|
22
29
|
response:
|
@@ -25,11 +32,11 @@ http_interactions:
|
|
25
32
|
message: OK
|
26
33
|
headers:
|
27
34
|
X-Amz-Id-2:
|
28
|
-
-
|
35
|
+
- FlWTnl69PBu79msFExrEI7075P7SSCOPqaXZqfeDLMos3Vly+CkinWzx8tCq57zpkcZSq6RUmfs=
|
29
36
|
X-Amz-Request-Id:
|
30
|
-
-
|
37
|
+
- 1046CDD026A70F51
|
31
38
|
Date:
|
32
|
-
- Thu,
|
39
|
+
- Thu, 28 Jan 2016 19:35:29 GMT
|
33
40
|
X-Amz-Bucket-Region:
|
34
41
|
- us-west-2
|
35
42
|
Content-Type:
|
@@ -42,28 +49,37 @@ http_interactions:
|
|
42
49
|
encoding: UTF-8
|
43
50
|
string: |-
|
44
51
|
<?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>
|
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>
|
46
53
|
http_version:
|
47
|
-
recorded_at: Thu,
|
54
|
+
recorded_at: Thu, 28 Jan 2016 19:35:27 GMT
|
48
55
|
- request:
|
49
56
|
method: put
|
50
|
-
uri: https://file-manager-tests.s3.amazonaws.com/sub_dir/saved.*
|
57
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/sub_dir/saved.*
|
51
58
|
body:
|
52
|
-
encoding:
|
59
|
+
encoding: UTF-8
|
53
60
|
string: content
|
54
61
|
headers:
|
55
62
|
Content-Type:
|
56
63
|
- ''
|
57
64
|
Accept-Encoding:
|
58
65
|
- ''
|
59
|
-
Content-Length:
|
60
|
-
- '7'
|
61
66
|
User-Agent:
|
62
|
-
- aws-sdk-
|
63
|
-
|
64
|
-
-
|
67
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
68
|
+
Expect:
|
69
|
+
- 100-continue
|
70
|
+
Content-Md5:
|
71
|
+
- mgNkuembtIDdJeHwKEyFVQ==
|
72
|
+
X-Amz-Date:
|
73
|
+
- 20160128T193527Z
|
74
|
+
Host:
|
75
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
76
|
+
X-Amz-Content-Sha256:
|
77
|
+
- ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
|
65
78
|
Authorization:
|
66
|
-
-
|
79
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
80
|
+
SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=5c4b8cbb5e76dea0ad6e9d8bed8098d348f3fea7290041026b4121cff9c1c29b
|
81
|
+
Content-Length:
|
82
|
+
- '7'
|
67
83
|
Accept:
|
68
84
|
- "*/*"
|
69
85
|
response:
|
@@ -72,11 +88,11 @@ http_interactions:
|
|
72
88
|
message: OK
|
73
89
|
headers:
|
74
90
|
X-Amz-Id-2:
|
75
|
-
-
|
91
|
+
- TfurGh9qBKcvAQL+FPaOW6x69Ak3wiNsdEPmDqF4dBNMaA9vHtidAL9i8p0OCjdrRphaB1ndFpo=
|
76
92
|
X-Amz-Request-Id:
|
77
|
-
-
|
93
|
+
- 47B9C890CEC49A2B
|
78
94
|
Date:
|
79
|
-
- Thu,
|
95
|
+
- Thu, 28 Jan 2016 19:35:31 GMT
|
80
96
|
Etag:
|
81
97
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
82
98
|
Content-Length:
|
@@ -87,12 +103,12 @@ http_interactions:
|
|
87
103
|
encoding: UTF-8
|
88
104
|
string: ''
|
89
105
|
http_version:
|
90
|
-
recorded_at: Thu,
|
106
|
+
recorded_at: Thu, 28 Jan 2016 19:35:28 GMT
|
91
107
|
- request:
|
92
108
|
method: get
|
93
|
-
uri: https://file-manager-tests.s3.amazonaws.com/?
|
109
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=other_prefix
|
94
110
|
body:
|
95
|
-
encoding:
|
111
|
+
encoding: ASCII-8BIT
|
96
112
|
string: ''
|
97
113
|
headers:
|
98
114
|
Content-Type:
|
@@ -100,11 +116,18 @@ http_interactions:
|
|
100
116
|
Accept-Encoding:
|
101
117
|
- ''
|
102
118
|
User-Agent:
|
103
|
-
- aws-sdk-
|
104
|
-
Date:
|
105
|
-
-
|
119
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
120
|
+
X-Amz-Date:
|
121
|
+
- 20160128T193528Z
|
122
|
+
Host:
|
123
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
124
|
+
X-Amz-Content-Sha256:
|
125
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
106
126
|
Authorization:
|
107
|
-
-
|
127
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
128
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=7d17b6e269a144d1b0f0d8a742c13732e6f15b652420acee3f470938c7ed8fa4
|
129
|
+
Content-Length:
|
130
|
+
- '0'
|
108
131
|
Accept:
|
109
132
|
- "*/*"
|
110
133
|
response:
|
@@ -113,11 +136,11 @@ http_interactions:
|
|
113
136
|
message: OK
|
114
137
|
headers:
|
115
138
|
X-Amz-Id-2:
|
116
|
-
-
|
139
|
+
- 5RNY0sopyo8SIQcmjGbT2wnGS3Ai5lQQTltJnUPSBxNe+u3l6oHw0Hn55V2lIy6zGTzUTzNbadY=
|
117
140
|
X-Amz-Request-Id:
|
118
|
-
-
|
141
|
+
- 8E025725205E26AC
|
119
142
|
Date:
|
120
|
-
- Thu,
|
143
|
+
- Thu, 28 Jan 2016 19:35:32 GMT
|
121
144
|
X-Amz-Bucket-Region:
|
122
145
|
- us-west-2
|
123
146
|
Content-Type:
|
@@ -130,14 +153,14 @@ http_interactions:
|
|
130
153
|
encoding: UTF-8
|
131
154
|
string: |-
|
132
155
|
<?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>
|
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>
|
134
157
|
http_version:
|
135
|
-
recorded_at: Thu,
|
158
|
+
recorded_at: Thu, 28 Jan 2016 19:35:29 GMT
|
136
159
|
- request:
|
137
160
|
method: get
|
138
|
-
uri: https://file-manager-tests.s3.amazonaws.com/?
|
161
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=sav
|
139
162
|
body:
|
140
|
-
encoding:
|
163
|
+
encoding: ASCII-8BIT
|
141
164
|
string: ''
|
142
165
|
headers:
|
143
166
|
Content-Type:
|
@@ -145,11 +168,18 @@ http_interactions:
|
|
145
168
|
Accept-Encoding:
|
146
169
|
- ''
|
147
170
|
User-Agent:
|
148
|
-
- aws-sdk-
|
149
|
-
Date:
|
150
|
-
-
|
171
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
172
|
+
X-Amz-Date:
|
173
|
+
- 20160128T193529Z
|
174
|
+
Host:
|
175
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
176
|
+
X-Amz-Content-Sha256:
|
177
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
151
178
|
Authorization:
|
152
|
-
-
|
179
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
180
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=2e0fa81fb6293663d01eafd05acf8c4f02529dbddbc5fb0f18bc9fed6f440925
|
181
|
+
Content-Length:
|
182
|
+
- '0'
|
153
183
|
Accept:
|
154
184
|
- "*/*"
|
155
185
|
response:
|
@@ -158,11 +188,11 @@ http_interactions:
|
|
158
188
|
message: OK
|
159
189
|
headers:
|
160
190
|
X-Amz-Id-2:
|
161
|
-
-
|
191
|
+
- IrMfJYleOFlLXBE3zm0FAdTuOlknr2/4qJ3oNDVqejwKg1YS2l3euNsfQMFYfsv1H7JDf34sWvQ=
|
162
192
|
X-Amz-Request-Id:
|
163
|
-
-
|
193
|
+
- E339ACE6BC3C02FE
|
164
194
|
Date:
|
165
|
-
- Thu,
|
195
|
+
- Thu, 28 Jan 2016 19:35:33 GMT
|
166
196
|
X-Amz-Bucket-Region:
|
167
197
|
- us-west-2
|
168
198
|
Content-Type:
|
@@ -175,14 +205,14 @@ http_interactions:
|
|
175
205
|
encoding: UTF-8
|
176
206
|
string: |-
|
177
207
|
<?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>
|
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>
|
179
209
|
http_version:
|
180
|
-
recorded_at: Thu,
|
210
|
+
recorded_at: Thu, 28 Jan 2016 19:35:30 GMT
|
181
211
|
- request:
|
182
212
|
method: get
|
183
|
-
uri: https://file-manager-tests.s3.amazonaws.com/?
|
213
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=
|
184
214
|
body:
|
185
|
-
encoding:
|
215
|
+
encoding: ASCII-8BIT
|
186
216
|
string: ''
|
187
217
|
headers:
|
188
218
|
Content-Type:
|
@@ -190,11 +220,18 @@ http_interactions:
|
|
190
220
|
Accept-Encoding:
|
191
221
|
- ''
|
192
222
|
User-Agent:
|
193
|
-
- aws-sdk-
|
194
|
-
Date:
|
195
|
-
-
|
223
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
224
|
+
X-Amz-Date:
|
225
|
+
- 20160128T193530Z
|
226
|
+
Host:
|
227
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
228
|
+
X-Amz-Content-Sha256:
|
229
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
196
230
|
Authorization:
|
197
|
-
-
|
231
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
232
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=47a9c73cd11601440a9174128411c6a992a31bd868f5fb951f706fe65eb71773
|
233
|
+
Content-Length:
|
234
|
+
- '0'
|
198
235
|
Accept:
|
199
236
|
- "*/*"
|
200
237
|
response:
|
@@ -203,11 +240,11 @@ http_interactions:
|
|
203
240
|
message: OK
|
204
241
|
headers:
|
205
242
|
X-Amz-Id-2:
|
206
|
-
-
|
243
|
+
- XFUYROOn+H13Y/YawYxzsHnzeW1pf84z/wzxBDO5mppzZ/mwFLMQibkBW5mkIKqcz9iOaBCHFtQ=
|
207
244
|
X-Amz-Request-Id:
|
208
|
-
-
|
245
|
+
- 5B77FE48713A9A6F
|
209
246
|
Date:
|
210
|
-
- Thu,
|
247
|
+
- Thu, 28 Jan 2016 19:35:34 GMT
|
211
248
|
X-Amz-Bucket-Region:
|
212
249
|
- us-west-2
|
213
250
|
Content-Type:
|
@@ -220,14 +257,14 @@ http_interactions:
|
|
220
257
|
encoding: UTF-8
|
221
258
|
string: |-
|
222
259
|
<?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-
|
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>2016-01-28T19:35:31.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
224
261
|
http_version:
|
225
|
-
recorded_at: Thu,
|
262
|
+
recorded_at: Thu, 28 Jan 2016 19:35:31 GMT
|
226
263
|
- request:
|
227
264
|
method: get
|
228
|
-
uri: https://file-manager-tests.s3.amazonaws.com/?
|
265
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=sub_dir/sav
|
229
266
|
body:
|
230
|
-
encoding:
|
267
|
+
encoding: ASCII-8BIT
|
231
268
|
string: ''
|
232
269
|
headers:
|
233
270
|
Content-Type:
|
@@ -235,11 +272,18 @@ http_interactions:
|
|
235
272
|
Accept-Encoding:
|
236
273
|
- ''
|
237
274
|
User-Agent:
|
238
|
-
- aws-sdk-
|
239
|
-
Date:
|
240
|
-
-
|
275
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
276
|
+
X-Amz-Date:
|
277
|
+
- 20160128T193531Z
|
278
|
+
Host:
|
279
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
280
|
+
X-Amz-Content-Sha256:
|
281
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
241
282
|
Authorization:
|
242
|
-
-
|
283
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
284
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=ca50b8dc53a69f8f0b0caa188a63ecdbf1230a4b91d5f1d656a40a2007a51aec
|
285
|
+
Content-Length:
|
286
|
+
- '0'
|
243
287
|
Accept:
|
244
288
|
- "*/*"
|
245
289
|
response:
|
@@ -248,11 +292,11 @@ http_interactions:
|
|
248
292
|
message: OK
|
249
293
|
headers:
|
250
294
|
X-Amz-Id-2:
|
251
|
-
-
|
295
|
+
- Cimml2CTZ91gx9ggfMjKsa07ynijJz5CEUwYrsZ+aW7j72k0Ly+jlxxnhqj1WzIV2WDnzaAsBSY=
|
252
296
|
X-Amz-Request-Id:
|
253
|
-
-
|
297
|
+
- 2F373C78421448A1
|
254
298
|
Date:
|
255
|
-
- Thu,
|
299
|
+
- Thu, 28 Jan 2016 19:35:35 GMT
|
256
300
|
X-Amz-Bucket-Region:
|
257
301
|
- us-west-2
|
258
302
|
Content-Type:
|
@@ -265,14 +309,14 @@ http_interactions:
|
|
265
309
|
encoding: UTF-8
|
266
310
|
string: |-
|
267
311
|
<?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-
|
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>2016-01-28T19:35:31.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
269
313
|
http_version:
|
270
|
-
recorded_at: Thu,
|
314
|
+
recorded_at: Thu, 28 Jan 2016 19:35:32 GMT
|
271
315
|
- request:
|
272
316
|
method: delete
|
273
|
-
uri: https://file-manager-tests.s3.amazonaws.com/sub_dir/saved.*
|
317
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/sub_dir/saved.*
|
274
318
|
body:
|
275
|
-
encoding:
|
319
|
+
encoding: ASCII-8BIT
|
276
320
|
string: ''
|
277
321
|
headers:
|
278
322
|
Content-Type:
|
@@ -280,11 +324,18 @@ http_interactions:
|
|
280
324
|
Accept-Encoding:
|
281
325
|
- ''
|
282
326
|
User-Agent:
|
283
|
-
- aws-sdk-
|
284
|
-
Date:
|
285
|
-
-
|
327
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
328
|
+
X-Amz-Date:
|
329
|
+
- 20160128T193532Z
|
330
|
+
Host:
|
331
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
332
|
+
X-Amz-Content-Sha256:
|
333
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
286
334
|
Authorization:
|
287
|
-
-
|
335
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
336
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=9e22ee06f345574c2fa260721d50cc525fcfa53419c1279f68a1f4a955a25339
|
337
|
+
Content-Length:
|
338
|
+
- '0'
|
288
339
|
Accept:
|
289
340
|
- "*/*"
|
290
341
|
response:
|
@@ -293,23 +344,23 @@ http_interactions:
|
|
293
344
|
message: No Content
|
294
345
|
headers:
|
295
346
|
X-Amz-Id-2:
|
296
|
-
-
|
347
|
+
- PP4mN2fCfHsVCsXEsrXDNBtbri2Xna4TdZ984SWTyCQ9/0TqPwe7n2WtU4tQzg97dW/T6U1nXa4=
|
297
348
|
X-Amz-Request-Id:
|
298
|
-
-
|
349
|
+
- DB832E715219541D
|
299
350
|
Date:
|
300
|
-
- Thu,
|
351
|
+
- Thu, 28 Jan 2016 19:35:36 GMT
|
301
352
|
Server:
|
302
353
|
- AmazonS3
|
303
354
|
body:
|
304
355
|
encoding: UTF-8
|
305
356
|
string: ''
|
306
357
|
http_version:
|
307
|
-
recorded_at: Thu,
|
358
|
+
recorded_at: Thu, 28 Jan 2016 19:35:33 GMT
|
308
359
|
- request:
|
309
360
|
method: get
|
310
|
-
uri: https://file-manager-tests.s3.amazonaws.com/?
|
361
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=
|
311
362
|
body:
|
312
|
-
encoding:
|
363
|
+
encoding: ASCII-8BIT
|
313
364
|
string: ''
|
314
365
|
headers:
|
315
366
|
Content-Type:
|
@@ -317,11 +368,18 @@ http_interactions:
|
|
317
368
|
Accept-Encoding:
|
318
369
|
- ''
|
319
370
|
User-Agent:
|
320
|
-
- aws-sdk-
|
321
|
-
Date:
|
322
|
-
-
|
371
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
372
|
+
X-Amz-Date:
|
373
|
+
- 20160128T193533Z
|
374
|
+
Host:
|
375
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
376
|
+
X-Amz-Content-Sha256:
|
377
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
323
378
|
Authorization:
|
324
|
-
-
|
379
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
380
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=501e284a76e180c6f9e9666a5a3b7f169adff7f509ba2bfb03f7e247f16902ef
|
381
|
+
Content-Length:
|
382
|
+
- '0'
|
325
383
|
Accept:
|
326
384
|
- "*/*"
|
327
385
|
response:
|
@@ -330,11 +388,11 @@ http_interactions:
|
|
330
388
|
message: OK
|
331
389
|
headers:
|
332
390
|
X-Amz-Id-2:
|
333
|
-
-
|
391
|
+
- nDmRpUc2kWCsvTdx9aQDoyV2OxZ6S9WUFasKJ2ihXrZGZXszer1gYoUM3ll9F4xGweJDfVicsGY=
|
334
392
|
X-Amz-Request-Id:
|
335
|
-
-
|
393
|
+
- D8D4171CFF2DEF13
|
336
394
|
Date:
|
337
|
-
- Thu,
|
395
|
+
- Thu, 28 Jan 2016 19:35:37 GMT
|
338
396
|
X-Amz-Bucket-Region:
|
339
397
|
- us-west-2
|
340
398
|
Content-Type:
|
@@ -347,7 +405,7 @@ http_interactions:
|
|
347
405
|
encoding: UTF-8
|
348
406
|
string: |-
|
349
407
|
<?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>
|
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>
|
351
409
|
http_version:
|
352
|
-
recorded_at: Thu,
|
410
|
+
recorded_at: Thu, 28 Jan 2016 19:35:34 GMT
|
353
411
|
recorded_with: VCR 3.0.1
|
@@ -2,9 +2,9 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://file-manager-tests.s3.amazonaws.com/not_saved
|
5
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/not_saved
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: ASCII-8BIT
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
@@ -12,11 +12,18 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- ''
|
14
14
|
User-Agent:
|
15
|
-
- aws-sdk-
|
16
|
-
Date:
|
17
|
-
-
|
15
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
16
|
+
X-Amz-Date:
|
17
|
+
- 20160128T193534Z
|
18
|
+
Host:
|
19
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
20
|
+
X-Amz-Content-Sha256:
|
21
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
18
22
|
Authorization:
|
19
|
-
-
|
23
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
24
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=93e1c7b13878fd3088d886c51569a96344c2deaec0d0735560d6126d2faa5636
|
25
|
+
Content-Length:
|
26
|
+
- '0'
|
20
27
|
Accept:
|
21
28
|
- "*/*"
|
22
29
|
response:
|
@@ -25,43 +32,52 @@ http_interactions:
|
|
25
32
|
message: Not Found
|
26
33
|
headers:
|
27
34
|
X-Amz-Request-Id:
|
28
|
-
-
|
35
|
+
- 1381BACA1293306F
|
29
36
|
X-Amz-Id-2:
|
30
|
-
-
|
37
|
+
- ju9z+M3Gt5HDFfA7efZZdHFTKUHnd/k72g8AHR1ZiJGfA7q4ot96p8vBWBt43admYh4Ve32cp0w=
|
31
38
|
Content-Type:
|
32
39
|
- application/xml
|
33
40
|
Transfer-Encoding:
|
34
41
|
- chunked
|
35
42
|
Date:
|
36
|
-
- Thu,
|
43
|
+
- Thu, 28 Jan 2016 19:35:36 GMT
|
37
44
|
Server:
|
38
45
|
- AmazonS3
|
39
46
|
body:
|
40
47
|
encoding: UTF-8
|
41
48
|
string: |-
|
42
49
|
<?xml version="1.0" encoding="UTF-8"?>
|
43
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>not_saved</Key><RequestId>
|
50
|
+
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>not_saved</Key><RequestId>1381BACA1293306F</RequestId><HostId>ju9z+M3Gt5HDFfA7efZZdHFTKUHnd/k72g8AHR1ZiJGfA7q4ot96p8vBWBt43admYh4Ve32cp0w=</HostId></Error>
|
44
51
|
http_version:
|
45
|
-
recorded_at: Thu,
|
52
|
+
recorded_at: Thu, 28 Jan 2016 19:35:35 GMT
|
46
53
|
- request:
|
47
54
|
method: put
|
48
|
-
uri: https://file-manager-tests.s3.amazonaws.com/saved
|
55
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
49
56
|
body:
|
50
|
-
encoding:
|
57
|
+
encoding: UTF-8
|
51
58
|
string: content
|
52
59
|
headers:
|
53
60
|
Content-Type:
|
54
61
|
- ''
|
55
62
|
Accept-Encoding:
|
56
63
|
- ''
|
57
|
-
Content-Length:
|
58
|
-
- '7'
|
59
64
|
User-Agent:
|
60
|
-
- aws-sdk-
|
61
|
-
|
62
|
-
-
|
65
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
66
|
+
Expect:
|
67
|
+
- 100-continue
|
68
|
+
Content-Md5:
|
69
|
+
- mgNkuembtIDdJeHwKEyFVQ==
|
70
|
+
X-Amz-Date:
|
71
|
+
- 20160128T193535Z
|
72
|
+
Host:
|
73
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
74
|
+
X-Amz-Content-Sha256:
|
75
|
+
- ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
|
63
76
|
Authorization:
|
64
|
-
-
|
77
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
78
|
+
SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=6738efc49b77729f7b57e9e8227e533e1b59692eca954877f346fcf305206cbe
|
79
|
+
Content-Length:
|
80
|
+
- '7'
|
65
81
|
Accept:
|
66
82
|
- "*/*"
|
67
83
|
response:
|
@@ -70,11 +86,11 @@ http_interactions:
|
|
70
86
|
message: OK
|
71
87
|
headers:
|
72
88
|
X-Amz-Id-2:
|
73
|
-
-
|
89
|
+
- 7VXY2ofiCBv/Hh+eCR+hkOZ0+oJ9ANGMuGrM6TYPyfE9M4hO6hgDx78+zuBad5iJ+rgI90AguzY=
|
74
90
|
X-Amz-Request-Id:
|
75
|
-
-
|
91
|
+
- B1307A37B4458A89
|
76
92
|
Date:
|
77
|
-
- Thu,
|
93
|
+
- Thu, 28 Jan 2016 19:35:39 GMT
|
78
94
|
Etag:
|
79
95
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
80
96
|
Content-Length:
|
@@ -85,12 +101,12 @@ http_interactions:
|
|
85
101
|
encoding: UTF-8
|
86
102
|
string: ''
|
87
103
|
http_version:
|
88
|
-
recorded_at: Thu,
|
104
|
+
recorded_at: Thu, 28 Jan 2016 19:35:36 GMT
|
89
105
|
- request:
|
90
106
|
method: get
|
91
|
-
uri: https://file-manager-tests.s3.amazonaws.com/saved
|
107
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
92
108
|
body:
|
93
|
-
encoding:
|
109
|
+
encoding: ASCII-8BIT
|
94
110
|
string: ''
|
95
111
|
headers:
|
96
112
|
Content-Type:
|
@@ -98,11 +114,18 @@ http_interactions:
|
|
98
114
|
Accept-Encoding:
|
99
115
|
- ''
|
100
116
|
User-Agent:
|
101
|
-
- aws-sdk-
|
102
|
-
Date:
|
103
|
-
-
|
117
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
118
|
+
X-Amz-Date:
|
119
|
+
- 20160128T193536Z
|
120
|
+
Host:
|
121
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
122
|
+
X-Amz-Content-Sha256:
|
123
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
104
124
|
Authorization:
|
105
|
-
-
|
125
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
126
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=8894e47cac7a1cbdb36800ecf2c37280d8bca59159b0054a33b158b65ec4476c
|
127
|
+
Content-Length:
|
128
|
+
- '0'
|
106
129
|
Accept:
|
107
130
|
- "*/*"
|
108
131
|
response:
|
@@ -111,13 +134,13 @@ http_interactions:
|
|
111
134
|
message: OK
|
112
135
|
headers:
|
113
136
|
X-Amz-Id-2:
|
114
|
-
-
|
137
|
+
- ntvzL9XDPbPTFt+qufQRxURka8k+NX0o8VXKoY+67myssWOiDTwXnq1PK/8fPkJLJbaU9Iy+i6U=
|
115
138
|
X-Amz-Request-Id:
|
116
|
-
-
|
139
|
+
- 3287E524B6003DC1
|
117
140
|
Date:
|
118
|
-
- Thu,
|
141
|
+
- Thu, 28 Jan 2016 19:35:40 GMT
|
119
142
|
Last-Modified:
|
120
|
-
- Thu,
|
143
|
+
- Thu, 28 Jan 2016 19:35:39 GMT
|
121
144
|
Etag:
|
122
145
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
123
146
|
Accept-Ranges:
|
@@ -132,12 +155,12 @@ http_interactions:
|
|
132
155
|
encoding: UTF-8
|
133
156
|
string: content
|
134
157
|
http_version:
|
135
|
-
recorded_at: Thu,
|
158
|
+
recorded_at: Thu, 28 Jan 2016 19:35:37 GMT
|
136
159
|
- request:
|
137
160
|
method: delete
|
138
|
-
uri: https://file-manager-tests.s3.amazonaws.com/saved
|
161
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
139
162
|
body:
|
140
|
-
encoding:
|
163
|
+
encoding: ASCII-8BIT
|
141
164
|
string: ''
|
142
165
|
headers:
|
143
166
|
Content-Type:
|
@@ -145,11 +168,18 @@ http_interactions:
|
|
145
168
|
Accept-Encoding:
|
146
169
|
- ''
|
147
170
|
User-Agent:
|
148
|
-
- aws-sdk-
|
149
|
-
Date:
|
150
|
-
-
|
171
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
172
|
+
X-Amz-Date:
|
173
|
+
- 20160128T193537Z
|
174
|
+
Host:
|
175
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
176
|
+
X-Amz-Content-Sha256:
|
177
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
151
178
|
Authorization:
|
152
|
-
-
|
179
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
180
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=caab8d3ebbae3cffd29f1473f9943a0ddccafbbaa466ebe80e0ead7b42653916
|
181
|
+
Content-Length:
|
182
|
+
- '0'
|
153
183
|
Accept:
|
154
184
|
- "*/*"
|
155
185
|
response:
|
@@ -158,23 +188,23 @@ http_interactions:
|
|
158
188
|
message: No Content
|
159
189
|
headers:
|
160
190
|
X-Amz-Id-2:
|
161
|
-
-
|
191
|
+
- 2L59/oZZ1dAnITepCrLd9LvYkpmeLQoOL0EUriI/270prdVdnH6XZf/87GdiyvwfERiqgBfF9ic=
|
162
192
|
X-Amz-Request-Id:
|
163
|
-
-
|
193
|
+
- A817FDE1AE49139E
|
164
194
|
Date:
|
165
|
-
- Thu,
|
195
|
+
- Thu, 28 Jan 2016 19:35:41 GMT
|
166
196
|
Server:
|
167
197
|
- AmazonS3
|
168
198
|
body:
|
169
199
|
encoding: UTF-8
|
170
200
|
string: ''
|
171
201
|
http_version:
|
172
|
-
recorded_at: Thu,
|
202
|
+
recorded_at: Thu, 28 Jan 2016 19:35:38 GMT
|
173
203
|
- request:
|
174
204
|
method: get
|
175
|
-
uri: https://file-manager-tests.s3.amazonaws.com/saved
|
205
|
+
uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
|
176
206
|
body:
|
177
|
-
encoding:
|
207
|
+
encoding: ASCII-8BIT
|
178
208
|
string: ''
|
179
209
|
headers:
|
180
210
|
Content-Type:
|
@@ -182,11 +212,18 @@ http_interactions:
|
|
182
212
|
Accept-Encoding:
|
183
213
|
- ''
|
184
214
|
User-Agent:
|
185
|
-
- aws-sdk-
|
186
|
-
Date:
|
187
|
-
-
|
215
|
+
- aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
|
216
|
+
X-Amz-Date:
|
217
|
+
- 20160128T193538Z
|
218
|
+
Host:
|
219
|
+
- file-manager-tests.s3-us-west-2.amazonaws.com
|
220
|
+
X-Amz-Content-Sha256:
|
221
|
+
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
188
222
|
Authorization:
|
189
|
-
-
|
223
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
|
224
|
+
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=ea7d048141eb671a29052812573e6d25b9dbf6d80ed4adf54189e10c6cd08ecd
|
225
|
+
Content-Length:
|
226
|
+
- '0'
|
190
227
|
Accept:
|
191
228
|
- "*/*"
|
192
229
|
response:
|
@@ -195,22 +232,22 @@ http_interactions:
|
|
195
232
|
message: Not Found
|
196
233
|
headers:
|
197
234
|
X-Amz-Request-Id:
|
198
|
-
-
|
235
|
+
- 2332BC9FAAD2C611
|
199
236
|
X-Amz-Id-2:
|
200
|
-
-
|
237
|
+
- u0Hq9bCMLFaOjaM2eXG3LBRuSE3FiSXRONb82Rl0ayuns5LPUsF4dtUN7kURPuDwQZxybObsYQA=
|
201
238
|
Content-Type:
|
202
239
|
- application/xml
|
203
240
|
Transfer-Encoding:
|
204
241
|
- chunked
|
205
242
|
Date:
|
206
|
-
- Thu,
|
243
|
+
- Thu, 28 Jan 2016 19:35:40 GMT
|
207
244
|
Server:
|
208
245
|
- AmazonS3
|
209
246
|
body:
|
210
247
|
encoding: UTF-8
|
211
248
|
string: |-
|
212
249
|
<?xml version="1.0" encoding="UTF-8"?>
|
213
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>saved</Key><RequestId>
|
250
|
+
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>saved</Key><RequestId>2332BC9FAAD2C611</RequestId><HostId>u0Hq9bCMLFaOjaM2eXG3LBRuSE3FiSXRONb82Rl0ayuns5LPUsF4dtUN7kURPuDwQZxybObsYQA=</HostId></Error>
|
214
251
|
http_version:
|
215
|
-
recorded_at: Thu,
|
252
|
+
recorded_at: Thu, 28 Jan 2016 19:35:39 GMT
|
216
253
|
recorded_with: VCR 3.0.1
|