file-manager 0.4.0 → 0.5.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: f4709dad37f74843db6ef637bcc5c32f8ae4a292a1af753633f6f14e611c837a
4
- data.tar.gz: b6e055cee3df135bc8ee15e187410aa8ea9bfdca14d5b398423f9642419d03f7
3
+ metadata.gz: ace7fc3d0de9b646ee8b5de0e5354394c02f6b6a85703cd21691ef14a8466a71
4
+ data.tar.gz: 18f272b1e9d9d1b57029c66d4385e1a768cf676ce25b15185f4b6c54f0f009d8
5
5
  SHA512:
6
- metadata.gz: 4a628c66167c0e206cc55f2179391268298e373f3254d0dede72858b0b3a7cd8a83ba6bbe01f880df3954e0ec8796efdf220b6f62b019a63e3d8a9dc4ac00128
7
- data.tar.gz: 0e00d7beebe557671ad764556b610096a7195e943c55686bcb28b8aed8ee8c81a7dce8c40dce880efc63041a1373df89b509eeec411a02f69c4aa2235f0d7a4a
6
+ metadata.gz: '0468886aa264b87523a7ac13a3571e37fb186e35a1b286bbd8eb1d3746074750e7fddf08cc6665c29b7161078c08f5fef88d576801e11d5d1ce91351c83427d1'
7
+ data.tar.gz: a323b2c72aea6779fa6f1d14a5ebd063041d4af842cfa6bf661e218c84745e68a2f3537acb58197d476fc379bfc79ce4019898dba6801c316f55b57618e01d41
@@ -2,8 +2,8 @@ language: ruby
2
2
  env:
3
3
  - JRUBY_OPTS=--debug
4
4
  rvm:
5
- - 2.4.4
6
- - jruby-9.1.17.0
5
+ - 2.5.3
6
+ - jruby-9.2.5.0
7
7
  - ruby-head
8
8
  - jruby-head
9
9
  jdk:
@@ -1,43 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- file-manager (0.4.0)
4
+ file-manager (0.5.0)
5
5
  aws-sdk-s3 (~> 1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.5.2)
11
- public_suffix (>= 2.0.2, < 4.0)
12
- aws-eventstream (1.0.1)
13
- aws-partitions (1.94.0)
14
- aws-sdk-core (3.21.3)
15
- aws-eventstream (~> 1.0)
16
- aws-partitions (~> 1.0)
17
- aws-sigv4 (~> 1.0)
10
+ addressable (2.7.0)
11
+ public_suffix (>= 2.0.2, < 5.0)
12
+ aws-eventstream (1.1.0)
13
+ aws-partitions (1.391.0)
14
+ aws-sdk-core (3.109.2)
15
+ aws-eventstream (~> 1, >= 1.0.2)
16
+ aws-partitions (~> 1, >= 1.239.0)
17
+ aws-sigv4 (~> 1.1)
18
18
  jmespath (~> 1.0)
19
- aws-sdk-kms (1.5.0)
20
- aws-sdk-core (~> 3)
21
- aws-sigv4 (~> 1.0)
22
- aws-sdk-s3 (1.14.0)
23
- aws-sdk-core (~> 3, >= 3.21.2)
19
+ aws-sdk-kms (1.39.0)
20
+ aws-sdk-core (~> 3, >= 3.109.0)
21
+ aws-sigv4 (~> 1.1)
22
+ aws-sdk-s3 (1.84.1)
23
+ aws-sdk-core (~> 3, >= 3.109.0)
24
24
  aws-sdk-kms (~> 1)
25
- aws-sigv4 (~> 1.0)
26
- aws-sigv4 (1.0.2)
27
- crack (0.4.3)
28
- safe_yaml (~> 1.0.0)
29
- hashdiff (0.3.7)
25
+ aws-sigv4 (~> 1.1)
26
+ aws-sigv4 (1.2.2)
27
+ aws-eventstream (~> 1, >= 1.0.2)
28
+ crack (0.4.4)
29
+ hashdiff (1.0.1)
30
30
  jmespath (1.4.0)
31
- minitest (5.11.3)
32
- public_suffix (3.0.2)
33
- rake (12.3.1)
34
- safe_yaml (1.0.4)
35
- single_cov (1.0.3)
36
- vcr (4.0.0)
37
- webmock (3.4.2)
31
+ minitest (5.14.2)
32
+ public_suffix (4.0.6)
33
+ rake (13.0.1)
34
+ single_cov (1.6.0)
35
+ vcr (6.0.0)
36
+ webmock (3.9.5)
38
37
  addressable (>= 2.3.6)
39
38
  crack (>= 0.3.2)
40
- hashdiff
39
+ hashdiff (>= 0.4.0, < 2.0.0)
41
40
 
42
41
  PLATFORMS
43
42
  java
@@ -53,4 +52,4 @@ DEPENDENCIES
53
52
  webmock
54
53
 
55
54
  BUNDLED WITH
56
- 1.16.2
55
+ 2.0.1
data/README.md CHANGED
@@ -40,6 +40,14 @@ file_manager_txt = factory.create(:txt)
40
40
 
41
41
  file_manager_txt.save_file('babau.txt', 'buuuu')
42
42
 
43
+ ## Testing
44
+
45
+ ```sh
46
+ export AWS_ACCESS_KEY_ID='' # with your keys
47
+ export AWS_SECRET_ACCESS_KEY=''
48
+ bundle exec rake
49
+ ```
50
+
43
51
  ## Contributing
44
52
 
45
53
  1. Fork it
@@ -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.4.0'
6
+ spec.version = '0.5.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'
@@ -52,6 +52,15 @@ class LocalFileManager < FileManager
52
52
  @logger.puts 'done.'
53
53
  end
54
54
 
55
+ def rename_file original_file_name, target_file_name
56
+ @logger.print "Renaming file \"#{original_file_name}\" to \"#{target_file_name}\" from local folder \"#{root_path}\"..."
57
+ full_original_file_name = File.join(root_path, original_file_name)
58
+ full_target_file_name = Pathname(File.join(root_path, target_file_name))
59
+ FileUtils.mkdir_p(full_target_file_name.dirname)
60
+ FileUtils.mv full_original_file_name, full_target_file_name
61
+ @logger.puts 'done.'
62
+ end
63
+
55
64
  private
56
65
 
57
66
  def root_path
@@ -16,6 +16,10 @@ class MemoryFileManager < FileManager
16
16
  end
17
17
 
18
18
  def list_files(prefix = '', file_extension = '*')
19
+ if prefix == '' && file_extension == '*'
20
+ return @data.keys
21
+ end
22
+
19
23
  @data.keys.select{|key| key.start_with?(prefix) && key.end_with?(".#{file_extension}")}
20
24
  end
21
25
 
@@ -32,4 +36,8 @@ class MemoryFileManager < FileManager
32
36
  end
33
37
  end
34
38
 
39
+ def rename_file original_file_name, target_file_name
40
+ @data["#{target_file_name}"] = @data["#{original_file_name}"]
41
+ @data.delete "#{original_file_name}"
42
+ end
35
43
  end
@@ -80,6 +80,14 @@ class S3FileManager < FileManager
80
80
  logger.puts 'done.'
81
81
  end
82
82
 
83
+ def rename_file original_file_name, target_file_name
84
+ s3_service = connect_s3_service
85
+ bucket = s3_service.bucket(bucket_name)
86
+ logger.print "Renaming file \"#{original_file_name}\" \"#{target_file_name}\" from bucket \"#{bucket_name}\"..."
87
+ bucket.object(original_file_name).move_to(bucket: bucket_name, key: target_file_name)
88
+ logger.puts 'done.'
89
+ end
90
+
83
91
  private
84
92
 
85
93
  def connect_s3_service
@@ -68,6 +68,22 @@ module FileManagerTest
68
68
  @manager.delete_file 'temp_file/saved'
69
69
  end
70
70
 
71
+ def test_rename_file
72
+ assert_empty @manager.list_files
73
+ @manager.save_file 'original/name.txt', 'rename_content'
74
+
75
+ @manager.rename_file 'original/name.txt', 'new/name.txt'
76
+ assert_equal ['new/name.txt'], @manager.list_files
77
+ assert_equal 'rename_content', @manager.read_file('new/name.txt')
78
+
79
+ @manager.rename_file 'new/name.txt', 'new/new2/name.txt'
80
+ assert_equal ['new/new2/name.txt'], @manager.list_files
81
+ assert_equal 'rename_content', @manager.read_file('new/new2/name.txt')
82
+ ensure
83
+ @manager.delete_file 'original/name.txt'
84
+ @manager.delete_file 'new/new2/name.txt'
85
+ assert_empty @manager.list_files
86
+ end
71
87
  end
72
88
 
73
89
  class FileManagerLoggerTest < Minitest::Test
@@ -1,5 +1,6 @@
1
1
  require './test/test_helper'
2
2
  require 'local_file_manager'
3
+ require_relative 'file_manager_test'
3
4
 
4
5
  SingleCov.covered!
5
6
 
@@ -1,5 +1,6 @@
1
1
  require './test/test_helper'
2
2
  require 'memory_file_manager'
3
+ require_relative 'file_manager_test'
3
4
 
4
5
  SingleCov.covered!
5
6
 
@@ -1,5 +1,5 @@
1
1
  require 'single_cov'
2
- SingleCov.setup :minitest, branches: SingleCov::BRANCH_COVERAGE_SUPPORTED && RUBY_PLATFORM != "java"
2
+ SingleCov.setup :minitest, branches: true if RUBY_PLATFORM != "java"
3
3
  require 'minitest/autorun'
4
4
  require 'webmock/minitest'
5
5
  require 'vcr'
@@ -12,20 +12,21 @@ http_interactions:
12
12
  Accept-Encoding:
13
13
  - ''
14
14
  User-Agent:
15
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
15
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
16
16
  Expect:
17
17
  - 100-continue
18
18
  Content-Md5:
19
19
  - mgNkuembtIDdJeHwKEyFVQ==
20
- X-Amz-Date:
21
- - 20170905T193111Z
22
20
  Host:
23
- - file-manager-tests.s3-us-west-2.amazonaws.com
21
+ - file-manager-tests.s3.us-west-2.amazonaws.com
22
+ X-Amz-Date:
23
+ - 20201111T144040Z
24
24
  X-Amz-Content-Sha256:
25
25
  - ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
26
26
  Authorization:
27
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
28
- SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=77b5ca0c733dca9e50fa94641c075eb003cc5f48828806021d91383003b121c2
27
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
28
+ SignedHeaders=content-md5;host;user-agent;x-amz-content-sha256;x-amz-date,
29
+ Signature=6bacc791a90a0b2053983d6074292bacae3feb963f5f248972dfeb8ce49af257
29
30
  Content-Length:
30
31
  - '7'
31
32
  Accept:
@@ -36,11 +37,11 @@ http_interactions:
36
37
  message: OK
37
38
  headers:
38
39
  X-Amz-Id-2:
39
- - ThrCrHLPq67iKa3zU+BSgqEJ9qqNz636LiISvezfUKVARKmV+3mE400nDn0IEVEKdrB5CKgKBIg=
40
+ - v7pIH4x9r0GjI9FlS7UH+lLgWxMtGr6So7K1oM9VmZhtudDxVA4LjtHZgKXV4kafyBADrtiHxBE=
40
41
  X-Amz-Request-Id:
41
- - EA7AABC0E1F7C52C
42
+ - '088B960103233B1F'
42
43
  Date:
43
- - Tue, 05 Sep 2017 19:31:12 GMT
44
+ - Wed, 11 Nov 2020 14:40:42 GMT
44
45
  Etag:
45
46
  - '"9a0364b9e99bb480dd25e1f0284c8555"'
46
47
  Content-Length:
@@ -50,13 +51,12 @@ http_interactions:
50
51
  body:
51
52
  encoding: UTF-8
52
53
  string: ''
53
- http_version:
54
- recorded_at: Tue, 05 Sep 2017 19:31:12 GMT
54
+ recorded_at: Wed, 11 Nov 2020 14:40:41 GMT
55
55
  - request:
56
56
  method: get
57
57
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/temp_file/saved
58
58
  body:
59
- encoding: ASCII-8BIT
59
+ encoding: UTF-8
60
60
  string: ''
61
61
  headers:
62
62
  Content-Type:
@@ -64,16 +64,16 @@ http_interactions:
64
64
  Accept-Encoding:
65
65
  - ''
66
66
  User-Agent:
67
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
68
- X-Amz-Date:
69
- - 20170905T193112Z
67
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
70
68
  Host:
71
- - file-manager-tests.s3-us-west-2.amazonaws.com
69
+ - file-manager-tests.s3.us-west-2.amazonaws.com
70
+ X-Amz-Date:
71
+ - 20201111T144041Z
72
72
  X-Amz-Content-Sha256:
73
73
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
74
74
  Authorization:
75
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
76
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=d77b195464c76daf6a4e0c2d081e9011886a7fe30d5e9eba1fb80bb77568a8fe
75
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
76
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=173b4dcf56de977f8f97febd9b76233a3ed1b14b7fe82095b9fc3219e6891e42
77
77
  Content-Length:
78
78
  - '0'
79
79
  Accept:
@@ -84,13 +84,13 @@ http_interactions:
84
84
  message: OK
85
85
  headers:
86
86
  X-Amz-Id-2:
87
- - 9UJ3/6AVPXQ6SLEYwc/+TMoZq0yszEhK1qi8ACLAvyeC8jSy9fBFoWOcvEKwBuLiYPVs8hrOdow=
87
+ - oxm7JHj66N9Et/3UhmG/ZDSCTTA6LxHCIeEyE9NVF5+pbk1wdUK2vqtpT3x8+GvGQn9tBIL0u+8=
88
88
  X-Amz-Request-Id:
89
- - 0BE11CB38DBAE349
89
+ - 6978EECB4E579781
90
90
  Date:
91
- - Tue, 05 Sep 2017 19:31:14 GMT
91
+ - Wed, 11 Nov 2020 14:40:42 GMT
92
92
  Last-Modified:
93
- - Tue, 05 Sep 2017 19:31:12 GMT
93
+ - Wed, 11 Nov 2020 14:40:42 GMT
94
94
  Etag:
95
95
  - '"9a0364b9e99bb480dd25e1f0284c8555"'
96
96
  Accept-Ranges:
@@ -104,13 +104,12 @@ http_interactions:
104
104
  body:
105
105
  encoding: UTF-8
106
106
  string: content
107
- http_version:
108
- recorded_at: Tue, 05 Sep 2017 19:31:13 GMT
107
+ recorded_at: Wed, 11 Nov 2020 14:40:42 GMT
109
108
  - request:
110
109
  method: get
111
110
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/temp_file/saved
112
111
  body:
113
- encoding: ASCII-8BIT
112
+ encoding: UTF-8
114
113
  string: ''
115
114
  headers:
116
115
  Content-Type:
@@ -118,16 +117,16 @@ http_interactions:
118
117
  Accept-Encoding:
119
118
  - ''
120
119
  User-Agent:
121
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
122
- X-Amz-Date:
123
- - 20170905T193113Z
120
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
124
121
  Host:
125
- - file-manager-tests.s3-us-west-2.amazonaws.com
122
+ - file-manager-tests.s3.us-west-2.amazonaws.com
123
+ X-Amz-Date:
124
+ - 20201111T144042Z
126
125
  X-Amz-Content-Sha256:
127
126
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
128
127
  Authorization:
129
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
130
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1256dea399728044ac726831903c6881d13fe35e9b2df7815668a3fb7df1e49c
128
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
129
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=5a3fe2bc32b36b964cdfbd439ddfc6e66b582525fe726f8f04f55da49830071c
131
130
  Content-Length:
132
131
  - '0'
133
132
  Accept:
@@ -138,13 +137,13 @@ http_interactions:
138
137
  message: OK
139
138
  headers:
140
139
  X-Amz-Id-2:
141
- - lvcN93Sm1hCQ8hL5G/FVyDs1jBrMBGPLcZ1XFwT8S1LGok6LATTuf7ECp/JdRlsruqynqEPBq/w=
140
+ - U0XDHBcTlMiOjJwClNfEJYHQpD7oIb1wcRu03gOB7xUugVY1DtWGBlULOQfEa2m93N040h+0tMA=
142
141
  X-Amz-Request-Id:
143
- - 776F417270F33D9C
142
+ - 58144A9FA1068710
144
143
  Date:
145
- - Tue, 05 Sep 2017 19:31:14 GMT
144
+ - Wed, 11 Nov 2020 14:40:43 GMT
146
145
  Last-Modified:
147
- - Tue, 05 Sep 2017 19:31:12 GMT
146
+ - Wed, 11 Nov 2020 14:40:42 GMT
148
147
  Etag:
149
148
  - '"9a0364b9e99bb480dd25e1f0284c8555"'
150
149
  Accept-Ranges:
@@ -158,13 +157,12 @@ http_interactions:
158
157
  body:
159
158
  encoding: UTF-8
160
159
  string: content
161
- http_version:
162
- recorded_at: Tue, 05 Sep 2017 19:31:13 GMT
160
+ recorded_at: Wed, 11 Nov 2020 14:40:42 GMT
163
161
  - request:
164
162
  method: delete
165
163
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/temp_file/saved
166
164
  body:
167
- encoding: ASCII-8BIT
165
+ encoding: UTF-8
168
166
  string: ''
169
167
  headers:
170
168
  Content-Type:
@@ -172,16 +170,16 @@ http_interactions:
172
170
  Accept-Encoding:
173
171
  - ''
174
172
  User-Agent:
175
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
176
- X-Amz-Date:
177
- - 20170905T193113Z
173
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
178
174
  Host:
179
- - file-manager-tests.s3-us-west-2.amazonaws.com
175
+ - file-manager-tests.s3.us-west-2.amazonaws.com
176
+ X-Amz-Date:
177
+ - 20201111T144042Z
180
178
  X-Amz-Content-Sha256:
181
179
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
182
180
  Authorization:
183
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
184
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=0f4da92980176e880b3d5c8f837d270c17d4c1a9849aa905650dc073bcb994ac
181
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
182
+ SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=30f9e796026f3aacfd9f266a32e79c6c8a886af4f1abcc1b9fb8eef0885e8042
185
183
  Content-Length:
186
184
  - '0'
187
185
  Accept:
@@ -192,16 +190,15 @@ http_interactions:
192
190
  message: No Content
193
191
  headers:
194
192
  X-Amz-Id-2:
195
- - RGyAFzIbtaWZ6tWxwpay0kziUm4lUDVuopRLLHrwOl79h+IaCit61Q6J2KO3YEtHuPpjaQ2hP54=
193
+ - udv2xypDIi4J4u8Z4G1z3H3lDcOre4IY/osPzB68iLB53a86Dg3/0fu32JaJ62V9SLO02FLz7yo=
196
194
  X-Amz-Request-Id:
197
- - DFEAEC74800C8768
195
+ - 9QEW5WDRAZDVBXDG
198
196
  Date:
199
- - Tue, 05 Sep 2017 19:31:15 GMT
197
+ - Wed, 11 Nov 2020 14:40:44 GMT
200
198
  Server:
201
199
  - AmazonS3
202
200
  body:
203
201
  encoding: UTF-8
204
202
  string: ''
205
- http_version:
206
- recorded_at: Tue, 05 Sep 2017 19:31:14 GMT
207
- recorded_with: VCR 3.0.1
203
+ recorded_at: Wed, 11 Nov 2020 14:40:43 GMT
204
+ 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.us-west-2.amazonaws.com/?encoding-type=url&prefix=
5
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
6
6
  body:
7
- encoding: ASCII-8BIT
7
+ encoding: UTF-8
8
8
  string: ''
9
9
  headers:
10
10
  Content-Type:
@@ -12,16 +12,16 @@ http_interactions:
12
12
  Accept-Encoding:
13
13
  - ''
14
14
  User-Agent:
15
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
16
- X-Amz-Date:
17
- - 20170905T193118Z
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-us-west-2.amazonaws.com
17
+ - file-manager-tests.s3.us-west-2.amazonaws.com
18
+ X-Amz-Date:
19
+ - 20201111T144043Z
20
20
  X-Amz-Content-Sha256:
21
21
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
22
22
  Authorization:
23
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
24
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=43d63da21bc9fbeafa4ff018e086f015dba92d165ca5cefe8457cc1b28441e5e
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=ca6dbe572623d940e9f5ec8ee55c95766cee0e1b2b871623d1e2074b747a94cc
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
- - vJqbuT8jPsygGWEPQ1C4UihWrglL85bDP73aCuQiih89Ky/c0PwsuoVj7bLB4N9R979g/Yj20As=
35
+ - XJA3kFyIHvhpurZtBL2nuRKpDAr1ObnWf0qyijmpRhhcqXJcTI+6mMwnL2NrMg73PioCZ2QlL9Q=
36
36
  X-Amz-Request-Id:
37
- - 0E45BF7BEC6188BC
37
+ - BA54EEDAAB6BE145
38
38
  Date:
39
- - Tue, 05 Sep 2017 19:31:20 GMT
39
+ - Wed, 11 Nov 2020 14:40:45 GMT
40
40
  X-Amz-Bucket-Region:
41
41
  - us-west-2
42
42
  Content-Type:
@@ -49,9 +49,8 @@ http_interactions:
49
49
  encoding: UTF-8
50
50
  string: |-
51
51
  <?xml version="1.0" encoding="UTF-8"?>
52
- <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated></ListBucketResult>
53
- http_version:
54
- recorded_at: Tue, 05 Sep 2017 19:31:19 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:44 GMT
55
54
  - request:
56
55
  method: put
57
56
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved.*
@@ -64,20 +63,21 @@ http_interactions:
64
63
  Accept-Encoding:
65
64
  - ''
66
65
  User-Agent:
67
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
66
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
68
67
  Expect:
69
68
  - 100-continue
70
69
  Content-Md5:
71
70
  - mgNkuembtIDdJeHwKEyFVQ==
72
- X-Amz-Date:
73
- - 20170905T193119Z
74
71
  Host:
75
- - file-manager-tests.s3-us-west-2.amazonaws.com
72
+ - file-manager-tests.s3.us-west-2.amazonaws.com
73
+ X-Amz-Date:
74
+ - 20201111T144044Z
76
75
  X-Amz-Content-Sha256:
77
76
  - ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
78
77
  Authorization:
79
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
80
- SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=4b38a76212883ecc7840863fd809d84dffd3af95c055d16138848525ef2c2eb6
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=82ac07b9e51accbd619f682d398a772c1a12b9d39b200bef4f43e0e1044a266d
81
81
  Content-Length:
82
82
  - '7'
83
83
  Accept:
@@ -88,11 +88,11 @@ http_interactions:
88
88
  message: OK
89
89
  headers:
90
90
  X-Amz-Id-2:
91
- - OaM4iWKueGYPL5jfGRBb/APY68DVT7pNZAWv1403+GevIynEduiaB2fKdGOCElAlGMncRi3dkYU=
91
+ - FgSwsS/y9QE2eafUbygiF03KAN2J3KKJLNLT2xilgUjrGY8STnMkV+lt5zY08UMlMLQ/msrGlpo=
92
92
  X-Amz-Request-Id:
93
- - 63360F32C420D6EA
93
+ - B187CF96D483E124
94
94
  Date:
95
- - Tue, 05 Sep 2017 19:31:20 GMT
95
+ - Wed, 11 Nov 2020 14:40:45 GMT
96
96
  Etag:
97
97
  - '"9a0364b9e99bb480dd25e1f0284c8555"'
98
98
  Content-Length:
@@ -102,13 +102,12 @@ http_interactions:
102
102
  body:
103
103
  encoding: UTF-8
104
104
  string: ''
105
- http_version:
106
- recorded_at: Tue, 05 Sep 2017 19:31:20 GMT
105
+ recorded_at: Wed, 11 Nov 2020 14:40:45 GMT
107
106
  - request:
108
107
  method: get
109
- uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?encoding-type=url&prefix=other_prefix
108
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=other_prefix
110
109
  body:
111
- encoding: ASCII-8BIT
110
+ encoding: UTF-8
112
111
  string: ''
113
112
  headers:
114
113
  Content-Type:
@@ -116,16 +115,16 @@ http_interactions:
116
115
  Accept-Encoding:
117
116
  - ''
118
117
  User-Agent:
119
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
120
- X-Amz-Date:
121
- - 20170905T193120Z
118
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
122
119
  Host:
123
- - file-manager-tests.s3-us-west-2.amazonaws.com
120
+ - file-manager-tests.s3.us-west-2.amazonaws.com
121
+ X-Amz-Date:
122
+ - 20201111T144045Z
124
123
  X-Amz-Content-Sha256:
125
124
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
126
125
  Authorization:
127
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
128
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=d2b1dbd5ba46617f346877d82272bd521f25eed46bd754067600a5635f47b0ce
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=fc46c37163c1d6d0cce293ca305e7afa3388c1ae835841c9d262d8e79f82902f
129
128
  Content-Length:
130
129
  - '0'
131
130
  Accept:
@@ -136,11 +135,11 @@ http_interactions:
136
135
  message: OK
137
136
  headers:
138
137
  X-Amz-Id-2:
139
- - AkA+oWaKR359uq1189MFd3JXAHeO5GxqyOEysF//yWOkj77xNrb+w/Ww0HRs9U/Zwg9TNVQ7Bjw=
138
+ - VYqzwCnzB6SAs64bn1D0A5YDOfbLQjOsERgWlcEm5JPptVJSNMWG7qMz3RX5VBgozWth66SM+1M=
140
139
  X-Amz-Request-Id:
141
- - 6C9D930F29DF4093
140
+ - A0DE23FDC8EEC4D1
142
141
  Date:
143
- - Tue, 05 Sep 2017 19:31:21 GMT
142
+ - Wed, 11 Nov 2020 14:40:46 GMT
144
143
  X-Amz-Bucket-Region:
145
144
  - us-west-2
146
145
  Content-Type:
@@ -153,14 +152,13 @@ http_interactions:
153
152
  encoding: UTF-8
154
153
  string: |-
155
154
  <?xml version="1.0" encoding="UTF-8"?>
156
- <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>other_prefix</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated></ListBucketResult>
157
- http_version:
158
- recorded_at: Tue, 05 Sep 2017 19:31:20 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:45 GMT
159
157
  - request:
160
158
  method: get
161
- uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?encoding-type=url&prefix=sav
159
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=sav
162
160
  body:
163
- encoding: ASCII-8BIT
161
+ encoding: UTF-8
164
162
  string: ''
165
163
  headers:
166
164
  Content-Type:
@@ -168,16 +166,16 @@ http_interactions:
168
166
  Accept-Encoding:
169
167
  - ''
170
168
  User-Agent:
171
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
172
- X-Amz-Date:
173
- - 20170905T193120Z
169
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
174
170
  Host:
175
- - file-manager-tests.s3-us-west-2.amazonaws.com
171
+ - file-manager-tests.s3.us-west-2.amazonaws.com
172
+ X-Amz-Date:
173
+ - 20201111T144045Z
176
174
  X-Amz-Content-Sha256:
177
175
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
178
176
  Authorization:
179
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
180
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=02e75c9a46d5a785da77e62e3344cbfbbeb9256bca4ad5831b89f06525c5f285
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=be0335756e6facf76a1e865b3ffba1030c2d75bc3ebdbf661a055243d1594487
181
179
  Content-Length:
182
180
  - '0'
183
181
  Accept:
@@ -188,11 +186,11 @@ http_interactions:
188
186
  message: OK
189
187
  headers:
190
188
  X-Amz-Id-2:
191
- - EvjdGk2r4HbJehcyvOBE8i+2dfuMhpGGnqsjE597/2StEJN98m6BAVESh1gW/W3YsKnF4JUl6l4=
189
+ - zrkTg6mppuhFLlk8Hfahf2vs+Nar+hA9xz3gxvLfjaQoSEHbPoyjX64b4qOk/A5xutke+Zff6/k=
192
190
  X-Amz-Request-Id:
193
- - A49CE9459FDD6617
191
+ - EBD179C9066E182C
194
192
  Date:
195
- - Tue, 05 Sep 2017 19:31:22 GMT
193
+ - Wed, 11 Nov 2020 14:40:47 GMT
196
194
  X-Amz-Bucket-Region:
197
195
  - us-west-2
198
196
  Content-Type:
@@ -205,14 +203,13 @@ http_interactions:
205
203
  encoding: UTF-8
206
204
  string: |-
207
205
  <?xml version="1.0" encoding="UTF-8"?>
208
- <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated><Contents><Key>saved.*</Key><LastModified>2017-09-05T19:31:20.000Z</LastModified><ETag>&quot;9a0364b9e99bb480dd25e1f0284c8555&quot;</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
209
- http_version:
210
- recorded_at: Tue, 05 Sep 2017 19:31:21 GMT
206
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><KeyCount>1</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>saved.*</Key><LastModified>2020-11-11T14:40:45.000Z</LastModified><ETag>&quot;9a0364b9e99bb480dd25e1f0284c8555&quot;</ETag><Size>7</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
207
+ recorded_at: Wed, 11 Nov 2020 14:40:46 GMT
211
208
  - request:
212
209
  method: get
213
- uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?encoding-type=url&prefix=
210
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
214
211
  body:
215
- encoding: ASCII-8BIT
212
+ encoding: UTF-8
216
213
  string: ''
217
214
  headers:
218
215
  Content-Type:
@@ -220,16 +217,16 @@ http_interactions:
220
217
  Accept-Encoding:
221
218
  - ''
222
219
  User-Agent:
223
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
224
- X-Amz-Date:
225
- - 20170905T193121Z
220
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
226
221
  Host:
227
- - file-manager-tests.s3-us-west-2.amazonaws.com
222
+ - file-manager-tests.s3.us-west-2.amazonaws.com
223
+ X-Amz-Date:
224
+ - 20201111T144046Z
228
225
  X-Amz-Content-Sha256:
229
226
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
230
227
  Authorization:
231
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
232
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=de4789977c1618ca4960b3b70ba86a12ac98d817c22f53a09c529d8a481add4f
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=2aa01ab41c7f123d8075758815b46959908c7fad03f6de68ee83ed645c93047b
233
230
  Content-Length:
234
231
  - '0'
235
232
  Accept:
@@ -240,11 +237,11 @@ http_interactions:
240
237
  message: OK
241
238
  headers:
242
239
  X-Amz-Id-2:
243
- - Lj7kKnk35yljDNJhgGtPjQ3ZpUIPHxUfXsfwUQcXa4zY0tZj4AbF5GMq2GT0idiUJ2ZqgGZxYB8=
240
+ - JYbNZOGtdtG4qPHNBD5nspLPdZLAkTQQ3fuPl7wR0IpmSPUd1VOC6YRVRVSj6YQU4pmJNyfeDxE=
244
241
  X-Amz-Request-Id:
245
- - 1A0A841C72F5AFD0
242
+ - 15CB917B84C79716
246
243
  Date:
247
- - Tue, 05 Sep 2017 19:31:23 GMT
244
+ - Wed, 11 Nov 2020 14:40:48 GMT
248
245
  X-Amz-Bucket-Region:
249
246
  - us-west-2
250
247
  Content-Type:
@@ -257,14 +254,13 @@ http_interactions:
257
254
  encoding: UTF-8
258
255
  string: |-
259
256
  <?xml version="1.0" encoding="UTF-8"?>
260
- <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated><Contents><Key>saved.*</Key><LastModified>2017-09-05T19:31:20.000Z</LastModified><ETag>&quot;9a0364b9e99bb480dd25e1f0284c8555&quot;</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
261
- http_version:
262
- recorded_at: Tue, 05 Sep 2017 19:31:22 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>saved.*</Key><LastModified>2020-11-11T14:40:45.000Z</LastModified><ETag>&quot;9a0364b9e99bb480dd25e1f0284c8555&quot;</ETag><Size>7</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
258
+ recorded_at: Wed, 11 Nov 2020 14:40:47 GMT
263
259
  - request:
264
260
  method: get
265
- uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?encoding-type=url&prefix=sav
261
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=sav
266
262
  body:
267
- encoding: ASCII-8BIT
263
+ encoding: UTF-8
268
264
  string: ''
269
265
  headers:
270
266
  Content-Type:
@@ -272,16 +268,16 @@ http_interactions:
272
268
  Accept-Encoding:
273
269
  - ''
274
270
  User-Agent:
275
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
276
- X-Amz-Date:
277
- - 20170905T193122Z
271
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
278
272
  Host:
279
- - file-manager-tests.s3-us-west-2.amazonaws.com
273
+ - file-manager-tests.s3.us-west-2.amazonaws.com
274
+ X-Amz-Date:
275
+ - 20201111T144047Z
280
276
  X-Amz-Content-Sha256:
281
277
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
282
278
  Authorization:
283
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
284
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=f5d607dec448bfdfbc02f894d47c92c408b82877d7286834c0745f0fe7b2516b
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=57a108b07f93c556be847569d84c9a3a4369215465946d6cbef887e0c85e5a41
285
281
  Content-Length:
286
282
  - '0'
287
283
  Accept:
@@ -292,11 +288,11 @@ http_interactions:
292
288
  message: OK
293
289
  headers:
294
290
  X-Amz-Id-2:
295
- - JccSQJGLJ+ZtY5ufMyikQMNr9DAycDcRjG1u1Y9JNwYr8Dxp8M7wl7KCZfXW3Fd1KA/02luQwTM=
291
+ - YSU7HH72kI7T/X968UOjUwCvrkIB7dXsju5SkBzIwmqhXCsiECjzWg2Zv432i5FYKBZVJSaSnaQ=
296
292
  X-Amz-Request-Id:
297
- - DE6E81EC131808DC
293
+ - FB2506C6319B14CC
298
294
  Date:
299
- - Tue, 05 Sep 2017 19:31:24 GMT
295
+ - Wed, 11 Nov 2020 14:40:49 GMT
300
296
  X-Amz-Bucket-Region:
301
297
  - us-west-2
302
298
  Content-Type:
@@ -309,14 +305,13 @@ http_interactions:
309
305
  encoding: UTF-8
310
306
  string: |-
311
307
  <?xml version="1.0" encoding="UTF-8"?>
312
- <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated><Contents><Key>saved.*</Key><LastModified>2017-09-05T19:31:20.000Z</LastModified><ETag>&quot;9a0364b9e99bb480dd25e1f0284c8555&quot;</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
313
- http_version:
314
- recorded_at: Tue, 05 Sep 2017 19:31:23 GMT
308
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><KeyCount>1</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>saved.*</Key><LastModified>2020-11-11T14:40:45.000Z</LastModified><ETag>&quot;9a0364b9e99bb480dd25e1f0284c8555&quot;</ETag><Size>7</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
309
+ recorded_at: Wed, 11 Nov 2020 14:40:48 GMT
315
310
  - request:
316
311
  method: delete
317
312
  uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved.*
318
313
  body:
319
- encoding: ASCII-8BIT
314
+ encoding: UTF-8
320
315
  string: ''
321
316
  headers:
322
317
  Content-Type:
@@ -324,16 +319,16 @@ http_interactions:
324
319
  Accept-Encoding:
325
320
  - ''
326
321
  User-Agent:
327
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
328
- X-Amz-Date:
329
- - 20170905T193123Z
322
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
330
323
  Host:
331
- - file-manager-tests.s3-us-west-2.amazonaws.com
324
+ - file-manager-tests.s3.us-west-2.amazonaws.com
325
+ X-Amz-Date:
326
+ - 20201111T144048Z
332
327
  X-Amz-Content-Sha256:
333
328
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
334
329
  Authorization:
335
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
336
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=d50c336cf3552945ee2eecfddcb44e9561d21fc206b2551fb52a35e4de577b98
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=c961e4902756ff54a7fafa4772e99f1310b6685b291c2ee5d08e1bbea6b8ea56
337
332
  Content-Length:
338
333
  - '0'
339
334
  Accept:
@@ -344,23 +339,22 @@ http_interactions:
344
339
  message: No Content
345
340
  headers:
346
341
  X-Amz-Id-2:
347
- - vot8vwwjOqQJi6ygrm41H6jNiIootzMucv0GEdNJDDI1wnHysjWQn0lN4EscX/c1j6/SZLPQgM0=
342
+ - BgLpZCfDuCxvYFpEmFglJb2iGBpzPXD95KdlDgb4+m+jDwjjRtAmOsElWGqNLsRjVKlOZT2BCo4=
348
343
  X-Amz-Request-Id:
349
- - 6C93294789208E48
344
+ - 8970CC2F5A7337F5
350
345
  Date:
351
- - Tue, 05 Sep 2017 19:31:25 GMT
346
+ - Wed, 11 Nov 2020 14:40:49 GMT
352
347
  Server:
353
348
  - AmazonS3
354
349
  body:
355
350
  encoding: UTF-8
356
351
  string: ''
357
- http_version:
358
- recorded_at: Tue, 05 Sep 2017 19:31:24 GMT
352
+ recorded_at: Wed, 11 Nov 2020 14:40:49 GMT
359
353
  - request:
360
354
  method: get
361
- uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?encoding-type=url&prefix=
355
+ uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
362
356
  body:
363
- encoding: ASCII-8BIT
357
+ encoding: UTF-8
364
358
  string: ''
365
359
  headers:
366
360
  Content-Type:
@@ -368,16 +362,16 @@ http_interactions:
368
362
  Accept-Encoding:
369
363
  - ''
370
364
  User-Agent:
371
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
372
- X-Amz-Date:
373
- - 20170905T193124Z
365
+ - aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
374
366
  Host:
375
- - file-manager-tests.s3-us-west-2.amazonaws.com
367
+ - file-manager-tests.s3.us-west-2.amazonaws.com
368
+ X-Amz-Date:
369
+ - 20201111T144049Z
376
370
  X-Amz-Content-Sha256:
377
371
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
378
372
  Authorization:
379
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
380
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=368a2dd0c65991862a60731cae3f2aa4f704133a2519805223e496417571b1ab
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=079a24de07f965e31dfa550e584a8f18fe01c2f0e1f23a11ce269717e0aa0034
381
375
  Content-Length:
382
376
  - '0'
383
377
  Accept:
@@ -388,11 +382,11 @@ http_interactions:
388
382
  message: OK
389
383
  headers:
390
384
  X-Amz-Id-2:
391
- - fuJBEj9ResQ8VG+WBe3DGAQ2nmwyLMAjxEErN36snJW0Gctf/Y7GJGjRlquiEbNLge/THuOEyDQ=
385
+ - PWxzEonlO9GGWnh3SjQM/8PDfZ+6CjjXqYil3UnOJVTwkXt3cY2y0P/0/fJauCMIQngqJoAlioQ=
392
386
  X-Amz-Request-Id:
393
- - 3B53124695E9D5B5
387
+ - F5B5C50C933FA075
394
388
  Date:
395
- - Tue, 05 Sep 2017 19:31:26 GMT
389
+ - Wed, 11 Nov 2020 14:40:50 GMT
396
390
  X-Amz-Bucket-Region:
397
391
  - us-west-2
398
392
  Content-Type:
@@ -405,7 +399,6 @@ http_interactions:
405
399
  encoding: UTF-8
406
400
  string: |-
407
401
  <?xml version="1.0" encoding="UTF-8"?>
408
- <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><EncodingType>url</EncodingType><IsTruncated>false</IsTruncated></ListBucketResult>
409
- http_version:
410
- recorded_at: Tue, 05 Sep 2017 19:31:25 GMT
411
- recorded_with: VCR 3.0.1
402
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
403
+ recorded_at: Wed, 11 Nov 2020 14:40:49 GMT
404
+ recorded_with: VCR 6.0.0