file-manager 0.4.0 → 0.5.0
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/.travis.yml +2 -2
- data/Gemfile.lock +27 -28
- data/README.md +8 -0
- data/file-manager.gemspec +1 -1
- data/lib/local_file_manager.rb +9 -0
- data/lib/memory_file_manager.rb +8 -0
- data/lib/s3_file_manager.rb +8 -0
- data/test/file_manager_test.rb +16 -0
- data/test/local_file_manager_test.rb +1 -0
- data/test/memory_file_manager_test.rb +1 -0
- data/test/test_helper.rb +1 -1
- data/test/vcr_cassettes/test_downloading_to_temp_file.yml +47 -50
- data/test/vcr_cassettes/test_listing_files.yml +101 -108
- data/test/vcr_cassettes/test_listing_files_in_sub_dir.yml +101 -108
- data/test/vcr_cassettes/test_reading.yml +59 -63
- data/test/vcr_cassettes/test_reading_in_sub_dir.yml +59 -63
- data/test/vcr_cassettes/test_remove_not_existing_file_dont_raise.yml +25 -27
- data/test/vcr_cassettes/test_rename_file.yml +641 -0
- metadata +5 -4
@@ -2,9 +2,9 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
5
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: UTF-8
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
@@ -12,16 +12,16 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- ''
|
14
14
|
User-Agent:
|
15
|
-
- aws-sdk-
|
16
|
-
X-Amz-Date:
|
17
|
-
- 20170905T193104Z
|
15
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
18
16
|
Host:
|
19
|
-
- file-manager-tests.s3
|
17
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
18
|
+
X-Amz-Date:
|
19
|
+
- 20201111T144018Z
|
20
20
|
X-Amz-Content-Sha256:
|
21
21
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
22
22
|
Authorization:
|
23
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
24
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
23
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
24
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=f2e1ec9288a07e3e2ad900bedaf3c17d04a72d03aaada4807418cc62214fc2f0
|
25
25
|
Content-Length:
|
26
26
|
- '0'
|
27
27
|
Accept:
|
@@ -32,11 +32,11 @@ http_interactions:
|
|
32
32
|
message: OK
|
33
33
|
headers:
|
34
34
|
X-Amz-Id-2:
|
35
|
-
-
|
35
|
+
- MjQ61kWV+ZgURkpPomLI5jR4IgCAW/Mg4Qg1TBncZhnn9mIfskGesKAOecml+8J9SCXUc5CZZC4=
|
36
36
|
X-Amz-Request-Id:
|
37
|
-
-
|
37
|
+
- 8DA1B143E040D042
|
38
38
|
Date:
|
39
|
-
-
|
39
|
+
- Wed, 11 Nov 2020 14:40:20 GMT
|
40
40
|
X-Amz-Bucket-Region:
|
41
41
|
- us-west-2
|
42
42
|
Content-Type:
|
@@ -49,9 +49,8 @@ http_interactions:
|
|
49
49
|
encoding: UTF-8
|
50
50
|
string: |-
|
51
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><
|
53
|
-
|
54
|
-
recorded_at: Tue, 05 Sep 2017 19:31:05 GMT
|
52
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
53
|
+
recorded_at: Wed, 11 Nov 2020 14:40:19 GMT
|
55
54
|
- request:
|
56
55
|
method: put
|
57
56
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/sub_dir/saved.*
|
@@ -64,20 +63,21 @@ http_interactions:
|
|
64
63
|
Accept-Encoding:
|
65
64
|
- ''
|
66
65
|
User-Agent:
|
67
|
-
- aws-sdk-
|
66
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
68
67
|
Expect:
|
69
68
|
- 100-continue
|
70
69
|
Content-Md5:
|
71
70
|
- mgNkuembtIDdJeHwKEyFVQ==
|
72
|
-
X-Amz-Date:
|
73
|
-
- 20170905T193105Z
|
74
71
|
Host:
|
75
|
-
- file-manager-tests.s3
|
72
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
73
|
+
X-Amz-Date:
|
74
|
+
- 20201111T144019Z
|
76
75
|
X-Amz-Content-Sha256:
|
77
76
|
- ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
|
78
77
|
Authorization:
|
79
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
80
|
-
SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date,
|
78
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
79
|
+
SignedHeaders=content-md5;host;user-agent;x-amz-content-sha256;x-amz-date,
|
80
|
+
Signature=41a0cd1e2a987cf4c0b774c57ee7ceb6e6cbd05f7bddad719a6b100fbdd10b0a
|
81
81
|
Content-Length:
|
82
82
|
- '7'
|
83
83
|
Accept:
|
@@ -88,11 +88,11 @@ http_interactions:
|
|
88
88
|
message: OK
|
89
89
|
headers:
|
90
90
|
X-Amz-Id-2:
|
91
|
-
-
|
91
|
+
- nBYs5wt3LROc9sxJUyRJ1rK9q4ULmZbucV+Rhjdvk8hseyzRNBCGiz0o3ogP/Tp4BjM7MycXBFs=
|
92
92
|
X-Amz-Request-Id:
|
93
|
-
-
|
93
|
+
- B0FA4DB45138F284
|
94
94
|
Date:
|
95
|
-
-
|
95
|
+
- Wed, 11 Nov 2020 14:40:20 GMT
|
96
96
|
Etag:
|
97
97
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
98
98
|
Content-Length:
|
@@ -102,13 +102,12 @@ http_interactions:
|
|
102
102
|
body:
|
103
103
|
encoding: UTF-8
|
104
104
|
string: ''
|
105
|
-
|
106
|
-
recorded_at: Tue, 05 Sep 2017 19:31:06 GMT
|
105
|
+
recorded_at: Wed, 11 Nov 2020 14:40:20 GMT
|
107
106
|
- request:
|
108
107
|
method: get
|
109
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
108
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=other_prefix
|
110
109
|
body:
|
111
|
-
encoding:
|
110
|
+
encoding: UTF-8
|
112
111
|
string: ''
|
113
112
|
headers:
|
114
113
|
Content-Type:
|
@@ -116,16 +115,16 @@ http_interactions:
|
|
116
115
|
Accept-Encoding:
|
117
116
|
- ''
|
118
117
|
User-Agent:
|
119
|
-
- aws-sdk-
|
120
|
-
X-Amz-Date:
|
121
|
-
- 20170905T193106Z
|
118
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
122
119
|
Host:
|
123
|
-
- file-manager-tests.s3
|
120
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
121
|
+
X-Amz-Date:
|
122
|
+
- 20201111T144020Z
|
124
123
|
X-Amz-Content-Sha256:
|
125
124
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
126
125
|
Authorization:
|
127
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
128
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
126
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
127
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=0212ca17339c539b77015fa41fcc830d9adadd1d92348f1a56be58652ac8127b
|
129
128
|
Content-Length:
|
130
129
|
- '0'
|
131
130
|
Accept:
|
@@ -136,11 +135,11 @@ http_interactions:
|
|
136
135
|
message: OK
|
137
136
|
headers:
|
138
137
|
X-Amz-Id-2:
|
139
|
-
-
|
138
|
+
- hhto2IXraD83vhJhlt1/HVSYfrlXIpOZOeTcBcjzbOmlBx5gHmof+OS3/VcqFRwyxgSOYeOdl1o=
|
140
139
|
X-Amz-Request-Id:
|
141
|
-
-
|
140
|
+
- F1F728F2FD989D47
|
142
141
|
Date:
|
143
|
-
-
|
142
|
+
- Wed, 11 Nov 2020 14:40:21 GMT
|
144
143
|
X-Amz-Bucket-Region:
|
145
144
|
- us-west-2
|
146
145
|
Content-Type:
|
@@ -153,14 +152,13 @@ http_interactions:
|
|
153
152
|
encoding: UTF-8
|
154
153
|
string: |-
|
155
154
|
<?xml version="1.0" encoding="UTF-8"?>
|
156
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>other_prefix</Prefix><
|
157
|
-
|
158
|
-
recorded_at: Tue, 05 Sep 2017 19:31:07 GMT
|
155
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>other_prefix</Prefix><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
156
|
+
recorded_at: Wed, 11 Nov 2020 14:40:20 GMT
|
159
157
|
- request:
|
160
158
|
method: get
|
161
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
159
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=sav
|
162
160
|
body:
|
163
|
-
encoding:
|
161
|
+
encoding: UTF-8
|
164
162
|
string: ''
|
165
163
|
headers:
|
166
164
|
Content-Type:
|
@@ -168,16 +166,16 @@ http_interactions:
|
|
168
166
|
Accept-Encoding:
|
169
167
|
- ''
|
170
168
|
User-Agent:
|
171
|
-
- aws-sdk-
|
172
|
-
X-Amz-Date:
|
173
|
-
- 20170905T193107Z
|
169
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
174
170
|
Host:
|
175
|
-
- file-manager-tests.s3
|
171
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
172
|
+
X-Amz-Date:
|
173
|
+
- 20201111T144020Z
|
176
174
|
X-Amz-Content-Sha256:
|
177
175
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
178
176
|
Authorization:
|
179
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
180
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
177
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
178
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=3971d7975233711cfe715e655f053b0b0efa41eab1864d57bcca824dc8f3ffb6
|
181
179
|
Content-Length:
|
182
180
|
- '0'
|
183
181
|
Accept:
|
@@ -188,11 +186,11 @@ http_interactions:
|
|
188
186
|
message: OK
|
189
187
|
headers:
|
190
188
|
X-Amz-Id-2:
|
191
|
-
-
|
189
|
+
- YQGgjJPPejjDv9UKmiX3xNhB+0m9tHlz0Er+TdAHu7lMG3BMb92vSwfnV0W+INc/Umm477dS4Xg=
|
192
190
|
X-Amz-Request-Id:
|
193
|
-
-
|
191
|
+
- E879F4DD0BA416AF
|
194
192
|
Date:
|
195
|
-
-
|
193
|
+
- Wed, 11 Nov 2020 14:40:22 GMT
|
196
194
|
X-Amz-Bucket-Region:
|
197
195
|
- us-west-2
|
198
196
|
Content-Type:
|
@@ -205,14 +203,13 @@ http_interactions:
|
|
205
203
|
encoding: UTF-8
|
206
204
|
string: |-
|
207
205
|
<?xml version="1.0" encoding="UTF-8"?>
|
208
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><
|
209
|
-
|
210
|
-
recorded_at: Tue, 05 Sep 2017 19:31:08 GMT
|
206
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
207
|
+
recorded_at: Wed, 11 Nov 2020 14:40:21 GMT
|
211
208
|
- request:
|
212
209
|
method: get
|
213
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
210
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
|
214
211
|
body:
|
215
|
-
encoding:
|
212
|
+
encoding: UTF-8
|
216
213
|
string: ''
|
217
214
|
headers:
|
218
215
|
Content-Type:
|
@@ -220,16 +217,16 @@ http_interactions:
|
|
220
217
|
Accept-Encoding:
|
221
218
|
- ''
|
222
219
|
User-Agent:
|
223
|
-
- aws-sdk-
|
224
|
-
X-Amz-Date:
|
225
|
-
- 20170905T193108Z
|
220
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
226
221
|
Host:
|
227
|
-
- file-manager-tests.s3
|
222
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
223
|
+
X-Amz-Date:
|
224
|
+
- 20201111T144021Z
|
228
225
|
X-Amz-Content-Sha256:
|
229
226
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
230
227
|
Authorization:
|
231
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
232
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
228
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
229
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=52a91efa438aceadc3b128161cb61ae77e21cc9e64f8259ed855f4df7d04e9d0
|
233
230
|
Content-Length:
|
234
231
|
- '0'
|
235
232
|
Accept:
|
@@ -240,11 +237,11 @@ http_interactions:
|
|
240
237
|
message: OK
|
241
238
|
headers:
|
242
239
|
X-Amz-Id-2:
|
243
|
-
-
|
240
|
+
- ShEEVGSSn/tHa9wSkWGvUiu1lBf0ykkKZBW911frgAJUxGK/cBCR9UeQsPASl0CnRZqP90o5YTQ=
|
244
241
|
X-Amz-Request-Id:
|
245
|
-
-
|
242
|
+
- 6J9NBKFG3M1MDK0P
|
246
243
|
Date:
|
247
|
-
-
|
244
|
+
- Wed, 11 Nov 2020 14:40:23 GMT
|
248
245
|
X-Amz-Bucket-Region:
|
249
246
|
- us-west-2
|
250
247
|
Content-Type:
|
@@ -257,14 +254,13 @@ http_interactions:
|
|
257
254
|
encoding: UTF-8
|
258
255
|
string: |-
|
259
256
|
<?xml version="1.0" encoding="UTF-8"?>
|
260
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><
|
261
|
-
|
262
|
-
recorded_at: Tue, 05 Sep 2017 19:31:08 GMT
|
257
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>1</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>sub_dir/saved.*</Key><LastModified>2020-11-11T14:40:20.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
258
|
+
recorded_at: Wed, 11 Nov 2020 14:40:22 GMT
|
263
259
|
- request:
|
264
260
|
method: get
|
265
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
261
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=sub_dir/sav
|
266
262
|
body:
|
267
|
-
encoding:
|
263
|
+
encoding: UTF-8
|
268
264
|
string: ''
|
269
265
|
headers:
|
270
266
|
Content-Type:
|
@@ -272,16 +268,16 @@ http_interactions:
|
|
272
268
|
Accept-Encoding:
|
273
269
|
- ''
|
274
270
|
User-Agent:
|
275
|
-
- aws-sdk-
|
276
|
-
X-Amz-Date:
|
277
|
-
- 20170905T193108Z
|
271
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
278
272
|
Host:
|
279
|
-
- file-manager-tests.s3
|
273
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
274
|
+
X-Amz-Date:
|
275
|
+
- 20201111T144022Z
|
280
276
|
X-Amz-Content-Sha256:
|
281
277
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
282
278
|
Authorization:
|
283
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
284
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
279
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
280
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=0286bf31dcab26153b557f582c2aae440dd175973cd6db531c8a5ac4d36e2b5c
|
285
281
|
Content-Length:
|
286
282
|
- '0'
|
287
283
|
Accept:
|
@@ -292,11 +288,11 @@ http_interactions:
|
|
292
288
|
message: OK
|
293
289
|
headers:
|
294
290
|
X-Amz-Id-2:
|
295
|
-
-
|
291
|
+
- Ws7MwjYxA30EVluW0uzrTCfK6Lh3CPSXdAfuIhUd3zAx6HsbjcRxSpaUiR5FOtVUecAC9wOvLBE=
|
296
292
|
X-Amz-Request-Id:
|
297
|
-
-
|
293
|
+
- B6091C8654B4EBF1
|
298
294
|
Date:
|
299
|
-
-
|
295
|
+
- Wed, 11 Nov 2020 14:40:24 GMT
|
300
296
|
X-Amz-Bucket-Region:
|
301
297
|
- us-west-2
|
302
298
|
Content-Type:
|
@@ -309,14 +305,13 @@ http_interactions:
|
|
309
305
|
encoding: UTF-8
|
310
306
|
string: |-
|
311
307
|
<?xml version="1.0" encoding="UTF-8"?>
|
312
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sub_dir/sav</Prefix><
|
313
|
-
|
314
|
-
recorded_at: Tue, 05 Sep 2017 19:31:09 GMT
|
308
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sub_dir/sav</Prefix><KeyCount>1</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>sub_dir/saved.*</Key><LastModified>2020-11-11T14:40:20.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
309
|
+
recorded_at: Wed, 11 Nov 2020 14:40:23 GMT
|
315
310
|
- request:
|
316
311
|
method: delete
|
317
312
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/sub_dir/saved.*
|
318
313
|
body:
|
319
|
-
encoding:
|
314
|
+
encoding: UTF-8
|
320
315
|
string: ''
|
321
316
|
headers:
|
322
317
|
Content-Type:
|
@@ -324,16 +319,16 @@ http_interactions:
|
|
324
319
|
Accept-Encoding:
|
325
320
|
- ''
|
326
321
|
User-Agent:
|
327
|
-
- aws-sdk-
|
328
|
-
X-Amz-Date:
|
329
|
-
- 20170905T193109Z
|
322
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
330
323
|
Host:
|
331
|
-
- file-manager-tests.s3
|
324
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
325
|
+
X-Amz-Date:
|
326
|
+
- 20201111T144023Z
|
332
327
|
X-Amz-Content-Sha256:
|
333
328
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
334
329
|
Authorization:
|
335
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
336
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
330
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
331
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=ecd4dd968d7a513501e5dc6aeb6efeb696dfa015fae6f74615751797778aa1ca
|
337
332
|
Content-Length:
|
338
333
|
- '0'
|
339
334
|
Accept:
|
@@ -344,23 +339,22 @@ http_interactions:
|
|
344
339
|
message: No Content
|
345
340
|
headers:
|
346
341
|
X-Amz-Id-2:
|
347
|
-
-
|
342
|
+
- SCotKSRoO8Ft2S4rKxkvzUfWHDKjfLpeU3EYd9mvZZAoi/8iYXIKM8TwVAkte7snM9Bng3ourQs=
|
348
343
|
X-Amz-Request-Id:
|
349
|
-
-
|
344
|
+
- DA2C161775443E9A
|
350
345
|
Date:
|
351
|
-
-
|
346
|
+
- Wed, 11 Nov 2020 14:40:24 GMT
|
352
347
|
Server:
|
353
348
|
- AmazonS3
|
354
349
|
body:
|
355
350
|
encoding: UTF-8
|
356
351
|
string: ''
|
357
|
-
|
358
|
-
recorded_at: Tue, 05 Sep 2017 19:31:10 GMT
|
352
|
+
recorded_at: Wed, 11 Nov 2020 14:40:24 GMT
|
359
353
|
- request:
|
360
354
|
method: get
|
361
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
355
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
|
362
356
|
body:
|
363
|
-
encoding:
|
357
|
+
encoding: UTF-8
|
364
358
|
string: ''
|
365
359
|
headers:
|
366
360
|
Content-Type:
|
@@ -368,16 +362,16 @@ http_interactions:
|
|
368
362
|
Accept-Encoding:
|
369
363
|
- ''
|
370
364
|
User-Agent:
|
371
|
-
- aws-sdk-
|
372
|
-
X-Amz-Date:
|
373
|
-
- 20170905T193110Z
|
365
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
374
366
|
Host:
|
375
|
-
- file-manager-tests.s3
|
367
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
368
|
+
X-Amz-Date:
|
369
|
+
- 20201111T144024Z
|
376
370
|
X-Amz-Content-Sha256:
|
377
371
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
378
372
|
Authorization:
|
379
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
380
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
373
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
374
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=2cacb430714122bb417aad37ecf722891187f17f08e1089677ecf7f26157a966
|
381
375
|
Content-Length:
|
382
376
|
- '0'
|
383
377
|
Accept:
|
@@ -388,11 +382,11 @@ http_interactions:
|
|
388
382
|
message: OK
|
389
383
|
headers:
|
390
384
|
X-Amz-Id-2:
|
391
|
-
-
|
385
|
+
- yx8IQB+M9svDzmQ2n7YLmX6H+u8aZw//NnKgMAI2oVD25ATaHMHQDAyq5mGFg306JekU6wZaln4=
|
392
386
|
X-Amz-Request-Id:
|
393
|
-
-
|
387
|
+
- 9494C74B3135C537
|
394
388
|
Date:
|
395
|
-
-
|
389
|
+
- Wed, 11 Nov 2020 14:40:25 GMT
|
396
390
|
X-Amz-Bucket-Region:
|
397
391
|
- us-west-2
|
398
392
|
Content-Type:
|
@@ -405,7 +399,6 @@ http_interactions:
|
|
405
399
|
encoding: UTF-8
|
406
400
|
string: |-
|
407
401
|
<?xml version="1.0" encoding="UTF-8"?>
|
408
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><
|
409
|
-
|
410
|
-
|
411
|
-
recorded_with: VCR 3.0.1
|
402
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
403
|
+
recorded_at: Wed, 11 Nov 2020 14:40:24 GMT
|
404
|
+
recorded_with: VCR 6.0.0
|
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: get
|
5
5
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/not_saved
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: UTF-8
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
@@ -12,16 +12,16 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- ''
|
14
14
|
User-Agent:
|
15
|
-
- aws-sdk-
|
16
|
-
X-Amz-Date:
|
17
|
-
- 20170905T193114Z
|
15
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
18
16
|
Host:
|
19
|
-
- file-manager-tests.s3
|
17
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
18
|
+
X-Amz-Date:
|
19
|
+
- 20201111T144014Z
|
20
20
|
X-Amz-Content-Sha256:
|
21
21
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
22
22
|
Authorization:
|
23
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
24
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
23
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
24
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=ead19690d8b72003b02fdbccaeab83ae82230a21a143c0cddefac260d5965aee
|
25
25
|
Content-Length:
|
26
26
|
- '0'
|
27
27
|
Accept:
|
@@ -32,24 +32,23 @@ http_interactions:
|
|
32
32
|
message: Not Found
|
33
33
|
headers:
|
34
34
|
X-Amz-Request-Id:
|
35
|
-
-
|
35
|
+
- 4F14D49CEB989739
|
36
36
|
X-Amz-Id-2:
|
37
|
-
-
|
37
|
+
- mT2NZVPcJxsyCBVVfo3yUj6XJwnIIaVFvLJuw1Z0Q6tEZ1uJZKA+L91YEcNGeUQlI/OisD1yb/4=
|
38
38
|
Content-Type:
|
39
39
|
- application/xml
|
40
40
|
Transfer-Encoding:
|
41
41
|
- chunked
|
42
42
|
Date:
|
43
|
-
-
|
43
|
+
- Wed, 11 Nov 2020 14:40:14 GMT
|
44
44
|
Server:
|
45
45
|
- AmazonS3
|
46
46
|
body:
|
47
47
|
encoding: UTF-8
|
48
48
|
string: |-
|
49
49
|
<?xml version="1.0" encoding="UTF-8"?>
|
50
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>not_saved</Key><RequestId>
|
51
|
-
|
52
|
-
recorded_at: Tue, 05 Sep 2017 19:31:15 GMT
|
50
|
+
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>not_saved</Key><RequestId>4F14D49CEB989739</RequestId><HostId>mT2NZVPcJxsyCBVVfo3yUj6XJwnIIaVFvLJuw1Z0Q6tEZ1uJZKA+L91YEcNGeUQlI/OisD1yb/4=</HostId></Error>
|
51
|
+
recorded_at: Wed, 11 Nov 2020 14:40:15 GMT
|
53
52
|
- request:
|
54
53
|
method: put
|
55
54
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved
|
@@ -62,20 +61,21 @@ http_interactions:
|
|
62
61
|
Accept-Encoding:
|
63
62
|
- ''
|
64
63
|
User-Agent:
|
65
|
-
- aws-sdk-
|
64
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
66
65
|
Expect:
|
67
66
|
- 100-continue
|
68
67
|
Content-Md5:
|
69
68
|
- mgNkuembtIDdJeHwKEyFVQ==
|
70
|
-
X-Amz-Date:
|
71
|
-
- 20170905T193115Z
|
72
69
|
Host:
|
73
|
-
- file-manager-tests.s3
|
70
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
71
|
+
X-Amz-Date:
|
72
|
+
- 20201111T144015Z
|
74
73
|
X-Amz-Content-Sha256:
|
75
74
|
- ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
|
76
75
|
Authorization:
|
77
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
78
|
-
SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date,
|
76
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
77
|
+
SignedHeaders=content-md5;host;user-agent;x-amz-content-sha256;x-amz-date,
|
78
|
+
Signature=e8f0c05ec64c4fbf4d71ebf5ec5b6245be595562de95174b8794c371962cd4b4
|
79
79
|
Content-Length:
|
80
80
|
- '7'
|
81
81
|
Accept:
|
@@ -86,11 +86,11 @@ http_interactions:
|
|
86
86
|
message: OK
|
87
87
|
headers:
|
88
88
|
X-Amz-Id-2:
|
89
|
-
-
|
89
|
+
- iA1oz6Ph0Y8SyTO3rbsf2qlR5pb4vnM5TJfB+hFMyRWuaal3hNclzvidGRTw8UetgEJTrtDwh0E=
|
90
90
|
X-Amz-Request-Id:
|
91
|
-
-
|
91
|
+
- 6E0D58751BE9F7D1
|
92
92
|
Date:
|
93
|
-
-
|
93
|
+
- Wed, 11 Nov 2020 14:40:16 GMT
|
94
94
|
Etag:
|
95
95
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
96
96
|
Content-Length:
|
@@ -100,13 +100,12 @@ http_interactions:
|
|
100
100
|
body:
|
101
101
|
encoding: UTF-8
|
102
102
|
string: ''
|
103
|
-
|
104
|
-
recorded_at: Tue, 05 Sep 2017 19:31:16 GMT
|
103
|
+
recorded_at: Wed, 11 Nov 2020 14:40:16 GMT
|
105
104
|
- request:
|
106
105
|
method: get
|
107
106
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved
|
108
107
|
body:
|
109
|
-
encoding:
|
108
|
+
encoding: UTF-8
|
110
109
|
string: ''
|
111
110
|
headers:
|
112
111
|
Content-Type:
|
@@ -114,16 +113,16 @@ http_interactions:
|
|
114
113
|
Accept-Encoding:
|
115
114
|
- ''
|
116
115
|
User-Agent:
|
117
|
-
- aws-sdk-
|
118
|
-
X-Amz-Date:
|
119
|
-
- 20170905T193116Z
|
116
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
120
117
|
Host:
|
121
|
-
- file-manager-tests.s3
|
118
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
119
|
+
X-Amz-Date:
|
120
|
+
- 20201111T144016Z
|
122
121
|
X-Amz-Content-Sha256:
|
123
122
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
124
123
|
Authorization:
|
125
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
126
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
124
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
125
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=be32c1592cda7c1d23ade651400f728be25f325d10206f3a51d146bcbcf23e93
|
127
126
|
Content-Length:
|
128
127
|
- '0'
|
129
128
|
Accept:
|
@@ -134,13 +133,13 @@ http_interactions:
|
|
134
133
|
message: OK
|
135
134
|
headers:
|
136
135
|
X-Amz-Id-2:
|
137
|
-
-
|
136
|
+
- mZUW9T1+HF/HStzW1a9Mrm6XK+taiAro2YQkD3Ng/YlH048d4yWiQD2sMYcNyOdWeQImqUhhwuE=
|
138
137
|
X-Amz-Request-Id:
|
139
|
-
-
|
138
|
+
- 9J7HCV5N9XEV4MBR
|
140
139
|
Date:
|
141
|
-
-
|
140
|
+
- Wed, 11 Nov 2020 14:40:17 GMT
|
142
141
|
Last-Modified:
|
143
|
-
-
|
142
|
+
- Wed, 11 Nov 2020 14:40:16 GMT
|
144
143
|
Etag:
|
145
144
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
146
145
|
Accept-Ranges:
|
@@ -154,13 +153,12 @@ http_interactions:
|
|
154
153
|
body:
|
155
154
|
encoding: UTF-8
|
156
155
|
string: content
|
157
|
-
|
158
|
-
recorded_at: Tue, 05 Sep 2017 19:31:17 GMT
|
156
|
+
recorded_at: Wed, 11 Nov 2020 14:40:17 GMT
|
159
157
|
- request:
|
160
158
|
method: delete
|
161
159
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved
|
162
160
|
body:
|
163
|
-
encoding:
|
161
|
+
encoding: UTF-8
|
164
162
|
string: ''
|
165
163
|
headers:
|
166
164
|
Content-Type:
|
@@ -168,16 +166,16 @@ http_interactions:
|
|
168
166
|
Accept-Encoding:
|
169
167
|
- ''
|
170
168
|
User-Agent:
|
171
|
-
- aws-sdk-
|
172
|
-
X-Amz-Date:
|
173
|
-
- 20170905T193117Z
|
169
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
174
170
|
Host:
|
175
|
-
- file-manager-tests.s3
|
171
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
172
|
+
X-Amz-Date:
|
173
|
+
- 20201111T144017Z
|
176
174
|
X-Amz-Content-Sha256:
|
177
175
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
178
176
|
Authorization:
|
179
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
180
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
177
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
178
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=3279b0301a89de8e728ecf06122189cc2e03cdb4e933c0762801af13ce0f2652
|
181
179
|
Content-Length:
|
182
180
|
- '0'
|
183
181
|
Accept:
|
@@ -188,23 +186,22 @@ http_interactions:
|
|
188
186
|
message: No Content
|
189
187
|
headers:
|
190
188
|
X-Amz-Id-2:
|
191
|
-
-
|
189
|
+
- EO5tHeO7RyT+TbUNVNo230LSzprHxxT3tkE5W1JupkIL95COL5FX84XiQD+W6dKimGsJ4L9aHbE=
|
192
190
|
X-Amz-Request-Id:
|
193
|
-
-
|
191
|
+
- '082DB7C8D988F8E6'
|
194
192
|
Date:
|
195
|
-
-
|
193
|
+
- Wed, 11 Nov 2020 14:40:18 GMT
|
196
194
|
Server:
|
197
195
|
- AmazonS3
|
198
196
|
body:
|
199
197
|
encoding: UTF-8
|
200
198
|
string: ''
|
201
|
-
|
202
|
-
recorded_at: Tue, 05 Sep 2017 19:31:17 GMT
|
199
|
+
recorded_at: Wed, 11 Nov 2020 14:40:17 GMT
|
203
200
|
- request:
|
204
201
|
method: get
|
205
202
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved
|
206
203
|
body:
|
207
|
-
encoding:
|
204
|
+
encoding: UTF-8
|
208
205
|
string: ''
|
209
206
|
headers:
|
210
207
|
Content-Type:
|
@@ -212,16 +209,16 @@ http_interactions:
|
|
212
209
|
Accept-Encoding:
|
213
210
|
- ''
|
214
211
|
User-Agent:
|
215
|
-
- aws-sdk-
|
216
|
-
X-Amz-Date:
|
217
|
-
- 20170905T193117Z
|
212
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
218
213
|
Host:
|
219
|
-
- file-manager-tests.s3
|
214
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
215
|
+
X-Amz-Date:
|
216
|
+
- 20201111T144017Z
|
220
217
|
X-Amz-Content-Sha256:
|
221
218
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
222
219
|
Authorization:
|
223
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
224
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
220
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
221
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=8b45326631633039dbb18aea923774dea6870edc092a50962b796f690cf4aca1
|
225
222
|
Content-Length:
|
226
223
|
- '0'
|
227
224
|
Accept:
|
@@ -232,22 +229,21 @@ http_interactions:
|
|
232
229
|
message: Not Found
|
233
230
|
headers:
|
234
231
|
X-Amz-Request-Id:
|
235
|
-
-
|
232
|
+
- 297314E7C5CD1FD8
|
236
233
|
X-Amz-Id-2:
|
237
|
-
-
|
234
|
+
- A3nA64fZQXzpiMhgwR5WoG0qPHgvDmj5GdZxUNF8sYmG9bi5exMCtlLzyMPVHPgzdoguI2ngV4s=
|
238
235
|
Content-Type:
|
239
236
|
- application/xml
|
240
237
|
Transfer-Encoding:
|
241
238
|
- chunked
|
242
239
|
Date:
|
243
|
-
-
|
240
|
+
- Wed, 11 Nov 2020 14:40:17 GMT
|
244
241
|
Server:
|
245
242
|
- AmazonS3
|
246
243
|
body:
|
247
244
|
encoding: UTF-8
|
248
245
|
string: |-
|
249
246
|
<?xml version="1.0" encoding="UTF-8"?>
|
250
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>saved</Key><RequestId>
|
251
|
-
|
252
|
-
|
253
|
-
recorded_with: VCR 3.0.1
|
247
|
+
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>saved</Key><RequestId>297314E7C5CD1FD8</RequestId><HostId>A3nA64fZQXzpiMhgwR5WoG0qPHgvDmj5GdZxUNF8sYmG9bi5exMCtlLzyMPVHPgzdoguI2ngV4s=</HostId></Error>
|
248
|
+
recorded_at: Wed, 11 Nov 2020 14:40:18 GMT
|
249
|
+
recorded_with: VCR 6.0.0
|