file-manager 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ace7fc3d0de9b646ee8b5de0e5354394c02f6b6a85703cd21691ef14a8466a71
4
- data.tar.gz: 18f272b1e9d9d1b57029c66d4385e1a768cf676ce25b15185f4b6c54f0f009d8
3
+ metadata.gz: a5889d97b6382e2e9d85f3af01a73586cee45fa3dde1eebbb2b95ca5ed1608ed
4
+ data.tar.gz: 18683494a9bdce32792531b1c628c89a677663191b1ceeb095128f78cbdcc1fa
5
5
  SHA512:
6
- metadata.gz: '0468886aa264b87523a7ac13a3571e37fb186e35a1b286bbd8eb1d3746074750e7fddf08cc6665c29b7161078c08f5fef88d576801e11d5d1ce91351c83427d1'
7
- data.tar.gz: a323b2c72aea6779fa6f1d14a5ebd063041d4af842cfa6bf661e218c84745e68a2f3537acb58197d476fc379bfc79ce4019898dba6801c316f55b57618e01d41
6
+ metadata.gz: 31920a61731e9c2cca6328f1c622c4fec4a955df500e02352adfb655a93033e5ae04bf9a0eae549caeb481648435875b0fe1261c747bd6bde6bf9aa80624fd71
7
+ data.tar.gz: 57117c765ae71ddb57261de259c78e49099bafda2b0c2fcd61a2ae551ac2d3a05bd94935818a873f79b7a0ad8cc2ce2bd477d699ce6eb8d6cd36ada52ecdb4ea
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- file-manager (0.5.0)
4
+ file-manager (0.6.0)
5
5
  aws-sdk-s3 (~> 1)
6
6
 
7
7
  GEM
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "file-manager"
6
- spec.version = '0.5.0'
6
+ spec.version = '0.6.0'
7
7
  spec.authors = ["Francisco Barroso / Marlus Saraiva"]
8
8
  spec.email = ["franciscobarroso@grupofortes.com.br"]
9
9
  spec.description = 'File manager, access S3 or local'
@@ -59,6 +59,19 @@ class LocalFileManager < FileManager
59
59
  FileUtils.mkdir_p(full_target_file_name.dirname)
60
60
  FileUtils.mv full_original_file_name, full_target_file_name
61
61
  @logger.puts 'done.'
62
+ rescue Errno::ENOENT
63
+ raise FileNotFoundError.new(full_original_file_name)
64
+ end
65
+
66
+ def copy_file source_file_name, target_file_name
67
+ @logger.print "Copying file \"#{source_file_name}\" to \"#{target_file_name}\" from local folder \"#{root_path}\"..."
68
+ full_source_file_name = File.join(root_path, source_file_name)
69
+ full_target_file_name = Pathname(File.join(root_path, target_file_name))
70
+ FileUtils.mkdir_p(full_target_file_name.dirname)
71
+ FileUtils.cp full_source_file_name, full_target_file_name
72
+ @logger.puts 'done.'
73
+ rescue Errno::ENOENT
74
+ raise FileNotFoundError.new(full_source_file_name)
62
75
  end
63
76
 
64
77
  private
@@ -37,7 +37,11 @@ class MemoryFileManager < FileManager
37
37
  end
38
38
 
39
39
  def rename_file original_file_name, target_file_name
40
- @data["#{target_file_name}"] = @data["#{original_file_name}"]
40
+ @data["#{target_file_name}"] = @data["#{original_file_name}"] || (raise FileNotFoundError.new("No such file '#{original_file_name}'"))
41
41
  @data.delete "#{original_file_name}"
42
42
  end
43
+
44
+ def copy_file source_file_name, target_file_name
45
+ @data["#{target_file_name}"] = @data["#{source_file_name}"] || (raise FileNotFoundError.new("No such file '#{source_file_name}'"))
46
+ end
43
47
  end
@@ -86,6 +86,18 @@ class S3FileManager < FileManager
86
86
  logger.print "Renaming file \"#{original_file_name}\" \"#{target_file_name}\" from bucket \"#{bucket_name}\"..."
87
87
  bucket.object(original_file_name).move_to(bucket: bucket_name, key: target_file_name)
88
88
  logger.puts 'done.'
89
+ rescue Aws::S3::Errors::NoSuchKey
90
+ raise FileNotFoundError.new("#{bucket_name}/#{original_file_name}")
91
+ end
92
+
93
+ def copy_file source_file_name, target_file_name
94
+ s3_service = connect_s3_service
95
+ bucket = s3_service.bucket(bucket_name)
96
+ logger.print "Copying file \"#{source_file_name}\" \"#{target_file_name}\" from bucket \"#{bucket_name}\"..."
97
+ bucket.object(source_file_name).copy_to(bucket: bucket_name, key: target_file_name)
98
+ logger.puts 'done.'
99
+ rescue Aws::S3::Errors::NoSuchKey
100
+ raise FileNotFoundError.new("#{bucket_name}/#{source_file_name}")
89
101
  end
90
102
 
91
103
  private
@@ -79,11 +79,31 @@ module FileManagerTest
79
79
  @manager.rename_file 'new/name.txt', 'new/new2/name.txt'
80
80
  assert_equal ['new/new2/name.txt'], @manager.list_files
81
81
  assert_equal 'rename_content', @manager.read_file('new/new2/name.txt')
82
+
83
+ assert_raises(FileNotFoundError) { @manager.rename_file 'nao_existe/name.txt', 'new/name.txt' }
82
84
  ensure
83
85
  @manager.delete_file 'original/name.txt'
84
86
  @manager.delete_file 'new/new2/name.txt'
85
87
  assert_empty @manager.list_files
86
88
  end
89
+
90
+ def test_copy_file
91
+ assert_empty @manager.list_files
92
+ @manager.save_file 'original/name.txt', 'same_content'
93
+
94
+ @manager.copy_file 'original/name.txt', 'new/name.txt'
95
+ assert_equal ['new/name.txt', 'original/name.txt'].sort, @manager.list_files.sort
96
+ assert_equal 'same_content', @manager.read_file('new/name.txt')
97
+
98
+ @manager.copy_file 'original/name.txt', 'new/name.txt'
99
+ assert_equal ['new/name.txt', 'original/name.txt'].sort, @manager.list_files.sort
100
+
101
+ assert_raises(FileNotFoundError) { @manager.copy_file 'nao_existe/name.txt', 'new/name.txt' }
102
+ ensure
103
+ @manager.delete_file 'original/name.txt'
104
+ @manager.delete_file 'new/name.txt'
105
+ assert_empty @manager.list_files
106
+ end
87
107
  end
88
108
 
89
109
  class FileManagerLoggerTest < Minitest::Test
@@ -0,0 +1,552 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ Content-Type:
11
+ - ''
12
+ Accept-Encoding:
13
+ - ''
14
+ User-Agent:
15
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
16
+ Host:
17
+ - file-manager-tests.s3.us-west-2.amazonaws.com
18
+ X-Amz-Date:
19
+ - 20201113T141427Z
20
+ X-Amz-Content-Sha256:
21
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
22
+ Authorization:
23
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
24
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=b278186ca8cd6ea1efda1c871be688da2b3d9f15bcc8ae61b963d56cb0887f87
25
+ Content-Length:
26
+ - '0'
27
+ Accept:
28
+ - "*/*"
29
+ response:
30
+ status:
31
+ code: 200
32
+ message: OK
33
+ headers:
34
+ X-Amz-Id-2:
35
+ - 2h+4jPuI9o+Rha1ZZoJvbxtu62hks3F1Pr6lTqbjG+CC7KffXWobnkLxgmOuF4bPktEt6yAFG64=
36
+ X-Amz-Request-Id:
37
+ - 14934A7A94877DFB
38
+ Date:
39
+ - Fri, 13 Nov 2020 14:14:29 GMT
40
+ X-Amz-Bucket-Region:
41
+ - us-west-2
42
+ Content-Type:
43
+ - application/xml
44
+ Transfer-Encoding:
45
+ - chunked
46
+ Server:
47
+ - AmazonS3
48
+ body:
49
+ encoding: UTF-8
50
+ string: |-
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><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
53
+ recorded_at: Fri, 13 Nov 2020 14:14:28 GMT
54
+ - request:
55
+ method: put
56
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/original/name.txt
57
+ body:
58
+ encoding: UTF-8
59
+ string: same_content
60
+ headers:
61
+ Content-Type:
62
+ - ''
63
+ Accept-Encoding:
64
+ - ''
65
+ User-Agent:
66
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
67
+ Expect:
68
+ - 100-continue
69
+ Content-Md5:
70
+ - 6gDCZThhMakTDILmJpZnSQ==
71
+ Host:
72
+ - file-manager-tests.s3.us-west-2.amazonaws.com
73
+ X-Amz-Date:
74
+ - 20201113T141428Z
75
+ X-Amz-Content-Sha256:
76
+ - 04b5ae20c2966399a15cce2d0e2eb1dc59d04b9b4709f0ca5f20e5f7a379f962
77
+ Authorization:
78
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
79
+ SignedHeaders=content-md5;host;user-agent;x-amz-content-sha256;x-amz-date,
80
+ Signature=6514686f94df5fc5d2a5c2626ce03a59bd8927513bbae543ba0b8e7a2ae56897
81
+ Content-Length:
82
+ - '12'
83
+ Accept:
84
+ - "*/*"
85
+ response:
86
+ status:
87
+ code: 200
88
+ message: OK
89
+ headers:
90
+ X-Amz-Id-2:
91
+ - D7j4fZXbRBB/QgBAhfYRqS47rXREjgK8GF/Bz74nCbvXutXExTxuBWzHcdy90HyYxt7x2hx5fiM=
92
+ X-Amz-Request-Id:
93
+ - DE46DA178F462066
94
+ Date:
95
+ - Fri, 13 Nov 2020 14:14:30 GMT
96
+ Etag:
97
+ - '"ea00c265386131a9130c82e626966749"'
98
+ Content-Length:
99
+ - '0'
100
+ Server:
101
+ - AmazonS3
102
+ body:
103
+ encoding: UTF-8
104
+ string: ''
105
+ recorded_at: Fri, 13 Nov 2020 14:14:29 GMT
106
+ - request:
107
+ method: put
108
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
109
+ body:
110
+ encoding: UTF-8
111
+ string: ''
112
+ headers:
113
+ Content-Type:
114
+ - ''
115
+ Accept-Encoding:
116
+ - ''
117
+ User-Agent:
118
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
119
+ X-Amz-Copy-Source:
120
+ - file-manager-tests/original/name.txt
121
+ Host:
122
+ - file-manager-tests.s3.us-west-2.amazonaws.com
123
+ X-Amz-Date:
124
+ - 20201113T141429Z
125
+ X-Amz-Content-Sha256:
126
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
127
+ Authorization:
128
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
129
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-copy-source;x-amz-date,
130
+ Signature=29e23d4858875e58876bb2a39c53b45011f15a956ab21feaed242f6df34335c2
131
+ Content-Length:
132
+ - '0'
133
+ Accept:
134
+ - "*/*"
135
+ response:
136
+ status:
137
+ code: 200
138
+ message: OK
139
+ headers:
140
+ X-Amz-Id-2:
141
+ - FEmro9OGYIXos2DeXZJydTiUo34IovnRgq0DrTj/l6Syaouj/bjlUcVSvSSa4xSkVxNJt98NUak=
142
+ X-Amz-Request-Id:
143
+ - 8BFC4BF1B7B31DDD
144
+ Date:
145
+ - Fri, 13 Nov 2020 14:14:31 GMT
146
+ Content-Type:
147
+ - application/xml
148
+ Content-Length:
149
+ - '234'
150
+ Server:
151
+ - AmazonS3
152
+ body:
153
+ encoding: UTF-8
154
+ string: |-
155
+ <?xml version="1.0" encoding="UTF-8"?>
156
+ <CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2020-11-13T14:14:31.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag></CopyObjectResult>
157
+ recorded_at: Fri, 13 Nov 2020 14:14:30 GMT
158
+ - request:
159
+ method: get
160
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
161
+ body:
162
+ encoding: UTF-8
163
+ string: ''
164
+ headers:
165
+ Content-Type:
166
+ - ''
167
+ Accept-Encoding:
168
+ - ''
169
+ User-Agent:
170
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
171
+ Host:
172
+ - file-manager-tests.s3.us-west-2.amazonaws.com
173
+ X-Amz-Date:
174
+ - 20201113T141430Z
175
+ X-Amz-Content-Sha256:
176
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
177
+ Authorization:
178
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
179
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=ab3b8d64a1bc5df3561922db2446a2b55e1653168cf1b5af2f4933e1cd9279d9
180
+ Content-Length:
181
+ - '0'
182
+ Accept:
183
+ - "*/*"
184
+ response:
185
+ status:
186
+ code: 200
187
+ message: OK
188
+ headers:
189
+ X-Amz-Id-2:
190
+ - mXjVX3XTQrPGk24zh2oYwtQnQ5TUMq71UZNuId6DT5EmjlCDlokaLJFE/+z9genu9JCCS6ah5gU=
191
+ X-Amz-Request-Id:
192
+ - 1ECAB067D29DA076
193
+ Date:
194
+ - Fri, 13 Nov 2020 14:14:31 GMT
195
+ X-Amz-Bucket-Region:
196
+ - us-west-2
197
+ Content-Type:
198
+ - application/xml
199
+ Transfer-Encoding:
200
+ - chunked
201
+ Server:
202
+ - AmazonS3
203
+ body:
204
+ encoding: UTF-8
205
+ string: |-
206
+ <?xml version="1.0" encoding="UTF-8"?>
207
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>2</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>new/name.txt</Key><LastModified>2020-11-13T14:14:31.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag><Size>12</Size><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>original/name.txt</Key><LastModified>2020-11-13T14:14:30.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag><Size>12</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
208
+ recorded_at: Fri, 13 Nov 2020 14:14:31 GMT
209
+ - request:
210
+ method: get
211
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
212
+ body:
213
+ encoding: UTF-8
214
+ string: ''
215
+ headers:
216
+ Content-Type:
217
+ - ''
218
+ Accept-Encoding:
219
+ - ''
220
+ User-Agent:
221
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
222
+ Host:
223
+ - file-manager-tests.s3.us-west-2.amazonaws.com
224
+ X-Amz-Date:
225
+ - 20201113T141431Z
226
+ X-Amz-Content-Sha256:
227
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
228
+ Authorization:
229
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
230
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=2a59a737bfaa02584dd5efd7df4dbdaf54f2e4ead89605189855ad758a34b582
231
+ Content-Length:
232
+ - '0'
233
+ Accept:
234
+ - "*/*"
235
+ response:
236
+ status:
237
+ code: 200
238
+ message: OK
239
+ headers:
240
+ X-Amz-Id-2:
241
+ - KkTap7ySM2ehT0AXffSwgUGqjGYixZLhyOXg7QfGng4PxIiTyxD+fNUuHpqVqjLs9FBaGk84wdo=
242
+ X-Amz-Request-Id:
243
+ - 3785461039E6162E
244
+ Date:
245
+ - Fri, 13 Nov 2020 14:14:32 GMT
246
+ Last-Modified:
247
+ - Fri, 13 Nov 2020 14:14:31 GMT
248
+ Etag:
249
+ - '"ea00c265386131a9130c82e626966749"'
250
+ Accept-Ranges:
251
+ - bytes
252
+ Content-Type:
253
+ - ''
254
+ Content-Length:
255
+ - '12'
256
+ Server:
257
+ - AmazonS3
258
+ body:
259
+ encoding: UTF-8
260
+ string: same_content
261
+ recorded_at: Fri, 13 Nov 2020 14:14:31 GMT
262
+ - request:
263
+ method: put
264
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
265
+ body:
266
+ encoding: UTF-8
267
+ string: ''
268
+ headers:
269
+ Content-Type:
270
+ - ''
271
+ Accept-Encoding:
272
+ - ''
273
+ User-Agent:
274
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
275
+ X-Amz-Copy-Source:
276
+ - file-manager-tests/original/name.txt
277
+ Host:
278
+ - file-manager-tests.s3.us-west-2.amazonaws.com
279
+ X-Amz-Date:
280
+ - 20201113T141431Z
281
+ X-Amz-Content-Sha256:
282
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
283
+ Authorization:
284
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
285
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-copy-source;x-amz-date,
286
+ Signature=5c2eb9f16ff4c2d3fdd29c2569685b7592289b3ea23821f3ef0fc6b554c430c2
287
+ Content-Length:
288
+ - '0'
289
+ Accept:
290
+ - "*/*"
291
+ response:
292
+ status:
293
+ code: 200
294
+ message: OK
295
+ headers:
296
+ X-Amz-Id-2:
297
+ - vKZdYWI+09o36CEtoshwdKv7NY/O0PQzAgql7tOMY33nHliVP6gBDQoXsO5FRlNAo19BIdv4mks=
298
+ X-Amz-Request-Id:
299
+ - BK5N9W5GDM5NES9W
300
+ Date:
301
+ - Fri, 13 Nov 2020 14:14:33 GMT
302
+ Content-Type:
303
+ - application/xml
304
+ Content-Length:
305
+ - '234'
306
+ Server:
307
+ - AmazonS3
308
+ body:
309
+ encoding: UTF-8
310
+ string: |-
311
+ <?xml version="1.0" encoding="UTF-8"?>
312
+ <CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2020-11-13T14:14:33.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag></CopyObjectResult>
313
+ recorded_at: Fri, 13 Nov 2020 14:14:32 GMT
314
+ - request:
315
+ method: get
316
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
317
+ body:
318
+ encoding: UTF-8
319
+ string: ''
320
+ headers:
321
+ Content-Type:
322
+ - ''
323
+ Accept-Encoding:
324
+ - ''
325
+ User-Agent:
326
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
327
+ Host:
328
+ - file-manager-tests.s3.us-west-2.amazonaws.com
329
+ X-Amz-Date:
330
+ - 20201113T141432Z
331
+ X-Amz-Content-Sha256:
332
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
333
+ Authorization:
334
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
335
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=1a21fa25a39e65d73bfa1705b9a2c39ec40fe056609cbdce685bdb842f53bc31
336
+ Content-Length:
337
+ - '0'
338
+ Accept:
339
+ - "*/*"
340
+ response:
341
+ status:
342
+ code: 200
343
+ message: OK
344
+ headers:
345
+ X-Amz-Id-2:
346
+ - Eqrw4O25FO/ZmqfwD9GoBXrPARKvOgbc+SihPew4gjOiza9q34VnDf6wVclwjYpLGk2BbHIGHcM=
347
+ X-Amz-Request-Id:
348
+ - CQ4YES2TCQ7Q5MBP
349
+ Date:
350
+ - Fri, 13 Nov 2020 14:14:34 GMT
351
+ X-Amz-Bucket-Region:
352
+ - us-west-2
353
+ Content-Type:
354
+ - application/xml
355
+ Transfer-Encoding:
356
+ - chunked
357
+ Server:
358
+ - AmazonS3
359
+ body:
360
+ encoding: UTF-8
361
+ string: |-
362
+ <?xml version="1.0" encoding="UTF-8"?>
363
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>2</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>new/name.txt</Key><LastModified>2020-11-13T14:14:33.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag><Size>12</Size><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>original/name.txt</Key><LastModified>2020-11-13T14:14:30.000Z</LastModified><ETag>&quot;ea00c265386131a9130c82e626966749&quot;</ETag><Size>12</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
364
+ recorded_at: Fri, 13 Nov 2020 14:14:33 GMT
365
+ - request:
366
+ method: put
367
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
368
+ body:
369
+ encoding: UTF-8
370
+ string: ''
371
+ headers:
372
+ Content-Type:
373
+ - ''
374
+ Accept-Encoding:
375
+ - ''
376
+ User-Agent:
377
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
378
+ X-Amz-Copy-Source:
379
+ - file-manager-tests/nao_existe/name.txt
380
+ Host:
381
+ - file-manager-tests.s3.us-west-2.amazonaws.com
382
+ X-Amz-Date:
383
+ - 20201113T141433Z
384
+ X-Amz-Content-Sha256:
385
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
386
+ Authorization:
387
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
388
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-copy-source;x-amz-date,
389
+ Signature=0c1e2ccfc4b28312109f52345c802d6f5d0be205131f0004aea9850f55ce5e50
390
+ Content-Length:
391
+ - '0'
392
+ Accept:
393
+ - "*/*"
394
+ response:
395
+ status:
396
+ code: 404
397
+ message: Not Found
398
+ headers:
399
+ X-Amz-Request-Id:
400
+ - 9H1VEJEX5K4HEV4M
401
+ X-Amz-Id-2:
402
+ - I6xu5Gr9s7AEKy2Octi8waiQmVQfCE2CxpAGkXEsKijhCU5QEslBIyQsfEIWD8MQ3vQiiNsNfsU=
403
+ Content-Type:
404
+ - application/xml
405
+ Transfer-Encoding:
406
+ - chunked
407
+ Date:
408
+ - Fri, 13 Nov 2020 14:14:33 GMT
409
+ Server:
410
+ - AmazonS3
411
+ body:
412
+ encoding: UTF-8
413
+ string: "<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>nao_existe/name.txt</Key><RequestId>9H1VEJEX5K4HEV4M</RequestId><HostId>I6xu5Gr9s7AEKy2Octi8waiQmVQfCE2CxpAGkXEsKijhCU5QEslBIyQsfEIWD8MQ3vQiiNsNfsU=</HostId></Error>"
414
+ recorded_at: Fri, 13 Nov 2020 14:14:34 GMT
415
+ - request:
416
+ method: delete
417
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/original/name.txt
418
+ body:
419
+ encoding: UTF-8
420
+ string: ''
421
+ headers:
422
+ Content-Type:
423
+ - ''
424
+ Accept-Encoding:
425
+ - ''
426
+ User-Agent:
427
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
428
+ Host:
429
+ - file-manager-tests.s3.us-west-2.amazonaws.com
430
+ X-Amz-Date:
431
+ - 20201113T141434Z
432
+ X-Amz-Content-Sha256:
433
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
434
+ Authorization:
435
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
436
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=f262acd72a43edb17cae2ae67761a76e1aaf681c0c50117d22e44a5f87f70a17
437
+ Content-Length:
438
+ - '0'
439
+ Accept:
440
+ - "*/*"
441
+ response:
442
+ status:
443
+ code: 204
444
+ message: No Content
445
+ headers:
446
+ X-Amz-Id-2:
447
+ - kvW7+vBBUjuKjZFANt+5OxTv4F4yPqCFnJbXtrY/naf2U8h2YeJ3Lcn/6tXDuYCx9nX6XB9wrf4=
448
+ X-Amz-Request-Id:
449
+ - 82B496C465016F24
450
+ Date:
451
+ - Fri, 13 Nov 2020 14:14:35 GMT
452
+ Server:
453
+ - AmazonS3
454
+ body:
455
+ encoding: UTF-8
456
+ string: ''
457
+ recorded_at: Fri, 13 Nov 2020 14:14:34 GMT
458
+ - request:
459
+ method: delete
460
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
461
+ body:
462
+ encoding: UTF-8
463
+ string: ''
464
+ headers:
465
+ Content-Type:
466
+ - ''
467
+ Accept-Encoding:
468
+ - ''
469
+ User-Agent:
470
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
471
+ Host:
472
+ - file-manager-tests.s3.us-west-2.amazonaws.com
473
+ X-Amz-Date:
474
+ - 20201113T141434Z
475
+ X-Amz-Content-Sha256:
476
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
477
+ Authorization:
478
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
479
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=283b68240b88e24421f53a44dcb7cf97b4f5fa064b2c47d9da0e9e8b19a1b7bb
480
+ Content-Length:
481
+ - '0'
482
+ Accept:
483
+ - "*/*"
484
+ response:
485
+ status:
486
+ code: 204
487
+ message: No Content
488
+ headers:
489
+ X-Amz-Id-2:
490
+ - fyRYk+aFLFPn65VOU0bAADJ8esChwMMQ/KxfJuod8kSJuRJeidqjlquMrwpWu60W4wlYn3kNYL0=
491
+ X-Amz-Request-Id:
492
+ - 3BA6FBFFF6F90355
493
+ Date:
494
+ - Fri, 13 Nov 2020 14:14:36 GMT
495
+ Server:
496
+ - AmazonS3
497
+ body:
498
+ encoding: UTF-8
499
+ string: ''
500
+ recorded_at: Fri, 13 Nov 2020 14:14:35 GMT
501
+ - request:
502
+ method: get
503
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
504
+ body:
505
+ encoding: UTF-8
506
+ string: ''
507
+ headers:
508
+ Content-Type:
509
+ - ''
510
+ Accept-Encoding:
511
+ - ''
512
+ User-Agent:
513
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
514
+ Host:
515
+ - file-manager-tests.s3.us-west-2.amazonaws.com
516
+ X-Amz-Date:
517
+ - 20201113T141435Z
518
+ X-Amz-Content-Sha256:
519
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
520
+ Authorization:
521
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201113/us-west-2/s3/aws4_request,
522
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=47362ff133173f2410e12c0a3d0e11385b23afb9d5924494d0f8c1de7cd94d42
523
+ Content-Length:
524
+ - '0'
525
+ Accept:
526
+ - "*/*"
527
+ response:
528
+ status:
529
+ code: 200
530
+ message: OK
531
+ headers:
532
+ X-Amz-Id-2:
533
+ - q8xm5wyMNFrMqTupxAGEY1L2lz+hyvnsFUV9exve+871YL2tjIKPwYHlgGpF4RIi51W+zPrSNVg=
534
+ X-Amz-Request-Id:
535
+ - '9779829796732903'
536
+ Date:
537
+ - Fri, 13 Nov 2020 14:14:37 GMT
538
+ X-Amz-Bucket-Region:
539
+ - us-west-2
540
+ Content-Type:
541
+ - application/xml
542
+ Transfer-Encoding:
543
+ - chunked
544
+ Server:
545
+ - AmazonS3
546
+ body:
547
+ encoding: UTF-8
548
+ string: |-
549
+ <?xml version="1.0" encoding="UTF-8"?>
550
+ <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>
551
+ recorded_at: Fri, 13 Nov 2020 14:14:36 GMT
552
+ recorded_with: VCR 6.0.0
@@ -16,12 +16,12 @@ http_interactions:
16
16
  Host:
17
17
  - file-manager-tests.s3.us-west-2.amazonaws.com
18
18
  X-Amz-Date:
19
- - 20201111T144026Z
19
+ - 20201112T131726Z
20
20
  X-Amz-Content-Sha256:
21
21
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
22
22
  Authorization:
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=c9336dbdc2481b37ca0634952a63bb8ce5183c2b60b995bf30b4cf6d153b86db
23
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
24
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=f0fb6924ee4f22dd6cf1f44800717de9e3475b72f82af218237292da17301efd
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
- - sUsX3SYYBSZ4V+cmuAjcz10KpqxlWVFEMCTk3EJ+0pw0qMcWwc7h/Xl5Ib+wesxza6srBuvuxwU=
35
+ - GwzhL5jmSqQ37L5hQc1fUMbMcJCNU/ZApoc5J9jc537a/eaq0pUT9fL/dJfbXXDcCp4cPPlAzm4=
36
36
  X-Amz-Request-Id:
37
- - C386D8A39126B7D5
37
+ - 935A205D0DBD4061
38
38
  Date:
39
- - Wed, 11 Nov 2020 14:40:27 GMT
39
+ - Thu, 12 Nov 2020 13:17:28 GMT
40
40
  X-Amz-Bucket-Region:
41
41
  - us-west-2
42
42
  Content-Type:
@@ -50,7 +50,7 @@ http_interactions:
50
50
  string: |-
51
51
  <?xml version="1.0" encoding="UTF-8"?>
52
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:27 GMT
53
+ recorded_at: Thu, 12 Nov 2020 13:17:27 GMT
54
54
  - request:
55
55
  method: put
56
56
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/original/name.txt
@@ -71,13 +71,13 @@ http_interactions:
71
71
  Host:
72
72
  - file-manager-tests.s3.us-west-2.amazonaws.com
73
73
  X-Amz-Date:
74
- - 20201111T144027Z
74
+ - 20201112T131727Z
75
75
  X-Amz-Content-Sha256:
76
76
  - a834188aab6b2ca5a95b886a9cf93103b4e1f8a7764a7bc4517fb51d2784f4dc
77
77
  Authorization:
78
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
78
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
79
79
  SignedHeaders=content-md5;host;user-agent;x-amz-content-sha256;x-amz-date,
80
- Signature=2122e0734b0b47fabc9e9d60fc3b7df3054ac1f9a2a483f3c7e5d1af01df369b
80
+ Signature=56c17a565672cb3329a97d8e7de61f6e1b9c2eb632290969c3e0c524cccf0d6b
81
81
  Content-Length:
82
82
  - '14'
83
83
  Accept:
@@ -88,11 +88,11 @@ http_interactions:
88
88
  message: OK
89
89
  headers:
90
90
  X-Amz-Id-2:
91
- - AJdevfCVm+WsUn5dkBO/N+lRZhidTrSIzx3w/Rzqdo/SvwGdtzMzb/vQO1RGdlRDIoNd27/B73I=
91
+ - "+QJBAcX1DiDx+Hd1EKN4uVmrOVNY4t5zmpdJfhETdv3A0EyBjMCUhOcQDupWJq1rSzsvOBY8UqI="
92
92
  X-Amz-Request-Id:
93
- - C023399DE495ECB3
93
+ - 2P1GAJ1NCR6T2S7M
94
94
  Date:
95
- - Wed, 11 Nov 2020 14:40:28 GMT
95
+ - Thu, 12 Nov 2020 13:17:29 GMT
96
96
  Etag:
97
97
  - '"ed088f678faedff81f938b39b4c48399"'
98
98
  Content-Length:
@@ -102,7 +102,7 @@ http_interactions:
102
102
  body:
103
103
  encoding: UTF-8
104
104
  string: ''
105
- recorded_at: Wed, 11 Nov 2020 14:40:27 GMT
105
+ recorded_at: Thu, 12 Nov 2020 13:17:28 GMT
106
106
  - request:
107
107
  method: put
108
108
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
@@ -121,13 +121,13 @@ http_interactions:
121
121
  Host:
122
122
  - file-manager-tests.s3.us-west-2.amazonaws.com
123
123
  X-Amz-Date:
124
- - 20201111T144027Z
124
+ - 20201112T131728Z
125
125
  X-Amz-Content-Sha256:
126
126
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
127
127
  Authorization:
128
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
128
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
129
129
  SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-copy-source;x-amz-date,
130
- Signature=f1cf90999916360fcafb03ffed15feb06e4a8a50aa57d9823bddc7519baad216
130
+ Signature=670dd41499f79fe6e2f58119f1855c2df3087dfc68db228a6fe825f25c3c44e3
131
131
  Content-Length:
132
132
  - '0'
133
133
  Accept:
@@ -138,11 +138,11 @@ http_interactions:
138
138
  message: OK
139
139
  headers:
140
140
  X-Amz-Id-2:
141
- - 71K+Fa2YOyd48KN9oBfjnvlXNh4wVuzJJ7mrB+/JSGBvYUt59an8F2Hf5tapiFnQQ/tkFfOlPzA=
141
+ - v7gAj7gRbVDqwGTe4CcPJtjwzRyGmS3N1IM9vsovL28KS/4f5ZWMs6gGFGIhXR5WSkGi38RN7mU=
142
142
  X-Amz-Request-Id:
143
- - 653798E113284FCE
143
+ - 48D0898C7BB68658
144
144
  Date:
145
- - Wed, 11 Nov 2020 14:40:29 GMT
145
+ - Thu, 12 Nov 2020 13:17:30 GMT
146
146
  Content-Type:
147
147
  - application/xml
148
148
  Content-Length:
@@ -153,8 +153,8 @@ http_interactions:
153
153
  encoding: UTF-8
154
154
  string: |-
155
155
  <?xml version="1.0" encoding="UTF-8"?>
156
- <CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2020-11-11T14:40:29.000Z</LastModified><ETag>&quot;ed088f678faedff81f938b39b4c48399&quot;</ETag></CopyObjectResult>
157
- recorded_at: Wed, 11 Nov 2020 14:40:28 GMT
156
+ <CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2020-11-12T13:17:30.000Z</LastModified><ETag>&quot;ed088f678faedff81f938b39b4c48399&quot;</ETag></CopyObjectResult>
157
+ recorded_at: Thu, 12 Nov 2020 13:17:29 GMT
158
158
  - request:
159
159
  method: delete
160
160
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/original/name.txt
@@ -171,12 +171,12 @@ http_interactions:
171
171
  Host:
172
172
  - file-manager-tests.s3.us-west-2.amazonaws.com
173
173
  X-Amz-Date:
174
- - 20201111T144028Z
174
+ - 20201112T131729Z
175
175
  X-Amz-Content-Sha256:
176
176
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
177
177
  Authorization:
178
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
179
- SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=bcafc828fcca8d3530d3cc6eaeb6ee5b63da2a7fcf7fe36d9750c9c3558465fa
178
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
179
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=239d76f473550eec296bc45f972fbb544e1d28794ae5ae225d7f68a1b567dcfc
180
180
  Content-Length:
181
181
  - '0'
182
182
  Accept:
@@ -187,17 +187,17 @@ http_interactions:
187
187
  message: No Content
188
188
  headers:
189
189
  X-Amz-Id-2:
190
- - vUR6wijhiq2ER5MbMSnLR22o8iGdVqX50N8SjNGttga1tovgy4iF0k0Ri3PCxegObzTWMlbq7/8=
190
+ - "/R6KF4D0b36t1u+IEqlmsH/C8z+kW3Vx49FKr7XDSGfcyVSEdAqAV5cP1d5vx850FOEUYShQz6U="
191
191
  X-Amz-Request-Id:
192
- - F5A35DD0FE677979
192
+ - 0AD833C66E645791
193
193
  Date:
194
- - Wed, 11 Nov 2020 14:40:30 GMT
194
+ - Thu, 12 Nov 2020 13:17:30 GMT
195
195
  Server:
196
196
  - AmazonS3
197
197
  body:
198
198
  encoding: UTF-8
199
199
  string: ''
200
- recorded_at: Wed, 11 Nov 2020 14:40:29 GMT
200
+ recorded_at: Thu, 12 Nov 2020 13:17:29 GMT
201
201
  - request:
202
202
  method: get
203
203
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
@@ -214,12 +214,12 @@ http_interactions:
214
214
  Host:
215
215
  - file-manager-tests.s3.us-west-2.amazonaws.com
216
216
  X-Amz-Date:
217
- - 20201111T144029Z
217
+ - 20201112T131729Z
218
218
  X-Amz-Content-Sha256:
219
219
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
220
220
  Authorization:
221
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
222
- SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=cfc095922f8b665d494e46e1498cccf7fd186c301efc930e129edb423b901e45
221
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
222
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=c4659a714b231664f8d074213e6d215fc90a996ef8cd8cd06516b339a8991431
223
223
  Content-Length:
224
224
  - '0'
225
225
  Accept:
@@ -230,11 +230,11 @@ http_interactions:
230
230
  message: OK
231
231
  headers:
232
232
  X-Amz-Id-2:
233
- - lMolLdd9cuk38ZBYYczw+hmheHLB456cOX+i1EgQR2SawLwNpPElZi46opygaM+FdCcb+7stUfU=
233
+ - kGyXjZAdn2kxXM2usZd/169ZqPHFPs1xXHPGAdIA82CnnEVa6MBbfpXduvSAnVe6muBGvzUnXC4=
234
234
  X-Amz-Request-Id:
235
- - 7E9CE921841B3639
235
+ - '09CF35C09762C4A2'
236
236
  Date:
237
- - Wed, 11 Nov 2020 14:40:31 GMT
237
+ - Thu, 12 Nov 2020 13:17:31 GMT
238
238
  X-Amz-Bucket-Region:
239
239
  - us-west-2
240
240
  Content-Type:
@@ -247,8 +247,8 @@ http_interactions:
247
247
  encoding: UTF-8
248
248
  string: |-
249
249
  <?xml version="1.0" encoding="UTF-8"?>
250
- <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>new/name.txt</Key><LastModified>2020-11-11T14:40:29.000Z</LastModified><ETag>&quot;ed088f678faedff81f938b39b4c48399&quot;</ETag><Size>14</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
251
- recorded_at: Wed, 11 Nov 2020 14:40:30 GMT
250
+ <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>new/name.txt</Key><LastModified>2020-11-12T13:17:30.000Z</LastModified><ETag>&quot;ed088f678faedff81f938b39b4c48399&quot;</ETag><Size>14</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
251
+ recorded_at: Thu, 12 Nov 2020 13:17:30 GMT
252
252
  - request:
253
253
  method: get
254
254
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
@@ -265,12 +265,12 @@ http_interactions:
265
265
  Host:
266
266
  - file-manager-tests.s3.us-west-2.amazonaws.com
267
267
  X-Amz-Date:
268
- - 20201111T144030Z
268
+ - 20201112T131730Z
269
269
  X-Amz-Content-Sha256:
270
270
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
271
271
  Authorization:
272
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
273
- SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=c339924260592476fefb4d17c2a894f480d3d17898381f5754114f881469200a
272
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
273
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=b2b7ea28ac4782e50767661699e14a88b146f37d0ab8deb6c8d22ed62e36a37c
274
274
  Content-Length:
275
275
  - '0'
276
276
  Accept:
@@ -281,13 +281,13 @@ http_interactions:
281
281
  message: OK
282
282
  headers:
283
283
  X-Amz-Id-2:
284
- - YT8r+jRUYjOB+5nmEETluqVSAuB36x4bnF8rgO7TIOiFGZqllBX0uMs+RUENeu7sysM1uEaYfJ0=
284
+ - a0GFE01GtSyl2STfTvYwU7E2ScvdvnK47GF1J8gSGpxanbsd/wTgt4jtTkaeaPeoo//oJCV4gBE=
285
285
  X-Amz-Request-Id:
286
- - F7F822892FADD380
286
+ - FS4J2Q1G8M1ZFN7P
287
287
  Date:
288
- - Wed, 11 Nov 2020 14:40:31 GMT
288
+ - Thu, 12 Nov 2020 13:17:32 GMT
289
289
  Last-Modified:
290
- - Wed, 11 Nov 2020 14:40:29 GMT
290
+ - Thu, 12 Nov 2020 13:17:30 GMT
291
291
  Etag:
292
292
  - '"ed088f678faedff81f938b39b4c48399"'
293
293
  Accept-Ranges:
@@ -301,7 +301,7 @@ http_interactions:
301
301
  body:
302
302
  encoding: UTF-8
303
303
  string: rename_content
304
- recorded_at: Wed, 11 Nov 2020 14:40:31 GMT
304
+ recorded_at: Thu, 12 Nov 2020 13:17:31 GMT
305
305
  - request:
306
306
  method: put
307
307
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/new2/name.txt
@@ -320,13 +320,13 @@ http_interactions:
320
320
  Host:
321
321
  - file-manager-tests.s3.us-west-2.amazonaws.com
322
322
  X-Amz-Date:
323
- - 20201111T144031Z
323
+ - 20201112T131731Z
324
324
  X-Amz-Content-Sha256:
325
325
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
326
326
  Authorization:
327
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
327
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
328
328
  SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-copy-source;x-amz-date,
329
- Signature=727825cadbcf3995c7002b99e91f4f742a2070f2b487b29da2ee0ff0bb5e5aac
329
+ Signature=c23ca91ecc0e23fdf46dbc88e305e1228902b3d87a95e51a0a890fe949eee0ef
330
330
  Content-Length:
331
331
  - '0'
332
332
  Accept:
@@ -337,11 +337,11 @@ http_interactions:
337
337
  message: OK
338
338
  headers:
339
339
  X-Amz-Id-2:
340
- - Uuqf5PYyYBBRU1j9/LlSSQQX1GeNksAlo223FmAhdG6aBdKG2YtT3Xe4WTClLfH/jt1kB6ai0eo=
340
+ - BvPN13xHDq0zf+2y4zLhyQdqFBdvXidP1A2/bchuXy1+OUloeok8ym3VMUQJ3raLqelEJmgZuFw=
341
341
  X-Amz-Request-Id:
342
- - 7A9BC2CDB5EA1784
342
+ - 561DBEB6D05B73D1
343
343
  Date:
344
- - Wed, 11 Nov 2020 14:40:32 GMT
344
+ - Thu, 12 Nov 2020 13:17:33 GMT
345
345
  Content-Type:
346
346
  - application/xml
347
347
  Content-Length:
@@ -352,8 +352,8 @@ http_interactions:
352
352
  encoding: UTF-8
353
353
  string: |-
354
354
  <?xml version="1.0" encoding="UTF-8"?>
355
- <CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2020-11-11T14:40:32.000Z</LastModified><ETag>&quot;ed088f678faedff81f938b39b4c48399&quot;</ETag></CopyObjectResult>
356
- recorded_at: Wed, 11 Nov 2020 14:40:31 GMT
355
+ <CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2020-11-12T13:17:33.000Z</LastModified><ETag>&quot;ed088f678faedff81f938b39b4c48399&quot;</ETag></CopyObjectResult>
356
+ recorded_at: Thu, 12 Nov 2020 13:17:32 GMT
357
357
  - request:
358
358
  method: delete
359
359
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
@@ -370,12 +370,12 @@ http_interactions:
370
370
  Host:
371
371
  - file-manager-tests.s3.us-west-2.amazonaws.com
372
372
  X-Amz-Date:
373
- - 20201111T144031Z
373
+ - 20201112T131732Z
374
374
  X-Amz-Content-Sha256:
375
375
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
376
376
  Authorization:
377
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
378
- SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=587d7885fe1b452e1c2369fc0ec3ef56527d35774df4e6c239fb042d29dd3103
377
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
378
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=b36f8c7c8e05d8eee037650b1d1ebdac8057b6bf9e7b5180735498a70e6a43c9
379
379
  Content-Length:
380
380
  - '0'
381
381
  Accept:
@@ -386,17 +386,17 @@ http_interactions:
386
386
  message: No Content
387
387
  headers:
388
388
  X-Amz-Id-2:
389
- - Jfe9zBnWMuDdfkUFYoVptVcO9n/8zOO9qc/FjzaCSTta976c5rBc/JteiTQOdIf8DMYu5+5plXU=
389
+ - S1yM0CsBVBbpGD3vpeEaZeswvvPnBgNm3miZDKPwHzMOfVoegsiCkO0INGOx5yIl21s4NFAC+Qg=
390
390
  X-Amz-Request-Id:
391
- - DE0D6A8013BFF964
391
+ - 277824E6E726D653
392
392
  Date:
393
- - Wed, 11 Nov 2020 14:40:33 GMT
393
+ - Thu, 12 Nov 2020 13:17:33 GMT
394
394
  Server:
395
395
  - AmazonS3
396
396
  body:
397
397
  encoding: UTF-8
398
398
  string: ''
399
- recorded_at: Wed, 11 Nov 2020 14:40:32 GMT
399
+ recorded_at: Thu, 12 Nov 2020 13:17:32 GMT
400
400
  - request:
401
401
  method: get
402
402
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
@@ -413,12 +413,12 @@ http_interactions:
413
413
  Host:
414
414
  - file-manager-tests.s3.us-west-2.amazonaws.com
415
415
  X-Amz-Date:
416
- - 20201111T144032Z
416
+ - 20201112T131732Z
417
417
  X-Amz-Content-Sha256:
418
418
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
419
419
  Authorization:
420
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
421
- SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=3c2221f79c2eb309d1810bcb147605ad9662d85b31ab657b53e042886763ec75
420
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
421
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=d64eaee7da7041c475ea228adfc355fcbefbcf81e9105fbff4e0eb4c5af48939
422
422
  Content-Length:
423
423
  - '0'
424
424
  Accept:
@@ -429,11 +429,11 @@ http_interactions:
429
429
  message: OK
430
430
  headers:
431
431
  X-Amz-Id-2:
432
- - tnQZuuIyTJe53gLUoGnyJtx3YKPU9dpkyTDEBue3O3RdfsfUA1dMLEB25raYv82R9c+3twaLzZA=
432
+ - yh/3rTZJwVaIhEPAfdoyKt5KDSwCBh9THw/DXdGYSivDIPtUvud/pRyWC96fn8FYjNarvZNgCO4=
433
433
  X-Amz-Request-Id:
434
- - AB023DF8DB5FF69F
434
+ - B23BA957F3E7CDE8
435
435
  Date:
436
- - Wed, 11 Nov 2020 14:40:34 GMT
436
+ - Thu, 12 Nov 2020 13:17:34 GMT
437
437
  X-Amz-Bucket-Region:
438
438
  - us-west-2
439
439
  Content-Type:
@@ -446,8 +446,8 @@ http_interactions:
446
446
  encoding: UTF-8
447
447
  string: |-
448
448
  <?xml version="1.0" encoding="UTF-8"?>
449
- <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>new/new2/name.txt</Key><LastModified>2020-11-11T14:40:32.000Z</LastModified><ETag>&quot;ed088f678faedff81f938b39b4c48399&quot;</ETag><Size>14</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
450
- recorded_at: Wed, 11 Nov 2020 14:40:33 GMT
449
+ <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>new/new2/name.txt</Key><LastModified>2020-11-12T13:17:33.000Z</LastModified><ETag>&quot;ed088f678faedff81f938b39b4c48399&quot;</ETag><Size>14</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
450
+ recorded_at: Thu, 12 Nov 2020 13:17:33 GMT
451
451
  - request:
452
452
  method: get
453
453
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/new2/name.txt
@@ -464,12 +464,12 @@ http_interactions:
464
464
  Host:
465
465
  - file-manager-tests.s3.us-west-2.amazonaws.com
466
466
  X-Amz-Date:
467
- - 20201111T144033Z
467
+ - 20201112T131733Z
468
468
  X-Amz-Content-Sha256:
469
469
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
470
470
  Authorization:
471
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
472
- SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=9c773455f4ad8825976197095a45b11e2a5908d2087d2f20b2a866b0d20f8c40
471
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
472
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=f1a4508e43ebf5a3c44a7e7d3f054361b5982f2d8bda3790dc7cfd6deb47867a
473
473
  Content-Length:
474
474
  - '0'
475
475
  Accept:
@@ -480,13 +480,13 @@ http_interactions:
480
480
  message: OK
481
481
  headers:
482
482
  X-Amz-Id-2:
483
- - Oh0hUiqy3ujGVVHQy8u2rl9OA7V3q4myKIA29i/I6fZajIaVwzYdXABs0m0NGlUBu5TSgLHm76w=
483
+ - omMhN59GHAqSPZ37kdgkIQCTcT+ru4R81F/jvH3PoiuBQVGaFZNsybMD2c1Gazlr5qtcLuLUhZY=
484
484
  X-Amz-Request-Id:
485
- - 0A578462DF9A8BA0
485
+ - BA803CE97A866226
486
486
  Date:
487
- - Wed, 11 Nov 2020 14:40:34 GMT
487
+ - Thu, 12 Nov 2020 13:17:35 GMT
488
488
  Last-Modified:
489
- - Wed, 11 Nov 2020 14:40:32 GMT
489
+ - Thu, 12 Nov 2020 13:17:33 GMT
490
490
  Etag:
491
491
  - '"ed088f678faedff81f938b39b4c48399"'
492
492
  Accept-Ranges:
@@ -500,7 +500,57 @@ http_interactions:
500
500
  body:
501
501
  encoding: UTF-8
502
502
  string: rename_content
503
- recorded_at: Wed, 11 Nov 2020 14:40:34 GMT
503
+ recorded_at: Thu, 12 Nov 2020 13:17:34 GMT
504
+ - request:
505
+ method: put
506
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/name.txt
507
+ body:
508
+ encoding: UTF-8
509
+ string: ''
510
+ headers:
511
+ Content-Type:
512
+ - ''
513
+ Accept-Encoding:
514
+ - ''
515
+ User-Agent:
516
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
517
+ X-Amz-Copy-Source:
518
+ - file-manager-tests/nao_existe/name.txt
519
+ Host:
520
+ - file-manager-tests.s3.us-west-2.amazonaws.com
521
+ X-Amz-Date:
522
+ - 20201112T131734Z
523
+ X-Amz-Content-Sha256:
524
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
525
+ Authorization:
526
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
527
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-copy-source;x-amz-date,
528
+ Signature=a72b4e08476f743f84a7005e24b2ecdf9694e9d8fb333759c5b28d693eb67b3b
529
+ Content-Length:
530
+ - '0'
531
+ Accept:
532
+ - "*/*"
533
+ response:
534
+ status:
535
+ code: 404
536
+ message: Not Found
537
+ headers:
538
+ X-Amz-Request-Id:
539
+ - BDAF2E022D3CE395
540
+ X-Amz-Id-2:
541
+ - 8wMDKawmJBYfWHV6eB8KrouC9DrLmKbg+GAgMC23OJVG7rIWMoj3e2ghSpUXS7/U/+nYLSipy/U=
542
+ Content-Type:
543
+ - application/xml
544
+ Transfer-Encoding:
545
+ - chunked
546
+ Date:
547
+ - Thu, 12 Nov 2020 13:17:34 GMT
548
+ Server:
549
+ - AmazonS3
550
+ body:
551
+ encoding: UTF-8
552
+ string: "<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>nao_existe/name.txt</Key><RequestId>BDAF2E022D3CE395</RequestId><HostId>8wMDKawmJBYfWHV6eB8KrouC9DrLmKbg+GAgMC23OJVG7rIWMoj3e2ghSpUXS7/U/+nYLSipy/U=</HostId></Error>"
553
+ recorded_at: Thu, 12 Nov 2020 13:17:35 GMT
504
554
  - request:
505
555
  method: delete
506
556
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/original/name.txt
@@ -517,12 +567,12 @@ http_interactions:
517
567
  Host:
518
568
  - file-manager-tests.s3.us-west-2.amazonaws.com
519
569
  X-Amz-Date:
520
- - 20201111T144034Z
570
+ - 20201112T131735Z
521
571
  X-Amz-Content-Sha256:
522
572
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
523
573
  Authorization:
524
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
525
- SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=92fab41afd078f886e1b3cc2600776d42e411c4a582309e939cee6b88e6fbb2a
574
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
575
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=5d8ca4020a5dbe030ae74eab7783d17f0d36ea9ce733406c45336f5d2260a3db
526
576
  Content-Length:
527
577
  - '0'
528
578
  Accept:
@@ -533,17 +583,17 @@ http_interactions:
533
583
  message: No Content
534
584
  headers:
535
585
  X-Amz-Id-2:
536
- - "+aXe6HIb+zOg/37o3BxZ1AxTLnZfeFueNAAO1x70myXi8H3u43kuFcsNgweoO6ilIIzpOxLVGrE="
586
+ - sq8xuB2WYkzX8did/C9FMuvHNppC/MS5J7y7+P45CDzOEqsqsn3vAVKnDNU3QLba95AvHlnAfIE=
537
587
  X-Amz-Request-Id:
538
- - 6D672E94EA939814
588
+ - CA9477F310BAB01D
539
589
  Date:
540
- - Wed, 11 Nov 2020 14:40:35 GMT
590
+ - Thu, 12 Nov 2020 13:17:36 GMT
541
591
  Server:
542
592
  - AmazonS3
543
593
  body:
544
594
  encoding: UTF-8
545
595
  string: ''
546
- recorded_at: Wed, 11 Nov 2020 14:40:34 GMT
596
+ recorded_at: Thu, 12 Nov 2020 13:17:35 GMT
547
597
  - request:
548
598
  method: delete
549
599
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/new/new2/name.txt
@@ -560,12 +610,12 @@ http_interactions:
560
610
  Host:
561
611
  - file-manager-tests.s3.us-west-2.amazonaws.com
562
612
  X-Amz-Date:
563
- - 20201111T144034Z
613
+ - 20201112T131735Z
564
614
  X-Amz-Content-Sha256:
565
615
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
566
616
  Authorization:
567
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
568
- SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=4dd256da0b0869e56292b91eecdb6cde85db31f2f236f3f515c9e36ed3f04c37
617
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
618
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=a2114aab93ca59422184e3311374dee9b8361a027d5d56daf851209b3af01c40
569
619
  Content-Length:
570
620
  - '0'
571
621
  Accept:
@@ -576,17 +626,17 @@ http_interactions:
576
626
  message: No Content
577
627
  headers:
578
628
  X-Amz-Id-2:
579
- - xZHfM76jS2nz52gmKEsuKb94MkHe8DJW/P5HgKE7nFYRrLs8w3umkQktoSuoXg/YInarjoHI07M=
629
+ - 9h9F9X9mO6UM2pU2iYk59anEBWSHdWeN1wYQ0gkWlKK5+hyMPXJhfAeqQ/RLxBKNWoHTBA/7T/M=
580
630
  X-Amz-Request-Id:
581
- - AE73809B6B6DB9D1
631
+ - '0945D7658D00EB84'
582
632
  Date:
583
- - Wed, 11 Nov 2020 14:40:36 GMT
633
+ - Thu, 12 Nov 2020 13:17:37 GMT
584
634
  Server:
585
635
  - AmazonS3
586
636
  body:
587
637
  encoding: UTF-8
588
638
  string: ''
589
- recorded_at: Wed, 11 Nov 2020 14:40:35 GMT
639
+ recorded_at: Thu, 12 Nov 2020 13:17:36 GMT
590
640
  - request:
591
641
  method: get
592
642
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
@@ -603,12 +653,12 @@ http_interactions:
603
653
  Host:
604
654
  - file-manager-tests.s3.us-west-2.amazonaws.com
605
655
  X-Amz-Date:
606
- - 20201111T144035Z
656
+ - 20201112T131736Z
607
657
  X-Amz-Content-Sha256:
608
658
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
609
659
  Authorization:
610
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
611
- SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=33f72a613bf2c8030a3162fcfd48201b765b6eeef243a2434b79895d24bee49d
660
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201112/us-west-2/s3/aws4_request,
661
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=d5571ab8824eb71714014dcc1b116625701295e8e80eaa01eb21bd74851ff0b0
612
662
  Content-Length:
613
663
  - '0'
614
664
  Accept:
@@ -619,11 +669,11 @@ http_interactions:
619
669
  message: OK
620
670
  headers:
621
671
  X-Amz-Id-2:
622
- - ChRGGw3eHFJPOQpcFmx38x99qs4GT2rPCQTLb6UAdGrff73eZkCZsO32lZnxfr6NFH+1U5+Rr/o=
672
+ - BfzdvyYCh8qXRwpzzbTFA809w+t/M8pY+1B2wnEBg3eeD42lHBWfm5aIhz9qsgpJSzZVYi7jtxQ=
623
673
  X-Amz-Request-Id:
624
- - 0QCREGEJ3KDW6S8M
674
+ - FCE7254D9CF5670D
625
675
  Date:
626
- - Wed, 11 Nov 2020 14:40:37 GMT
676
+ - Thu, 12 Nov 2020 13:17:38 GMT
627
677
  X-Amz-Bucket-Region:
628
678
  - us-west-2
629
679
  Content-Type:
@@ -637,5 +687,5 @@ http_interactions:
637
687
  string: |-
638
688
  <?xml version="1.0" encoding="UTF-8"?>
639
689
  <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>
640
- recorded_at: Wed, 11 Nov 2020 14:40:36 GMT
690
+ recorded_at: Thu, 12 Nov 2020 13:17:37 GMT
641
691
  recorded_with: VCR 6.0.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: file-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francisco Barroso / Marlus Saraiva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-11 00:00:00.000000000 Z
11
+ date: 2020-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -121,6 +121,7 @@ files:
121
121
  - test/memory_file_manager_test.rb
122
122
  - test/s3_file_manager_test.rb
123
123
  - test/test_helper.rb
124
+ - test/vcr_cassettes/test_copy_file.yml
124
125
  - test/vcr_cassettes/test_downloading_to_temp_file.yml
125
126
  - test/vcr_cassettes/test_listing_files.yml
126
127
  - test/vcr_cassettes/test_listing_files_in_sub_dir.yml
@@ -157,6 +158,7 @@ test_files:
157
158
  - test/memory_file_manager_test.rb
158
159
  - test/s3_file_manager_test.rb
159
160
  - test/test_helper.rb
161
+ - test/vcr_cassettes/test_copy_file.yml
160
162
  - test/vcr_cassettes/test_downloading_to_temp_file.yml
161
163
  - test/vcr_cassettes/test_listing_files.yml
162
164
  - test/vcr_cassettes/test_listing_files_in_sub_dir.yml