polipus 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.document +5 -0
- data/.gitignore +53 -0
- data/.rspec +2 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +20 -0
- data/README.md +55 -0
- data/README.rdoc +3 -0
- data/Rakefile +9 -0
- data/examples/basic.rb +58 -0
- data/examples/survival.rb +9 -0
- data/lib/polipus.rb +451 -0
- data/lib/polipus/http.rb +195 -0
- data/lib/polipus/page.rb +219 -0
- data/lib/polipus/plugin.rb +13 -0
- data/lib/polipus/plugins/cleaner.rb +25 -0
- data/lib/polipus/plugins/sample.rb +17 -0
- data/lib/polipus/plugins/sleeper.rb +22 -0
- data/lib/polipus/queue_overflow.rb +24 -0
- data/lib/polipus/queue_overflow/base.rb +6 -0
- data/lib/polipus/queue_overflow/dev_null_queue.rb +33 -0
- data/lib/polipus/queue_overflow/manager.rb +50 -0
- data/lib/polipus/queue_overflow/mongo_queue.rb +61 -0
- data/lib/polipus/queue_overflow/mongo_queue_capped.rb +28 -0
- data/lib/polipus/storage.rb +31 -0
- data/lib/polipus/storage/base.rb +17 -0
- data/lib/polipus/storage/dev_null.rb +35 -0
- data/lib/polipus/storage/mongo_store.rb +86 -0
- data/lib/polipus/storage/s3_store.rb +100 -0
- data/lib/polipus/url_tracker.rb +20 -0
- data/lib/polipus/url_tracker/bloomfilter.rb +27 -0
- data/lib/polipus/url_tracker/redis_set.rb +27 -0
- data/lib/polipus/version.rb +4 -0
- data/polipus.gemspec +39 -0
- data/spec/cassettes/08b228db424a926e1ed6ab63b38d847e.yml +166 -0
- data/spec/cassettes/20aa41f181b49f00078c3ca30bad5afe.yml +166 -0
- data/spec/cassettes/4640919145753505af2d0f8423de37f3.yml +270 -0
- data/spec/cassettes/66aae15a03f4aab8efd15e40d2d7882a.yml +194 -0
- data/spec/cassettes/76b7c197c95a5bf9b1e882c567192d72.yml +183 -0
- data/spec/cassettes/9b1d523b7f5db7214f8a8bd9272cccba.yml +221 -0
- data/spec/cassettes/ab333f89535a2efb284913fede6aa7c7.yml +221 -0
- data/spec/cassettes/ae5d7cffde3f53122cdf79f3d1367e8e.yml +221 -0
- data/spec/cassettes/ffe3d588b6df4b9de35e5a7ccaf5a81b.yml +695 -0
- data/spec/cassettes/http_test.yml +1418 -0
- data/spec/cassettes/http_test_redirect.yml +71 -0
- data/spec/clear.rb +11 -0
- data/spec/http_spec.rb +31 -0
- data/spec/page_spec.rb +22 -0
- data/spec/queue_overflow_manager_spec.rb +89 -0
- data/spec/queue_overflow_spec.rb +71 -0
- data/spec/spec_helper.rb +34 -0
- data/spec/storage_mongo_spec.rb +102 -0
- data/spec/storage_s3_spec.rb +115 -0
- data/spec/url_tracker_spec.rb +28 -0
- metadata +313 -0
@@ -0,0 +1,270 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
response:
|
10
|
+
status:
|
11
|
+
code: 200
|
12
|
+
message: OK
|
13
|
+
body:
|
14
|
+
encoding: US-ASCII
|
15
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
16
|
+
|
17
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
18
|
+
http_version:
|
19
|
+
recorded_at: Thu, 18 Jul 2013 11:04:22 GMT
|
20
|
+
- request:
|
21
|
+
method: get
|
22
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
23
|
+
body:
|
24
|
+
encoding: US-ASCII
|
25
|
+
string: ''
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 200
|
29
|
+
message: OK
|
30
|
+
body:
|
31
|
+
encoding: US-ASCII
|
32
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
33
|
+
|
34
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
35
|
+
http_version:
|
36
|
+
recorded_at: Thu, 18 Jul 2013 11:04:22 GMT
|
37
|
+
- request:
|
38
|
+
method: put
|
39
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/dca0dd302c1f47840848bb794326d2c3
|
40
|
+
body:
|
41
|
+
encoding: ASCII-8BIT
|
42
|
+
string: !binary |-
|
43
|
+
eJxVT0uOgzAMvYvXaWsgapl0PZXmDGWEIDYClSYoOEIj1Ls3LepiVn4/P8sr
|
44
|
+
xDCCgV5kMofDsiz7OHPYkfd76++goOeGOMwpU0VE1FW7vsHxp3orWWa9E3ay
|
45
|
+
k7+JN8ts4/ty/RdF3Oh5I5fUPg7ulrqvvwqsJwaTIyognqQHk1DgjgOHdB1e
|
46
|
+
hIbAVmrxH2GevJu5luGedl0cRwUdi+2ZwEiIrOD1Tk2NNGDWR6JxSBaQbZCo
|
47
|
+
wNxmnT6VGktdtu3pSxf5kXJbwOMJoM9XOA==
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
body:
|
53
|
+
encoding: US-ASCII
|
54
|
+
string: ''
|
55
|
+
http_version:
|
56
|
+
recorded_at: Thu, 18 Jul 2013 11:04:22 GMT
|
57
|
+
- request:
|
58
|
+
method: head
|
59
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/dca0dd302c1f47840848bb794326d2c3
|
60
|
+
body:
|
61
|
+
encoding: US-ASCII
|
62
|
+
string: ''
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 200
|
66
|
+
message: OK
|
67
|
+
body:
|
68
|
+
encoding: US-ASCII
|
69
|
+
string: ''
|
70
|
+
http_version:
|
71
|
+
recorded_at: Thu, 18 Jul 2013 11:04:23 GMT
|
72
|
+
- request:
|
73
|
+
method: get
|
74
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages?marker=dca0dd302c1f47840848bb794326d2c2&max-keys=1
|
75
|
+
body:
|
76
|
+
encoding: US-ASCII
|
77
|
+
string: ''
|
78
|
+
response:
|
79
|
+
status:
|
80
|
+
code: 200
|
81
|
+
message: OK
|
82
|
+
body:
|
83
|
+
encoding: US-ASCII
|
84
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
85
|
+
|
86
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker>dca0dd302c1f47840848bb794326d2c2</Marker><MaxKeys>1</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>dca0dd302c1f47840848bb794326d2c3</Key><LastModified>2013-07-18T11:04:07.000Z</LastModified><ETag>"0c57725306c9174084ea16581675f2e0"</ETag><Size>205</Size><Owner><ID>7bf30d3e58e134be9c452415fa897f5e4286cf42b8e7fe5f332a0aa54388af1d</ID><DisplayName>ops</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
|
87
|
+
http_version:
|
88
|
+
recorded_at: Thu, 18 Jul 2013 11:04:23 GMT
|
89
|
+
- request:
|
90
|
+
method: get
|
91
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/dca0dd302c1f47840848bb794326d2c3
|
92
|
+
body:
|
93
|
+
encoding: US-ASCII
|
94
|
+
string: ''
|
95
|
+
response:
|
96
|
+
status:
|
97
|
+
code: 200
|
98
|
+
message: !binary |-
|
99
|
+
T0s=
|
100
|
+
body:
|
101
|
+
encoding: ASCII-8BIT
|
102
|
+
string: !binary |-
|
103
|
+
eJxVT0uOgzAMvYvXaWsgapl0PZXmDGWEIDYClSYoOEIj1Ls3LepiVn4/P8sr
|
104
|
+
xDCCgV5kMofDsiz7OHPYkfd76++goOeGOMwpU0VE1FW7vsHxp3orWWa9E3ay
|
105
|
+
k7+JN8ts4/ty/RdF3Oh5I5fUPg7ulrqvvwqsJwaTIyognqQHk1DgjgOHdB1e
|
106
|
+
hIbAVmrxH2GevJu5luGedl0cRwUdi+2ZwEiIrOD1Tk2NNGDWR6JxSBaQbZCo
|
107
|
+
wNxmnT6VGktdtu3pSxf5kXJbwOMJoM9XOA==
|
108
|
+
http_version:
|
109
|
+
recorded_at: Thu, 18 Jul 2013 11:04:23 GMT
|
110
|
+
- request:
|
111
|
+
method: get
|
112
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
113
|
+
body:
|
114
|
+
encoding: US-ASCII
|
115
|
+
string: ''
|
116
|
+
response:
|
117
|
+
status:
|
118
|
+
code: 200
|
119
|
+
message: OK
|
120
|
+
body:
|
121
|
+
encoding: US-ASCII
|
122
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
123
|
+
|
124
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>dca0dd302c1f47840848bb794326d2c3</Key><LastModified>2013-07-18T11:04:07.000Z</LastModified><ETag>"0c57725306c9174084ea16581675f2e0"</ETag><Size>205</Size><Owner><ID>7bf30d3e58e134be9c452415fa897f5e4286cf42b8e7fe5f332a0aa54388af1d</ID><DisplayName>ops</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
|
125
|
+
http_version:
|
126
|
+
recorded_at: Thu, 18 Jul 2013 11:04:23 GMT
|
127
|
+
- request:
|
128
|
+
method: delete
|
129
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/dca0dd302c1f47840848bb794326d2c3
|
130
|
+
body:
|
131
|
+
encoding: US-ASCII
|
132
|
+
string: ''
|
133
|
+
response:
|
134
|
+
status:
|
135
|
+
code: 204
|
136
|
+
message: No Content
|
137
|
+
body:
|
138
|
+
encoding: US-ASCII
|
139
|
+
string: ''
|
140
|
+
http_version:
|
141
|
+
recorded_at: Thu, 18 Jul 2013 11:04:24 GMT
|
142
|
+
- request:
|
143
|
+
method: delete
|
144
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
145
|
+
body:
|
146
|
+
encoding: US-ASCII
|
147
|
+
string: ''
|
148
|
+
response:
|
149
|
+
status:
|
150
|
+
code: 204
|
151
|
+
message: No Content
|
152
|
+
body:
|
153
|
+
encoding: US-ASCII
|
154
|
+
string: ''
|
155
|
+
http_version:
|
156
|
+
recorded_at: Thu, 18 Jul 2013 11:04:24 GMT
|
157
|
+
- request:
|
158
|
+
method: put
|
159
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
160
|
+
body:
|
161
|
+
encoding: US-ASCII
|
162
|
+
string: ''
|
163
|
+
response:
|
164
|
+
status:
|
165
|
+
code: 200
|
166
|
+
message: OK
|
167
|
+
body:
|
168
|
+
encoding: US-ASCII
|
169
|
+
string: ''
|
170
|
+
http_version:
|
171
|
+
recorded_at: Thu, 18 Jul 2013 11:04:25 GMT
|
172
|
+
- request:
|
173
|
+
method: get
|
174
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
175
|
+
body:
|
176
|
+
encoding: US-ASCII
|
177
|
+
string: ''
|
178
|
+
response:
|
179
|
+
status:
|
180
|
+
code: 200
|
181
|
+
message: OK
|
182
|
+
body:
|
183
|
+
encoding: US-ASCII
|
184
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
185
|
+
|
186
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
187
|
+
http_version:
|
188
|
+
recorded_at: Thu, 18 Jul 2013 11:04:25 GMT
|
189
|
+
- request:
|
190
|
+
method: get
|
191
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
192
|
+
body:
|
193
|
+
encoding: US-ASCII
|
194
|
+
string: ''
|
195
|
+
response:
|
196
|
+
status:
|
197
|
+
code: 200
|
198
|
+
message: OK
|
199
|
+
body:
|
200
|
+
encoding: US-ASCII
|
201
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
202
|
+
|
203
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
204
|
+
http_version:
|
205
|
+
recorded_at: Thu, 18 Jul 2013 11:04:25 GMT
|
206
|
+
- request:
|
207
|
+
method: get
|
208
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
209
|
+
body:
|
210
|
+
encoding: US-ASCII
|
211
|
+
string: ''
|
212
|
+
response:
|
213
|
+
status:
|
214
|
+
code: 200
|
215
|
+
message: OK
|
216
|
+
body:
|
217
|
+
encoding: US-ASCII
|
218
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
219
|
+
|
220
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
221
|
+
http_version:
|
222
|
+
recorded_at: Thu, 18 Jul 2013 11:04:26 GMT
|
223
|
+
- request:
|
224
|
+
method: delete
|
225
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
226
|
+
body:
|
227
|
+
encoding: US-ASCII
|
228
|
+
string: ''
|
229
|
+
response:
|
230
|
+
status:
|
231
|
+
code: 204
|
232
|
+
message: No Content
|
233
|
+
body:
|
234
|
+
encoding: US-ASCII
|
235
|
+
string: ''
|
236
|
+
http_version:
|
237
|
+
recorded_at: Thu, 18 Jul 2013 11:04:26 GMT
|
238
|
+
- request:
|
239
|
+
method: put
|
240
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
241
|
+
body:
|
242
|
+
encoding: US-ASCII
|
243
|
+
string: ''
|
244
|
+
response:
|
245
|
+
status:
|
246
|
+
code: 200
|
247
|
+
message: OK
|
248
|
+
body:
|
249
|
+
encoding: US-ASCII
|
250
|
+
string: ''
|
251
|
+
http_version:
|
252
|
+
recorded_at: Thu, 18 Jul 2013 11:04:26 GMT
|
253
|
+
- request:
|
254
|
+
method: get
|
255
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
256
|
+
body:
|
257
|
+
encoding: US-ASCII
|
258
|
+
string: ''
|
259
|
+
response:
|
260
|
+
status:
|
261
|
+
code: 200
|
262
|
+
message: OK
|
263
|
+
body:
|
264
|
+
encoding: US-ASCII
|
265
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
266
|
+
|
267
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
268
|
+
http_version:
|
269
|
+
recorded_at: Thu, 18 Jul 2013 11:04:27 GMT
|
270
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,194 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
response:
|
10
|
+
status:
|
11
|
+
code: 200
|
12
|
+
message: OK
|
13
|
+
body:
|
14
|
+
encoding: US-ASCII
|
15
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
16
|
+
|
17
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
18
|
+
http_version:
|
19
|
+
recorded_at: Thu, 18 Jul 2013 11:04:34 GMT
|
20
|
+
- request:
|
21
|
+
method: head
|
22
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/34efd0ecfdafa1edc377946f5768229b
|
23
|
+
body:
|
24
|
+
encoding: US-ASCII
|
25
|
+
string: ''
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 404
|
29
|
+
message: Not Found
|
30
|
+
body:
|
31
|
+
encoding: US-ASCII
|
32
|
+
string: ''
|
33
|
+
http_version:
|
34
|
+
recorded_at: Thu, 18 Jul 2013 11:04:34 GMT
|
35
|
+
- request:
|
36
|
+
method: put
|
37
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/34efd0ecfdafa1edc377946f5768229b
|
38
|
+
body:
|
39
|
+
encoding: ASCII-8BIT
|
40
|
+
string: !binary |-
|
41
|
+
eJxVjdFugzAMRf/Fz6yklMGaVXtbpX1DmVCIHYEKBAVHqEL993mgPcwvvuf6
|
42
|
+
2l4hhh40tMyTTtNlWQ5mxiB1sH6ABFoySGGWSBWVUnnVrJsovqrNOR6tH5lG
|
43
|
+
fuHHRPtI7+3zevsXVWrH9x2ucr3x+JDTl5aH/uOSbk3svhvv8vL2nYD1SKAz
|
44
|
+
pRJAmrgFLSqQo0BBNuEXsAtkuWb/Z8yTH2equRtkd4x9n4Ajti0haA6REogz
|
45
|
+
hRoNG9DrUzB2MoJTTg4VWYfGmSOhPZXlOS/ca1m8Zdm5gecPnqlfCg==
|
46
|
+
response:
|
47
|
+
status:
|
48
|
+
code: 200
|
49
|
+
message: OK
|
50
|
+
body:
|
51
|
+
encoding: US-ASCII
|
52
|
+
string: ''
|
53
|
+
http_version:
|
54
|
+
recorded_at: Thu, 18 Jul 2013 11:04:35 GMT
|
55
|
+
- request:
|
56
|
+
method: head
|
57
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/34efd0ecfdafa1edc377946f5768229b
|
58
|
+
body:
|
59
|
+
encoding: US-ASCII
|
60
|
+
string: ''
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 200
|
64
|
+
message: OK
|
65
|
+
body:
|
66
|
+
encoding: US-ASCII
|
67
|
+
string: ''
|
68
|
+
http_version:
|
69
|
+
recorded_at: Thu, 18 Jul 2013 11:04:35 GMT
|
70
|
+
- request:
|
71
|
+
method: head
|
72
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/34efd0ecfdafa1edc377946f5768229b
|
73
|
+
body:
|
74
|
+
encoding: US-ASCII
|
75
|
+
string: ''
|
76
|
+
response:
|
77
|
+
status:
|
78
|
+
code: 200
|
79
|
+
message: OK
|
80
|
+
body:
|
81
|
+
encoding: US-ASCII
|
82
|
+
string: ''
|
83
|
+
http_version:
|
84
|
+
recorded_at: Thu, 18 Jul 2013 11:04:35 GMT
|
85
|
+
- request:
|
86
|
+
method: head
|
87
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/11a7447d2be96e2be6718cad71a8b4e2
|
88
|
+
body:
|
89
|
+
encoding: US-ASCII
|
90
|
+
string: ''
|
91
|
+
response:
|
92
|
+
status:
|
93
|
+
code: 404
|
94
|
+
message: Not Found
|
95
|
+
body:
|
96
|
+
encoding: US-ASCII
|
97
|
+
string: ''
|
98
|
+
http_version:
|
99
|
+
recorded_at: Thu, 18 Jul 2013 11:04:36 GMT
|
100
|
+
- request:
|
101
|
+
method: head
|
102
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/11a7447d2be96e2be6718cad71a8b4e2
|
103
|
+
body:
|
104
|
+
encoding: US-ASCII
|
105
|
+
string: ''
|
106
|
+
response:
|
107
|
+
status:
|
108
|
+
code: 404
|
109
|
+
message: Not Found
|
110
|
+
body:
|
111
|
+
encoding: US-ASCII
|
112
|
+
string: ''
|
113
|
+
http_version:
|
114
|
+
recorded_at: Thu, 18 Jul 2013 11:04:36 GMT
|
115
|
+
- request:
|
116
|
+
method: get
|
117
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
118
|
+
body:
|
119
|
+
encoding: US-ASCII
|
120
|
+
string: ''
|
121
|
+
response:
|
122
|
+
status:
|
123
|
+
code: 200
|
124
|
+
message: OK
|
125
|
+
body:
|
126
|
+
encoding: US-ASCII
|
127
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
128
|
+
|
129
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>34efd0ecfdafa1edc377946f5768229b</Key><LastModified>2013-07-18T11:04:19.000Z</LastModified><ETag>"05e9774cc3d5d587a5dbba7753e5194c"</ETag><Size>220</Size><Owner><ID>7bf30d3e58e134be9c452415fa897f5e4286cf42b8e7fe5f332a0aa54388af1d</ID><DisplayName>ops</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'
|
130
|
+
http_version:
|
131
|
+
recorded_at: Thu, 18 Jul 2013 11:04:36 GMT
|
132
|
+
- request:
|
133
|
+
method: delete
|
134
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages/34efd0ecfdafa1edc377946f5768229b
|
135
|
+
body:
|
136
|
+
encoding: US-ASCII
|
137
|
+
string: ''
|
138
|
+
response:
|
139
|
+
status:
|
140
|
+
code: 204
|
141
|
+
message: No Content
|
142
|
+
body:
|
143
|
+
encoding: US-ASCII
|
144
|
+
string: ''
|
145
|
+
http_version:
|
146
|
+
recorded_at: Thu, 18 Jul 2013 11:04:36 GMT
|
147
|
+
- request:
|
148
|
+
method: delete
|
149
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
150
|
+
body:
|
151
|
+
encoding: US-ASCII
|
152
|
+
string: ''
|
153
|
+
response:
|
154
|
+
status:
|
155
|
+
code: 204
|
156
|
+
message: No Content
|
157
|
+
body:
|
158
|
+
encoding: US-ASCII
|
159
|
+
string: ''
|
160
|
+
http_version:
|
161
|
+
recorded_at: Thu, 18 Jul 2013 11:04:37 GMT
|
162
|
+
- request:
|
163
|
+
method: put
|
164
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
165
|
+
body:
|
166
|
+
encoding: US-ASCII
|
167
|
+
string: ''
|
168
|
+
response:
|
169
|
+
status:
|
170
|
+
code: 200
|
171
|
+
message: OK
|
172
|
+
body:
|
173
|
+
encoding: US-ASCII
|
174
|
+
string: ''
|
175
|
+
http_version:
|
176
|
+
recorded_at: Thu, 18 Jul 2013 11:04:37 GMT
|
177
|
+
- request:
|
178
|
+
method: get
|
179
|
+
uri: http://s3.amazonaws.com/com.polipus.pages._test_pages
|
180
|
+
body:
|
181
|
+
encoding: US-ASCII
|
182
|
+
string: ''
|
183
|
+
response:
|
184
|
+
status:
|
185
|
+
code: 200
|
186
|
+
message: OK
|
187
|
+
body:
|
188
|
+
encoding: US-ASCII
|
189
|
+
string: ! '<?xml version="1.0" encoding="UTF-8"?>
|
190
|
+
|
191
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>com.polipus.pages._test_pages</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>'
|
192
|
+
http_version:
|
193
|
+
recorded_at: Thu, 18 Jul 2013 11:04:37 GMT
|
194
|
+
recorded_with: VCR 2.5.0
|