jekyll-s3 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/README.md +25 -3
  2. data/Rakefile +1 -1
  3. data/bin/jekyll-s3 +1 -1
  4. data/features/cassettes/cucumber_tags/new-and-changed-files.yml +302 -0
  5. data/features/cassettes/cucumber_tags/new-files.yml +211 -0
  6. data/features/cassettes/cucumber_tags/no-new-or-changed-files.yml +306 -0
  7. data/features/cassettes/cucumber_tags/only-changed-files.yml +350 -0
  8. data/features/cassettes/cucumber_tags/s3-and-cloudfront.yml +290 -0
  9. data/features/cli-output.feature +84 -0
  10. data/features/jekyll-s3-cloudfront.feature +6 -14
  11. data/features/jekyll-s3.feature +20 -76
  12. data/features/step_definitions/steps.rb +27 -0
  13. data/features/support/test_site_dirs/cdn-powered.blog.fi/_jekyll_s3.yml +4 -0
  14. data/features/support/test_site_dirs/cdn-powered.blog.fi/_site/css/styles.css +3 -0
  15. data/features/support/test_site_dirs/cdn-powered.blog.fi/_site/index.html +5 -0
  16. data/features/support/test_site_dirs/my.blog.com/_jekyll_s3.yml +3 -0
  17. data/features/support/test_site_dirs/my.blog.com/_site/css/styles.css +3 -0
  18. data/features/support/test_site_dirs/my.blog.com/_site/index.html +5 -0
  19. data/features/support/test_site_dirs/new-and-changed-files.com/_jekyll_s3.yml +3 -0
  20. data/features/support/test_site_dirs/new-and-changed-files.com/_site/css/styles.css +3 -0
  21. data/features/support/test_site_dirs/new-and-changed-files.com/_site/index.html +8 -0
  22. data/features/support/test_site_dirs/no-new-or-changed-files.com/_jekyll_s3.yml +3 -0
  23. data/features/support/test_site_dirs/no-new-or-changed-files.com/_site/css/styles.css +3 -0
  24. data/features/support/test_site_dirs/no-new-or-changed-files.com/_site/index.html +5 -0
  25. data/features/support/test_site_dirs/only-changed-files.com/_jekyll_s3.yml +3 -0
  26. data/features/support/test_site_dirs/only-changed-files.com/_site/css/styles.css +3 -0
  27. data/features/support/test_site_dirs/only-changed-files.com/_site/index.html +8 -0
  28. data/features/support/vcr.rb +14 -0
  29. data/jekyll-s3.gemspec +7 -3
  30. data/lib/cloudfront/invalidator.rb +4 -2
  31. data/lib/jekyll-s3.rb +4 -2
  32. data/lib/jekyll-s3/cli.rb +29 -2
  33. data/lib/jekyll-s3/config_loader.rb +60 -0
  34. data/lib/jekyll-s3/diff_helper.rb +23 -0
  35. data/lib/jekyll-s3/errors.rb +6 -1
  36. data/lib/jekyll-s3/keyboard.rb +26 -0
  37. data/lib/jekyll-s3/retry.rb +21 -0
  38. data/lib/jekyll-s3/uploader.rb +56 -123
  39. data/lib/jekyll-s3/version.rb +1 -1
  40. data/spec/lib/keyboard_spec.rb +65 -0
  41. data/spec/lib/retry_spec.rb +34 -0
  42. data/spec/spec_helper.rb +0 -5
  43. metadata +132 -18
  44. data/spec/lib/invalidator_spec.rb +0 -36
  45. data/spec/lib/uploader_spec.rb +0 -62
@@ -0,0 +1,306 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://s3.amazonaws.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Content-Type:
11
+ - ''
12
+ User-Agent:
13
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
14
+ Date:
15
+ - Sun, 14 Oct 2012 16:58:06 +0300
16
+ Authorization:
17
+ - AWS
18
+ Accept:
19
+ - ! '*/*'
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ X-Amz-Id-2:
26
+ - EIqAfC0Ahq150i4dIrtcvMuMpJpJj5ys2ag0h5bc4rkoCwN9TSB6ZqRA6T/Ue2UO
27
+ X-Amz-Request-Id:
28
+ - CC77C361C621A845
29
+ Date:
30
+ - Sun, 14 Oct 2012 13:58:08 GMT
31
+ Content-Type:
32
+ - application/xml
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Server:
36
+ - AmazonS3
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ! '<?xml version="1.0" encoding="UTF-8"?>
40
+
41
+ <ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID></ID><DisplayName></DisplayName></Owner><Buckets><Bucket><Name>jekyll-s3-test.net</Name><CreationDate>2012-10-14T12:58:37.000Z</CreationDate></Bucket></Buckets></ListAllMyBucketsResult>'
42
+ http_version:
43
+ recorded_at: Sun, 14 Oct 2012 13:58:07 GMT
44
+ - request:
45
+ method: get
46
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net?max-keys=1000
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ headers:
51
+ Content-Type:
52
+ - ''
53
+ User-Agent:
54
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
55
+ Date:
56
+ - Sun, 14 Oct 2012 16:58:07 +0300
57
+ Authorization:
58
+ -
59
+ Accept:
60
+ - ! '*/*'
61
+ response:
62
+ status:
63
+ code: 200
64
+ message: OK
65
+ headers:
66
+ X-Amz-Id-2:
67
+ - jgceHfrovqBVc1xfMGwIAA77Hdw/F/AcC/4DY968YIqtGcJB54gnY3f3+FX07wPG
68
+ X-Amz-Request-Id:
69
+ - 33C93E82126DF8BA
70
+ Date:
71
+ - Sun, 14 Oct 2012 13:58:09 GMT
72
+ Content-Type:
73
+ - application/xml
74
+ Transfer-Encoding:
75
+ - chunked
76
+ Server:
77
+ - AmazonS3
78
+ body:
79
+ encoding: US-ASCII
80
+ string: ! '<?xml version="1.0" encoding="UTF-8"?>
81
+
82
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>jekyll-s3-test.net</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>css/styles.css</Key><LastModified>2012-10-14T13:40:28.000Z</LastModified><ETag>&quot;8fcf43a38cbf0c502f029a50645f2374&quot;</ETag><Size>10</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>index.html</Key><LastModified>2012-10-14T13:40:29.000Z</LastModified><ETag>&quot;8a8892a2b0fad281f26c0dedbff7011a&quot;</ETag><Size>60</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
83
+ http_version:
84
+ recorded_at: Sun, 14 Oct 2012 13:58:07 GMT
85
+ - request:
86
+ method: head
87
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net/css/styles.css
88
+ body:
89
+ encoding: US-ASCII
90
+ string: ''
91
+ headers:
92
+ Content-Type:
93
+ - ''
94
+ User-Agent:
95
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
96
+ Date:
97
+ - Sun, 14 Oct 2012 16:58:07 +0300
98
+ Authorization:
99
+ -
100
+ Accept:
101
+ - ! '*/*'
102
+ response:
103
+ status:
104
+ code: 200
105
+ message: OK
106
+ headers:
107
+ X-Amz-Id-2:
108
+ - 34iv73DFMfseupKgt1WlrSKnPZUMM303uW6WSX4zJ9EbHFJPMfS2yANyCDf+xquz
109
+ X-Amz-Request-Id:
110
+ - F6A2B78B08C0AD37
111
+ Date:
112
+ - Sun, 14 Oct 2012 13:58:09 GMT
113
+ Last-Modified:
114
+ - Sun, 14 Oct 2012 13:40:28 GMT
115
+ Etag:
116
+ - ! '"8fcf43a38cbf0c502f029a50645f2374"'
117
+ Accept-Ranges:
118
+ - bytes
119
+ Content-Type:
120
+ - ''
121
+ Content-Length:
122
+ - '10'
123
+ Server:
124
+ - AmazonS3
125
+ body:
126
+ encoding: US-ASCII
127
+ string: ''
128
+ http_version:
129
+ recorded_at: Sun, 14 Oct 2012 13:58:08 GMT
130
+ - request:
131
+ method: head
132
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net/css/styles.css
133
+ body:
134
+ encoding: US-ASCII
135
+ string: ''
136
+ headers:
137
+ Content-Type:
138
+ - ''
139
+ User-Agent:
140
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
141
+ Date:
142
+ - Sun, 14 Oct 2012 16:58:08 +0300
143
+ Authorization:
144
+ -
145
+ Accept:
146
+ - ! '*/*'
147
+ response:
148
+ status:
149
+ code: 200
150
+ message: OK
151
+ headers:
152
+ X-Amz-Id-2:
153
+ - pmqx00ThkuCwJ4RnZpl8s7gFqw2YLayLxxv2B18OPindvWViLb6G/nJrt9Qeb4rp
154
+ X-Amz-Request-Id:
155
+ - 8A32A9A46959D4A1
156
+ Date:
157
+ - Sun, 14 Oct 2012 13:58:10 GMT
158
+ Last-Modified:
159
+ - Sun, 14 Oct 2012 13:40:28 GMT
160
+ Etag:
161
+ - ! '"8fcf43a38cbf0c502f029a50645f2374"'
162
+ Accept-Ranges:
163
+ - bytes
164
+ Content-Type:
165
+ - ''
166
+ Content-Length:
167
+ - '10'
168
+ Server:
169
+ - AmazonS3
170
+ body:
171
+ encoding: US-ASCII
172
+ string: ''
173
+ http_version:
174
+ recorded_at: Sun, 14 Oct 2012 13:58:08 GMT
175
+ - request:
176
+ method: head
177
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net/index.html
178
+ body:
179
+ encoding: US-ASCII
180
+ string: ''
181
+ headers:
182
+ Content-Type:
183
+ - ''
184
+ User-Agent:
185
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
186
+ Date:
187
+ - Sun, 14 Oct 2012 16:58:08 +0300
188
+ Authorization:
189
+ -
190
+ Accept:
191
+ - ! '*/*'
192
+ response:
193
+ status:
194
+ code: 200
195
+ message: OK
196
+ headers:
197
+ X-Amz-Id-2:
198
+ - LwDB+5dk9ruckLyZMdgdO+1KZXzDuXFX1M4AK7SwsyIQTxNWfzoyvI05/zO/mR9J
199
+ X-Amz-Request-Id:
200
+ - 63E347CCC83830BD
201
+ Date:
202
+ - Sun, 14 Oct 2012 13:58:11 GMT
203
+ Last-Modified:
204
+ - Sun, 14 Oct 2012 13:40:29 GMT
205
+ Etag:
206
+ - ! '"8a8892a2b0fad281f26c0dedbff7011a"'
207
+ Accept-Ranges:
208
+ - bytes
209
+ Content-Type:
210
+ - ''
211
+ Content-Length:
212
+ - '60'
213
+ Server:
214
+ - AmazonS3
215
+ body:
216
+ encoding: US-ASCII
217
+ string: ''
218
+ http_version:
219
+ recorded_at: Sun, 14 Oct 2012 13:58:09 GMT
220
+ - request:
221
+ method: head
222
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net/index.html
223
+ body:
224
+ encoding: US-ASCII
225
+ string: ''
226
+ headers:
227
+ Content-Type:
228
+ - ''
229
+ User-Agent:
230
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
231
+ Date:
232
+ - Sun, 14 Oct 2012 16:58:09 +0300
233
+ Authorization:
234
+ -
235
+ Accept:
236
+ - ! '*/*'
237
+ response:
238
+ status:
239
+ code: 200
240
+ message: OK
241
+ headers:
242
+ X-Amz-Id-2:
243
+ - BM4y0zPx0Cwhjd2+dCrz7SzDCZrFr7r5INAWNUX+ai0NU2WqWjMOvvMLkR0t+s1t
244
+ X-Amz-Request-Id:
245
+ - ABFC8229E48EE5CF
246
+ Date:
247
+ - Sun, 14 Oct 2012 13:58:11 GMT
248
+ Last-Modified:
249
+ - Sun, 14 Oct 2012 13:40:29 GMT
250
+ Etag:
251
+ - ! '"8a8892a2b0fad281f26c0dedbff7011a"'
252
+ Accept-Ranges:
253
+ - bytes
254
+ Content-Type:
255
+ - ''
256
+ Content-Length:
257
+ - '60'
258
+ Server:
259
+ - AmazonS3
260
+ body:
261
+ encoding: US-ASCII
262
+ string: ''
263
+ http_version:
264
+ recorded_at: Sun, 14 Oct 2012 13:58:10 GMT
265
+ - request:
266
+ method: get
267
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net?max-keys=1000
268
+ body:
269
+ encoding: US-ASCII
270
+ string: ''
271
+ headers:
272
+ Content-Type:
273
+ - ''
274
+ User-Agent:
275
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
276
+ Date:
277
+ - Sun, 14 Oct 2012 16:58:10 +0300
278
+ Authorization:
279
+ -
280
+ Accept:
281
+ - ! '*/*'
282
+ response:
283
+ status:
284
+ code: 200
285
+ message: OK
286
+ headers:
287
+ X-Amz-Id-2:
288
+ - afodPJTpXBpnTlOxk9NbzQetBZYTPdbJZdsA7TkHA6hgtX7fCIJGScz2p7Js5MFi
289
+ X-Amz-Request-Id:
290
+ - 370C6F96A703DE6A
291
+ Date:
292
+ - Sun, 14 Oct 2012 13:58:12 GMT
293
+ Content-Type:
294
+ - application/xml
295
+ Transfer-Encoding:
296
+ - chunked
297
+ Server:
298
+ - AmazonS3
299
+ body:
300
+ encoding: US-ASCII
301
+ string: ! '<?xml version="1.0" encoding="UTF-8"?>
302
+
303
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>jekyll-s3-test.net</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>css/styles.css</Key><LastModified>2012-10-14T13:40:28.000Z</LastModified><ETag>&quot;8fcf43a38cbf0c502f029a50645f2374&quot;</ETag><Size>10</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>index.html</Key><LastModified>2012-10-14T13:40:29.000Z</LastModified><ETag>&quot;8a8892a2b0fad281f26c0dedbff7011a&quot;</ETag><Size>60</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
304
+ http_version:
305
+ recorded_at: Sun, 14 Oct 2012 13:58:10 GMT
306
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,350 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://s3.amazonaws.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Content-Type:
11
+ - ''
12
+ User-Agent:
13
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
14
+ Date:
15
+ - Sun, 14 Oct 2012 17:07:07 +0300
16
+ Authorization:
17
+ - AWS
18
+ Accept:
19
+ - ! '*/*'
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ X-Amz-Id-2:
26
+ - zrG/47X9/wYdoibKoQqAuW73tTQNA/nlB1SolNYa/RkgCjcy4Qc47hfwHlbqMay2
27
+ X-Amz-Request-Id:
28
+ - 8F0252FE1355929C
29
+ Date:
30
+ - Sun, 14 Oct 2012 14:07:09 GMT
31
+ Content-Type:
32
+ - application/xml
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Server:
36
+ - AmazonS3
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ! '<?xml version="1.0" encoding="UTF-8"?>
40
+
41
+ <ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID></ID><DisplayName></DisplayName></Owner><Buckets><Bucket><Name>jekyll-s3-test.net</Name><CreationDate>2012-10-14T12:58:37.000Z</CreationDate></Bucket></Buckets></ListAllMyBucketsResult>'
42
+ http_version:
43
+ recorded_at: Sun, 14 Oct 2012 14:07:08 GMT
44
+ - request:
45
+ method: get
46
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net?max-keys=1000
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ headers:
51
+ Content-Type:
52
+ - ''
53
+ User-Agent:
54
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
55
+ Date:
56
+ - Sun, 14 Oct 2012 17:07:08 +0300
57
+ Authorization:
58
+ - AWS
59
+ Accept:
60
+ - ! '*/*'
61
+ response:
62
+ status:
63
+ code: 200
64
+ message: OK
65
+ headers:
66
+ X-Amz-Id-2:
67
+ - BUXx/LHnoTK6P+OJ0OdfGEIY3KFdysyfcCe3vyY0PjAVqa0SfmW8hPkRmnfNbvqC
68
+ X-Amz-Request-Id:
69
+ - F634CC1FF513EB9C
70
+ Date:
71
+ - Sun, 14 Oct 2012 14:07:10 GMT
72
+ Content-Type:
73
+ - application/xml
74
+ Transfer-Encoding:
75
+ - chunked
76
+ Server:
77
+ - AmazonS3
78
+ body:
79
+ encoding: US-ASCII
80
+ string: ! '<?xml version="1.0" encoding="UTF-8"?>
81
+
82
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>jekyll-s3-test.net</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>css/styles.css</Key><LastModified>2012-10-14T13:40:28.000Z</LastModified><ETag>&quot;8fcf43a38cbf0c502f029a50645f2374&quot;</ETag><Size>10</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>index.html</Key><LastModified>2012-10-14T13:40:29.000Z</LastModified><ETag>&quot;8a8892a2b0fad281f26c0dedbff7011a&quot;</ETag><Size>60</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
83
+ http_version:
84
+ recorded_at: Sun, 14 Oct 2012 14:07:09 GMT
85
+ - request:
86
+ method: head
87
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net/css/styles.css
88
+ body:
89
+ encoding: US-ASCII
90
+ string: ''
91
+ headers:
92
+ Content-Type:
93
+ - ''
94
+ User-Agent:
95
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
96
+ Date:
97
+ - Sun, 14 Oct 2012 17:07:09 +0300
98
+ Authorization:
99
+ - AWS
100
+ Accept:
101
+ - ! '*/*'
102
+ response:
103
+ status:
104
+ code: 200
105
+ message: OK
106
+ headers:
107
+ X-Amz-Id-2:
108
+ - 0zly0n3nUjXylbm3BPdCUb9Z7AKO2lRHV4+t9JJmkTsGX0JDj7EZw88bpdteZwqX
109
+ X-Amz-Request-Id:
110
+ - 7D902B54C5B07509
111
+ Date:
112
+ - Sun, 14 Oct 2012 14:07:11 GMT
113
+ Last-Modified:
114
+ - Sun, 14 Oct 2012 13:40:28 GMT
115
+ Etag:
116
+ - ! '"8fcf43a38cbf0c502f029a50645f2374"'
117
+ Accept-Ranges:
118
+ - bytes
119
+ Content-Type:
120
+ - ''
121
+ Content-Length:
122
+ - '10'
123
+ Server:
124
+ - AmazonS3
125
+ body:
126
+ encoding: US-ASCII
127
+ string: ''
128
+ http_version:
129
+ recorded_at: Sun, 14 Oct 2012 14:07:09 GMT
130
+ - request:
131
+ method: head
132
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net/css/styles.css
133
+ body:
134
+ encoding: US-ASCII
135
+ string: ''
136
+ headers:
137
+ Content-Type:
138
+ - ''
139
+ User-Agent:
140
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
141
+ Date:
142
+ - Sun, 14 Oct 2012 17:07:09 +0300
143
+ Authorization:
144
+ - AWS
145
+ Accept:
146
+ - ! '*/*'
147
+ response:
148
+ status:
149
+ code: 200
150
+ message: OK
151
+ headers:
152
+ X-Amz-Id-2:
153
+ - M+r7YX7FlBh6qfYvB2N2STRw+DKrppF2OQzDdkEeLJ9eV5r9njJAhLddcu/Y7Rvd
154
+ X-Amz-Request-Id:
155
+ - DD62CA997622430E
156
+ Date:
157
+ - Sun, 14 Oct 2012 14:07:11 GMT
158
+ Last-Modified:
159
+ - Sun, 14 Oct 2012 13:40:28 GMT
160
+ Etag:
161
+ - ! '"8fcf43a38cbf0c502f029a50645f2374"'
162
+ Accept-Ranges:
163
+ - bytes
164
+ Content-Type:
165
+ - ''
166
+ Content-Length:
167
+ - '10'
168
+ Server:
169
+ - AmazonS3
170
+ body:
171
+ encoding: US-ASCII
172
+ string: ''
173
+ http_version:
174
+ recorded_at: Sun, 14 Oct 2012 14:07:10 GMT
175
+ - request:
176
+ method: head
177
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net/index.html
178
+ body:
179
+ encoding: US-ASCII
180
+ string: ''
181
+ headers:
182
+ Content-Type:
183
+ - ''
184
+ User-Agent:
185
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
186
+ Date:
187
+ - Sun, 14 Oct 2012 17:07:10 +0300
188
+ Authorization:
189
+ - AWS
190
+ Accept:
191
+ - ! '*/*'
192
+ response:
193
+ status:
194
+ code: 200
195
+ message: OK
196
+ headers:
197
+ X-Amz-Id-2:
198
+ - /FoZT1N2ZGxjD0hAUW4l8DKDgOpKnRbuOcPjEfkKmsYapRDnIlHYxNl0/6/qY/eT
199
+ X-Amz-Request-Id:
200
+ - 86F702E6545BB793
201
+ Date:
202
+ - Sun, 14 Oct 2012 14:07:12 GMT
203
+ Last-Modified:
204
+ - Sun, 14 Oct 2012 13:40:29 GMT
205
+ Etag:
206
+ - ! '"8a8892a2b0fad281f26c0dedbff7011a"'
207
+ Accept-Ranges:
208
+ - bytes
209
+ Content-Type:
210
+ - ''
211
+ Content-Length:
212
+ - '60'
213
+ Server:
214
+ - AmazonS3
215
+ body:
216
+ encoding: US-ASCII
217
+ string: ''
218
+ http_version:
219
+ recorded_at: Sun, 14 Oct 2012 14:07:10 GMT
220
+ - request:
221
+ method: head
222
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net/index.html
223
+ body:
224
+ encoding: US-ASCII
225
+ string: ''
226
+ headers:
227
+ Content-Type:
228
+ - ''
229
+ User-Agent:
230
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
231
+ Date:
232
+ - Sun, 14 Oct 2012 17:07:10 +0300
233
+ Authorization:
234
+ - AWS
235
+ Accept:
236
+ - ! '*/*'
237
+ response:
238
+ status:
239
+ code: 200
240
+ message: OK
241
+ headers:
242
+ X-Amz-Id-2:
243
+ - nAXk7MvyWEX3k2Xo/ew//TBZ1m9ynzz+jjg9qi/cPxsC4GKgCQ9gfAKaah9xlp+L
244
+ X-Amz-Request-Id:
245
+ - F7FBDC1ED8736B78
246
+ Date:
247
+ - Sun, 14 Oct 2012 14:07:12 GMT
248
+ Last-Modified:
249
+ - Sun, 14 Oct 2012 13:40:29 GMT
250
+ Etag:
251
+ - ! '"8a8892a2b0fad281f26c0dedbff7011a"'
252
+ Accept-Ranges:
253
+ - bytes
254
+ Content-Type:
255
+ - ''
256
+ Content-Length:
257
+ - '60'
258
+ Server:
259
+ - AmazonS3
260
+ body:
261
+ encoding: US-ASCII
262
+ string: ''
263
+ http_version:
264
+ recorded_at: Sun, 14 Oct 2012 14:07:11 GMT
265
+ - request:
266
+ method: put
267
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net/index.html
268
+ body:
269
+ encoding: ASCII-8BIT
270
+ string: !binary |-
271
+ PGh0bWw+CiAgPGhlYWQ+CiAgICA8dGl0bGU+aGVsbG8hPC90aXRsZT4KICA8
272
+ L2hlYWQ+CiAgPGJvZHk+CiAgICBpIGdvdCBzb21lIG5ldyBjb250ZW50IGZv
273
+ ciB5b3UsIGFybmllCiAgPC9ib2R5Pgo8L2h0bWw+Cg==
274
+ headers:
275
+ Content-Type:
276
+ - ''
277
+ Content-Length:
278
+ - '121'
279
+ User-Agent:
280
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
281
+ Date:
282
+ - Sun, 14 Oct 2012 17:07:11 +0300
283
+ Authorization:
284
+ - AWS
285
+ Accept:
286
+ - ! '*/*'
287
+ response:
288
+ status:
289
+ code: 200
290
+ message: OK
291
+ headers:
292
+ X-Amz-Id-2:
293
+ - 89AFTkDdXIsFHLwzlwpRCzIOaieAvQNsYi8GpA02kyb/IPa1bnrKxgN+ahodaV1p
294
+ X-Amz-Request-Id:
295
+ - 5C9E171DCE6A82BE
296
+ Date:
297
+ - Sun, 14 Oct 2012 14:07:13 GMT
298
+ Etag:
299
+ - ! '"7f3ac0e996d33d9b089bcac1eac6af12"'
300
+ Content-Length:
301
+ - '0'
302
+ Server:
303
+ - AmazonS3
304
+ body:
305
+ encoding: US-ASCII
306
+ string: ''
307
+ http_version:
308
+ recorded_at: Sun, 14 Oct 2012 14:07:12 GMT
309
+ - request:
310
+ method: get
311
+ uri: https://s3.amazonaws.com/jekyll-s3-test.net?max-keys=1000
312
+ body:
313
+ encoding: US-ASCII
314
+ string: ''
315
+ headers:
316
+ Content-Type:
317
+ - ''
318
+ User-Agent:
319
+ - aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
320
+ Date:
321
+ - Sun, 14 Oct 2012 17:07:12 +0300
322
+ Authorization:
323
+ - AWS
324
+ Accept:
325
+ - ! '*/*'
326
+ response:
327
+ status:
328
+ code: 200
329
+ message: OK
330
+ headers:
331
+ X-Amz-Id-2:
332
+ - CTHCiEahO0aEhI72dsIr3UoS1XF+4CIXZHMyhrWCA1wLrRuQMVa9vG7QqHmwZRQp
333
+ X-Amz-Request-Id:
334
+ - DB07850C83B627FE
335
+ Date:
336
+ - Sun, 14 Oct 2012 14:07:14 GMT
337
+ Content-Type:
338
+ - application/xml
339
+ Transfer-Encoding:
340
+ - chunked
341
+ Server:
342
+ - AmazonS3
343
+ body:
344
+ encoding: US-ASCII
345
+ string: ! '<?xml version="1.0" encoding="UTF-8"?>
346
+
347
+ <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>jekyll-s3-test.net</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>css/styles.css</Key><LastModified>2012-10-14T13:40:28.000Z</LastModified><ETag>&quot;8fcf43a38cbf0c502f029a50645f2374&quot;</ETag><Size>10</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>index.html</Key><LastModified>2012-10-14T14:07:13.000Z</LastModified><ETag>&quot;7f3ac0e996d33d9b089bcac1eac6af12&quot;</ETag><Size>121</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
348
+ http_version:
349
+ recorded_at: Sun, 14 Oct 2012 14:07:12 GMT
350
+ recorded_with: VCR 2.2.4