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,411 @@
|
|
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:56:06 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
|
+
- nN3g+LKP8aZ7Nn6bFDEbds1FAW/baYLGcQPXb0JueP88HYA9TtlDjifaRd/d7zAW
|
29
|
+
X-Amz-Request-Id:
|
30
|
+
- 1C5E2AD73CA801EF
|
31
|
+
Date:
|
32
|
+
- Sat, 22 Jun 2013 08:55:57 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:53:53.000Z</LastModified><ETag>"cf0bda670466480001905aad5eba1293"</ETag><Size>127</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:56:09 GMT
|
46
|
+
- request:
|
47
|
+
method: head
|
48
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/css/styles.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:56:09 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
|
+
- Rmitq8anIM/2N3B5k38BHjdNB+GhdyMGCXsMIBgtREbvTAGaN27tIfR4XT1L/SLi
|
70
|
+
X-Amz-Request-Id:
|
71
|
+
- 8D3A9A691F0DA6AF
|
72
|
+
Date:
|
73
|
+
- Sat, 22 Jun 2013 08:55:59 GMT
|
74
|
+
Last-Modified:
|
75
|
+
- Sat, 22 Jun 2013 08:30:48 GMT
|
76
|
+
Etag:
|
77
|
+
- '"8fcf43a38cbf0c502f029a50645f2374"'
|
78
|
+
Accept-Ranges:
|
79
|
+
- bytes
|
80
|
+
Content-Type:
|
81
|
+
- text/css
|
82
|
+
Content-Length:
|
83
|
+
- '10'
|
84
|
+
Server:
|
85
|
+
- AmazonS3
|
86
|
+
body:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: ''
|
89
|
+
http_version:
|
90
|
+
recorded_at: Sat, 22 Jun 2013 08:56:10 GMT
|
91
|
+
- request:
|
92
|
+
method: head
|
93
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/index.html
|
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:56:09 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
|
+
- 12VJHc1/rrWq5DEEASBFSz6Kx7uXH90LpZ63QbO4A5NCMwmPeW/lh1+mwIRBfLdP
|
115
|
+
X-Amz-Request-Id:
|
116
|
+
- 518DA956983B0111
|
117
|
+
Date:
|
118
|
+
- Sat, 22 Jun 2013 08:55:59 GMT
|
119
|
+
Last-Modified:
|
120
|
+
- Sat, 22 Jun 2013 08:53:53 GMT
|
121
|
+
Etag:
|
122
|
+
- '"cf0bda670466480001905aad5eba1293"'
|
123
|
+
Accept-Ranges:
|
124
|
+
- bytes
|
125
|
+
Content-Type:
|
126
|
+
- text/html; charset=utf-8
|
127
|
+
Content-Length:
|
128
|
+
- '127'
|
129
|
+
Server:
|
130
|
+
- AmazonS3
|
131
|
+
body:
|
132
|
+
encoding: UTF-8
|
133
|
+
string: ''
|
134
|
+
http_version:
|
135
|
+
recorded_at: Sat, 22 Jun 2013 08:56:10 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:56:10 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
|
+
- XFBazFpAT7SfYQU7llITw5WwPxXVbevTSadhSlsh2JDxfzZJ1T1pM076AgoFDhMi
|
160
|
+
X-Amz-Request-Id:
|
161
|
+
- E059A5AA13C88C5D
|
162
|
+
Date:
|
163
|
+
- Sat, 22 Jun 2013 08:56:00 GMT
|
164
|
+
Last-Modified:
|
165
|
+
- Sat, 22 Jun 2013 08:53:53 GMT
|
166
|
+
Etag:
|
167
|
+
- '"cf0bda670466480001905aad5eba1293"'
|
168
|
+
Accept-Ranges:
|
169
|
+
- bytes
|
170
|
+
Content-Type:
|
171
|
+
- text/html; charset=utf-8
|
172
|
+
Content-Length:
|
173
|
+
- '127'
|
174
|
+
Server:
|
175
|
+
- AmazonS3
|
176
|
+
body:
|
177
|
+
encoding: UTF-8
|
178
|
+
string: ''
|
179
|
+
http_version:
|
180
|
+
recorded_at: Sat, 22 Jun 2013 08:56:12 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:56:10 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
|
+
- ApM18urHSh5xG+1aGBy1r3PTBXj4QPheOXH2AdurU6SzA0F/8Tib84jDOpm4iZa8
|
205
|
+
X-Amz-Request-Id:
|
206
|
+
- FBEC00DDA7F28256
|
207
|
+
Date:
|
208
|
+
- Sat, 22 Jun 2013 08:56:00 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:56:12 GMT
|
226
|
+
- request:
|
227
|
+
method: head
|
228
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/index.html
|
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:56:12 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
|
+
- AerWIohVuyB5EAGRJlRuUeDIiGEs/pkhhmzChgTfe+CTWcrSyM8tDz9l/bK/LXJY
|
250
|
+
X-Amz-Request-Id:
|
251
|
+
- B98ADA1417747FAE
|
252
|
+
Date:
|
253
|
+
- Sat, 22 Jun 2013 08:56:01 GMT
|
254
|
+
Last-Modified:
|
255
|
+
- Sat, 22 Jun 2013 08:53:53 GMT
|
256
|
+
Etag:
|
257
|
+
- '"cf0bda670466480001905aad5eba1293"'
|
258
|
+
Accept-Ranges:
|
259
|
+
- bytes
|
260
|
+
Content-Type:
|
261
|
+
- text/html; charset=utf-8
|
262
|
+
Content-Length:
|
263
|
+
- '127'
|
264
|
+
Server:
|
265
|
+
- AmazonS3
|
266
|
+
body:
|
267
|
+
encoding: UTF-8
|
268
|
+
string: ''
|
269
|
+
http_version:
|
270
|
+
recorded_at: Sat, 22 Jun 2013 08:56:13 GMT
|
271
|
+
- request:
|
272
|
+
method: head
|
273
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/css/styles.css
|
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:56:12 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
|
+
- pO7M1/jwNDjK2xMiWhZq7UFH9r0hgz1I6w3A5dze1qSQNFSRYmQXfmctIUb3cwUd
|
295
|
+
X-Amz-Request-Id:
|
296
|
+
- A5D64B3F288DD72C
|
297
|
+
Date:
|
298
|
+
- Sat, 22 Jun 2013 08:56:02 GMT
|
299
|
+
Last-Modified:
|
300
|
+
- Sat, 22 Jun 2013 08:30:48 GMT
|
301
|
+
Etag:
|
302
|
+
- '"8fcf43a38cbf0c502f029a50645f2374"'
|
303
|
+
Accept-Ranges:
|
304
|
+
- bytes
|
305
|
+
Content-Type:
|
306
|
+
- text/css
|
307
|
+
Content-Length:
|
308
|
+
- '10'
|
309
|
+
Server:
|
310
|
+
- AmazonS3
|
311
|
+
body:
|
312
|
+
encoding: UTF-8
|
313
|
+
string: ''
|
314
|
+
http_version:
|
315
|
+
recorded_at: Sat, 22 Jun 2013 08:56:13 GMT
|
316
|
+
- request:
|
317
|
+
method: put
|
318
|
+
uri: https://s3.amazonaws.com/s3-website-test.net/index.html
|
319
|
+
body:
|
320
|
+
encoding: UTF-8
|
321
|
+
string: |
|
322
|
+
<html>
|
323
|
+
<head>
|
324
|
+
<title>hello!</title>
|
325
|
+
</head>
|
326
|
+
<body>
|
327
|
+
i got some new content for you, arnie
|
328
|
+
z
|
329
|
+
</body>
|
330
|
+
</html>
|
331
|
+
headers:
|
332
|
+
Content-Type:
|
333
|
+
- text/html; charset=utf-8
|
334
|
+
Content-Length:
|
335
|
+
- '127'
|
336
|
+
User-Agent:
|
337
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
338
|
+
Date:
|
339
|
+
- Sat, 22 Jun 2013 08:56:13 GMT
|
340
|
+
Authorization:
|
341
|
+
- AWS foo:bar
|
342
|
+
Accept-Encoding:
|
343
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
344
|
+
Accept:
|
345
|
+
- '*/*'
|
346
|
+
response:
|
347
|
+
status:
|
348
|
+
code: 200
|
349
|
+
message: OK
|
350
|
+
headers:
|
351
|
+
X-Amz-Id-2:
|
352
|
+
- u7p9yTo0VjemIfiWuTqYsfmE+zkpuDWj4K6t+/4Stde5xyuJgMFXqsSONyaV2Kf0
|
353
|
+
X-Amz-Request-Id:
|
354
|
+
- 41E70526973B6420
|
355
|
+
Date:
|
356
|
+
- Sat, 22 Jun 2013 08:56:03 GMT
|
357
|
+
Etag:
|
358
|
+
- '"555cf1f0ffc6a431eb42e2fcfc4c4646"'
|
359
|
+
Content-Length:
|
360
|
+
- '0'
|
361
|
+
Server:
|
362
|
+
- AmazonS3
|
363
|
+
body:
|
364
|
+
encoding: UTF-8
|
365
|
+
string: ''
|
366
|
+
http_version:
|
367
|
+
recorded_at: Sat, 22 Jun 2013 08:56:14 GMT
|
368
|
+
- request:
|
369
|
+
method: get
|
370
|
+
uri: https://s3.amazonaws.com/s3-website-test.net?max-keys=1000
|
371
|
+
body:
|
372
|
+
encoding: US-ASCII
|
373
|
+
string: ''
|
374
|
+
headers:
|
375
|
+
Content-Type:
|
376
|
+
- ''
|
377
|
+
User-Agent:
|
378
|
+
- aws-sdk-ruby/1.8.5 ruby/2.0.0 x86_64-darwin11.4.2
|
379
|
+
Date:
|
380
|
+
- Sat, 22 Jun 2013 08:56:14 GMT
|
381
|
+
Authorization:
|
382
|
+
- AWS foo:bar
|
383
|
+
Accept-Encoding:
|
384
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
385
|
+
Accept:
|
386
|
+
- '*/*'
|
387
|
+
response:
|
388
|
+
status:
|
389
|
+
code: 200
|
390
|
+
message: OK
|
391
|
+
headers:
|
392
|
+
X-Amz-Id-2:
|
393
|
+
- IuYZWcZ8iuHCdtjyNVgzlNK0s1ER5hsp7OLomjIZ2qovEFbncrteDBGfVwVIz7Ad
|
394
|
+
X-Amz-Request-Id:
|
395
|
+
- FA217C05E4DEB50F
|
396
|
+
Date:
|
397
|
+
- Sat, 22 Jun 2013 08:56:06 GMT
|
398
|
+
Content-Type:
|
399
|
+
- application/xml
|
400
|
+
Transfer-Encoding:
|
401
|
+
- chunked
|
402
|
+
Server:
|
403
|
+
- AmazonS3
|
404
|
+
body:
|
405
|
+
encoding: UTF-8
|
406
|
+
string: |-
|
407
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
408
|
+
<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:56:03.000Z</LastModified><ETag>"555cf1f0ffc6a431eb42e2fcfc4c4646"</ETag><Size>127</Size><Owner><ID>3855ebae0f370c3dd0c8d8031863792112bd2a2cb18fa310d3f463ae0dea62f1</ID><DisplayName>fluid83</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
409
|
+
http_version:
|
410
|
+
recorded_at: Sat, 22 Jun 2013 08:56:17 GMT
|
411
|
+
recorded_with: VCR 2.5.0
|