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.
- data/README.md +25 -3
- data/Rakefile +1 -1
- data/bin/jekyll-s3 +1 -1
- data/features/cassettes/cucumber_tags/new-and-changed-files.yml +302 -0
- data/features/cassettes/cucumber_tags/new-files.yml +211 -0
- data/features/cassettes/cucumber_tags/no-new-or-changed-files.yml +306 -0
- data/features/cassettes/cucumber_tags/only-changed-files.yml +350 -0
- data/features/cassettes/cucumber_tags/s3-and-cloudfront.yml +290 -0
- data/features/cli-output.feature +84 -0
- data/features/jekyll-s3-cloudfront.feature +6 -14
- data/features/jekyll-s3.feature +20 -76
- data/features/step_definitions/steps.rb +27 -0
- data/features/support/test_site_dirs/cdn-powered.blog.fi/_jekyll_s3.yml +4 -0
- data/features/support/test_site_dirs/cdn-powered.blog.fi/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/cdn-powered.blog.fi/_site/index.html +5 -0
- data/features/support/test_site_dirs/my.blog.com/_jekyll_s3.yml +3 -0
- data/features/support/test_site_dirs/my.blog.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/my.blog.com/_site/index.html +5 -0
- data/features/support/test_site_dirs/new-and-changed-files.com/_jekyll_s3.yml +3 -0
- data/features/support/test_site_dirs/new-and-changed-files.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/new-and-changed-files.com/_site/index.html +8 -0
- data/features/support/test_site_dirs/no-new-or-changed-files.com/_jekyll_s3.yml +3 -0
- data/features/support/test_site_dirs/no-new-or-changed-files.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/no-new-or-changed-files.com/_site/index.html +5 -0
- data/features/support/test_site_dirs/only-changed-files.com/_jekyll_s3.yml +3 -0
- data/features/support/test_site_dirs/only-changed-files.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/only-changed-files.com/_site/index.html +8 -0
- data/features/support/vcr.rb +14 -0
- data/jekyll-s3.gemspec +7 -3
- data/lib/cloudfront/invalidator.rb +4 -2
- data/lib/jekyll-s3.rb +4 -2
- data/lib/jekyll-s3/cli.rb +29 -2
- data/lib/jekyll-s3/config_loader.rb +60 -0
- data/lib/jekyll-s3/diff_helper.rb +23 -0
- data/lib/jekyll-s3/errors.rb +6 -1
- data/lib/jekyll-s3/keyboard.rb +26 -0
- data/lib/jekyll-s3/retry.rb +21 -0
- data/lib/jekyll-s3/uploader.rb +56 -123
- data/lib/jekyll-s3/version.rb +1 -1
- data/spec/lib/keyboard_spec.rb +65 -0
- data/spec/lib/retry_spec.rb +34 -0
- data/spec/spec_helper.rb +0 -5
- metadata +132 -18
- data/spec/lib/invalidator_spec.rb +0 -36
- data/spec/lib/uploader_spec.rb +0 -62
data/README.md
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
Status](https://secure.travis-ci.org/laurilehmijoki/jekyll-s3.png)]
|
5
5
|
(http://travis-ci.org/laurilehmijoki/jekyll-s3)
|
6
6
|
|
7
|
-
|
8
7
|
Deploy your jekyll site to S3.
|
9
8
|
|
9
|
+
## What jekyll-s3 can do for you
|
10
|
+
|
11
|
+
* Upload your site to AWS S3
|
12
|
+
* Help you use AWS Cloudfront to distribute your Jekyll blog
|
13
|
+
* Create the S3 bucket for you
|
14
|
+
|
10
15
|
## Install
|
11
16
|
|
12
17
|
gem install jekyll-s3
|
@@ -23,6 +28,8 @@ cloudfront_distribution_id: YOUR_CLOUDFRONT_DIST_ID (OPTIONAL)
|
|
23
28
|
</pre>
|
24
29
|
|
25
30
|
* Edit it with your details.
|
31
|
+
* Hint: you can use ERB syntax in `_jekyll_s3.yml`. This is handy, if you
|
32
|
+
want to store the AWS credentials as environmental variables.
|
26
33
|
|
27
34
|
## Deploy!
|
28
35
|
|
@@ -47,9 +54,20 @@ It is easy to deliver your S3-based web site via Cloudfront, the CDN of Amazon.
|
|
47
54
|
* Run `jekyll-s3` to deploy your site to S3 and invalidate the Cloudfront
|
48
55
|
distribution
|
49
56
|
|
50
|
-
##
|
57
|
+
## Changelog
|
58
|
+
|
59
|
+
### 0.0.5
|
60
|
+
|
61
|
+
Invalidate the Cloudfront distribution of the Jekyll S3 bucket.
|
62
|
+
|
63
|
+
## Known issues
|
64
|
+
|
65
|
+
### Only S3 buckets in the US Standard region work
|
51
66
|
|
52
|
-
|
67
|
+
Jekyll-s3 supports only S3 buckets that are in the US Standard region. If your
|
68
|
+
bucket is currently on some other region, you can set a non-existing
|
69
|
+
bucket in *_jekyll_s3.yml* and then run `jekyll-s3`. Jekyll-s3 will then create
|
70
|
+
the bucket in the US Standard region.
|
53
71
|
|
54
72
|
## Development
|
55
73
|
|
@@ -65,3 +83,7 @@ MIT
|
|
65
83
|
|
66
84
|
Copyright (c) 2011 VersaPay, Philippe Creux.
|
67
85
|
|
86
|
+
Contributors (in alphabetical order)
|
87
|
+
* Cory Kaufman-Schofield
|
88
|
+
* Chris Kelly
|
89
|
+
* Lauri Lehmijoki
|
data/Rakefile
CHANGED
data/bin/jekyll-s3
CHANGED
@@ -0,0 +1,302 @@
|
|
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:14:01 +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
|
+
- orlRqs/RF8uYvJI2d9tVL12XEYpm46FqapMdLCIvGJQWTJikCWuFNKm11vLbdLjF
|
27
|
+
X-Amz-Request-Id:
|
28
|
+
- 3C8A86AB4D31B5AC
|
29
|
+
Date:
|
30
|
+
- Sun, 14 Oct 2012 14:14:03 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:14:02 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:14:02 +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
|
+
- +pN1CGWrRBJxfsGM0WXcIiY5wOT5SbXTvDuXlJgRevU0fBEp/iNk0KimMhmVsKdU
|
68
|
+
X-Amz-Request-Id:
|
69
|
+
- 79E726191E75A2D0
|
70
|
+
Date:
|
71
|
+
- Sun, 14 Oct 2012 14:14:04 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>"8fcf43a38cbf0c502f029a50645f2374"</ETag><Size>10</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:14:02 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:14:02 +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
|
+
- WJ47InZU7nSIGOL9Q2bLlZs6RhAgwVx/io0DxdmOq1ZTPh0wrJsNC67jv/FkKDQe
|
109
|
+
X-Amz-Request-Id:
|
110
|
+
- 592387EFBC362DBB
|
111
|
+
Date:
|
112
|
+
- Sun, 14 Oct 2012 14:14:04 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:14:03 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:14:03 +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
|
+
- 5H1mYUoiZcJeO5nftsVwd5w9oP8sl5wKifRuZFoT9Pq6gqgzNKTWbGChBI4QbYqU
|
154
|
+
X-Amz-Request-Id:
|
155
|
+
- F6F2142B1502F43D
|
156
|
+
Date:
|
157
|
+
- Sun, 14 Oct 2012 14:14:05 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:14:03 GMT
|
175
|
+
- request:
|
176
|
+
method: put
|
177
|
+
uri: https://s3.amazonaws.com/jekyll-s3-test.net/css/styles.css
|
178
|
+
body:
|
179
|
+
encoding: ASCII-8BIT
|
180
|
+
string: !binary |-
|
181
|
+
Ym9keSB7CiAgY29sb3I6IGdyZWVuOwp9Cg==
|
182
|
+
headers:
|
183
|
+
Content-Type:
|
184
|
+
- ''
|
185
|
+
Content-Length:
|
186
|
+
- '25'
|
187
|
+
User-Agent:
|
188
|
+
- aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
|
189
|
+
Date:
|
190
|
+
- Sun, 14 Oct 2012 17:14:03 +0300
|
191
|
+
Authorization:
|
192
|
+
- AWS
|
193
|
+
Accept:
|
194
|
+
- ! '*/*'
|
195
|
+
response:
|
196
|
+
status:
|
197
|
+
code: 200
|
198
|
+
message: OK
|
199
|
+
headers:
|
200
|
+
X-Amz-Id-2:
|
201
|
+
- yliF5Grb6a8Yo+Lie67G5zwFYx8xgPuNtWCJ0HfWtMsZkvMdEWrPBm98kfLjOWSk
|
202
|
+
X-Amz-Request-Id:
|
203
|
+
- BFCBBD5E772E0547
|
204
|
+
Date:
|
205
|
+
- Sun, 14 Oct 2012 14:14:06 GMT
|
206
|
+
Etag:
|
207
|
+
- ! '"5ac030ccfb37ddf75a62710f78d06155"'
|
208
|
+
Content-Length:
|
209
|
+
- '0'
|
210
|
+
Server:
|
211
|
+
- AmazonS3
|
212
|
+
body:
|
213
|
+
encoding: US-ASCII
|
214
|
+
string: ''
|
215
|
+
http_version:
|
216
|
+
recorded_at: Sun, 14 Oct 2012 14:14:04 GMT
|
217
|
+
- request:
|
218
|
+
method: put
|
219
|
+
uri: https://s3.amazonaws.com/jekyll-s3-test.net/index.html
|
220
|
+
body:
|
221
|
+
encoding: ASCII-8BIT
|
222
|
+
string: !binary |-
|
223
|
+
PGh0bWw+CiAgPGhlYWQ+CiAgICA8dGl0bGU+aGVsbG8hPC90aXRsZT4KICA8
|
224
|
+
L2hlYWQ+CiAgPGJvZHk+CiAgICBpIGFtIGEgbmV3IGJsb2cgcG9zdAogIDwv
|
225
|
+
Ym9keT4KPC9odG1sPgo=
|
226
|
+
headers:
|
227
|
+
Content-Type:
|
228
|
+
- ''
|
229
|
+
Content-Length:
|
230
|
+
- '104'
|
231
|
+
User-Agent:
|
232
|
+
- aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
|
233
|
+
Date:
|
234
|
+
- Sun, 14 Oct 2012 17:14:04 +0300
|
235
|
+
Authorization:
|
236
|
+
- AWS
|
237
|
+
Accept:
|
238
|
+
- ! '*/*'
|
239
|
+
response:
|
240
|
+
status:
|
241
|
+
code: 200
|
242
|
+
message: OK
|
243
|
+
headers:
|
244
|
+
X-Amz-Id-2:
|
245
|
+
- XjFrlZq5Z9aPjiaIoyGoN1eiI7e9alc4Sa6RdBF0QokIEGjK/t1nEWyUz58RkAx4
|
246
|
+
X-Amz-Request-Id:
|
247
|
+
- C9A3686A7D14C6AC
|
248
|
+
Date:
|
249
|
+
- Sun, 14 Oct 2012 14:14:06 GMT
|
250
|
+
Etag:
|
251
|
+
- ! '"84c3aea67581d0a7b28ea245e6cf4af7"'
|
252
|
+
Content-Length:
|
253
|
+
- '0'
|
254
|
+
Server:
|
255
|
+
- AmazonS3
|
256
|
+
body:
|
257
|
+
encoding: US-ASCII
|
258
|
+
string: ''
|
259
|
+
http_version:
|
260
|
+
recorded_at: Sun, 14 Oct 2012 14:14:05 GMT
|
261
|
+
- request:
|
262
|
+
method: get
|
263
|
+
uri: https://s3.amazonaws.com/jekyll-s3-test.net?max-keys=1000
|
264
|
+
body:
|
265
|
+
encoding: US-ASCII
|
266
|
+
string: ''
|
267
|
+
headers:
|
268
|
+
Content-Type:
|
269
|
+
- ''
|
270
|
+
User-Agent:
|
271
|
+
- aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
|
272
|
+
Date:
|
273
|
+
- Sun, 14 Oct 2012 17:14:05 +0300
|
274
|
+
Authorization:
|
275
|
+
- AWS
|
276
|
+
Accept:
|
277
|
+
- ! '*/*'
|
278
|
+
response:
|
279
|
+
status:
|
280
|
+
code: 200
|
281
|
+
message: OK
|
282
|
+
headers:
|
283
|
+
X-Amz-Id-2:
|
284
|
+
- 68PpHfR44lRsWadqGgOf5A0wL0//lsinEm1fmKhKJW3hNGxYRmuvEvXHFDsSBeZp
|
285
|
+
X-Amz-Request-Id:
|
286
|
+
- DA9C1CFF45061692
|
287
|
+
Date:
|
288
|
+
- Sun, 14 Oct 2012 14:14:07 GMT
|
289
|
+
Content-Type:
|
290
|
+
- application/xml
|
291
|
+
Transfer-Encoding:
|
292
|
+
- chunked
|
293
|
+
Server:
|
294
|
+
- AmazonS3
|
295
|
+
body:
|
296
|
+
encoding: US-ASCII
|
297
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
298
|
+
|
299
|
+
<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-14T14:14:06.000Z</LastModified><ETag>"5ac030ccfb37ddf75a62710f78d06155"</ETag><Size>25</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>index.html</Key><LastModified>2012-10-14T14:14:06.000Z</LastModified><ETag>"84c3aea67581d0a7b28ea245e6cf4af7"</ETag><Size>104</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
|
300
|
+
http_version:
|
301
|
+
recorded_at: Sun, 14 Oct 2012 14:14:05 GMT
|
302
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,211 @@
|
|
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:40:24 +0300
|
16
|
+
Authorization:
|
17
|
+
- AWS foo:foo=
|
18
|
+
Accept:
|
19
|
+
- ! '*/*'
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
X-Amz-Id-2:
|
26
|
+
- oPO1kjdvRumCNZHfhZaWYgyeqf1rszjLU6Yv5VmeJlagrp0L7xDlja33A3NEB+lF
|
27
|
+
X-Amz-Request-Id:
|
28
|
+
- 0ADF25683FCFEA3B
|
29
|
+
Date:
|
30
|
+
- Sun, 14 Oct 2012 13:40:27 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>x</ID><DisplayName>x</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:40:25 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:40:25 +0300
|
57
|
+
Authorization:
|
58
|
+
- AWS foo:foo=
|
59
|
+
Accept:
|
60
|
+
- ! '*/*'
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 200
|
64
|
+
message: OK
|
65
|
+
headers:
|
66
|
+
X-Amz-Id-2:
|
67
|
+
- QTSymXMQalg5cw/APPEwt9g6sYMDXbxW0Aaps1zAQ0u/4SwrvkOeNt3jKm54/VMM
|
68
|
+
X-Amz-Request-Id:
|
69
|
+
- AA208FECCB1E85EE
|
70
|
+
Date:
|
71
|
+
- Sun, 14 Oct 2012 13:40:27 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></ListBucketResult>'
|
83
|
+
http_version:
|
84
|
+
recorded_at: Sun, 14 Oct 2012 13:40:26 GMT
|
85
|
+
- request:
|
86
|
+
method: put
|
87
|
+
uri: https://s3.amazonaws.com/jekyll-s3-test.net/css/styles.css
|
88
|
+
body:
|
89
|
+
encoding: ASCII-8BIT
|
90
|
+
string: !binary |-
|
91
|
+
Ym9keSB7Cgp9Cg==
|
92
|
+
headers:
|
93
|
+
Content-Type:
|
94
|
+
- ''
|
95
|
+
Content-Length:
|
96
|
+
- '10'
|
97
|
+
User-Agent:
|
98
|
+
- aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
|
99
|
+
Date:
|
100
|
+
- Sun, 14 Oct 2012 16:40:26 +0300
|
101
|
+
Authorization:
|
102
|
+
- AWS foo:foo=
|
103
|
+
Accept:
|
104
|
+
- ! '*/*'
|
105
|
+
response:
|
106
|
+
status:
|
107
|
+
code: 200
|
108
|
+
message: OK
|
109
|
+
headers:
|
110
|
+
X-Amz-Id-2:
|
111
|
+
- xhRbNnKb3BflLa4OrGe9qeM2gSadOHcnWNdpqaMwEYL909QAoBkaUTJZGqcYABhq
|
112
|
+
X-Amz-Request-Id:
|
113
|
+
- E5428005DF85FB78
|
114
|
+
Date:
|
115
|
+
- Sun, 14 Oct 2012 13:40:28 GMT
|
116
|
+
Etag:
|
117
|
+
- ! '"8fcf43a38cbf0c502f029a50645f2374"'
|
118
|
+
Content-Length:
|
119
|
+
- '0'
|
120
|
+
Server:
|
121
|
+
- AmazonS3
|
122
|
+
body:
|
123
|
+
encoding: US-ASCII
|
124
|
+
string: ''
|
125
|
+
http_version:
|
126
|
+
recorded_at: Sun, 14 Oct 2012 13:40:26 GMT
|
127
|
+
- request:
|
128
|
+
method: put
|
129
|
+
uri: https://s3.amazonaws.com/jekyll-s3-test.net/index.html
|
130
|
+
body:
|
131
|
+
encoding: ASCII-8BIT
|
132
|
+
string: !binary |-
|
133
|
+
PGh0bWw+CiAgPGhlYWQ+CiAgICA8dGl0bGU+aGVsbG8hPC90aXRsZT4KICA8
|
134
|
+
L2hlYWQ+CjwvaHRtbD4K
|
135
|
+
headers:
|
136
|
+
Content-Type:
|
137
|
+
- ''
|
138
|
+
Content-Length:
|
139
|
+
- '60'
|
140
|
+
User-Agent:
|
141
|
+
- aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
|
142
|
+
Date:
|
143
|
+
- Sun, 14 Oct 2012 16:40:26 +0300
|
144
|
+
Authorization:
|
145
|
+
- AWS foo:foo=
|
146
|
+
Accept:
|
147
|
+
- ! '*/*'
|
148
|
+
response:
|
149
|
+
status:
|
150
|
+
code: 200
|
151
|
+
message: OK
|
152
|
+
headers:
|
153
|
+
X-Amz-Id-2:
|
154
|
+
- /qDHDvVyWt95mWDmaswN75KKtnBPN2ISIlgdBOFSvWyy/Ovva2u8SMDd4aQJSoVj
|
155
|
+
X-Amz-Request-Id:
|
156
|
+
- EDC7726801AA0AE2
|
157
|
+
Date:
|
158
|
+
- Sun, 14 Oct 2012 13:40:29 GMT
|
159
|
+
Etag:
|
160
|
+
- ! '"8a8892a2b0fad281f26c0dedbff7011a"'
|
161
|
+
Content-Length:
|
162
|
+
- '0'
|
163
|
+
Server:
|
164
|
+
- AmazonS3
|
165
|
+
body:
|
166
|
+
encoding: US-ASCII
|
167
|
+
string: ''
|
168
|
+
http_version:
|
169
|
+
recorded_at: Sun, 14 Oct 2012 13:40:27 GMT
|
170
|
+
- request:
|
171
|
+
method: get
|
172
|
+
uri: https://s3.amazonaws.com/jekyll-s3-test.net?max-keys=1000
|
173
|
+
body:
|
174
|
+
encoding: US-ASCII
|
175
|
+
string: ''
|
176
|
+
headers:
|
177
|
+
Content-Type:
|
178
|
+
- ''
|
179
|
+
User-Agent:
|
180
|
+
- aws-sdk-ruby/1.5.6 ruby/1.9.3 x86_64-darwin11.4.0
|
181
|
+
Date:
|
182
|
+
- Sun, 14 Oct 2012 16:40:27 +0300
|
183
|
+
Authorization:
|
184
|
+
- AWS foo:foo
|
185
|
+
Accept:
|
186
|
+
- ! '*/*'
|
187
|
+
response:
|
188
|
+
status:
|
189
|
+
code: 200
|
190
|
+
message: OK
|
191
|
+
headers:
|
192
|
+
X-Amz-Id-2:
|
193
|
+
- ZIix7PUbt+Kpmb1wbV5hYk4fPyZYjj9doj54LQAQjsXqskA7Yk442vj47FeoD6sC
|
194
|
+
X-Amz-Request-Id:
|
195
|
+
- 62CBD66CCEB953BA
|
196
|
+
Date:
|
197
|
+
- Sun, 14 Oct 2012 13:40:29 GMT
|
198
|
+
Content-Type:
|
199
|
+
- application/xml
|
200
|
+
Transfer-Encoding:
|
201
|
+
- chunked
|
202
|
+
Server:
|
203
|
+
- AmazonS3
|
204
|
+
body:
|
205
|
+
encoding: US-ASCII
|
206
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
207
|
+
|
208
|
+
<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>"8fcf43a38cbf0c502f029a50645f2374"</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>"8a8892a2b0fad281f26c0dedbff7011a"</ETag><Size>60</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
|
209
|
+
http_version:
|
210
|
+
recorded_at: Sun, 14 Oct 2012 13:40:28 GMT
|
211
|
+
recorded_with: VCR 2.2.4
|