file-manager 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,48 +12,49 @@ http_interactions:
12
12
  Accept-Encoding:
13
13
  - ''
14
14
  User-Agent:
15
- - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
15
+ - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
16
16
  X-Amz-Date:
17
- - 20160128T205052Z
17
+ - 20170905T193114Z
18
18
  Host:
19
19
  - file-manager-tests.s3-us-west-2.amazonaws.com
20
20
  X-Amz-Content-Sha256:
21
21
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
22
22
  Authorization:
23
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1cc1231e74aa9cd3ee68c800d95f3be58a1a76a31ee5f9b96cf5e6d1711060c1
23
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
24
+ SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1e6d6d9804f0e81eff1420360c5a69381378bae89815ac3bec6ab4aa29673b21
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
- - E3B997159C642BE6
35
+ - AD76AE1BEC8EB2D9
35
36
  X-Amz-Id-2:
36
- - kQbrxTK8nrBdoX1ETsUwVkOOHF3EVtMo/Cwu9qK5hwx4g2Wa+G9Z5ptRjfSHUWAjPFUYPITRJyc=
37
+ - 3IoluOFr3GMeWgbgK7iCr9YXA1hPQm95+lLKJ9fgGm0JksC7ScykDwyfGKOOuEYTyHYumItHAnE=
37
38
  Content-Type:
38
39
  - application/xml
39
40
  Transfer-Encoding:
40
41
  - chunked
41
42
  Date:
42
- - Thu, 28 Jan 2016 20:50:53 GMT
43
+ - Tue, 05 Sep 2017 19:31:14 GMT
43
44
  Server:
44
45
  - AmazonS3
45
46
  body:
46
- encoding: US-ASCII
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>E3B997159C642BE6</RequestId><HostId>kQbrxTK8nrBdoX1ETsUwVkOOHF3EVtMo/Cwu9qK5hwx4g2Wa+G9Z5ptRjfSHUWAjPFUYPITRJyc=</HostId></Error>
50
- http_version:
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>AD76AE1BEC8EB2D9</RequestId><HostId>3IoluOFr3GMeWgbgK7iCr9YXA1hPQm95+lLKJ9fgGm0JksC7ScykDwyfGKOOuEYTyHYumItHAnE=</HostId></Error>
51
+ http_version:
52
+ recorded_at: Tue, 05 Sep 2017 19:31:15 GMT
52
53
  - request:
53
54
  method: put
54
55
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
55
56
  body:
56
- encoding: US-ASCII
57
+ encoding: UTF-8
57
58
  string: content
58
59
  headers:
59
60
  Content-Type:
@@ -61,34 +62,35 @@ http_interactions:
61
62
  Accept-Encoding:
62
63
  - ''
63
64
  User-Agent:
64
- - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
65
+ - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
65
66
  Expect:
66
67
  - 100-continue
67
68
  Content-Md5:
68
69
  - mgNkuembtIDdJeHwKEyFVQ==
69
70
  X-Amz-Date:
70
- - 20160128T205053Z
71
+ - 20170905T193115Z
71
72
  Host:
72
73
  - file-manager-tests.s3-us-west-2.amazonaws.com
73
74
  X-Amz-Content-Sha256:
74
75
  - ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
75
76
  Authorization:
76
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=7ceae33a875291320ee3c80191ba17979fb4072e0a0aee22de456e6a9ce3cbaa
77
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
78
+ SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=e910535847ad770f0216e71511f6c2c5ad74fa6d9673b6518deb84623a4de253
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
- - EM+i5VRrX8sT+/99Qhd0jc8opENAs8Zs7NgnPL5PWa6iqPdksIOxdplHt8DZZ5P8dEmwFKGOcPc=
89
+ - onUdLRsx35Dm85dNQqv00ZFPxyGLWIvkFcfErDZQDgBaccNN1V164kLAoG09vEvtQUJDzAqRMy8=
88
90
  X-Amz-Request-Id:
89
- - 533A0BD9D8F13EE2
91
+ - A9BD7D0362896E09
90
92
  Date:
91
- - Thu, 28 Jan 2016 20:50:58 GMT
93
+ - Tue, 05 Sep 2017 19:31:17 GMT
92
94
  Etag:
93
95
  - '"9a0364b9e99bb480dd25e1f0284c8555"'
94
96
  Content-Length:
@@ -96,10 +98,10 @@ http_interactions:
96
98
  Server:
97
99
  - AmazonS3
98
100
  body:
99
- encoding: US-ASCII
101
+ encoding: UTF-8
100
102
  string: ''
101
- http_version:
102
- recorded_at: Thu, 28 Jan 2016 20:50:57 GMT
103
+ http_version:
104
+ recorded_at: Tue, 05 Sep 2017 19:31:16 GMT
103
105
  - request:
104
106
  method: get
105
107
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
@@ -112,32 +114,33 @@ http_interactions:
112
114
  Accept-Encoding:
113
115
  - ''
114
116
  User-Agent:
115
- - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
117
+ - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
116
118
  X-Amz-Date:
117
- - 20160128T205057Z
119
+ - 20170905T193116Z
118
120
  Host:
119
121
  - file-manager-tests.s3-us-west-2.amazonaws.com
120
122
  X-Amz-Content-Sha256:
121
123
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
122
124
  Authorization:
123
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=d38779defbd8cc3e22ef21c8a4bd7f374bda416dfa305ab0090935c6407300c4
125
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
126
+ SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=a7178c952aaa3e01b64969ba20e4aa230571f067648e82b35af9f941ef950d74
124
127
  Content-Length:
125
128
  - '0'
126
129
  Accept:
127
- - '*/*'
130
+ - "*/*"
128
131
  response:
129
132
  status:
130
133
  code: 200
131
134
  message: OK
132
135
  headers:
133
136
  X-Amz-Id-2:
134
- - uGmTutIAiW3l7sGxdwwhF2mHrVtE3CO7dPv/lmaMVNQKQjO6fEtNknkJfS7LjhIovRnqb6ttKY8=
137
+ - Ym4+s7pyir1KIzyyPGSumZaDC9SQa4ooxPPiaxw0RoKAvmZMqdH1mVXJXlEPk2gHmULL6BubOIE=
135
138
  X-Amz-Request-Id:
136
- - 78C249698DED37F6
139
+ - ED59411FE4752FB1
137
140
  Date:
138
- - Thu, 28 Jan 2016 20:50:59 GMT
141
+ - Tue, 05 Sep 2017 19:31:17 GMT
139
142
  Last-Modified:
140
- - Thu, 28 Jan 2016 20:50:58 GMT
143
+ - Tue, 05 Sep 2017 19:31:17 GMT
141
144
  Etag:
142
145
  - '"9a0364b9e99bb480dd25e1f0284c8555"'
143
146
  Accept-Ranges:
@@ -149,10 +152,10 @@ http_interactions:
149
152
  Server:
150
153
  - AmazonS3
151
154
  body:
152
- encoding: US-ASCII
155
+ encoding: UTF-8
153
156
  string: content
154
- http_version:
155
- recorded_at: Thu, 28 Jan 2016 20:50:58 GMT
157
+ http_version:
158
+ recorded_at: Tue, 05 Sep 2017 19:31:17 GMT
156
159
  - request:
157
160
  method: delete
158
161
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
@@ -165,37 +168,38 @@ http_interactions:
165
168
  Accept-Encoding:
166
169
  - ''
167
170
  User-Agent:
168
- - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
171
+ - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
169
172
  X-Amz-Date:
170
- - 20160128T205058Z
173
+ - 20170905T193117Z
171
174
  Host:
172
175
  - file-manager-tests.s3-us-west-2.amazonaws.com
173
176
  X-Amz-Content-Sha256:
174
177
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
175
178
  Authorization:
176
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=dd0ef9607ff42f02fe9b828df5575bb7ceba0db8b8f89d8c73ad8934eafe5eff
179
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
180
+ SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=129102e679227078584c2718cc3937c16aa542f00cfa0b23b9f19755e6cd407e
177
181
  Content-Length:
178
182
  - '0'
179
183
  Accept:
180
- - '*/*'
184
+ - "*/*"
181
185
  response:
182
186
  status:
183
187
  code: 204
184
188
  message: No Content
185
189
  headers:
186
190
  X-Amz-Id-2:
187
- - K+ldQfamuEEW7yIZG5fGsFktVrfayLtsOlvsmDsya6jQk0cRo2+MjX2aypNaUZyeP4422kKIPZ4=
191
+ - fN0TbD5X+L1N9n1CAI5gzwJNM32Xing7Iow8PBgBlq8UI3e+zA037hFVTObuiYm7JmM9Nu0AOdA=
188
192
  X-Amz-Request-Id:
189
- - 9807C70F00147667
193
+ - FB7B938D0FEFD1D8
190
194
  Date:
191
- - Thu, 28 Jan 2016 20:51:00 GMT
195
+ - Tue, 05 Sep 2017 19:31:18 GMT
192
196
  Server:
193
197
  - AmazonS3
194
198
  body:
195
- encoding: US-ASCII
199
+ encoding: UTF-8
196
200
  string: ''
197
- http_version:
198
- recorded_at: Thu, 28 Jan 2016 20:50:59 GMT
201
+ http_version:
202
+ recorded_at: Tue, 05 Sep 2017 19:31:17 GMT
199
203
  - request:
200
204
  method: get
201
205
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved
@@ -208,41 +212,42 @@ http_interactions:
208
212
  Accept-Encoding:
209
213
  - ''
210
214
  User-Agent:
211
- - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
215
+ - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
212
216
  X-Amz-Date:
213
- - 20160128T205059Z
217
+ - 20170905T193117Z
214
218
  Host:
215
219
  - file-manager-tests.s3-us-west-2.amazonaws.com
216
220
  X-Amz-Content-Sha256:
217
221
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
218
222
  Authorization:
219
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=89e5bb509de763baf62f4db3ad00f1061323b9ac0ecb74128597a0352ac6c0a6
223
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
224
+ SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=48579a30590dda3821888e98ccdb6084736386155f6aeb932f84b5272d5d7917
220
225
  Content-Length:
221
226
  - '0'
222
227
  Accept:
223
- - '*/*'
228
+ - "*/*"
224
229
  response:
225
230
  status:
226
231
  code: 404
227
232
  message: Not Found
228
233
  headers:
229
234
  X-Amz-Request-Id:
230
- - 0BD6ADEEC877BFD2
235
+ - 79212B043646F1EB
231
236
  X-Amz-Id-2:
232
- - W1b/3+hjTi83sf/cyxILWbAz2fmtqSiOEDzCiPS9HkZkI72pjGGhWbIikRI+ji25wk0C8PxmiX4=
237
+ - vKoUnrJ5czc8qPUQ0ZjJDrFV8QlfA3lQBeKMHCjot7pzO/ctTAb30R20leWcUAV2BFXwl3hlIco=
233
238
  Content-Type:
234
239
  - application/xml
235
240
  Transfer-Encoding:
236
241
  - chunked
237
242
  Date:
238
- - Thu, 28 Jan 2016 20:50:59 GMT
243
+ - Tue, 05 Sep 2017 19:31:18 GMT
239
244
  Server:
240
245
  - AmazonS3
241
246
  body:
242
- encoding: US-ASCII
247
+ encoding: UTF-8
243
248
  string: |-
244
249
  <?xml version="1.0" encoding="UTF-8"?>
245
- <Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>saved</Key><RequestId>0BD6ADEEC877BFD2</RequestId><HostId>W1b/3+hjTi83sf/cyxILWbAz2fmtqSiOEDzCiPS9HkZkI72pjGGhWbIikRI+ji25wk0C8PxmiX4=</HostId></Error>
246
- http_version:
247
- recorded_at: Thu, 28 Jan 2016 20:51:00 GMT
250
+ <Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>saved</Key><RequestId>79212B043646F1EB</RequestId><HostId>vKoUnrJ5czc8qPUQ0ZjJDrFV8QlfA3lQBeKMHCjot7pzO/ctTAb30R20leWcUAV2BFXwl3hlIco=</HostId></Error>
251
+ http_version:
252
+ recorded_at: Tue, 05 Sep 2017 19:31:18 GMT
248
253
  recorded_with: VCR 3.0.1
@@ -12,48 +12,49 @@ http_interactions:
12
12
  Accept-Encoding:
13
13
  - ''
14
14
  User-Agent:
15
- - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
15
+ - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
16
16
  X-Amz-Date:
17
- - 20160128T205100Z
17
+ - 20170905T193101Z
18
18
  Host:
19
19
  - file-manager-tests.s3-us-west-2.amazonaws.com
20
20
  X-Amz-Content-Sha256:
21
21
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
22
22
  Authorization:
23
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=526be589c545d1bb2a233f9ca5b2a74ddfc21d4aa40746fd5401253490beb1da
23
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
24
+ SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=8e6fabe1bd91528eac9a45870fae963b035e4306a055a3054687b6a1d2dac050
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
- - 067AB32243350CB5
35
+ - 69665843E0C8E6CF
35
36
  X-Amz-Id-2:
36
- - dPe+9QbXxtr9sSYcVSz3BTByGWX/AS27NgBNTOik8jp285m5PlE82/wfHAIQHMGQRPIANGeqDls=
37
+ - OrKCTxdIGldeERRtih4nwMw95V5nc6jsN29FMYFluDN3cdK4TXv1vELrXTn5QVo9Kh9mdYA0e2Y=
37
38
  Content-Type:
38
39
  - application/xml
39
40
  Transfer-Encoding:
40
41
  - chunked
41
42
  Date:
42
- - Thu, 28 Jan 2016 20:51:01 GMT
43
+ - Tue, 05 Sep 2017 19:31:01 GMT
43
44
  Server:
44
45
  - AmazonS3
45
46
  body:
46
- encoding: US-ASCII
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>067AB32243350CB5</RequestId><HostId>dPe+9QbXxtr9sSYcVSz3BTByGWX/AS27NgBNTOik8jp285m5PlE82/wfHAIQHMGQRPIANGeqDls=</HostId></Error>
50
- http_version:
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>69665843E0C8E6CF</RequestId><HostId>OrKCTxdIGldeERRtih4nwMw95V5nc6jsN29FMYFluDN3cdK4TXv1vELrXTn5QVo9Kh9mdYA0e2Y=</HostId></Error>
51
+ http_version:
52
+ recorded_at: Tue, 05 Sep 2017 19:31:01 GMT
52
53
  - request:
53
54
  method: put
54
55
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/sub_dir/saved
55
56
  body:
56
- encoding: US-ASCII
57
+ encoding: UTF-8
57
58
  string: content
58
59
  headers:
59
60
  Content-Type:
@@ -61,34 +62,35 @@ http_interactions:
61
62
  Accept-Encoding:
62
63
  - ''
63
64
  User-Agent:
64
- - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
65
+ - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
65
66
  Expect:
66
67
  - 100-continue
67
68
  Content-Md5:
68
69
  - mgNkuembtIDdJeHwKEyFVQ==
69
70
  X-Amz-Date:
70
- - 20160128T205101Z
71
+ - 20170905T193101Z
71
72
  Host:
72
73
  - file-manager-tests.s3-us-west-2.amazonaws.com
73
74
  X-Amz-Content-Sha256:
74
75
  - ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
75
76
  Authorization:
76
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=3fdc369ff02199645b10f9f87fd312f207ca9668a40c178642e82bff4c59a98a
77
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
78
+ SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=3f66a48d4d2e550ba199b11d38a017fa9d632e00552d6a24a0e704c5c12017b4
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
- - OGsmp/S0uiNjyVeQ4eyh6pb/TOjDKSnOBFzUTo/YwNf9fzcyFLko/k6JvJf57Rejy6suI/VAlAU=
89
+ - TgGv1tRxObbFlhBup69GfDbj7UvtCBg9/nQ51C/s/snEM5MgFEWKlt0yoYBxRx+XBTavhfq3X1I=
88
90
  X-Amz-Request-Id:
89
- - E7E8B96BF22AC3B0
91
+ - CD92434719CE582E
90
92
  Date:
91
- - Thu, 28 Jan 2016 20:51:03 GMT
93
+ - Tue, 05 Sep 2017 19:31:03 GMT
92
94
  Etag:
93
95
  - '"9a0364b9e99bb480dd25e1f0284c8555"'
94
96
  Content-Length:
@@ -96,10 +98,10 @@ http_interactions:
96
98
  Server:
97
99
  - AmazonS3
98
100
  body:
99
- encoding: US-ASCII
101
+ encoding: UTF-8
100
102
  string: ''
101
- http_version:
102
- recorded_at: Thu, 28 Jan 2016 20:51:02 GMT
103
+ http_version:
104
+ recorded_at: Tue, 05 Sep 2017 19:31:02 GMT
103
105
  - request:
104
106
  method: get
105
107
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/sub_dir/saved
@@ -112,32 +114,33 @@ http_interactions:
112
114
  Accept-Encoding:
113
115
  - ''
114
116
  User-Agent:
115
- - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
117
+ - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
116
118
  X-Amz-Date:
117
- - 20160128T205102Z
119
+ - 20170905T193102Z
118
120
  Host:
119
121
  - file-manager-tests.s3-us-west-2.amazonaws.com
120
122
  X-Amz-Content-Sha256:
121
123
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
122
124
  Authorization:
123
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=d704d0601224999201d182bdbbab3e5e0c79764a4272f9b0a727e2e09a4da81d
125
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
126
+ SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=dce975cfe89ba22dcf134b17a44662ece0df406fc00733b6c92adca9a27dc16a
124
127
  Content-Length:
125
128
  - '0'
126
129
  Accept:
127
- - '*/*'
130
+ - "*/*"
128
131
  response:
129
132
  status:
130
133
  code: 200
131
134
  message: OK
132
135
  headers:
133
136
  X-Amz-Id-2:
134
- - o0Vlnmei1Zz4Z4X+JK0n+/qOd2HnpwVgMA3wzY9C5mvx1Dv+J34WL3Js3l1Q7tq7qQKMthMkFZw=
137
+ - 6bnFUAMONS+2FuZ811u+vR10AimXmuw858u5Oq/WONUkfJn38V5B8Pr4Ljsit1E5orLCZ1lUe2E=
135
138
  X-Amz-Request-Id:
136
- - 6624C9EB1EB70F86
139
+ - 59F5190E66456AB7
137
140
  Date:
138
- - Thu, 28 Jan 2016 20:51:04 GMT
141
+ - Tue, 05 Sep 2017 19:31:04 GMT
139
142
  Last-Modified:
140
- - Thu, 28 Jan 2016 20:51:03 GMT
143
+ - Tue, 05 Sep 2017 19:31:03 GMT
141
144
  Etag:
142
145
  - '"9a0364b9e99bb480dd25e1f0284c8555"'
143
146
  Accept-Ranges:
@@ -149,10 +152,10 @@ http_interactions:
149
152
  Server:
150
153
  - AmazonS3
151
154
  body:
152
- encoding: US-ASCII
155
+ encoding: UTF-8
153
156
  string: content
154
- http_version:
155
- recorded_at: Thu, 28 Jan 2016 20:51:03 GMT
157
+ http_version:
158
+ recorded_at: Tue, 05 Sep 2017 19:31:03 GMT
156
159
  - request:
157
160
  method: delete
158
161
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/sub_dir/saved
@@ -165,37 +168,38 @@ http_interactions:
165
168
  Accept-Encoding:
166
169
  - ''
167
170
  User-Agent:
168
- - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
171
+ - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
169
172
  X-Amz-Date:
170
- - 20160128T205103Z
173
+ - 20170905T193103Z
171
174
  Host:
172
175
  - file-manager-tests.s3-us-west-2.amazonaws.com
173
176
  X-Amz-Content-Sha256:
174
177
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
175
178
  Authorization:
176
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=84536c52983fc6175401fb7be209bb12b9b707de59f746512688377c85ce3ce0
179
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
180
+ SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=4d5000b67cace8872673a585a30f478bf124f6ed6d0e1dfce18c1bff6bdf66a8
177
181
  Content-Length:
178
182
  - '0'
179
183
  Accept:
180
- - '*/*'
184
+ - "*/*"
181
185
  response:
182
186
  status:
183
187
  code: 204
184
188
  message: No Content
185
189
  headers:
186
190
  X-Amz-Id-2:
187
- - VLzySsjlocYhIbe6CvthxLSccwkTG6NHKwvaY7dNk5Q8cu0HeVCHG5m4UdxJ6ybGh/9VOuMasM8=
191
+ - QsUlJ9DJS5ONLLO2SPPR6i4NmNe1IJn4A2oqOexGb6BHNp29FsYRDJKlbINkfCs6F3Q9boDPGB4=
188
192
  X-Amz-Request-Id:
189
- - 0A6AAF10DDDF2C81
193
+ - BC370881A655AB03
190
194
  Date:
191
- - Thu, 28 Jan 2016 20:51:06 GMT
195
+ - Tue, 05 Sep 2017 19:31:05 GMT
192
196
  Server:
193
197
  - AmazonS3
194
198
  body:
195
- encoding: US-ASCII
199
+ encoding: UTF-8
196
200
  string: ''
197
- http_version:
198
- recorded_at: Thu, 28 Jan 2016 20:51:05 GMT
201
+ http_version:
202
+ recorded_at: Tue, 05 Sep 2017 19:31:04 GMT
199
203
  - request:
200
204
  method: get
201
205
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/sub_dir/saved
@@ -208,41 +212,42 @@ http_interactions:
208
212
  Accept-Encoding:
209
213
  - ''
210
214
  User-Agent:
211
- - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
215
+ - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin14
212
216
  X-Amz-Date:
213
- - 20160128T205105Z
217
+ - 20170905T193104Z
214
218
  Host:
215
219
  - file-manager-tests.s3-us-west-2.amazonaws.com
216
220
  X-Amz-Content-Sha256:
217
221
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
218
222
  Authorization:
219
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=c50f346b6b4279cc0d6ad59bab9a903b9d992a482a79c00a05c8704b12e0a54b
223
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20170905/us-west-2/s3/aws4_request,
224
+ SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=305b493da3628a5145cc2b68643b148b3a2ce96db34ee7a8df70327ddc23bcb3
220
225
  Content-Length:
221
226
  - '0'
222
227
  Accept:
223
- - '*/*'
228
+ - "*/*"
224
229
  response:
225
230
  status:
226
231
  code: 404
227
232
  message: Not Found
228
233
  headers:
229
234
  X-Amz-Request-Id:
230
- - CD2914B87BA5BD85
235
+ - 3709A97254DAEDB5
231
236
  X-Amz-Id-2:
232
- - e1cdE6lLA9+3SC2XjESIrkt/Fx8JBrZvg7KNBTYK8RBGYdMuDPdL0Tbfw7kp3mJmn0gmxVZUVt8=
237
+ - vRS6tX1x75h/4fk/r3UHp4RmoKtf0kuUm3d62AON9Fx2gckriC9lJT1A0LS65LlV6dBmuO4FKlI=
233
238
  Content-Type:
234
239
  - application/xml
235
240
  Transfer-Encoding:
236
241
  - chunked
237
242
  Date:
238
- - Thu, 28 Jan 2016 20:51:05 GMT
243
+ - Tue, 05 Sep 2017 19:31:04 GMT
239
244
  Server:
240
245
  - AmazonS3
241
246
  body:
242
- encoding: US-ASCII
247
+ encoding: UTF-8
243
248
  string: |-
244
249
  <?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>CD2914B87BA5BD85</RequestId><HostId>e1cdE6lLA9+3SC2XjESIrkt/Fx8JBrZvg7KNBTYK8RBGYdMuDPdL0Tbfw7kp3mJmn0gmxVZUVt8=</HostId></Error>
246
- http_version:
247
- recorded_at: Thu, 28 Jan 2016 20:51:06 GMT
250
+ <Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>sub_dir/saved</Key><RequestId>3709A97254DAEDB5</RequestId><HostId>vRS6tX1x75h/4fk/r3UHp4RmoKtf0kuUm3d62AON9Fx2gckriC9lJT1A0LS65LlV6dBmuO4FKlI=</HostId></Error>
251
+ http_version:
252
+ recorded_at: Tue, 05 Sep 2017 19:31:04 GMT
248
253
  recorded_with: VCR 3.0.1
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.2.0
4
+ version: 0.3.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: 2016-03-15 00:00:00.000000000 Z
11
+ date: 2017-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -134,6 +134,7 @@ files:
134
134
  - test/memory_test.rb
135
135
  - test/s3_test.rb
136
136
  - test/test_helper.rb
137
+ - test/vcr_cassettes/test_downloading_to_temp_file.yml
137
138
  - test/vcr_cassettes/test_listing_files.yml
138
139
  - test/vcr_cassettes/test_listing_files_in_sub_dir.yml
139
140
  - test/vcr_cassettes/test_reading.yml
@@ -158,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
159
  version: '0'
159
160
  requirements: []
160
161
  rubyforge_project:
161
- rubygems_version: 2.4.5
162
+ rubygems_version: 2.6.13
162
163
  signing_key:
163
164
  specification_version: 4
164
165
  summary: File manager, access S3 or local
@@ -168,9 +169,9 @@ test_files:
168
169
  - test/memory_test.rb
169
170
  - test/s3_test.rb
170
171
  - test/test_helper.rb
172
+ - test/vcr_cassettes/test_downloading_to_temp_file.yml
171
173
  - test/vcr_cassettes/test_listing_files.yml
172
174
  - test/vcr_cassettes/test_listing_files_in_sub_dir.yml
173
175
  - test/vcr_cassettes/test_reading.yml
174
176
  - test/vcr_cassettes/test_reading_in_sub_dir.yml
175
177
  - test/vcr_cassettes/test_remove_not_existing_file_dont_raise.yml
176
- has_rdoc: