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/not_saved
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: UTF-8
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
@@ -12,48 +12,48 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- ''
|
14
14
|
User-Agent:
|
15
|
-
- aws-sdk-
|
16
|
-
X-Amz-Date:
|
17
|
-
- 20160128T205052Z
|
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/
|
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
|
24
25
|
Content-Length:
|
25
26
|
- '0'
|
26
27
|
Accept:
|
27
|
-
-
|
28
|
+
- "*/*"
|
28
29
|
response:
|
29
30
|
status:
|
30
31
|
code: 404
|
31
32
|
message: Not Found
|
32
33
|
headers:
|
33
34
|
X-Amz-Request-Id:
|
34
|
-
-
|
35
|
+
- 4F14D49CEB989739
|
35
36
|
X-Amz-Id-2:
|
36
|
-
-
|
37
|
+
- mT2NZVPcJxsyCBVVfo3yUj6XJwnIIaVFvLJuw1Z0Q6tEZ1uJZKA+L91YEcNGeUQlI/OisD1yb/4=
|
37
38
|
Content-Type:
|
38
39
|
- application/xml
|
39
40
|
Transfer-Encoding:
|
40
41
|
- chunked
|
41
42
|
Date:
|
42
|
-
-
|
43
|
+
- Wed, 11 Nov 2020 14:40:14 GMT
|
43
44
|
Server:
|
44
45
|
- AmazonS3
|
45
46
|
body:
|
46
|
-
encoding:
|
47
|
+
encoding: UTF-8
|
47
48
|
string: |-
|
48
49
|
<?xml version="1.0" encoding="UTF-8"?>
|
49
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>not_saved</Key><RequestId>
|
50
|
-
|
51
|
-
recorded_at: Thu, 28 Jan 2016 20:50:53 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
|
52
52
|
- request:
|
53
53
|
method: put
|
54
|
-
uri: https://file-manager-tests.s3
|
54
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved
|
55
55
|
body:
|
56
|
-
encoding:
|
56
|
+
encoding: UTF-8
|
57
57
|
string: content
|
58
58
|
headers:
|
59
59
|
Content-Type:
|
@@ -61,34 +61,36 @@ http_interactions:
|
|
61
61
|
Accept-Encoding:
|
62
62
|
- ''
|
63
63
|
User-Agent:
|
64
|
-
- aws-sdk-
|
64
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
65
65
|
Expect:
|
66
66
|
- 100-continue
|
67
67
|
Content-Md5:
|
68
68
|
- mgNkuembtIDdJeHwKEyFVQ==
|
69
|
-
X-Amz-Date:
|
70
|
-
- 20160128T205053Z
|
71
69
|
Host:
|
72
|
-
- file-manager-tests.s3
|
70
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
71
|
+
X-Amz-Date:
|
72
|
+
- 20201111T144015Z
|
73
73
|
X-Amz-Content-Sha256:
|
74
74
|
- ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
|
75
75
|
Authorization:
|
76
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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
|
77
79
|
Content-Length:
|
78
80
|
- '7'
|
79
81
|
Accept:
|
80
|
-
-
|
82
|
+
- "*/*"
|
81
83
|
response:
|
82
84
|
status:
|
83
85
|
code: 200
|
84
86
|
message: OK
|
85
87
|
headers:
|
86
88
|
X-Amz-Id-2:
|
87
|
-
-
|
89
|
+
- iA1oz6Ph0Y8SyTO3rbsf2qlR5pb4vnM5TJfB+hFMyRWuaal3hNclzvidGRTw8UetgEJTrtDwh0E=
|
88
90
|
X-Amz-Request-Id:
|
89
|
-
-
|
91
|
+
- 6E0D58751BE9F7D1
|
90
92
|
Date:
|
91
|
-
-
|
93
|
+
- Wed, 11 Nov 2020 14:40:16 GMT
|
92
94
|
Etag:
|
93
95
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
94
96
|
Content-Length:
|
@@ -96,15 +98,14 @@ http_interactions:
|
|
96
98
|
Server:
|
97
99
|
- AmazonS3
|
98
100
|
body:
|
99
|
-
encoding:
|
101
|
+
encoding: UTF-8
|
100
102
|
string: ''
|
101
|
-
|
102
|
-
recorded_at: Thu, 28 Jan 2016 20:50:57 GMT
|
103
|
+
recorded_at: Wed, 11 Nov 2020 14:40:16 GMT
|
103
104
|
- request:
|
104
105
|
method: get
|
105
|
-
uri: https://file-manager-tests.s3
|
106
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved
|
106
107
|
body:
|
107
|
-
encoding:
|
108
|
+
encoding: UTF-8
|
108
109
|
string: ''
|
109
110
|
headers:
|
110
111
|
Content-Type:
|
@@ -112,32 +113,33 @@ http_interactions:
|
|
112
113
|
Accept-Encoding:
|
113
114
|
- ''
|
114
115
|
User-Agent:
|
115
|
-
- aws-sdk-
|
116
|
-
X-Amz-Date:
|
117
|
-
- 20160128T205057Z
|
116
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
118
117
|
Host:
|
119
|
-
- file-manager-tests.s3
|
118
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
119
|
+
X-Amz-Date:
|
120
|
+
- 20201111T144016Z
|
120
121
|
X-Amz-Content-Sha256:
|
121
122
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
122
123
|
Authorization:
|
123
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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
|
124
126
|
Content-Length:
|
125
127
|
- '0'
|
126
128
|
Accept:
|
127
|
-
-
|
129
|
+
- "*/*"
|
128
130
|
response:
|
129
131
|
status:
|
130
132
|
code: 200
|
131
133
|
message: OK
|
132
134
|
headers:
|
133
135
|
X-Amz-Id-2:
|
134
|
-
-
|
136
|
+
- mZUW9T1+HF/HStzW1a9Mrm6XK+taiAro2YQkD3Ng/YlH048d4yWiQD2sMYcNyOdWeQImqUhhwuE=
|
135
137
|
X-Amz-Request-Id:
|
136
|
-
-
|
138
|
+
- 9J7HCV5N9XEV4MBR
|
137
139
|
Date:
|
138
|
-
-
|
140
|
+
- Wed, 11 Nov 2020 14:40:17 GMT
|
139
141
|
Last-Modified:
|
140
|
-
-
|
142
|
+
- Wed, 11 Nov 2020 14:40:16 GMT
|
141
143
|
Etag:
|
142
144
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
143
145
|
Accept-Ranges:
|
@@ -149,15 +151,14 @@ http_interactions:
|
|
149
151
|
Server:
|
150
152
|
- AmazonS3
|
151
153
|
body:
|
152
|
-
encoding:
|
154
|
+
encoding: UTF-8
|
153
155
|
string: content
|
154
|
-
|
155
|
-
recorded_at: Thu, 28 Jan 2016 20:50:58 GMT
|
156
|
+
recorded_at: Wed, 11 Nov 2020 14:40:17 GMT
|
156
157
|
- request:
|
157
158
|
method: delete
|
158
|
-
uri: https://file-manager-tests.s3
|
159
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved
|
159
160
|
body:
|
160
|
-
encoding:
|
161
|
+
encoding: UTF-8
|
161
162
|
string: ''
|
162
163
|
headers:
|
163
164
|
Content-Type:
|
@@ -165,42 +166,42 @@ http_interactions:
|
|
165
166
|
Accept-Encoding:
|
166
167
|
- ''
|
167
168
|
User-Agent:
|
168
|
-
- aws-sdk-
|
169
|
-
X-Amz-Date:
|
170
|
-
- 20160128T205058Z
|
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
|
+
- 20201111T144017Z
|
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=3279b0301a89de8e728ecf06122189cc2e03cdb4e933c0762801af13ce0f2652
|
177
179
|
Content-Length:
|
178
180
|
- '0'
|
179
181
|
Accept:
|
180
|
-
-
|
182
|
+
- "*/*"
|
181
183
|
response:
|
182
184
|
status:
|
183
185
|
code: 204
|
184
186
|
message: No Content
|
185
187
|
headers:
|
186
188
|
X-Amz-Id-2:
|
187
|
-
-
|
189
|
+
- EO5tHeO7RyT+TbUNVNo230LSzprHxxT3tkE5W1JupkIL95COL5FX84XiQD+W6dKimGsJ4L9aHbE=
|
188
190
|
X-Amz-Request-Id:
|
189
|
-
-
|
191
|
+
- '082DB7C8D988F8E6'
|
190
192
|
Date:
|
191
|
-
-
|
193
|
+
- Wed, 11 Nov 2020 14:40:18 GMT
|
192
194
|
Server:
|
193
195
|
- AmazonS3
|
194
196
|
body:
|
195
|
-
encoding:
|
197
|
+
encoding: UTF-8
|
196
198
|
string: ''
|
197
|
-
|
198
|
-
recorded_at: Thu, 28 Jan 2016 20:50:59 GMT
|
199
|
+
recorded_at: Wed, 11 Nov 2020 14:40:17 GMT
|
199
200
|
- request:
|
200
201
|
method: get
|
201
|
-
uri: https://file-manager-tests.s3
|
202
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved
|
202
203
|
body:
|
203
|
-
encoding:
|
204
|
+
encoding: UTF-8
|
204
205
|
string: ''
|
205
206
|
headers:
|
206
207
|
Content-Type:
|
@@ -208,41 +209,41 @@ http_interactions:
|
|
208
209
|
Accept-Encoding:
|
209
210
|
- ''
|
210
211
|
User-Agent:
|
211
|
-
- aws-sdk-
|
212
|
-
X-Amz-Date:
|
213
|
-
- 20160128T205059Z
|
212
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
214
213
|
Host:
|
215
|
-
- file-manager-tests.s3
|
214
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
215
|
+
X-Amz-Date:
|
216
|
+
- 20201111T144017Z
|
216
217
|
X-Amz-Content-Sha256:
|
217
218
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
218
219
|
Authorization:
|
219
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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
|
220
222
|
Content-Length:
|
221
223
|
- '0'
|
222
224
|
Accept:
|
223
|
-
-
|
225
|
+
- "*/*"
|
224
226
|
response:
|
225
227
|
status:
|
226
228
|
code: 404
|
227
229
|
message: Not Found
|
228
230
|
headers:
|
229
231
|
X-Amz-Request-Id:
|
230
|
-
-
|
232
|
+
- 297314E7C5CD1FD8
|
231
233
|
X-Amz-Id-2:
|
232
|
-
-
|
234
|
+
- A3nA64fZQXzpiMhgwR5WoG0qPHgvDmj5GdZxUNF8sYmG9bi5exMCtlLzyMPVHPgzdoguI2ngV4s=
|
233
235
|
Content-Type:
|
234
236
|
- application/xml
|
235
237
|
Transfer-Encoding:
|
236
238
|
- chunked
|
237
239
|
Date:
|
238
|
-
-
|
240
|
+
- Wed, 11 Nov 2020 14:40:17 GMT
|
239
241
|
Server:
|
240
242
|
- AmazonS3
|
241
243
|
body:
|
242
|
-
encoding:
|
244
|
+
encoding: UTF-8
|
243
245
|
string: |-
|
244
246
|
<?xml version="1.0" encoding="UTF-8"?>
|
245
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>saved</Key><RequestId>
|
246
|
-
|
247
|
-
|
248
|
-
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
|
@@ -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/sub_dir/not_saved
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: UTF-8
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
@@ -12,48 +12,48 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- ''
|
14
14
|
User-Agent:
|
15
|
-
- aws-sdk-
|
16
|
-
X-Amz-Date:
|
17
|
-
- 20160128T205100Z
|
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
|
+
- 20201111T144036Z
|
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=a0e4b4f5d2183039f7b4bfef9e126122593618bdbdd5f2b987585ed7f5d7458a
|
24
25
|
Content-Length:
|
25
26
|
- '0'
|
26
27
|
Accept:
|
27
|
-
-
|
28
|
+
- "*/*"
|
28
29
|
response:
|
29
30
|
status:
|
30
31
|
code: 404
|
31
32
|
message: Not Found
|
32
33
|
headers:
|
33
34
|
X-Amz-Request-Id:
|
34
|
-
-
|
35
|
+
- 5914063D7154D868
|
35
36
|
X-Amz-Id-2:
|
36
|
-
-
|
37
|
+
- 5cLVBOIEqvQz0hBfoWBrq0zjuZRPWW72zLSRXQLMgXaGpy61IZYPxi90rjI1FoRVafAdwB6BsqA=
|
37
38
|
Content-Type:
|
38
39
|
- application/xml
|
39
40
|
Transfer-Encoding:
|
40
41
|
- chunked
|
41
42
|
Date:
|
42
|
-
-
|
43
|
+
- Wed, 11 Nov 2020 14:40:36 GMT
|
43
44
|
Server:
|
44
45
|
- AmazonS3
|
45
46
|
body:
|
46
|
-
encoding:
|
47
|
+
encoding: UTF-8
|
47
48
|
string: |-
|
48
49
|
<?xml version="1.0" encoding="UTF-8"?>
|
49
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>sub_dir/not_saved</Key><RequestId>
|
50
|
-
|
51
|
-
recorded_at: Thu, 28 Jan 2016 20:51:01 GMT
|
50
|
+
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>sub_dir/not_saved</Key><RequestId>5914063D7154D868</RequestId><HostId>5cLVBOIEqvQz0hBfoWBrq0zjuZRPWW72zLSRXQLMgXaGpy61IZYPxi90rjI1FoRVafAdwB6BsqA=</HostId></Error>
|
51
|
+
recorded_at: Wed, 11 Nov 2020 14:40:37 GMT
|
52
52
|
- request:
|
53
53
|
method: put
|
54
|
-
uri: https://file-manager-tests.s3
|
54
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/sub_dir/saved
|
55
55
|
body:
|
56
|
-
encoding:
|
56
|
+
encoding: UTF-8
|
57
57
|
string: content
|
58
58
|
headers:
|
59
59
|
Content-Type:
|
@@ -61,34 +61,36 @@ http_interactions:
|
|
61
61
|
Accept-Encoding:
|
62
62
|
- ''
|
63
63
|
User-Agent:
|
64
|
-
- aws-sdk-
|
64
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
65
65
|
Expect:
|
66
66
|
- 100-continue
|
67
67
|
Content-Md5:
|
68
68
|
- mgNkuembtIDdJeHwKEyFVQ==
|
69
|
-
X-Amz-Date:
|
70
|
-
- 20160128T205101Z
|
71
69
|
Host:
|
72
|
-
- file-manager-tests.s3
|
70
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
71
|
+
X-Amz-Date:
|
72
|
+
- 20201111T144037Z
|
73
73
|
X-Amz-Content-Sha256:
|
74
74
|
- ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
|
75
75
|
Authorization:
|
76
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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=6c74757e6dbb086ac2bbc713de8444c1f4292d5783cf92d564f32c80af537cf8
|
77
79
|
Content-Length:
|
78
80
|
- '7'
|
79
81
|
Accept:
|
80
|
-
-
|
82
|
+
- "*/*"
|
81
83
|
response:
|
82
84
|
status:
|
83
85
|
code: 200
|
84
86
|
message: OK
|
85
87
|
headers:
|
86
88
|
X-Amz-Id-2:
|
87
|
-
-
|
89
|
+
- D4Nzvjxm47IrE+7JH/O/xyfU8y8936OUB3epcfw84r+mvfobah2XDfws694URXEBHtoFyIHz64U=
|
88
90
|
X-Amz-Request-Id:
|
89
|
-
-
|
91
|
+
- 0E765DF8A536A4E3
|
90
92
|
Date:
|
91
|
-
-
|
93
|
+
- Wed, 11 Nov 2020 14:40:38 GMT
|
92
94
|
Etag:
|
93
95
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
94
96
|
Content-Length:
|
@@ -96,15 +98,14 @@ http_interactions:
|
|
96
98
|
Server:
|
97
99
|
- AmazonS3
|
98
100
|
body:
|
99
|
-
encoding:
|
101
|
+
encoding: UTF-8
|
100
102
|
string: ''
|
101
|
-
|
102
|
-
recorded_at: Thu, 28 Jan 2016 20:51:02 GMT
|
103
|
+
recorded_at: Wed, 11 Nov 2020 14:40:38 GMT
|
103
104
|
- request:
|
104
105
|
method: get
|
105
|
-
uri: https://file-manager-tests.s3
|
106
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/sub_dir/saved
|
106
107
|
body:
|
107
|
-
encoding:
|
108
|
+
encoding: UTF-8
|
108
109
|
string: ''
|
109
110
|
headers:
|
110
111
|
Content-Type:
|
@@ -112,32 +113,33 @@ http_interactions:
|
|
112
113
|
Accept-Encoding:
|
113
114
|
- ''
|
114
115
|
User-Agent:
|
115
|
-
- aws-sdk-
|
116
|
-
X-Amz-Date:
|
117
|
-
- 20160128T205102Z
|
116
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
118
117
|
Host:
|
119
|
-
- file-manager-tests.s3
|
118
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
119
|
+
X-Amz-Date:
|
120
|
+
- 20201111T144038Z
|
120
121
|
X-Amz-Content-Sha256:
|
121
122
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
122
123
|
Authorization:
|
123
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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=015b4d5370fd86495d6410b7817a947bfe05b34314add5aa8220471e75acb53d
|
124
126
|
Content-Length:
|
125
127
|
- '0'
|
126
128
|
Accept:
|
127
|
-
-
|
129
|
+
- "*/*"
|
128
130
|
response:
|
129
131
|
status:
|
130
132
|
code: 200
|
131
133
|
message: OK
|
132
134
|
headers:
|
133
135
|
X-Amz-Id-2:
|
134
|
-
-
|
136
|
+
- L8Q0X82K8q/D9d6GJ8Z0lR3/R3w14MJ4o1vTjH2fRpJi/zhsptKhTh9PFmh6WnPumpdLiKzGdco=
|
135
137
|
X-Amz-Request-Id:
|
136
|
-
-
|
138
|
+
- 479786A36D9BF9B4
|
137
139
|
Date:
|
138
|
-
-
|
140
|
+
- Wed, 11 Nov 2020 14:40:39 GMT
|
139
141
|
Last-Modified:
|
140
|
-
-
|
142
|
+
- Wed, 11 Nov 2020 14:40:38 GMT
|
141
143
|
Etag:
|
142
144
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
143
145
|
Accept-Ranges:
|
@@ -149,15 +151,14 @@ http_interactions:
|
|
149
151
|
Server:
|
150
152
|
- AmazonS3
|
151
153
|
body:
|
152
|
-
encoding:
|
154
|
+
encoding: UTF-8
|
153
155
|
string: content
|
154
|
-
|
155
|
-
recorded_at: Thu, 28 Jan 2016 20:51:03 GMT
|
156
|
+
recorded_at: Wed, 11 Nov 2020 14:40:38 GMT
|
156
157
|
- request:
|
157
158
|
method: delete
|
158
|
-
uri: https://file-manager-tests.s3
|
159
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/sub_dir/saved
|
159
160
|
body:
|
160
|
-
encoding:
|
161
|
+
encoding: UTF-8
|
161
162
|
string: ''
|
162
163
|
headers:
|
163
164
|
Content-Type:
|
@@ -165,42 +166,42 @@ http_interactions:
|
|
165
166
|
Accept-Encoding:
|
166
167
|
- ''
|
167
168
|
User-Agent:
|
168
|
-
- aws-sdk-
|
169
|
-
X-Amz-Date:
|
170
|
-
- 20160128T205103Z
|
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
|
+
- 20201111T144038Z
|
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=838e1614fadf62ca33a1a80e46da01785f71bf369333ce099a13fdbb100a90d8
|
177
179
|
Content-Length:
|
178
180
|
- '0'
|
179
181
|
Accept:
|
180
|
-
-
|
182
|
+
- "*/*"
|
181
183
|
response:
|
182
184
|
status:
|
183
185
|
code: 204
|
184
186
|
message: No Content
|
185
187
|
headers:
|
186
188
|
X-Amz-Id-2:
|
187
|
-
-
|
189
|
+
- nMnZd0XSFJkU6sWc8QZWP34S1D2Xu4/B64otqxHO74e2VbPth6Jli41UunzVmSjiPfrPG2ahXak=
|
188
190
|
X-Amz-Request-Id:
|
189
|
-
-
|
191
|
+
- CB75AF1551DA32F5
|
190
192
|
Date:
|
191
|
-
-
|
193
|
+
- Wed, 11 Nov 2020 14:40:40 GMT
|
192
194
|
Server:
|
193
195
|
- AmazonS3
|
194
196
|
body:
|
195
|
-
encoding:
|
197
|
+
encoding: UTF-8
|
196
198
|
string: ''
|
197
|
-
|
198
|
-
recorded_at: Thu, 28 Jan 2016 20:51:05 GMT
|
199
|
+
recorded_at: Wed, 11 Nov 2020 14:40:39 GMT
|
199
200
|
- request:
|
200
201
|
method: get
|
201
|
-
uri: https://file-manager-tests.s3
|
202
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/sub_dir/saved
|
202
203
|
body:
|
203
|
-
encoding:
|
204
|
+
encoding: UTF-8
|
204
205
|
string: ''
|
205
206
|
headers:
|
206
207
|
Content-Type:
|
@@ -208,41 +209,41 @@ http_interactions:
|
|
208
209
|
Accept-Encoding:
|
209
210
|
- ''
|
210
211
|
User-Agent:
|
211
|
-
- aws-sdk-
|
212
|
-
X-Amz-Date:
|
213
|
-
- 20160128T205105Z
|
212
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
214
213
|
Host:
|
215
|
-
- file-manager-tests.s3
|
214
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
215
|
+
X-Amz-Date:
|
216
|
+
- 20201111T144039Z
|
216
217
|
X-Amz-Content-Sha256:
|
217
218
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
218
219
|
Authorization:
|
219
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
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=73c72dae792eed22b4ee1a25a258a290dcece65f57a6f195ccbed31ce35645ee
|
220
222
|
Content-Length:
|
221
223
|
- '0'
|
222
224
|
Accept:
|
223
|
-
-
|
225
|
+
- "*/*"
|
224
226
|
response:
|
225
227
|
status:
|
226
228
|
code: 404
|
227
229
|
message: Not Found
|
228
230
|
headers:
|
229
231
|
X-Amz-Request-Id:
|
230
|
-
-
|
232
|
+
- 76453CE61732F33D
|
231
233
|
X-Amz-Id-2:
|
232
|
-
-
|
234
|
+
- LFtBhsEP23ZGduNFvuPQpIdridGsLIDga8igx8Yv7wVs9BT999SlnkxNYEgjxs8HJYQm8NV3HNg=
|
233
235
|
Content-Type:
|
234
236
|
- application/xml
|
235
237
|
Transfer-Encoding:
|
236
238
|
- chunked
|
237
239
|
Date:
|
238
|
-
-
|
240
|
+
- Wed, 11 Nov 2020 14:40:39 GMT
|
239
241
|
Server:
|
240
242
|
- AmazonS3
|
241
243
|
body:
|
242
|
-
encoding:
|
244
|
+
encoding: UTF-8
|
243
245
|
string: |-
|
244
246
|
<?xml version="1.0" encoding="UTF-8"?>
|
245
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>sub_dir/saved</Key><RequestId>
|
246
|
-
|
247
|
-
|
248
|
-
recorded_with: VCR 3.0.1
|
247
|
+
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>sub_dir/saved</Key><RequestId>76453CE61732F33D</RequestId><HostId>LFtBhsEP23ZGduNFvuPQpIdridGsLIDga8igx8Yv7wVs9BT999SlnkxNYEgjxs8HJYQm8NV3HNg=</HostId></Error>
|
248
|
+
recorded_at: Wed, 11 Nov 2020 14:40:40 GMT
|
249
|
+
recorded_with: VCR 6.0.0
|