file-manager 0.2.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +8 -3
- data/Gemfile +4 -0
- data/Gemfile.lock +32 -31
- data/README.md +12 -1
- data/Rakefile +1 -0
- data/file-manager.gemspec +3 -4
- data/lib/file_manager.rb +4 -0
- data/lib/local_file_manager.rb +36 -1
- data/lib/memory_file_manager.rb +21 -0
- data/lib/s3_file_manager.rb +41 -1
- data/test/coverage_test.rb +15 -0
- data/test/file_manager_test.rb +62 -0
- data/test/{local_test.rb → local_file_manager_test.rb} +3 -0
- data/test/{memory_test.rb → memory_file_manager_test.rb} +3 -0
- data/test/{s3_test.rb → s3_file_manager_test.rb} +2 -0
- data/test/test_helper.rb +3 -4
- data/test/vcr_cassettes/test_copy_file.yml +552 -0
- data/test/vcr_cassettes/test_downloading_to_temp_file.yml +253 -0
- data/test/vcr_cassettes/test_listing_files.yml +120 -119
- data/test/vcr_cassettes/test_listing_files_in_sub_dir.yml +120 -119
- data/test/vcr_cassettes/test_reading.yml +75 -74
- data/test/vcr_cassettes/test_reading_in_sub_dir.yml +75 -74
- data/test/vcr_cassettes/test_remove_not_existing_file_dont_raise.yml +26 -28
- data/test/vcr_cassettes/test_rename_file.yml +691 -0
- metadata +26 -34
@@ -2,9 +2,9 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://file-manager-tests.s3
|
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,30 +12,31 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- ''
|
14
14
|
User-Agent:
|
15
|
-
- aws-sdk-
|
16
|
-
X-Amz-Date:
|
17
|
-
- 20160128T205038Z
|
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/
|
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
|
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
|
+
- MjQ61kWV+ZgURkpPomLI5jR4IgCAW/Mg4Qg1TBncZhnn9mIfskGesKAOecml+8J9SCXUc5CZZC4=
|
35
36
|
X-Amz-Request-Id:
|
36
|
-
-
|
37
|
+
- 8DA1B143E040D042
|
37
38
|
Date:
|
38
|
-
-
|
39
|
+
- Wed, 11 Nov 2020 14:40:20 GMT
|
39
40
|
X-Amz-Bucket-Region:
|
40
41
|
- us-west-2
|
41
42
|
Content-Type:
|
@@ -45,17 +46,16 @@ 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
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><
|
52
|
-
|
53
|
-
recorded_at: Thu, 28 Jan 2016 20:50:43 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
|
54
54
|
- request:
|
55
55
|
method: put
|
56
|
-
uri: https://file-manager-tests.s3
|
56
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/sub_dir/saved.*
|
57
57
|
body:
|
58
|
-
encoding:
|
58
|
+
encoding: UTF-8
|
59
59
|
string: content
|
60
60
|
headers:
|
61
61
|
Content-Type:
|
@@ -63,34 +63,36 @@ http_interactions:
|
|
63
63
|
Accept-Encoding:
|
64
64
|
- ''
|
65
65
|
User-Agent:
|
66
|
-
- aws-sdk-
|
66
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
67
67
|
Expect:
|
68
68
|
- 100-continue
|
69
69
|
Content-Md5:
|
70
70
|
- mgNkuembtIDdJeHwKEyFVQ==
|
71
|
-
X-Amz-Date:
|
72
|
-
- 20160128T205043Z
|
73
71
|
Host:
|
74
|
-
- file-manager-tests.s3
|
72
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
73
|
+
X-Amz-Date:
|
74
|
+
- 20201111T144019Z
|
75
75
|
X-Amz-Content-Sha256:
|
76
76
|
- ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
|
77
77
|
Authorization:
|
78
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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
|
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
|
+
- nBYs5wt3LROc9sxJUyRJ1rK9q4ULmZbucV+Rhjdvk8hseyzRNBCGiz0o3ogP/Tp4BjM7MycXBFs=
|
90
92
|
X-Amz-Request-Id:
|
91
|
-
-
|
93
|
+
- B0FA4DB45138F284
|
92
94
|
Date:
|
93
|
-
-
|
95
|
+
- Wed, 11 Nov 2020 14:40:20 GMT
|
94
96
|
Etag:
|
95
97
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
96
98
|
Content-Length:
|
@@ -98,15 +100,14 @@ http_interactions:
|
|
98
100
|
Server:
|
99
101
|
- AmazonS3
|
100
102
|
body:
|
101
|
-
encoding:
|
103
|
+
encoding: UTF-8
|
102
104
|
string: ''
|
103
|
-
|
104
|
-
recorded_at: Thu, 28 Jan 2016 20:50:45 GMT
|
105
|
+
recorded_at: Wed, 11 Nov 2020 14:40:20 GMT
|
105
106
|
- request:
|
106
107
|
method: get
|
107
|
-
uri: https://file-manager-tests.s3
|
108
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=other_prefix
|
108
109
|
body:
|
109
|
-
encoding:
|
110
|
+
encoding: UTF-8
|
110
111
|
string: ''
|
111
112
|
headers:
|
112
113
|
Content-Type:
|
@@ -114,30 +115,31 @@ http_interactions:
|
|
114
115
|
Accept-Encoding:
|
115
116
|
- ''
|
116
117
|
User-Agent:
|
117
|
-
- aws-sdk-
|
118
|
-
X-Amz-Date:
|
119
|
-
- 20160128T205045Z
|
118
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
120
119
|
Host:
|
121
|
-
- file-manager-tests.s3
|
120
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
121
|
+
X-Amz-Date:
|
122
|
+
- 20201111T144020Z
|
122
123
|
X-Amz-Content-Sha256:
|
123
124
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
124
125
|
Authorization:
|
125
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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
|
126
128
|
Content-Length:
|
127
129
|
- '0'
|
128
130
|
Accept:
|
129
|
-
-
|
131
|
+
- "*/*"
|
130
132
|
response:
|
131
133
|
status:
|
132
134
|
code: 200
|
133
135
|
message: OK
|
134
136
|
headers:
|
135
137
|
X-Amz-Id-2:
|
136
|
-
-
|
138
|
+
- hhto2IXraD83vhJhlt1/HVSYfrlXIpOZOeTcBcjzbOmlBx5gHmof+OS3/VcqFRwyxgSOYeOdl1o=
|
137
139
|
X-Amz-Request-Id:
|
138
|
-
-
|
140
|
+
- F1F728F2FD989D47
|
139
141
|
Date:
|
140
|
-
-
|
142
|
+
- Wed, 11 Nov 2020 14:40:21 GMT
|
141
143
|
X-Amz-Bucket-Region:
|
142
144
|
- us-west-2
|
143
145
|
Content-Type:
|
@@ -147,17 +149,16 @@ http_interactions:
|
|
147
149
|
Server:
|
148
150
|
- AmazonS3
|
149
151
|
body:
|
150
|
-
encoding:
|
152
|
+
encoding: UTF-8
|
151
153
|
string: |-
|
152
154
|
<?xml version="1.0" encoding="UTF-8"?>
|
153
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>other_prefix</Prefix><
|
154
|
-
|
155
|
-
recorded_at: Thu, 28 Jan 2016 20:50:46 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
|
156
157
|
- request:
|
157
158
|
method: get
|
158
|
-
uri: https://file-manager-tests.s3
|
159
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=sav
|
159
160
|
body:
|
160
|
-
encoding:
|
161
|
+
encoding: UTF-8
|
161
162
|
string: ''
|
162
163
|
headers:
|
163
164
|
Content-Type:
|
@@ -165,30 +166,31 @@ http_interactions:
|
|
165
166
|
Accept-Encoding:
|
166
167
|
- ''
|
167
168
|
User-Agent:
|
168
|
-
- aws-sdk-
|
169
|
-
X-Amz-Date:
|
170
|
-
- 20160128T205046Z
|
169
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
171
170
|
Host:
|
172
|
-
- file-manager-tests.s3
|
171
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
172
|
+
X-Amz-Date:
|
173
|
+
- 20201111T144020Z
|
173
174
|
X-Amz-Content-Sha256:
|
174
175
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
175
176
|
Authorization:
|
176
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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
|
177
179
|
Content-Length:
|
178
180
|
- '0'
|
179
181
|
Accept:
|
180
|
-
-
|
182
|
+
- "*/*"
|
181
183
|
response:
|
182
184
|
status:
|
183
185
|
code: 200
|
184
186
|
message: OK
|
185
187
|
headers:
|
186
188
|
X-Amz-Id-2:
|
187
|
-
-
|
189
|
+
- YQGgjJPPejjDv9UKmiX3xNhB+0m9tHlz0Er+TdAHu7lMG3BMb92vSwfnV0W+INc/Umm477dS4Xg=
|
188
190
|
X-Amz-Request-Id:
|
189
|
-
-
|
191
|
+
- E879F4DD0BA416AF
|
190
192
|
Date:
|
191
|
-
-
|
193
|
+
- Wed, 11 Nov 2020 14:40:22 GMT
|
192
194
|
X-Amz-Bucket-Region:
|
193
195
|
- us-west-2
|
194
196
|
Content-Type:
|
@@ -198,17 +200,16 @@ http_interactions:
|
|
198
200
|
Server:
|
199
201
|
- AmazonS3
|
200
202
|
body:
|
201
|
-
encoding:
|
203
|
+
encoding: UTF-8
|
202
204
|
string: |-
|
203
205
|
<?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><
|
205
|
-
|
206
|
-
recorded_at: Thu, 28 Jan 2016 20:50:47 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
|
207
208
|
- request:
|
208
209
|
method: get
|
209
|
-
uri: https://file-manager-tests.s3
|
210
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
|
210
211
|
body:
|
211
|
-
encoding:
|
212
|
+
encoding: UTF-8
|
212
213
|
string: ''
|
213
214
|
headers:
|
214
215
|
Content-Type:
|
@@ -216,30 +217,31 @@ http_interactions:
|
|
216
217
|
Accept-Encoding:
|
217
218
|
- ''
|
218
219
|
User-Agent:
|
219
|
-
- aws-sdk-
|
220
|
-
X-Amz-Date:
|
221
|
-
- 20160128T205047Z
|
220
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
222
221
|
Host:
|
223
|
-
- file-manager-tests.s3
|
222
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
223
|
+
X-Amz-Date:
|
224
|
+
- 20201111T144021Z
|
224
225
|
X-Amz-Content-Sha256:
|
225
226
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
226
227
|
Authorization:
|
227
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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
|
228
230
|
Content-Length:
|
229
231
|
- '0'
|
230
232
|
Accept:
|
231
|
-
-
|
233
|
+
- "*/*"
|
232
234
|
response:
|
233
235
|
status:
|
234
236
|
code: 200
|
235
237
|
message: OK
|
236
238
|
headers:
|
237
239
|
X-Amz-Id-2:
|
238
|
-
-
|
240
|
+
- ShEEVGSSn/tHa9wSkWGvUiu1lBf0ykkKZBW911frgAJUxGK/cBCR9UeQsPASl0CnRZqP90o5YTQ=
|
239
241
|
X-Amz-Request-Id:
|
240
|
-
-
|
242
|
+
- 6J9NBKFG3M1MDK0P
|
241
243
|
Date:
|
242
|
-
-
|
244
|
+
- Wed, 11 Nov 2020 14:40:23 GMT
|
243
245
|
X-Amz-Bucket-Region:
|
244
246
|
- us-west-2
|
245
247
|
Content-Type:
|
@@ -249,17 +251,16 @@ http_interactions:
|
|
249
251
|
Server:
|
250
252
|
- AmazonS3
|
251
253
|
body:
|
252
|
-
encoding:
|
254
|
+
encoding: UTF-8
|
253
255
|
string: |-
|
254
256
|
<?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><
|
256
|
-
|
257
|
-
recorded_at: Thu, 28 Jan 2016 20:50:49 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
|
258
259
|
- request:
|
259
260
|
method: get
|
260
|
-
uri: https://file-manager-tests.s3
|
261
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=sub_dir/sav
|
261
262
|
body:
|
262
|
-
encoding:
|
263
|
+
encoding: UTF-8
|
263
264
|
string: ''
|
264
265
|
headers:
|
265
266
|
Content-Type:
|
@@ -267,30 +268,31 @@ http_interactions:
|
|
267
268
|
Accept-Encoding:
|
268
269
|
- ''
|
269
270
|
User-Agent:
|
270
|
-
- aws-sdk-
|
271
|
-
X-Amz-Date:
|
272
|
-
- 20160128T205049Z
|
271
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
273
272
|
Host:
|
274
|
-
- file-manager-tests.s3
|
273
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
274
|
+
X-Amz-Date:
|
275
|
+
- 20201111T144022Z
|
275
276
|
X-Amz-Content-Sha256:
|
276
277
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
277
278
|
Authorization:
|
278
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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
|
279
281
|
Content-Length:
|
280
282
|
- '0'
|
281
283
|
Accept:
|
282
|
-
-
|
284
|
+
- "*/*"
|
283
285
|
response:
|
284
286
|
status:
|
285
287
|
code: 200
|
286
288
|
message: OK
|
287
289
|
headers:
|
288
290
|
X-Amz-Id-2:
|
289
|
-
-
|
291
|
+
- Ws7MwjYxA30EVluW0uzrTCfK6Lh3CPSXdAfuIhUd3zAx6HsbjcRxSpaUiR5FOtVUecAC9wOvLBE=
|
290
292
|
X-Amz-Request-Id:
|
291
|
-
-
|
293
|
+
- B6091C8654B4EBF1
|
292
294
|
Date:
|
293
|
-
-
|
295
|
+
- Wed, 11 Nov 2020 14:40:24 GMT
|
294
296
|
X-Amz-Bucket-Region:
|
295
297
|
- us-west-2
|
296
298
|
Content-Type:
|
@@ -300,17 +302,16 @@ http_interactions:
|
|
300
302
|
Server:
|
301
303
|
- AmazonS3
|
302
304
|
body:
|
303
|
-
encoding:
|
305
|
+
encoding: UTF-8
|
304
306
|
string: |-
|
305
307
|
<?xml version="1.0" encoding="UTF-8"?>
|
306
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sub_dir/sav</Prefix><
|
307
|
-
|
308
|
-
recorded_at: Thu, 28 Jan 2016 20:50:50 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
|
309
310
|
- request:
|
310
311
|
method: delete
|
311
|
-
uri: https://file-manager-tests.s3
|
312
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/sub_dir/saved.*
|
312
313
|
body:
|
313
|
-
encoding:
|
314
|
+
encoding: UTF-8
|
314
315
|
string: ''
|
315
316
|
headers:
|
316
317
|
Content-Type:
|
@@ -318,42 +319,42 @@ http_interactions:
|
|
318
319
|
Accept-Encoding:
|
319
320
|
- ''
|
320
321
|
User-Agent:
|
321
|
-
- aws-sdk-
|
322
|
-
X-Amz-Date:
|
323
|
-
- 20160128T205050Z
|
322
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
324
323
|
Host:
|
325
|
-
- file-manager-tests.s3
|
324
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
325
|
+
X-Amz-Date:
|
326
|
+
- 20201111T144023Z
|
326
327
|
X-Amz-Content-Sha256:
|
327
328
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
328
329
|
Authorization:
|
329
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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
|
330
332
|
Content-Length:
|
331
333
|
- '0'
|
332
334
|
Accept:
|
333
|
-
-
|
335
|
+
- "*/*"
|
334
336
|
response:
|
335
337
|
status:
|
336
338
|
code: 204
|
337
339
|
message: No Content
|
338
340
|
headers:
|
339
341
|
X-Amz-Id-2:
|
340
|
-
-
|
342
|
+
- SCotKSRoO8Ft2S4rKxkvzUfWHDKjfLpeU3EYd9mvZZAoi/8iYXIKM8TwVAkte7snM9Bng3ourQs=
|
341
343
|
X-Amz-Request-Id:
|
342
|
-
-
|
344
|
+
- DA2C161775443E9A
|
343
345
|
Date:
|
344
|
-
-
|
346
|
+
- Wed, 11 Nov 2020 14:40:24 GMT
|
345
347
|
Server:
|
346
348
|
- AmazonS3
|
347
349
|
body:
|
348
|
-
encoding:
|
350
|
+
encoding: UTF-8
|
349
351
|
string: ''
|
350
|
-
|
351
|
-
recorded_at: Thu, 28 Jan 2016 20:50:51 GMT
|
352
|
+
recorded_at: Wed, 11 Nov 2020 14:40:24 GMT
|
352
353
|
- request:
|
353
354
|
method: get
|
354
|
-
uri: https://file-manager-tests.s3
|
355
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
|
355
356
|
body:
|
356
|
-
encoding:
|
357
|
+
encoding: UTF-8
|
357
358
|
string: ''
|
358
359
|
headers:
|
359
360
|
Content-Type:
|
@@ -361,30 +362,31 @@ http_interactions:
|
|
361
362
|
Accept-Encoding:
|
362
363
|
- ''
|
363
364
|
User-Agent:
|
364
|
-
- aws-sdk-
|
365
|
-
X-Amz-Date:
|
366
|
-
- 20160128T205051Z
|
365
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
367
366
|
Host:
|
368
|
-
- file-manager-tests.s3
|
367
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
368
|
+
X-Amz-Date:
|
369
|
+
- 20201111T144024Z
|
369
370
|
X-Amz-Content-Sha256:
|
370
371
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
371
372
|
Authorization:
|
372
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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
|
373
375
|
Content-Length:
|
374
376
|
- '0'
|
375
377
|
Accept:
|
376
|
-
-
|
378
|
+
- "*/*"
|
377
379
|
response:
|
378
380
|
status:
|
379
381
|
code: 200
|
380
382
|
message: OK
|
381
383
|
headers:
|
382
384
|
X-Amz-Id-2:
|
383
|
-
-
|
385
|
+
- yx8IQB+M9svDzmQ2n7YLmX6H+u8aZw//NnKgMAI2oVD25ATaHMHQDAyq5mGFg306JekU6wZaln4=
|
384
386
|
X-Amz-Request-Id:
|
385
|
-
-
|
387
|
+
- 9494C74B3135C537
|
386
388
|
Date:
|
387
|
-
-
|
389
|
+
- Wed, 11 Nov 2020 14:40:25 GMT
|
388
390
|
X-Amz-Bucket-Region:
|
389
391
|
- us-west-2
|
390
392
|
Content-Type:
|
@@ -394,10 +396,9 @@ http_interactions:
|
|
394
396
|
Server:
|
395
397
|
- AmazonS3
|
396
398
|
body:
|
397
|
-
encoding:
|
399
|
+
encoding: UTF-8
|
398
400
|
string: |-
|
399
401
|
<?xml version="1.0" encoding="UTF-8"?>
|
400
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><
|
401
|
-
|
402
|
-
|
403
|
-
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
|