caching_matcher 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +3 -0
- data/README.txt +75 -0
- data/Rakefile +22 -0
- data/bin/caching_matcher +7 -0
- data/caching_matcher.gemspec +51 -0
- data/lib/caching_matcher/caching_matcher.rb +99 -0
- data/lib/caching_matcher.rb +65 -0
- data/spec/controllers/caching_matcher_spec.rb +64 -0
- data/spec/mock_app/app/controllers/application_controller.rb +2 -0
- data/spec/mock_app/app/controllers/items_controller.rb +17 -0
- data/spec/mock_app/config/boot.rb +110 -0
- data/spec/mock_app/config/environment.rb +41 -0
- data/spec/mock_app/config/environments/test.rb +32 -0
- data/spec/mock_app/config/initializers/cookie_verification_secret.rb +7 -0
- data/spec/mock_app/config/initializers/mime_types.rb +5 -0
- data/spec/mock_app/config/initializers/new_rails_defaults.rb +21 -0
- data/spec/mock_app/config/initializers/session_store.rb +15 -0
- data/spec/mock_app/config/locales/en.yml +5 -0
- data/spec/mock_app/config/routes.rb +4 -0
- data/spec/mock_app/log/test.log +514 -0
- data/spec/spec_helper.rb +22 -0
- data/test/test_caching_matcher.rb +0 -0
- data/version.txt +1 -0
- metadata +188 -0
@@ -0,0 +1,514 @@
|
|
1
|
+
# Logfile created on Tue Sep 07 22:10:55 -0700 2010Cache read: views/test.host/items
|
2
|
+
|
3
|
+
|
4
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:11:38) [GET]
|
5
|
+
Cached fragment hit: test.host/items (0.3ms)
|
6
|
+
Cached fragment miss: test.host/items (10.5ms)
|
7
|
+
Completed in 15ms (View: 0 | 200 OK [http://test.host/items]
|
8
|
+
Cache read: views/test.host/items
|
9
|
+
Cache read: views/test.host/items
|
10
|
+
|
11
|
+
|
12
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:12:19) [GET]
|
13
|
+
Cached fragment hit: test.host/items (0.3ms)
|
14
|
+
Cached fragment miss: test.host/items (1.0ms)
|
15
|
+
Completed in 5ms (View: 0 | 200 OK [http://test.host/items]
|
16
|
+
Cache read: views/test.host/items
|
17
|
+
Cache read: views/test.host/items
|
18
|
+
|
19
|
+
|
20
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:12:37) [GET]
|
21
|
+
Completed in 3ms (View: 0 | 200 OK [http://test.host/items]
|
22
|
+
Cache read: views/test.host/items
|
23
|
+
Cache read: views/test.host/items
|
24
|
+
|
25
|
+
|
26
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:13:52) [GET]
|
27
|
+
Completed in 3ms (View: 0 | 200 OK [http://test.host/items]
|
28
|
+
Cache read: views/test.host/items
|
29
|
+
Cache read: views/test.host/items
|
30
|
+
|
31
|
+
|
32
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:14:14) [GET]
|
33
|
+
Cached fragment hit: test.host/items (0.3ms)
|
34
|
+
Cached fragment miss: test.host/items (0.3ms)
|
35
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items]
|
36
|
+
Cache read: views/test.host/items
|
37
|
+
Cache read: views/test.host/items
|
38
|
+
|
39
|
+
|
40
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:33:15) [GET]
|
41
|
+
Cached fragment hit: test.host/items (0.4ms)
|
42
|
+
Cached fragment miss: test.host/items (1.0ms)
|
43
|
+
Completed in 5ms (View: 0 | 200 OK [http://test.host/items]
|
44
|
+
Cache read: views/test.host/items
|
45
|
+
Cache read: views/test.host/items
|
46
|
+
|
47
|
+
|
48
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:33:15) [GET]
|
49
|
+
Cached fragment hit: test.host/items (0.4ms)
|
50
|
+
Cached fragment miss: test.host/items (0.4ms)
|
51
|
+
Completed in 2ms (View: 0 | 200 OK [http://test.host/items]
|
52
|
+
Cache read: views/test.host/items
|
53
|
+
Cache read: views/test.host/items
|
54
|
+
|
55
|
+
|
56
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:35:36) [GET]
|
57
|
+
Cached fragment hit: test.host/items (0.2ms)
|
58
|
+
Cached fragment miss: test.host/items (0.9ms)
|
59
|
+
Completed in 5ms (View: 0 | 200 OK [http://test.host/items]
|
60
|
+
Cache read: views/test.host/items
|
61
|
+
Cache read: views/test.host/items/edit/5
|
62
|
+
|
63
|
+
|
64
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 22:35:36) [GET]
|
65
|
+
Parameters: {"id"=>"5"}
|
66
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
67
|
+
Cache read: views/test.host/items/edit/5
|
68
|
+
Cache read: views/test.host/items
|
69
|
+
|
70
|
+
|
71
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:36:38) [GET]
|
72
|
+
Cached fragment hit: test.host/items (0.3ms)
|
73
|
+
Cached fragment miss: test.host/items (0.3ms)
|
74
|
+
Completed in 5ms (View: 0 | 200 OK [http://test.host/items]
|
75
|
+
Cache read: views/test.host/items
|
76
|
+
Cache read: views/test.host/items/edit/5
|
77
|
+
|
78
|
+
|
79
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 22:36:38) [GET]
|
80
|
+
Parameters: {"id"=>"5"}
|
81
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
82
|
+
Cache read: views/test.host/items/edit/5
|
83
|
+
Cache read: views/test.host/items
|
84
|
+
|
85
|
+
|
86
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:41:22) [GET]
|
87
|
+
Cached fragment hit: test.host/items (0.4ms)
|
88
|
+
Cached fragment miss: test.host/items (0.3ms)
|
89
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items]
|
90
|
+
Cache read: views/test.host/items
|
91
|
+
Cache read: views/test.host/items/edit/5
|
92
|
+
|
93
|
+
|
94
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 22:41:22) [GET]
|
95
|
+
Parameters: {"id"=>"5"}
|
96
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
97
|
+
Cache read: views/test.host/items/edit/5
|
98
|
+
Cache read: views/test.host/items
|
99
|
+
|
100
|
+
|
101
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:41:44) [GET]
|
102
|
+
Cached fragment hit: test.host/items (0.2ms)
|
103
|
+
Cached fragment miss: test.host/items (0.3ms)
|
104
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items]
|
105
|
+
Cache read: views/test.host/items
|
106
|
+
Cache read: views/test.host/items/edit/5
|
107
|
+
|
108
|
+
|
109
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 22:41:44) [GET]
|
110
|
+
Parameters: {"id"=>"5"}
|
111
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
112
|
+
Cache read: views/test.host/items/edit/5
|
113
|
+
Cache read: views/test.host/items/destroy/5
|
114
|
+
|
115
|
+
|
116
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 22:41:44) [DELETE]
|
117
|
+
Parameters: {"id"=>"5"}
|
118
|
+
Rendering items/destroy
|
119
|
+
Cache read: views/test.host/items
|
120
|
+
|
121
|
+
|
122
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:42:19) [GET]
|
123
|
+
Cached fragment hit: test.host/items (0.3ms)
|
124
|
+
Cached fragment miss: test.host/items (0.3ms)
|
125
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items]
|
126
|
+
Cache read: views/test.host/items
|
127
|
+
Cache read: views/test.host/items/edit/5
|
128
|
+
|
129
|
+
|
130
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 22:42:19) [GET]
|
131
|
+
Parameters: {"id"=>"5"}
|
132
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
133
|
+
Cache read: views/test.host/items/edit/5
|
134
|
+
Cache read: views/test.host/items/destroy/5
|
135
|
+
|
136
|
+
|
137
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 22:42:19) [DELETE]
|
138
|
+
Parameters: {"id"=>"5"}
|
139
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
140
|
+
Cache read: views/test.host/items/destroy/5
|
141
|
+
Cache read: views/test.host/items
|
142
|
+
|
143
|
+
|
144
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 22:47:24) [GET]
|
145
|
+
Cached fragment hit: test.host/items (0.7ms)
|
146
|
+
Cached fragment miss: test.host/items (0.4ms)
|
147
|
+
Completed in 5ms (View: 1 | 200 OK [http://test.host/items]
|
148
|
+
Cache read: views/test.host/items
|
149
|
+
Cache read: views/test.host/items/edit/5
|
150
|
+
|
151
|
+
|
152
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 22:47:24) [GET]
|
153
|
+
Parameters: {"id"=>"5"}
|
154
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
155
|
+
Cache read: views/test.host/items/edit/5
|
156
|
+
Cache read: views/test.host/items
|
157
|
+
Cache read: views//hello_world
|
158
|
+
Cache read: views/test.host/items
|
159
|
+
|
160
|
+
|
161
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 23:00:34) [GET]
|
162
|
+
Cached fragment hit: test.host/items (0.3ms)
|
163
|
+
Cached fragment miss: test.host/items (0.4ms)
|
164
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items]
|
165
|
+
Cache read: views/test.host/items
|
166
|
+
Cache read: views/test.host/items/edit/5
|
167
|
+
|
168
|
+
|
169
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 23:00:34) [GET]
|
170
|
+
Parameters: {"id"=>"5"}
|
171
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
172
|
+
Cache read: views/test.host/items/edit/5
|
173
|
+
Cache write: views/test.host/items/destroy/5
|
174
|
+
Cache read: views/test.host/items/destroy/5
|
175
|
+
|
176
|
+
|
177
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:00:34) [DELETE]
|
178
|
+
Parameters: {"id"=>"5"}
|
179
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
180
|
+
Cache read: views/test.host/items/destroy/5
|
181
|
+
Cache read: views/test.host/items
|
182
|
+
Cache write: views/test.host/items
|
183
|
+
Cache read: views/test.host/items
|
184
|
+
Cache read: views//hello_world
|
185
|
+
Cache write: views//hello_world
|
186
|
+
Cache read: views//hello_world
|
187
|
+
Cache write: views/test.host/items
|
188
|
+
Cache read: views/test.host/items
|
189
|
+
Cache delete: views/test.host/items
|
190
|
+
Cache read: views/test.host/items
|
191
|
+
Cache write: views//hello_world
|
192
|
+
Cache read: views//hello_world
|
193
|
+
Cache delete: views//hello_world
|
194
|
+
Cache read: views//hello_world
|
195
|
+
Cache read: views/test.host/items
|
196
|
+
Cache write: views/test.host/items
|
197
|
+
Cache read: views/test.host/items
|
198
|
+
Cache read: views//hello_world
|
199
|
+
Cache write: views//hello_world
|
200
|
+
Cache read: views//hello_world
|
201
|
+
Cache write: views/test.host/items
|
202
|
+
Cache read: views/test.host/items
|
203
|
+
Cache delete: views/test.host/items
|
204
|
+
Cache read: views/test.host/items
|
205
|
+
Cache write: views//hello_world
|
206
|
+
Cache read: views//hello_world
|
207
|
+
Cache delete: views//hello_world
|
208
|
+
Cache read: views//hello_world
|
209
|
+
Cache read: views/test.host/items
|
210
|
+
Cache write: views/test.host/items
|
211
|
+
Cache read: views/test.host/items
|
212
|
+
Cache read: views//hello_world
|
213
|
+
Cache write: views//hello_world
|
214
|
+
Cache read: views//hello_world
|
215
|
+
Cache write: views/test.host/items
|
216
|
+
Cache read: views/test.host/items
|
217
|
+
Cache delete: views/test.host/items
|
218
|
+
Cache read: views/test.host/items
|
219
|
+
Cache write: views//hello_world
|
220
|
+
Cache read: views//hello_world
|
221
|
+
Cache delete: views//hello_world
|
222
|
+
Cache read: views//hello_world
|
223
|
+
Cache write: views/test.host/items
|
224
|
+
Cache read: views/test.host/items
|
225
|
+
Cache delete: views/test.host/items
|
226
|
+
Cache read: views/test.host/items
|
227
|
+
Cache write: views//hello_world
|
228
|
+
Cache read: views//hello_world
|
229
|
+
Cache delete: views//hello_world
|
230
|
+
Cache read: views//hello_world
|
231
|
+
Cache write: views/test.host/items
|
232
|
+
Cache read: views/test.host/items
|
233
|
+
Cache delete: views/test.host/items
|
234
|
+
Cache read: views/test.host/items
|
235
|
+
Cache write: views//hello_world
|
236
|
+
Cache read: views//hello_world
|
237
|
+
Cache delete: views//hello_world
|
238
|
+
Cache read: views//hello_world
|
239
|
+
Cache read: views/test.host/items
|
240
|
+
Cache write: views/test.host/items
|
241
|
+
Cache read: views/test.host/items
|
242
|
+
Cache read: views/hello_world
|
243
|
+
Cache write: views/hello_world
|
244
|
+
Cache read: views/hello_world
|
245
|
+
Cache write: views/test.host/items
|
246
|
+
Cache read: views/test.host/items
|
247
|
+
Cache delete: views/test.host/items
|
248
|
+
Cache read: views/test.host/items
|
249
|
+
Cache write: views/hello_world
|
250
|
+
Cache read: views/hello_world
|
251
|
+
Cache delete: views/hello_world
|
252
|
+
Cache read: views/hello_world
|
253
|
+
Cache read: views/test.host/items
|
254
|
+
|
255
|
+
|
256
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 23:03:20) [GET]
|
257
|
+
Cached fragment hit: test.host/items (0.3ms)
|
258
|
+
Cached fragment miss: test.host/items (0.3ms)
|
259
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items]
|
260
|
+
Cache read: views/test.host/items
|
261
|
+
Cache read: views/test.host/items/edit/5
|
262
|
+
|
263
|
+
|
264
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 23:03:20) [GET]
|
265
|
+
Parameters: {"id"=>"5"}
|
266
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
267
|
+
Cache read: views/test.host/items/edit/5
|
268
|
+
Cache write: views/test.host/items/destroy/5
|
269
|
+
Cache read: views/test.host/items/destroy/5
|
270
|
+
|
271
|
+
|
272
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:03:20) [DELETE]
|
273
|
+
Parameters: {"id"=>"5"}
|
274
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
275
|
+
Cache read: views/test.host/items/destroy/5
|
276
|
+
Cache read: views/test.host/items
|
277
|
+
Cache write: views/test.host/items
|
278
|
+
Cache read: views/test.host/items
|
279
|
+
Cache read: views/hello_world
|
280
|
+
Cache write: views/hello_world
|
281
|
+
Cache read: views/hello_world
|
282
|
+
Cache write: views/test.host/items
|
283
|
+
Cache read: views/test.host/items
|
284
|
+
Cache delete: views/test.host/items
|
285
|
+
Cache read: views/test.host/items
|
286
|
+
Cache write: views/hello_world
|
287
|
+
Cache read: views/hello_world
|
288
|
+
Cache delete: views/hello_world
|
289
|
+
Cache read: views/hello_world
|
290
|
+
Cache read: views/test.host/items
|
291
|
+
|
292
|
+
|
293
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 23:04:30) [GET]
|
294
|
+
Cached fragment hit: test.host/items (0.6ms)
|
295
|
+
Cached fragment miss: test.host/items (0.4ms)
|
296
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items]
|
297
|
+
Cache read: views/test.host/items
|
298
|
+
Cache read: views/test.host/items/edit/5
|
299
|
+
|
300
|
+
|
301
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 23:04:30) [GET]
|
302
|
+
Parameters: {"id"=>"5"}
|
303
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
304
|
+
Cache read: views/test.host/items/edit/5
|
305
|
+
Cache write: views/test.host/items/destroy/5
|
306
|
+
Cache read: views/test.host/items/destroy/5
|
307
|
+
|
308
|
+
|
309
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:04:30) [DELETE]
|
310
|
+
Parameters: {"id"=>"5"}
|
311
|
+
Cache read: views/test.host/items
|
312
|
+
Cache write: views/test.host/items
|
313
|
+
Cache read: views/test.host/items
|
314
|
+
Cache read: views/hello_world
|
315
|
+
Cache write: views/hello_world
|
316
|
+
Cache read: views/hello_world
|
317
|
+
Cache write: views/test.host/items
|
318
|
+
Cache read: views/test.host/items
|
319
|
+
Cache delete: views/test.host/items
|
320
|
+
Cache read: views/test.host/items
|
321
|
+
Cache write: views/hello_world
|
322
|
+
Cache read: views/hello_world
|
323
|
+
Cache delete: views/hello_world
|
324
|
+
Cache read: views/hello_world
|
325
|
+
Cache read: views/test.host/items
|
326
|
+
|
327
|
+
|
328
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 23:05:00) [GET]
|
329
|
+
Cached fragment hit: test.host/items (0.4ms)
|
330
|
+
Cached fragment miss: test.host/items (0.6ms)
|
331
|
+
Completed in 8ms (View: 3 | 200 OK [http://test.host/items]
|
332
|
+
Cache read: views/test.host/items
|
333
|
+
Cache read: views/test.host/items/edit/5
|
334
|
+
|
335
|
+
|
336
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 23:05:00) [GET]
|
337
|
+
Parameters: {"id"=>"5"}
|
338
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
339
|
+
Cache read: views/test.host/items/edit/5
|
340
|
+
Cache write: views/test.host/items/destroy/5
|
341
|
+
Cache read: views/test.host/items/destroy/5
|
342
|
+
|
343
|
+
|
344
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:05:00) [DELETE]
|
345
|
+
Parameters: {"id"=>"5"}
|
346
|
+
Cache read: views/test.host/items
|
347
|
+
Cache write: views/test.host/items
|
348
|
+
Cache read: views/test.host/items
|
349
|
+
Cache read: views/hello_world
|
350
|
+
Cache write: views/hello_world
|
351
|
+
Cache read: views/hello_world
|
352
|
+
Cache write: views/test.host/items
|
353
|
+
Cache read: views/test.host/items
|
354
|
+
Cache delete: views/test.host/items
|
355
|
+
Cache read: views/test.host/items
|
356
|
+
Cache write: views/hello_world
|
357
|
+
Cache read: views/hello_world
|
358
|
+
Cache delete: views/hello_world
|
359
|
+
Cache read: views/hello_world
|
360
|
+
Cache read: views/test.host/items
|
361
|
+
|
362
|
+
|
363
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 23:05:09) [GET]
|
364
|
+
Cached fragment hit: test.host/items (0.3ms)
|
365
|
+
Cached fragment miss: test.host/items (0.3ms)
|
366
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items]
|
367
|
+
Cache read: views/test.host/items
|
368
|
+
Cache read: views/test.host/items/edit/5
|
369
|
+
|
370
|
+
|
371
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 23:05:09) [GET]
|
372
|
+
Parameters: {"id"=>"5"}
|
373
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
374
|
+
Cache read: views/test.host/items/edit/5
|
375
|
+
Cache write: views/test.host/items/destroy/5
|
376
|
+
Cache read: views/test.host/items/destroy/5
|
377
|
+
|
378
|
+
|
379
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:05:09) [DELETE]
|
380
|
+
Parameters: {"id"=>"5"}
|
381
|
+
Expired fragment: views/index (0.2ms)
|
382
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
383
|
+
Cache read: views/test.host/items/destroy/5
|
384
|
+
Cache read: views/test.host/items
|
385
|
+
Cache write: views/test.host/items
|
386
|
+
Cache read: views/test.host/items
|
387
|
+
Cache read: views/hello_world
|
388
|
+
Cache write: views/hello_world
|
389
|
+
Cache read: views/hello_world
|
390
|
+
Cache write: views/test.host/items
|
391
|
+
Cache read: views/test.host/items
|
392
|
+
Cache delete: views/test.host/items
|
393
|
+
Cache read: views/test.host/items
|
394
|
+
Cache write: views/hello_world
|
395
|
+
Cache read: views/hello_world
|
396
|
+
Cache delete: views/hello_world
|
397
|
+
Cache read: views/hello_world
|
398
|
+
Cache write: views/test.host/items/destroy/5
|
399
|
+
Cache read: views/test.host/items/destroy/5
|
400
|
+
|
401
|
+
|
402
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:05:34) [DELETE]
|
403
|
+
Parameters: {"id"=>"5"}
|
404
|
+
Expired fragment: views/index (0.3ms)
|
405
|
+
Completed in 3ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
406
|
+
Cache read: views/test.host/items/destroy/5
|
407
|
+
Cache write: views/test.host/items/destroy/5
|
408
|
+
Cache read: views/test.host/items/destroy/5
|
409
|
+
|
410
|
+
|
411
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:05:42) [DELETE]
|
412
|
+
Parameters: {"id"=>"5"}
|
413
|
+
Expired fragment: views/index (2.2ms)
|
414
|
+
Completed in 6ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
415
|
+
Cache read: views/test.host/items/destroy/5
|
416
|
+
Cache write: views/test.host/items/destroy/5
|
417
|
+
Cache read: views/test.host/items
|
418
|
+
|
419
|
+
|
420
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:06:49) [DELETE]
|
421
|
+
Parameters: {"id"=>"5"}
|
422
|
+
Expired fragment: views/index (0.2ms)
|
423
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
424
|
+
Cache read: views/test.host/items
|
425
|
+
Cache write: views/test.host/items/destroy/5
|
426
|
+
Cache read: views/test.host/items
|
427
|
+
|
428
|
+
|
429
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:07:48) [DELETE]
|
430
|
+
Parameters: {"id"=>"5"}
|
431
|
+
Expired fragment: views/test.host/index (0.3ms)
|
432
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
433
|
+
Cache read: views/test.host/items
|
434
|
+
Cache write: views/test.host/items
|
435
|
+
Cache read: views/test.host/items
|
436
|
+
|
437
|
+
|
438
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:08:20) [DELETE]
|
439
|
+
Parameters: {"id"=>"5"}
|
440
|
+
Expired fragment: views/test.host/index (0.7ms)
|
441
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
442
|
+
Cache read: views/test.host/items
|
443
|
+
Cache write: views/test.host/items
|
444
|
+
Cache read: views/test.host/items
|
445
|
+
|
446
|
+
|
447
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:09:40) [DELETE]
|
448
|
+
Parameters: {"id"=>"5"}
|
449
|
+
Expired fragment: views/test.host/items (0.3ms)
|
450
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
451
|
+
Cache read: views/test.host/items
|
452
|
+
Cache write: views/test.host/items
|
453
|
+
Cache read: views/test.host/items
|
454
|
+
|
455
|
+
|
456
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:10:20) [DELETE]
|
457
|
+
Parameters: {"id"=>"5"}
|
458
|
+
Expired fragment: views/test.host/items (0.3ms)
|
459
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
460
|
+
Cache read: views/test.host/items
|
461
|
+
Cache write: views/test.host/items
|
462
|
+
Cache read: views/test.host/items
|
463
|
+
|
464
|
+
|
465
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 23:10:20) [DELETE]
|
466
|
+
Parameters: {"id"=>"5"}
|
467
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
468
|
+
Cache read: views/test.host/items
|
469
|
+
Cache read: views/test.host/items
|
470
|
+
|
471
|
+
|
472
|
+
Processing ItemsController#index (for 0.0.0.0 at 2010-09-07 23:10:35) [GET]
|
473
|
+
Cached fragment hit: test.host/items (0.2ms)
|
474
|
+
Cached fragment miss: test.host/items (0.3ms)
|
475
|
+
Completed in 4ms (View: 0 | 200 OK [http://test.host/items]
|
476
|
+
Cache read: views/test.host/items
|
477
|
+
Cache read: views/test.host/items/edit/5
|
478
|
+
|
479
|
+
|
480
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 23:10:35) [GET]
|
481
|
+
Parameters: {"id"=>"5"}
|
482
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
483
|
+
Cache read: views/test.host/items/edit/5
|
484
|
+
Cache write: views/test.host/items
|
485
|
+
Cache read: views/test.host/items
|
486
|
+
|
487
|
+
|
488
|
+
Processing ItemsController#destroy (for 0.0.0.0 at 2010-09-07 23:10:35) [DELETE]
|
489
|
+
Parameters: {"id"=>"5"}
|
490
|
+
Expired fragment: views/test.host/items (0.2ms)
|
491
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/destroy/5]
|
492
|
+
Cache read: views/test.host/items
|
493
|
+
Cache write: views/test.host/items
|
494
|
+
Cache read: views/test.host/items
|
495
|
+
|
496
|
+
|
497
|
+
Processing ItemsController#edit (for 0.0.0.0 at 2010-09-07 23:10:35) [DELETE]
|
498
|
+
Parameters: {"id"=>"5"}
|
499
|
+
Completed in 1ms (View: 0 | 200 OK [http://test.host/items/edit/5]
|
500
|
+
Cache read: views/test.host/items
|
501
|
+
Cache read: views/test.host/items
|
502
|
+
Cache write: views/test.host/items
|
503
|
+
Cache read: views/test.host/items
|
504
|
+
Cache read: views/hello_world
|
505
|
+
Cache write: views/hello_world
|
506
|
+
Cache read: views/hello_world
|
507
|
+
Cache write: views/test.host/items
|
508
|
+
Cache read: views/test.host/items
|
509
|
+
Cache delete: views/test.host/items
|
510
|
+
Cache read: views/test.host/items
|
511
|
+
Cache write: views/hello_world
|
512
|
+
Cache read: views/hello_world
|
513
|
+
Cache delete: views/hello_world
|
514
|
+
Cache read: views/hello_world
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require File.expand_path(
|
2
|
+
File.join(File.dirname(__FILE__), %w[.. lib caching_matcher]))
|
3
|
+
|
4
|
+
ENV["RAILS_ENV"] ||= 'test'
|
5
|
+
require File.expand_path(File.join(File.dirname(__FILE__),'mock_app','config','environment'))
|
6
|
+
|
7
|
+
require 'spec/rails'
|
8
|
+
|
9
|
+
Spec::Runner.configure do |config|
|
10
|
+
# == Mock Framework
|
11
|
+
#
|
12
|
+
# RSpec uses it's own mocking framework by default. If you prefer to
|
13
|
+
# use mocha, flexmock or RR, uncomment the appropriate line:
|
14
|
+
#
|
15
|
+
# config.mock_with :mocha
|
16
|
+
# config.mock_with :flexmock
|
17
|
+
# config.mock_with :rr
|
18
|
+
config.include(CachingMatcher)
|
19
|
+
config.before(:each) { ActionController::Base.cache_store.clear }
|
20
|
+
|
21
|
+
end
|
22
|
+
|
File without changes
|
data/version.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|