file-manager 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 986239384ddff9a5fef44810768837a817c2832d
4
- data.tar.gz: 2731cc2f0426eaed27e276aa6976bfce5cb14f71
3
+ metadata.gz: 11c5040ea386ad4c4b780c23f42c60e3afdce272
4
+ data.tar.gz: 07c9e554131fb3008fb45234dccb3fc8733a3bc4
5
5
  SHA512:
6
- metadata.gz: fcc26621f3661287ccd08b54d978cc720ecd25959c65534303f13753174ec7080b0b1b600197212fe7e2fdb4d36b20207214ba90a5b5a6c9d414bbe7e851a865
7
- data.tar.gz: 6542f9eb7e6bff8c5f67807bf28b826937cf57d88981c423d12381575e0f17db4938b8c2b8aee25c619d10ee0c11ca3b6b48f7c1bb5c6ffba7d1522a61866ca5
6
+ metadata.gz: 0c51d02ca0be703fac48827b47e0d71284bf34e1d23e1eb2a9fa5632ae04a3a3eabb4062d3309c5d85f3b407c56dbd60646a13b84756d7cffd339034bc9cf84b
7
+ data.tar.gz: 5c6863d83c1aba9cb3796530412be4c79589c6bd0300f1f3810f64bb4938929bc48cf53187e9def6d0514ad3d6ace1c2fc8de31e8e9b6a2c168e0b0445fef9e7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- file-manager (0.1.0)
4
+ file-manager (0.1.1)
5
5
  aws-sdk (= 2.2.13)
6
6
 
7
7
  GEM
@@ -22,6 +22,7 @@ GEM
22
22
  hashdiff (0.2.3)
23
23
  jmespath (1.1.3)
24
24
  json (1.8.3)
25
+ json (1.8.3-java)
25
26
  minitest (5.8.4)
26
27
  rake (10.5.0)
27
28
  safe_yaml (1.0.4)
@@ -37,6 +38,7 @@ GEM
37
38
  hashdiff
38
39
 
39
40
  PLATFORMS
41
+ java
40
42
  ruby
41
43
 
42
44
  DEPENDENCIES
@@ -47,6 +49,3 @@ DEPENDENCIES
47
49
  rake
48
50
  vcr
49
51
  webmock
50
-
51
- BUNDLED WITH
52
- 1.10.6
data/file-manager.gemspec CHANGED
@@ -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.1.0'
6
+ spec.version = '0.1.1'
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'
@@ -73,8 +73,7 @@ class S3FileManager < FileManager
73
73
  logger.print "Accessing S3 service..."
74
74
 
75
75
  credentials = Aws::Credentials.new(options[:access_key_id], options[:secret_access_key])
76
-
77
- client = Aws::S3::Client.new(region:'us-west-2', credentials: credentials)
76
+ client = Aws::S3::Client.new(region: options[:region], credentials: credentials)
78
77
 
79
78
  service = Aws::S3::Resource.new(client: client)
80
79
  logger.puts 'done.'
data/test/s3_test.rb CHANGED
@@ -16,8 +16,9 @@ class S3FileManagerTest < Minitest::Test
16
16
  @manager = S3FileManager.new(
17
17
  access_key_id: ENV['AWS_ACCESS_KEY_ID'],
18
18
  secret_access_key: ENV['AWS_SECRET_ACCESS_KEY'],
19
+ region: 'us-west-2',
19
20
  bucket: 'file-manager-tests',
20
- silent: true,
21
+ silent: true
21
22
  )
22
23
  end
23
24
 
@@ -12,31 +12,30 @@ 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-darwin15
15
+ - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
16
16
  X-Amz-Date:
17
- - 20160128T193504Z
17
+ - 20160128T205106Z
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,
24
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=02d213bac7ef9673c40ee3f6488339f417e2ae9d8be5ba928152dbaa9b85cc2e
23
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=65acf05a1a189ede2c659d901069e86b880b8acef8d9cf595845efe1e1f1e9c1
25
24
  Content-Length:
26
25
  - '0'
27
26
  Accept:
28
- - "*/*"
27
+ - '*/*'
29
28
  response:
30
29
  status:
31
30
  code: 200
32
31
  message: OK
33
32
  headers:
34
33
  X-Amz-Id-2:
35
- - F5r5zWJ1HG6MlJtnB8jgO/ZWvoeQAHn517jOdgp4g1/crUcGs9/Ib5+IkldOZ4WlgeTfjJD6pfE=
34
+ - cwD+bnRfHR2cg5RSLFstXNbqYCnbzuGSjnCOJZkaq1x3IddzRxHCtRSWeFz1Y6P40iq5sI76hZI=
36
35
  X-Amz-Request-Id:
37
- - EDE8622F19AE0E69
36
+ - E9520BD3B61ED4A2
38
37
  Date:
39
- - Thu, 28 Jan 2016 19:35:08 GMT
38
+ - Thu, 28 Jan 2016 20:51:11 GMT
40
39
  X-Amz-Bucket-Region:
41
40
  - us-west-2
42
41
  Content-Type:
@@ -46,17 +45,17 @@ http_interactions:
46
45
  Server:
47
46
  - AmazonS3
48
47
  body:
49
- encoding: UTF-8
48
+ encoding: US-ASCII
50
49
  string: |-
51
50
  <?xml version="1.0" encoding="UTF-8"?>
52
51
  <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: Thu, 28 Jan 2016 19:35:06 GMT
52
+ http_version:
53
+ recorded_at: Thu, 28 Jan 2016 20:51:10 GMT
55
54
  - request:
56
55
  method: put
57
56
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved.*
58
57
  body:
59
- encoding: UTF-8
58
+ encoding: US-ASCII
60
59
  string: content
61
60
  headers:
62
61
  Content-Type:
@@ -64,35 +63,34 @@ 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-darwin15
66
+ - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
68
67
  Expect:
69
68
  - 100-continue
70
69
  Content-Md5:
71
70
  - mgNkuembtIDdJeHwKEyFVQ==
72
71
  X-Amz-Date:
73
- - 20160128T193506Z
72
+ - 20160128T205110Z
74
73
  Host:
75
74
  - file-manager-tests.s3-us-west-2.amazonaws.com
76
75
  X-Amz-Content-Sha256:
77
76
  - ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
78
77
  Authorization:
79
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
80
- SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=e4632e5e3f0bfdc358b889fd2682484144f9d4576ab959104ad313b7e66013df
78
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=a40b21a765911a11f7495d0112ce4bb0790f3eebd52f4a64ebc730fbfe492e3a
81
79
  Content-Length:
82
80
  - '7'
83
81
  Accept:
84
- - "*/*"
82
+ - '*/*'
85
83
  response:
86
84
  status:
87
85
  code: 200
88
86
  message: OK
89
87
  headers:
90
88
  X-Amz-Id-2:
91
- - j3ea88PswL6jTNqNcS3Db7kaJtsBT2wMr6WttKN7Wu18IGpeY0J13azaB/sNpoEO3W8ZFr8v9WM=
89
+ - 0cLDJxPSz1IUiFFwwmkgDP4zrEMQV1l8eqGDWwbcKUIOzwAFrPQUbp5rsN4iIU6qG0sSCpt58iM=
92
90
  X-Amz-Request-Id:
93
- - AFBBC5527755A6BF
91
+ - CD89A3F582496121
94
92
  Date:
95
- - Thu, 28 Jan 2016 19:35:09 GMT
93
+ - Thu, 28 Jan 2016 20:51:15 GMT
96
94
  Etag:
97
95
  - '"9a0364b9e99bb480dd25e1f0284c8555"'
98
96
  Content-Length:
@@ -100,10 +98,10 @@ http_interactions:
100
98
  Server:
101
99
  - AmazonS3
102
100
  body:
103
- encoding: UTF-8
101
+ encoding: US-ASCII
104
102
  string: ''
105
- http_version:
106
- recorded_at: Thu, 28 Jan 2016 19:35:07 GMT
103
+ http_version:
104
+ recorded_at: Thu, 28 Jan 2016 20:51:14 GMT
107
105
  - request:
108
106
  method: get
109
107
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=other_prefix
@@ -116,31 +114,30 @@ http_interactions:
116
114
  Accept-Encoding:
117
115
  - ''
118
116
  User-Agent:
119
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
117
+ - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
120
118
  X-Amz-Date:
121
- - 20160128T193507Z
119
+ - 20160128T205114Z
122
120
  Host:
123
121
  - file-manager-tests.s3-us-west-2.amazonaws.com
124
122
  X-Amz-Content-Sha256:
125
123
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
126
124
  Authorization:
127
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
128
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=e45b1fe70e7ea8377705c236637d0a3186e76f235e233d37fa43ffd987028b89
125
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=afe81217a93e9c60dfea89e7441cabead68349cc1fcd59cf3367ebf57480c47c
129
126
  Content-Length:
130
127
  - '0'
131
128
  Accept:
132
- - "*/*"
129
+ - '*/*'
133
130
  response:
134
131
  status:
135
132
  code: 200
136
133
  message: OK
137
134
  headers:
138
135
  X-Amz-Id-2:
139
- - 1E7dLKJMbcjVKPgOuX5YgmOsWPB09C3Okknm1n8fUiq6MLMjpjUOT0vO8p8dqEh6fD2p3YSDIB4=
136
+ - Uu6iEaB7VMW6zCVqXOgn2CmtQfuNlDot9EcM2FFz0kdUCouqZRAH/jPz8b/BK3xg+0eSsookXvA=
140
137
  X-Amz-Request-Id:
141
- - 4973B828C916F7D1
138
+ - 99564A18162088A1
142
139
  Date:
143
- - Thu, 28 Jan 2016 19:35:10 GMT
140
+ - Thu, 28 Jan 2016 20:51:16 GMT
144
141
  X-Amz-Bucket-Region:
145
142
  - us-west-2
146
143
  Content-Type:
@@ -150,12 +147,12 @@ http_interactions:
150
147
  Server:
151
148
  - AmazonS3
152
149
  body:
153
- encoding: UTF-8
150
+ encoding: US-ASCII
154
151
  string: |-
155
152
  <?xml version="1.0" encoding="UTF-8"?>
156
153
  <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: Thu, 28 Jan 2016 19:35:07 GMT
154
+ http_version:
155
+ recorded_at: Thu, 28 Jan 2016 20:51:15 GMT
159
156
  - request:
160
157
  method: get
161
158
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=sav
@@ -168,31 +165,30 @@ http_interactions:
168
165
  Accept-Encoding:
169
166
  - ''
170
167
  User-Agent:
171
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
168
+ - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
172
169
  X-Amz-Date:
173
- - 20160128T193507Z
170
+ - 20160128T205115Z
174
171
  Host:
175
172
  - file-manager-tests.s3-us-west-2.amazonaws.com
176
173
  X-Amz-Content-Sha256:
177
174
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
178
175
  Authorization:
179
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
180
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=978da4a8547635351c2a3df9ee908fc420441e8ff0de164919c304cb86b54510
176
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=ed689aab2dfd2880ff03ba3a5336cb21e532db23aa9c48c35a7c6dc592ade321
181
177
  Content-Length:
182
178
  - '0'
183
179
  Accept:
184
- - "*/*"
180
+ - '*/*'
185
181
  response:
186
182
  status:
187
183
  code: 200
188
184
  message: OK
189
185
  headers:
190
186
  X-Amz-Id-2:
191
- - aH3d02DmUxPL35Hx/OLy6KXObk4MxVeiU9f+HoqwvWg0D+ubZBGBLg8f6Kf/K7eaXKaqYYT5reQ=
187
+ - fcS+wxrlBbOZ78hrD7lOTaBtCr9oR9EJFaWSRpddiXgxT9z/tRBnNKvVdjUATQbROYhoqvKD6NE=
192
188
  X-Amz-Request-Id:
193
- - E783F8A6CB09562A
189
+ - B3036348B1822368
194
190
  Date:
195
- - Thu, 28 Jan 2016 19:35:12 GMT
191
+ - Thu, 28 Jan 2016 20:51:17 GMT
196
192
  X-Amz-Bucket-Region:
197
193
  - us-west-2
198
194
  Content-Type:
@@ -202,12 +198,12 @@ http_interactions:
202
198
  Server:
203
199
  - AmazonS3
204
200
  body:
205
- encoding: UTF-8
201
+ encoding: US-ASCII
206
202
  string: |-
207
203
  <?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>2016-01-28T19:35:09.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: Thu, 28 Jan 2016 19:35:10 GMT
204
+ <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>2016-01-28T20:51:15.000Z</LastModified><ETag>&quot;9a0364b9e99bb480dd25e1f0284c8555&quot;</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
205
+ http_version:
206
+ recorded_at: Thu, 28 Jan 2016 20:51:16 GMT
211
207
  - request:
212
208
  method: get
213
209
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=
@@ -220,31 +216,30 @@ http_interactions:
220
216
  Accept-Encoding:
221
217
  - ''
222
218
  User-Agent:
223
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
219
+ - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
224
220
  X-Amz-Date:
225
- - 20160128T193510Z
221
+ - 20160128T205116Z
226
222
  Host:
227
223
  - file-manager-tests.s3-us-west-2.amazonaws.com
228
224
  X-Amz-Content-Sha256:
229
225
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
230
226
  Authorization:
231
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
232
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=0a69ae2912d1499c5c0e0939d04d7ef8377c14be4b1a9be7ea1e0674aa382349
227
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=8723782dc776402015e26e44427257f73df09565f55335b6d61ed15e54c4bfd6
233
228
  Content-Length:
234
229
  - '0'
235
230
  Accept:
236
- - "*/*"
231
+ - '*/*'
237
232
  response:
238
233
  status:
239
234
  code: 200
240
235
  message: OK
241
236
  headers:
242
237
  X-Amz-Id-2:
243
- - hj1DE5N+yKv2DjKqeB03lNGBMRRadNO8FlKNvkwATE+TZvaQIqAvVZV09Kxlm2tiZfgF9ABESRY=
238
+ - 8OQMjPwlosOkx8lHdLE3a/1K5w8GOPxPnXYjfLUTh1aEVeUaQjozUk/O6wYU7oTEZWFrucy9rzM=
244
239
  X-Amz-Request-Id:
245
- - F9DB87D86719B793
240
+ - 98E76D928CDE915B
246
241
  Date:
247
- - Thu, 28 Jan 2016 19:35:14 GMT
242
+ - Thu, 28 Jan 2016 20:51:18 GMT
248
243
  X-Amz-Bucket-Region:
249
244
  - us-west-2
250
245
  Content-Type:
@@ -254,12 +249,12 @@ http_interactions:
254
249
  Server:
255
250
  - AmazonS3
256
251
  body:
257
- encoding: UTF-8
252
+ encoding: US-ASCII
258
253
  string: |-
259
254
  <?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>2016-01-28T19:35:09.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: Thu, 28 Jan 2016 19:35:11 GMT
255
+ <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>2016-01-28T20:51:15.000Z</LastModified><ETag>&quot;9a0364b9e99bb480dd25e1f0284c8555&quot;</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
256
+ http_version:
257
+ recorded_at: Thu, 28 Jan 2016 20:51:17 GMT
263
258
  - request:
264
259
  method: get
265
260
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=sav
@@ -272,31 +267,30 @@ http_interactions:
272
267
  Accept-Encoding:
273
268
  - ''
274
269
  User-Agent:
275
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
270
+ - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
276
271
  X-Amz-Date:
277
- - 20160128T193511Z
272
+ - 20160128T205117Z
278
273
  Host:
279
274
  - file-manager-tests.s3-us-west-2.amazonaws.com
280
275
  X-Amz-Content-Sha256:
281
276
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
282
277
  Authorization:
283
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
284
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=504de7fbae9e9b6ce0c766bfa12f93401c26e6b066ebd5c4e66fb5d558b3b723
278
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=be18f0e112e6309a7a85bf75117e65d06dd0006d761d11710adbdcc65d56e6a5
285
279
  Content-Length:
286
280
  - '0'
287
281
  Accept:
288
- - "*/*"
282
+ - '*/*'
289
283
  response:
290
284
  status:
291
285
  code: 200
292
286
  message: OK
293
287
  headers:
294
288
  X-Amz-Id-2:
295
- - 343Gn/Z6EJ8l519aUvVVjd3fCRKbP63qhOClGWYI7tb5c3x2uEITTgmedfi5G5rpqEqh+Mtfy3M=
289
+ - 52jWjIHEyVOO2YtvZjWu305z9N9iCX5xaaD3HQwIfKbMPyB3Qxn6V9QBb0iN+BXs5BsTalgry9Y=
296
290
  X-Amz-Request-Id:
297
- - D93B2F4DFE598340
291
+ - 27B8D2052B72CC54
298
292
  Date:
299
- - Thu, 28 Jan 2016 19:35:15 GMT
293
+ - Thu, 28 Jan 2016 20:51:19 GMT
300
294
  X-Amz-Bucket-Region:
301
295
  - us-west-2
302
296
  Content-Type:
@@ -306,12 +300,12 @@ http_interactions:
306
300
  Server:
307
301
  - AmazonS3
308
302
  body:
309
- encoding: UTF-8
303
+ encoding: US-ASCII
310
304
  string: |-
311
305
  <?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>2016-01-28T19:35:09.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: Thu, 28 Jan 2016 19:35:12 GMT
306
+ <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>2016-01-28T20:51:15.000Z</LastModified><ETag>&quot;9a0364b9e99bb480dd25e1f0284c8555&quot;</ETag><Size>7</Size><Owner><ID>93aef73ec9e2412194b36d6a763c119d46a9f0b0cf053130937741f42856242c</ID><DisplayName>desenvolvimento.bedel</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
307
+ http_version:
308
+ recorded_at: Thu, 28 Jan 2016 20:51:18 GMT
315
309
  - request:
316
310
  method: delete
317
311
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/saved.*
@@ -324,38 +318,37 @@ http_interactions:
324
318
  Accept-Encoding:
325
319
  - ''
326
320
  User-Agent:
327
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
321
+ - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
328
322
  X-Amz-Date:
329
- - 20160128T193512Z
323
+ - 20160128T205118Z
330
324
  Host:
331
325
  - file-manager-tests.s3-us-west-2.amazonaws.com
332
326
  X-Amz-Content-Sha256:
333
327
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
334
328
  Authorization:
335
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
336
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=c3ca525a857b81f455296060a8e3fc196998a046d67c209ac9f8f57a4ba66a25
329
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=b56bee3bec71144d51055484befb727fe6eb0255ad089969ac2a0fec70c00801
337
330
  Content-Length:
338
331
  - '0'
339
332
  Accept:
340
- - "*/*"
333
+ - '*/*'
341
334
  response:
342
335
  status:
343
336
  code: 204
344
337
  message: No Content
345
338
  headers:
346
339
  X-Amz-Id-2:
347
- - 5upe6GqIxXm2uDW3HACj9csSJ4XSxnq7ufphY9NXHaCy+8HVTK9nMVkDwgHavD06n9K0ZyijfpQ=
340
+ - 0llWQqXpkY+c5ahcAp0jmaDJEos7LDp1FrVy7Kg1WTEQJj3FQHrXoAEzniArSLmbIcxOj/uNBJY=
348
341
  X-Amz-Request-Id:
349
- - B6768BA41B58E72B
342
+ - AE90661AC44DC65B
350
343
  Date:
351
- - Thu, 28 Jan 2016 19:35:16 GMT
344
+ - Thu, 28 Jan 2016 20:51:20 GMT
352
345
  Server:
353
346
  - AmazonS3
354
347
  body:
355
- encoding: UTF-8
348
+ encoding: US-ASCII
356
349
  string: ''
357
- http_version:
358
- recorded_at: Thu, 28 Jan 2016 19:35:13 GMT
350
+ http_version:
351
+ recorded_at: Thu, 28 Jan 2016 20:51:19 GMT
359
352
  - request:
360
353
  method: get
361
354
  uri: https://file-manager-tests.s3-us-west-2.amazonaws.com/?encoding-type=url&prefix=
@@ -368,31 +361,30 @@ http_interactions:
368
361
  Accept-Encoding:
369
362
  - ''
370
363
  User-Agent:
371
- - aws-sdk-ruby2/2.2.13 ruby/2.2.3 x86_64-darwin15
364
+ - aws-sdk-ruby2/2.2.13 jruby/1.9.3 java
372
365
  X-Amz-Date:
373
- - 20160128T193513Z
366
+ - 20160128T205119Z
374
367
  Host:
375
368
  - file-manager-tests.s3-us-west-2.amazonaws.com
376
369
  X-Amz-Content-Sha256:
377
370
  - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
378
371
  Authorization:
379
- - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request,
380
- SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=158d6c58ea289901f7ad98ca7dc57b207ab2f6ddc8755e024165fd5a4fc89881
372
+ - AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20160128/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=a1a7b0c76f9e1f0fc6779024fbb26f914ba7f960a55c228958a973ea39d06fc8
381
373
  Content-Length:
382
374
  - '0'
383
375
  Accept:
384
- - "*/*"
376
+ - '*/*'
385
377
  response:
386
378
  status:
387
379
  code: 200
388
380
  message: OK
389
381
  headers:
390
382
  X-Amz-Id-2:
391
- - tqL7ZnZKrcdXboU2QhlpTsaOrAcFu7Ajll553m+2iIJrLUFATdDFpUnIIHcmOC3TLR0P37hXWvw=
383
+ - weRVdCkbJzbwVpHZS9M+0zCv6UTt4cHpjK+V7w52G5H9GR0umXQOkURd7yH6zE4zEfrmyQ8+XVg=
392
384
  X-Amz-Request-Id:
393
- - 5D29B49763EC19EC
385
+ - B3F4DD36BF6E6AA3
394
386
  Date:
395
- - Thu, 28 Jan 2016 19:35:17 GMT
387
+ - Thu, 28 Jan 2016 20:51:21 GMT
396
388
  X-Amz-Bucket-Region:
397
389
  - us-west-2
398
390
  Content-Type:
@@ -402,10 +394,10 @@ http_interactions:
402
394
  Server:
403
395
  - AmazonS3
404
396
  body:
405
- encoding: UTF-8
397
+ encoding: US-ASCII
406
398
  string: |-
407
399
  <?xml version="1.0" encoding="UTF-8"?>
408
400
  <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: Thu, 28 Jan 2016 19:35:14 GMT
401
+ http_version:
402
+ recorded_at: Thu, 28 Jan 2016 20:51:20 GMT
411
403
  recorded_with: VCR 3.0.1