s3_website_monadic 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.travis.yml +3 -0
- data/Gemfile +3 -0
- data/LICENSE +42 -0
- data/README.md +451 -0
- data/Rakefile +24 -0
- data/additional-docs/example-configurations.md +62 -0
- data/additional-docs/setting-up-aws-credentials.md +51 -0
- data/assembly.sbt +3 -0
- data/bin/s3_website +80 -0
- data/build.sbt +33 -0
- data/changelog.md +215 -0
- data/features/as-library.feature +29 -0
- data/features/cassettes/cucumber_tags/create-redirect.yml +384 -0
- data/features/cassettes/cucumber_tags/empty-bucket.yml +89 -0
- data/features/cassettes/cucumber_tags/new-and-changed-files.yml +303 -0
- data/features/cassettes/cucumber_tags/new-files-for-sydney.yml +211 -0
- data/features/cassettes/cucumber_tags/new-files.yml +355 -0
- data/features/cassettes/cucumber_tags/no-new-or-changed-files.yml +359 -0
- data/features/cassettes/cucumber_tags/one-file-to-delete.yml +390 -0
- data/features/cassettes/cucumber_tags/only-changed-files.yml +411 -0
- data/features/cassettes/cucumber_tags/s3-and-cloudfront-after-deleting-a-file.yml +434 -0
- data/features/cassettes/cucumber_tags/s3-and-cloudfront-when-updating-a-file.yml +435 -0
- data/features/cassettes/cucumber_tags/s3-and-cloudfront.yml +290 -0
- data/features/cloudfront.feature +54 -0
- data/features/command-line-help.feature +54 -0
- data/features/delete.feature +19 -0
- data/features/error_reporting.feature +24 -0
- data/features/instructions-for-new-user.feature +154 -0
- data/features/jekyll-support.feature +20 -0
- data/features/nanoc-support.feature +20 -0
- data/features/push.feature +115 -0
- data/features/redirects.feature +14 -0
- data/features/security.feature +15 -0
- data/features/step_definitions/steps.rb +86 -0
- data/features/support/env.rb +26 -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/cdn-powered.blog.fi/s3_website.yml +4 -0
- data/features/support/test_site_dirs/cdn-powered.when-deleted-a-file.blog.fi/_site/index.html +10 -0
- data/features/support/test_site_dirs/cdn-powered.when-deleted-a-file.blog.fi/s3_website.yml +5 -0
- data/features/support/test_site_dirs/cdn-powered.with-one-change.blog.fi/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/cdn-powered.with-one-change.blog.fi/_site/index.html +10 -0
- data/features/support/test_site_dirs/cdn-powered.with-one-change.blog.fi/s3_website.yml +4 -0
- data/features/support/test_site_dirs/create-redirects/_site/.gitkeep +0 -0
- data/features/support/test_site_dirs/create-redirects/s3_website.yml +6 -0
- data/features/support/test_site_dirs/ignored-files.com/_site/css/styles.css +4 -0
- data/features/support/test_site_dirs/ignored-files.com/_site/index.html +8 -0
- data/features/support/test_site_dirs/ignored-files.com/s3_website.yml +5 -0
- data/features/support/test_site_dirs/index-and-assets.blog.fi/_site/assets/picture.gif +0 -0
- data/features/support/test_site_dirs/index-and-assets.blog.fi/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/index-and-assets.blog.fi/_site/index.html +5 -0
- data/features/support/test_site_dirs/index-and-assets.blog.fi/s3_website.yml +3 -0
- data/features/support/test_site_dirs/jekyllrb.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/jekyllrb.com/_site/index.html +5 -0
- data/features/support/test_site_dirs/jekyllrb.com/s3_website.yml +3 -0
- data/features/support/test_site_dirs/my.blog-with-clean-urls.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/my.blog-with-clean-urls.com/_site/index +5 -0
- data/features/support/test_site_dirs/my.blog-with-clean-urls.com/s3_website.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/my.blog.com/s3_website.yml +3 -0
- data/features/support/test_site_dirs/my.sydney.blog.au/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/my.sydney.blog.au/_site/index.html +5 -0
- data/features/support/test_site_dirs/my.sydney.blog.au/s3_website.yml +4 -0
- data/features/support/test_site_dirs/nanoc.ws/public/output/css/styles.css +3 -0
- data/features/support/test_site_dirs/nanoc.ws/public/output/index.html +5 -0
- data/features/support/test_site_dirs/nanoc.ws/s3_website.yml +3 -0
- data/features/support/test_site_dirs/new-and-changed-files.com/_site/css/styles.css +4 -0
- data/features/support/test_site_dirs/new-and-changed-files.com/_site/index.html +8 -0
- data/features/support/test_site_dirs/new-and-changed-files.com/s3_website.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/no-new-or-changed-files.com/s3_website.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 +9 -0
- data/features/support/test_site_dirs/only-changed-files.com/s3_website.yml +3 -0
- data/features/support/test_site_dirs/site-that-contains-s3-website-file.com/_site/s3_website.yml +3 -0
- data/features/support/test_site_dirs/site-that-contains-s3-website-file.com/s3_website.yml +3 -0
- data/features/support/test_site_dirs/site-with-text-doc.com/_site/file.txt +1 -0
- data/features/support/test_site_dirs/site.with.css-maxage.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/site.with.css-maxage.com/_site/index.html +5 -0
- data/features/support/test_site_dirs/site.with.css-maxage.com/s3_website.yml +5 -0
- data/features/support/test_site_dirs/site.with.gzipped-and-max-aged-content.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/site.with.gzipped-and-max-aged-content.com/_site/index.html +5 -0
- data/features/support/test_site_dirs/site.with.gzipped-and-max-aged-content.com/s3_website.yml +5 -0
- data/features/support/test_site_dirs/site.with.gzipped-html.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/site.with.gzipped-html.com/_site/index.html +5 -0
- data/features/support/test_site_dirs/site.with.gzipped-html.com/s3_website.yml +5 -0
- data/features/support/test_site_dirs/site.with.maxage.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/site.with.maxage.com/_site/index.html +5 -0
- data/features/support/test_site_dirs/site.with.maxage.com/s3_website.yml +4 -0
- data/features/support/test_site_dirs/unpublish-a-post.com/_site/css/styles.css +3 -0
- data/features/support/test_site_dirs/unpublish-a-post.com/s3_website.yml +3 -0
- data/features/support/vcr.rb +20 -0
- data/features/website-performance.feature +57 -0
- data/lib/cloudfront/invalidator.rb +37 -0
- data/lib/s3_website/config_loader.rb +55 -0
- data/lib/s3_website/diff_helper.rb +113 -0
- data/lib/s3_website/endpoint.rb +37 -0
- data/lib/s3_website/errors.rb +42 -0
- data/lib/s3_website/jekyll.rb +5 -0
- data/lib/s3_website/keyboard.rb +27 -0
- data/lib/s3_website/nanoc.rb +5 -0
- data/lib/s3_website/parallelism.rb +25 -0
- data/lib/s3_website/paths.rb +39 -0
- data/lib/s3_website/retry.rb +19 -0
- data/lib/s3_website/tasks.rb +36 -0
- data/lib/s3_website/upload.rb +137 -0
- data/lib/s3_website/uploader.rb +177 -0
- data/lib/s3_website.rb +34 -0
- data/project/assembly.sbt +1 -0
- data/project/build.properties +0 -0
- data/project/plugins.sbt +1 -0
- data/project/sbt-launch-0.13.2.jar +0 -0
- data/resources/configuration_file_template.yml +56 -0
- data/s3_website.gemspec +41 -0
- data/sbt +4 -0
- data/spec/lib/cloudfront/invalidator_spec.rb +60 -0
- data/spec/lib/config_loader_spec.rb +20 -0
- data/spec/lib/endpoint_spec.rb +31 -0
- data/spec/lib/error_spec.rb +21 -0
- data/spec/lib/keyboard_spec.rb +62 -0
- data/spec/lib/parallelism_spec.rb +81 -0
- data/spec/lib/paths_spec.rb +7 -0
- data/spec/lib/retry_spec.rb +34 -0
- data/spec/lib/upload_spec.rb +303 -0
- data/spec/lib/uploader_spec.rb +37 -0
- data/spec/sample_files/hyde_site/_site/.vimrc +5 -0
- data/spec/sample_files/hyde_site/_site/css/styles.css +3 -0
- data/spec/sample_files/hyde_site/_site/index.html +1 -0
- data/spec/sample_files/hyde_site/s3_website.yml +3 -0
- data/spec/sample_files/tokyo_site/_site/.vimrc +5 -0
- data/spec/sample_files/tokyo_site/_site/css/styles.css +3 -0
- data/spec/sample_files/tokyo_site/_site/index.html +1 -0
- data/spec/sample_files/tokyo_site/s3_website.yml +4 -0
- data/spec/spec_helper.rb +1 -0
- data/src/main/scala/s3/website/CloudFront.scala +96 -0
- data/src/main/scala/s3/website/Diff.scala +42 -0
- data/src/main/scala/s3/website/Implicits.scala +7 -0
- data/src/main/scala/s3/website/Push.scala +191 -0
- data/src/main/scala/s3/website/Ruby.scala +12 -0
- data/src/main/scala/s3/website/S3.scala +139 -0
- data/src/main/scala/s3/website/model/Config.scala +152 -0
- data/src/main/scala/s3/website/model/S3Endpoint.scala +22 -0
- data/src/main/scala/s3/website/model/Site.scala +68 -0
- data/src/main/scala/s3/website/model/errors.scala +11 -0
- data/src/main/scala/s3/website/model/push.scala +192 -0
- data/src/test/scala/s3/website/S3WebsiteSpec.scala +445 -0
- metadata +508 -0
@@ -0,0 +1,355 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://s3.amazonaws.com/s3-website-test.net?max-keys=1000
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- ''
|
12
|
+
User-Agent:
|
13
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
14
|
+
Date:
|
15
|
+
- Sat, 22 Jun 2013 08:30:48 GMT
|
16
|
+
Authorization:
|
17
|
+
- AWS foo:bar
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
Accept:
|
21
|
+
- '*/*'
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
X-Amz-Id-2:
|
28
|
+
- Ko+tri71z3Mcq/jmkOyoA7qYMiBKBPvphYGnmlgFF7ejNJxUoJZzI4i6fgWpiEoa
|
29
|
+
X-Amz-Request-Id:
|
30
|
+
- 49E1633DC3F20CF4
|
31
|
+
Date:
|
32
|
+
- Sat, 22 Jun 2013 08:30:38 GMT
|
33
|
+
Content-Type:
|
34
|
+
- application/xml
|
35
|
+
Transfer-Encoding:
|
36
|
+
- chunked
|
37
|
+
Server:
|
38
|
+
- AmazonS3
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: |-
|
42
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
43
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>s3-website-test.net</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>css/</Key><LastModified>2013-06-22T08:30:30.000Z</LastModified><ETag>"d41d8cd98f00b204e9800998ecf8427e"</ETag><Size>0</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
44
|
+
http_version:
|
45
|
+
recorded_at: Sat, 22 Jun 2013 08:30:50 GMT
|
46
|
+
- request:
|
47
|
+
method: head
|
48
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/css/
|
49
|
+
body:
|
50
|
+
encoding: US-ASCII
|
51
|
+
string: ''
|
52
|
+
headers:
|
53
|
+
Content-Type:
|
54
|
+
- ''
|
55
|
+
User-Agent:
|
56
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
57
|
+
Date:
|
58
|
+
- Sat, 22 Jun 2013 08:30:50 GMT
|
59
|
+
Authorization:
|
60
|
+
- AWS foo:bar
|
61
|
+
Accept:
|
62
|
+
- '*/*'
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 200
|
66
|
+
message: OK
|
67
|
+
headers:
|
68
|
+
X-Amz-Id-2:
|
69
|
+
- OwrgvZcGBKhYiB73og089kfhuVFQwD4mOxiOM8ivwIDijCI8ULjliPgBfwLonRRK
|
70
|
+
X-Amz-Request-Id:
|
71
|
+
- FCD7308147099BC1
|
72
|
+
Date:
|
73
|
+
- Sat, 22 Jun 2013 08:30:40 GMT
|
74
|
+
Last-Modified:
|
75
|
+
- Sat, 22 Jun 2013 08:30:30 GMT
|
76
|
+
Etag:
|
77
|
+
- '"d41d8cd98f00b204e9800998ecf8427e"'
|
78
|
+
Accept-Ranges:
|
79
|
+
- bytes
|
80
|
+
Content-Type:
|
81
|
+
- binary/octet-stream
|
82
|
+
Content-Length:
|
83
|
+
- '0'
|
84
|
+
Server:
|
85
|
+
- AmazonS3
|
86
|
+
body:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: ''
|
89
|
+
http_version:
|
90
|
+
recorded_at: Sat, 22 Jun 2013 08:30:52 GMT
|
91
|
+
- request:
|
92
|
+
method: head
|
93
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/css/
|
94
|
+
body:
|
95
|
+
encoding: US-ASCII
|
96
|
+
string: ''
|
97
|
+
headers:
|
98
|
+
Content-Type:
|
99
|
+
- ''
|
100
|
+
User-Agent:
|
101
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
102
|
+
Date:
|
103
|
+
- Sat, 22 Jun 2013 08:30:52 GMT
|
104
|
+
Authorization:
|
105
|
+
- AWS foo:bar
|
106
|
+
Accept:
|
107
|
+
- '*/*'
|
108
|
+
response:
|
109
|
+
status:
|
110
|
+
code: 200
|
111
|
+
message: OK
|
112
|
+
headers:
|
113
|
+
X-Amz-Id-2:
|
114
|
+
- hWJl80Xoerwy5qjGKQry1O61hwQuR/QJeYCJkxdL42DDLTID/snxZejYloGqNQR0
|
115
|
+
X-Amz-Request-Id:
|
116
|
+
- 526768EA58C77F6B
|
117
|
+
Date:
|
118
|
+
- Sat, 22 Jun 2013 08:30:46 GMT
|
119
|
+
Last-Modified:
|
120
|
+
- Sat, 22 Jun 2013 08:30:30 GMT
|
121
|
+
Etag:
|
122
|
+
- '"d41d8cd98f00b204e9800998ecf8427e"'
|
123
|
+
Accept-Ranges:
|
124
|
+
- bytes
|
125
|
+
Content-Type:
|
126
|
+
- binary/octet-stream
|
127
|
+
Content-Length:
|
128
|
+
- '0'
|
129
|
+
Server:
|
130
|
+
- AmazonS3
|
131
|
+
body:
|
132
|
+
encoding: UTF-8
|
133
|
+
string: ''
|
134
|
+
http_version:
|
135
|
+
recorded_at: Sat, 22 Jun 2013 08:30:58 GMT
|
136
|
+
- request:
|
137
|
+
method: head
|
138
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/css/
|
139
|
+
body:
|
140
|
+
encoding: US-ASCII
|
141
|
+
string: ''
|
142
|
+
headers:
|
143
|
+
Content-Type:
|
144
|
+
- ''
|
145
|
+
User-Agent:
|
146
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
147
|
+
Date:
|
148
|
+
- Sat, 22 Jun 2013 08:30:58 GMT
|
149
|
+
Authorization:
|
150
|
+
- AWS foo:bar
|
151
|
+
Accept:
|
152
|
+
- '*/*'
|
153
|
+
response:
|
154
|
+
status:
|
155
|
+
code: 200
|
156
|
+
message: OK
|
157
|
+
headers:
|
158
|
+
X-Amz-Id-2:
|
159
|
+
- teZt+PE+Z3VHCJ4vq31CpbHTy+qOvwmdH58ioy8Z4aSWfLqgrXSFixKMxypqUezk
|
160
|
+
X-Amz-Request-Id:
|
161
|
+
- F0CCAB907C6B6DCB
|
162
|
+
Date:
|
163
|
+
- Sat, 22 Jun 2013 08:30:47 GMT
|
164
|
+
Last-Modified:
|
165
|
+
- Sat, 22 Jun 2013 08:30:30 GMT
|
166
|
+
Etag:
|
167
|
+
- '"d41d8cd98f00b204e9800998ecf8427e"'
|
168
|
+
Accept-Ranges:
|
169
|
+
- bytes
|
170
|
+
Content-Type:
|
171
|
+
- binary/octet-stream
|
172
|
+
Content-Length:
|
173
|
+
- '0'
|
174
|
+
Server:
|
175
|
+
- AmazonS3
|
176
|
+
body:
|
177
|
+
encoding: UTF-8
|
178
|
+
string: ''
|
179
|
+
http_version:
|
180
|
+
recorded_at: Sat, 22 Jun 2013 08:30:59 GMT
|
181
|
+
- request:
|
182
|
+
method: put
|
183
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/css/styles.css
|
184
|
+
body:
|
185
|
+
encoding: UTF-8
|
186
|
+
string: |
|
187
|
+
body {
|
188
|
+
|
189
|
+
}
|
190
|
+
headers:
|
191
|
+
Content-Type:
|
192
|
+
- text/css
|
193
|
+
Content-Length:
|
194
|
+
- '10'
|
195
|
+
User-Agent:
|
196
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
197
|
+
Date:
|
198
|
+
- Sat, 22 Jun 2013 08:30:59 GMT
|
199
|
+
Authorization:
|
200
|
+
- AWS foo:bar
|
201
|
+
Accept-Encoding:
|
202
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
203
|
+
Accept:
|
204
|
+
- '*/*'
|
205
|
+
response:
|
206
|
+
status:
|
207
|
+
code: 200
|
208
|
+
message: OK
|
209
|
+
headers:
|
210
|
+
X-Amz-Id-2:
|
211
|
+
- 2QoVIAbEsm226LZlx6v7bTo7eMwqmL4b3VA1NDsWKQjcwuKpY0acEu6eDAgQ6iCk
|
212
|
+
X-Amz-Request-Id:
|
213
|
+
- F5D58399CB2DFE4A
|
214
|
+
Date:
|
215
|
+
- Sat, 22 Jun 2013 08:30:48 GMT
|
216
|
+
Etag:
|
217
|
+
- '"8fcf43a38cbf0c502f029a50645f2374"'
|
218
|
+
Content-Length:
|
219
|
+
- '0'
|
220
|
+
Server:
|
221
|
+
- AmazonS3
|
222
|
+
body:
|
223
|
+
encoding: UTF-8
|
224
|
+
string: ''
|
225
|
+
http_version:
|
226
|
+
recorded_at: Sat, 22 Jun 2013 08:31:00 GMT
|
227
|
+
- request:
|
228
|
+
method: put
|
229
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/index.html
|
230
|
+
body:
|
231
|
+
encoding: UTF-8
|
232
|
+
string: |
|
233
|
+
<html>
|
234
|
+
<head>
|
235
|
+
<title>hello!</title>
|
236
|
+
</head>
|
237
|
+
</html>
|
238
|
+
headers:
|
239
|
+
Content-Type:
|
240
|
+
- text/html; charset=utf-8
|
241
|
+
Content-Length:
|
242
|
+
- '60'
|
243
|
+
User-Agent:
|
244
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
245
|
+
Date:
|
246
|
+
- Sat, 22 Jun 2013 08:31:00 GMT
|
247
|
+
Authorization:
|
248
|
+
- AWS foo:bar
|
249
|
+
Accept-Encoding:
|
250
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
251
|
+
Accept:
|
252
|
+
- '*/*'
|
253
|
+
response:
|
254
|
+
status:
|
255
|
+
code: 200
|
256
|
+
message: OK
|
257
|
+
headers:
|
258
|
+
X-Amz-Id-2:
|
259
|
+
- kdbpVeY81kiEO7do2wYReOUWUgyuy3niSF1FiqgI7ppQxqf1TJDvoF46vWdpZ/M5
|
260
|
+
X-Amz-Request-Id:
|
261
|
+
- 9BFF5BC042F7F043
|
262
|
+
Date:
|
263
|
+
- Sat, 22 Jun 2013 08:30:50 GMT
|
264
|
+
Etag:
|
265
|
+
- '"8a8892a2b0fad281f26c0dedbff7011a"'
|
266
|
+
Content-Length:
|
267
|
+
- '0'
|
268
|
+
Server:
|
269
|
+
- AmazonS3
|
270
|
+
body:
|
271
|
+
encoding: UTF-8
|
272
|
+
string: ''
|
273
|
+
http_version:
|
274
|
+
recorded_at: Sat, 22 Jun 2013 08:31:02 GMT
|
275
|
+
- request:
|
276
|
+
method: get
|
277
|
+
uri: https://s3.amazonaws.com/s3-website-test.net?max-keys=1000
|
278
|
+
body:
|
279
|
+
encoding: US-ASCII
|
280
|
+
string: ''
|
281
|
+
headers:
|
282
|
+
Content-Type:
|
283
|
+
- ''
|
284
|
+
User-Agent:
|
285
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
286
|
+
Date:
|
287
|
+
- Sat, 22 Jun 2013 08:31:02 GMT
|
288
|
+
Authorization:
|
289
|
+
- AWS foo:bar
|
290
|
+
Accept-Encoding:
|
291
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
292
|
+
Accept:
|
293
|
+
- '*/*'
|
294
|
+
response:
|
295
|
+
status:
|
296
|
+
code: 200
|
297
|
+
message: OK
|
298
|
+
headers:
|
299
|
+
X-Amz-Id-2:
|
300
|
+
- WAm0zXw2pXoQUFSyXu6ylyyScppJ/YS2WBDsqBxMk/925rNhPB9fLcu+vryeAj53
|
301
|
+
X-Amz-Request-Id:
|
302
|
+
- 3C97E47C00DF7EF6
|
303
|
+
Date:
|
304
|
+
- Sat, 22 Jun 2013 08:30:52 GMT
|
305
|
+
Content-Type:
|
306
|
+
- application/xml
|
307
|
+
Transfer-Encoding:
|
308
|
+
- chunked
|
309
|
+
Server:
|
310
|
+
- AmazonS3
|
311
|
+
body:
|
312
|
+
encoding: UTF-8
|
313
|
+
string: |-
|
314
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
315
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>s3-website-test.net</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>css/</Key><LastModified>2013-06-22T08:30:30.000Z</LastModified><ETag>"d41d8cd98f00b204e9800998ecf8427e"</ETag><Size>0</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>css/styles.css</Key><LastModified>2013-06-22T08:30:48.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>2013-06-22T08:30:50.000Z</LastModified><ETag>"8a8892a2b0fad281f26c0dedbff7011a"</ETag><Size>60</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
316
|
+
http_version:
|
317
|
+
recorded_at: Sat, 22 Jun 2013 08:31:04 GMT
|
318
|
+
- request:
|
319
|
+
method: delete
|
320
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/css/
|
321
|
+
body:
|
322
|
+
encoding: US-ASCII
|
323
|
+
string: ''
|
324
|
+
headers:
|
325
|
+
Content-Type:
|
326
|
+
- ''
|
327
|
+
User-Agent:
|
328
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
329
|
+
Date:
|
330
|
+
- Sat, 22 Jun 2013 08:31:04 GMT
|
331
|
+
Authorization:
|
332
|
+
- AWS foo:bar
|
333
|
+
Accept-Encoding:
|
334
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
335
|
+
Accept:
|
336
|
+
- '*/*'
|
337
|
+
response:
|
338
|
+
status:
|
339
|
+
code: 204
|
340
|
+
message: No Content
|
341
|
+
headers:
|
342
|
+
X-Amz-Id-2:
|
343
|
+
- ERSuLuSXUR4JSan297pxA2zRM/iKi+155DMdaBnigluGgqo1HfZiNuYGe9KgAo8i
|
344
|
+
X-Amz-Request-Id:
|
345
|
+
- ABED032FD81DCF49
|
346
|
+
Date:
|
347
|
+
- Sat, 22 Jun 2013 08:30:53 GMT
|
348
|
+
Server:
|
349
|
+
- AmazonS3
|
350
|
+
body:
|
351
|
+
encoding: UTF-8
|
352
|
+
string: ''
|
353
|
+
http_version:
|
354
|
+
recorded_at: Sat, 22 Jun 2013 08:31:05 GMT
|
355
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,359 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://s3.amazonaws.com/s3-website-test.net?max-keys=1000
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- ''
|
12
|
+
User-Agent:
|
13
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
14
|
+
Date:
|
15
|
+
- Sat, 22 Jun 2013 08:59:50 GMT
|
16
|
+
Authorization:
|
17
|
+
- AWS foo:bar
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
Accept:
|
21
|
+
- '*/*'
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
X-Amz-Id-2:
|
28
|
+
- A9x9ncm+Ah4AEBnBUhwGoE50+oqjBT2SXum8VwlJ+CdU29fqatTsckdrtckaIGxP
|
29
|
+
X-Amz-Request-Id:
|
30
|
+
- 311E59D987533CA4
|
31
|
+
Date:
|
32
|
+
- Sat, 22 Jun 2013 08:59:41 GMT
|
33
|
+
Content-Type:
|
34
|
+
- application/xml
|
35
|
+
Transfer-Encoding:
|
36
|
+
- chunked
|
37
|
+
Server:
|
38
|
+
- AmazonS3
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: |-
|
42
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
43
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>s3-website-test.net</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>css/styles.css</Key><LastModified>2013-06-22T08:30:48.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>2013-06-22T08:57:58.000Z</LastModified><ETag>"8a8892a2b0fad281f26c0dedbff7011a"</ETag><Size>60</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
44
|
+
http_version:
|
45
|
+
recorded_at: Sat, 22 Jun 2013 08:59:52 GMT
|
46
|
+
- request:
|
47
|
+
method: head
|
48
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/index.html
|
49
|
+
body:
|
50
|
+
encoding: US-ASCII
|
51
|
+
string: ''
|
52
|
+
headers:
|
53
|
+
Content-Type:
|
54
|
+
- ''
|
55
|
+
User-Agent:
|
56
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
57
|
+
Date:
|
58
|
+
- Sat, 22 Jun 2013 08:59:52 GMT
|
59
|
+
Authorization:
|
60
|
+
- AWS foo:bar
|
61
|
+
Accept:
|
62
|
+
- '*/*'
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 200
|
66
|
+
message: OK
|
67
|
+
headers:
|
68
|
+
X-Amz-Id-2:
|
69
|
+
- 3Ke8wHUeM2IT0OgfvWrtiFSZQi9S4VAhhYyRMR/PZbtOf1gSgsX2Y4Bjl+7QjvXR
|
70
|
+
X-Amz-Request-Id:
|
71
|
+
- BFD061E826F08C99
|
72
|
+
Date:
|
73
|
+
- Sat, 22 Jun 2013 08:59:41 GMT
|
74
|
+
Last-Modified:
|
75
|
+
- Sat, 22 Jun 2013 08:57:58 GMT
|
76
|
+
Etag:
|
77
|
+
- '"8a8892a2b0fad281f26c0dedbff7011a"'
|
78
|
+
Accept-Ranges:
|
79
|
+
- bytes
|
80
|
+
Content-Type:
|
81
|
+
- text/html; charset=utf-8
|
82
|
+
Content-Length:
|
83
|
+
- '60'
|
84
|
+
Server:
|
85
|
+
- AmazonS3
|
86
|
+
body:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: ''
|
89
|
+
http_version:
|
90
|
+
recorded_at: Sat, 22 Jun 2013 08:59:53 GMT
|
91
|
+
- request:
|
92
|
+
method: head
|
93
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/css/styles.css
|
94
|
+
body:
|
95
|
+
encoding: US-ASCII
|
96
|
+
string: ''
|
97
|
+
headers:
|
98
|
+
Content-Type:
|
99
|
+
- ''
|
100
|
+
User-Agent:
|
101
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
102
|
+
Date:
|
103
|
+
- Sat, 22 Jun 2013 08:59:52 GMT
|
104
|
+
Authorization:
|
105
|
+
- AWS foo:bar
|
106
|
+
Accept:
|
107
|
+
- '*/*'
|
108
|
+
response:
|
109
|
+
status:
|
110
|
+
code: 200
|
111
|
+
message: OK
|
112
|
+
headers:
|
113
|
+
X-Amz-Id-2:
|
114
|
+
- UmtwejMp9i6BVmQv4uEUKBVyG0g02BzL9EIbjfXKO3FZccgyOs0xzycEh9krvADI
|
115
|
+
X-Amz-Request-Id:
|
116
|
+
- D99D9901AC2A17E9
|
117
|
+
Date:
|
118
|
+
- Sat, 22 Jun 2013 08:59:41 GMT
|
119
|
+
Last-Modified:
|
120
|
+
- Sat, 22 Jun 2013 08:30:48 GMT
|
121
|
+
Etag:
|
122
|
+
- '"8fcf43a38cbf0c502f029a50645f2374"'
|
123
|
+
Accept-Ranges:
|
124
|
+
- bytes
|
125
|
+
Content-Type:
|
126
|
+
- text/css
|
127
|
+
Content-Length:
|
128
|
+
- '10'
|
129
|
+
Server:
|
130
|
+
- AmazonS3
|
131
|
+
body:
|
132
|
+
encoding: UTF-8
|
133
|
+
string: ''
|
134
|
+
http_version:
|
135
|
+
recorded_at: Sat, 22 Jun 2013 08:59:53 GMT
|
136
|
+
- request:
|
137
|
+
method: head
|
138
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/index.html
|
139
|
+
body:
|
140
|
+
encoding: US-ASCII
|
141
|
+
string: ''
|
142
|
+
headers:
|
143
|
+
Content-Type:
|
144
|
+
- ''
|
145
|
+
User-Agent:
|
146
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
147
|
+
Date:
|
148
|
+
- Sat, 22 Jun 2013 08:59:53 GMT
|
149
|
+
Authorization:
|
150
|
+
- AWS foo:bar
|
151
|
+
Accept:
|
152
|
+
- '*/*'
|
153
|
+
response:
|
154
|
+
status:
|
155
|
+
code: 200
|
156
|
+
message: OK
|
157
|
+
headers:
|
158
|
+
X-Amz-Id-2:
|
159
|
+
- si94NytquAWe+z9/FL1BH/0txv7D2+ONO+x5sYdmVXmGvTz5pGtnshrsLZXSZ33O
|
160
|
+
X-Amz-Request-Id:
|
161
|
+
- D27E867225449339
|
162
|
+
Date:
|
163
|
+
- Sat, 22 Jun 2013 08:59:43 GMT
|
164
|
+
Last-Modified:
|
165
|
+
- Sat, 22 Jun 2013 08:57:58 GMT
|
166
|
+
Etag:
|
167
|
+
- '"8a8892a2b0fad281f26c0dedbff7011a"'
|
168
|
+
Accept-Ranges:
|
169
|
+
- bytes
|
170
|
+
Content-Type:
|
171
|
+
- text/html; charset=utf-8
|
172
|
+
Content-Length:
|
173
|
+
- '60'
|
174
|
+
Server:
|
175
|
+
- AmazonS3
|
176
|
+
body:
|
177
|
+
encoding: UTF-8
|
178
|
+
string: ''
|
179
|
+
http_version:
|
180
|
+
recorded_at: Sat, 22 Jun 2013 08:59:54 GMT
|
181
|
+
- request:
|
182
|
+
method: head
|
183
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/css/styles.css
|
184
|
+
body:
|
185
|
+
encoding: US-ASCII
|
186
|
+
string: ''
|
187
|
+
headers:
|
188
|
+
Content-Type:
|
189
|
+
- ''
|
190
|
+
User-Agent:
|
191
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
192
|
+
Date:
|
193
|
+
- Sat, 22 Jun 2013 08:59:53 GMT
|
194
|
+
Authorization:
|
195
|
+
- AWS foo:bar
|
196
|
+
Accept:
|
197
|
+
- '*/*'
|
198
|
+
response:
|
199
|
+
status:
|
200
|
+
code: 200
|
201
|
+
message: OK
|
202
|
+
headers:
|
203
|
+
X-Amz-Id-2:
|
204
|
+
- zSsqgkLAN1HWLYkawJBFI05/0wKW7Pq45dkfJ8nju0LBpCIIGNU4iZjYNWpce1WU
|
205
|
+
X-Amz-Request-Id:
|
206
|
+
- 7A09E4C564246C21
|
207
|
+
Date:
|
208
|
+
- Sat, 22 Jun 2013 08:59:43 GMT
|
209
|
+
Last-Modified:
|
210
|
+
- Sat, 22 Jun 2013 08:30:48 GMT
|
211
|
+
Etag:
|
212
|
+
- '"8fcf43a38cbf0c502f029a50645f2374"'
|
213
|
+
Accept-Ranges:
|
214
|
+
- bytes
|
215
|
+
Content-Type:
|
216
|
+
- text/css
|
217
|
+
Content-Length:
|
218
|
+
- '10'
|
219
|
+
Server:
|
220
|
+
- AmazonS3
|
221
|
+
body:
|
222
|
+
encoding: UTF-8
|
223
|
+
string: ''
|
224
|
+
http_version:
|
225
|
+
recorded_at: Sat, 22 Jun 2013 08:59:54 GMT
|
226
|
+
- request:
|
227
|
+
method: head
|
228
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/css/styles.css
|
229
|
+
body:
|
230
|
+
encoding: US-ASCII
|
231
|
+
string: ''
|
232
|
+
headers:
|
233
|
+
Content-Type:
|
234
|
+
- ''
|
235
|
+
User-Agent:
|
236
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
237
|
+
Date:
|
238
|
+
- Sat, 22 Jun 2013 08:59:54 GMT
|
239
|
+
Authorization:
|
240
|
+
- AWS foo:bar
|
241
|
+
Accept:
|
242
|
+
- '*/*'
|
243
|
+
response:
|
244
|
+
status:
|
245
|
+
code: 200
|
246
|
+
message: OK
|
247
|
+
headers:
|
248
|
+
X-Amz-Id-2:
|
249
|
+
- bKH3gHWMwOdPUVhlMOwPvefFCAPPPhnmoVQueU/odRRTlLPyuB0bYCC91P28flgN
|
250
|
+
X-Amz-Request-Id:
|
251
|
+
- 58E1A07BC1672B96
|
252
|
+
Date:
|
253
|
+
- Sat, 22 Jun 2013 08:59:44 GMT
|
254
|
+
Last-Modified:
|
255
|
+
- Sat, 22 Jun 2013 08:30:48 GMT
|
256
|
+
Etag:
|
257
|
+
- '"8fcf43a38cbf0c502f029a50645f2374"'
|
258
|
+
Accept-Ranges:
|
259
|
+
- bytes
|
260
|
+
Content-Type:
|
261
|
+
- text/css
|
262
|
+
Content-Length:
|
263
|
+
- '10'
|
264
|
+
Server:
|
265
|
+
- AmazonS3
|
266
|
+
body:
|
267
|
+
encoding: UTF-8
|
268
|
+
string: ''
|
269
|
+
http_version:
|
270
|
+
recorded_at: Sat, 22 Jun 2013 08:59:55 GMT
|
271
|
+
- request:
|
272
|
+
method: head
|
273
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/index.html
|
274
|
+
body:
|
275
|
+
encoding: US-ASCII
|
276
|
+
string: ''
|
277
|
+
headers:
|
278
|
+
Content-Type:
|
279
|
+
- ''
|
280
|
+
User-Agent:
|
281
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
282
|
+
Date:
|
283
|
+
- Sat, 22 Jun 2013 08:59:54 GMT
|
284
|
+
Authorization:
|
285
|
+
- AWS foo:bar
|
286
|
+
Accept:
|
287
|
+
- '*/*'
|
288
|
+
response:
|
289
|
+
status:
|
290
|
+
code: 200
|
291
|
+
message: OK
|
292
|
+
headers:
|
293
|
+
X-Amz-Id-2:
|
294
|
+
- 9Vc6n7M/kSmH1InbWjRX08GJ6dJJq6oZu3qRBmFtOr0qq79SDHLWR+GFuFf99nPe
|
295
|
+
X-Amz-Request-Id:
|
296
|
+
- DAB97DB1ED62A90D
|
297
|
+
Date:
|
298
|
+
- Sat, 22 Jun 2013 08:59:44 GMT
|
299
|
+
Last-Modified:
|
300
|
+
- Sat, 22 Jun 2013 08:57:58 GMT
|
301
|
+
Etag:
|
302
|
+
- '"8a8892a2b0fad281f26c0dedbff7011a"'
|
303
|
+
Accept-Ranges:
|
304
|
+
- bytes
|
305
|
+
Content-Type:
|
306
|
+
- text/html; charset=utf-8
|
307
|
+
Content-Length:
|
308
|
+
- '60'
|
309
|
+
Server:
|
310
|
+
- AmazonS3
|
311
|
+
body:
|
312
|
+
encoding: UTF-8
|
313
|
+
string: ''
|
314
|
+
http_version:
|
315
|
+
recorded_at: Sat, 22 Jun 2013 08:59:55 GMT
|
316
|
+
- request:
|
317
|
+
method: get
|
318
|
+
uri: https://s3.amazonaws.com/s3-website-test.net?max-keys=1000
|
319
|
+
body:
|
320
|
+
encoding: US-ASCII
|
321
|
+
string: ''
|
322
|
+
headers:
|
323
|
+
Content-Type:
|
324
|
+
- ''
|
325
|
+
User-Agent:
|
326
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
327
|
+
Date:
|
328
|
+
- Sat, 22 Jun 2013 08:59:55 GMT
|
329
|
+
Authorization:
|
330
|
+
- AWS foo:bar
|
331
|
+
Accept-Encoding:
|
332
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
333
|
+
Accept:
|
334
|
+
- '*/*'
|
335
|
+
response:
|
336
|
+
status:
|
337
|
+
code: 200
|
338
|
+
message: OK
|
339
|
+
headers:
|
340
|
+
X-Amz-Id-2:
|
341
|
+
- a0oloZ4fb/xrV+IdJuvxha57Pay2dtL45eZfsYklKjPqbebxPDxh+Z7OEQczxNci
|
342
|
+
X-Amz-Request-Id:
|
343
|
+
- 5C449E78EFA8D47D
|
344
|
+
Date:
|
345
|
+
- Sat, 22 Jun 2013 08:59:45 GMT
|
346
|
+
Content-Type:
|
347
|
+
- application/xml
|
348
|
+
Transfer-Encoding:
|
349
|
+
- chunked
|
350
|
+
Server:
|
351
|
+
- AmazonS3
|
352
|
+
body:
|
353
|
+
encoding: UTF-8
|
354
|
+
string: |-
|
355
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
356
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>s3-website-test.net</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>css/styles.css</Key><LastModified>2013-06-22T08:30:48.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>2013-06-22T08:57:58.000Z</LastModified><ETag>"8a8892a2b0fad281f26c0dedbff7011a"</ETag><Size>60</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
357
|
+
http_version:
|
358
|
+
recorded_at: Sat, 22 Jun 2013 08:59:56 GMT
|
359
|
+
recorded_with: VCR 2.5.0
|