mofo 0.2.2 → 0.2.3

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.
Files changed (64) hide show
  1. data/CHANGELOG +6 -0
  2. data/Manifest.txt +55 -0
  3. data/Rakefile +32 -0
  4. data/init.rb +2 -0
  5. data/lib/microformat.rb +39 -6
  6. data/lib/mofo/hentry.rb +4 -0
  7. data/site/index.html +382 -0
  8. data/site/mofo-logo.png +0 -0
  9. data/site/mootools.v1.00.js +2 -0
  10. data/site/style.css +159 -0
  11. data/test/base_url_test.rb +22 -0
  12. data/test/fixtures/corkd.html +1 -1
  13. data/test/hatom_test.rb +1 -1
  14. data/test/hreview_test.rb +4 -3
  15. data/test/include_pattern_test.rb +1 -1
  16. data/test/test_helper.rb +17 -6
  17. metadata +63 -115
  18. data/test/format_test.rb +0 -230
  19. data/vendor/testspec-0.3.0/ChangeLog +0 -177
  20. data/vendor/testspec-0.3.0/README +0 -289
  21. data/vendor/testspec-0.3.0/ROADMAP +0 -1
  22. data/vendor/testspec-0.3.0/Rakefile +0 -151
  23. data/vendor/testspec-0.3.0/SPECS +0 -108
  24. data/vendor/testspec-0.3.0/TODO +0 -2
  25. data/vendor/testspec-0.3.0/bin/specrb +0 -104
  26. data/vendor/testspec-0.3.0/doc/classes/Kernel.html +0 -140
  27. data/vendor/testspec-0.3.0/doc/classes/Object.html +0 -155
  28. data/vendor/testspec-0.3.0/doc/classes/Test/Spec.html +0 -128
  29. data/vendor/testspec-0.3.0/doc/classes/Test/Spec/CustomShould.html +0 -236
  30. data/vendor/testspec-0.3.0/doc/classes/Test/Spec/DefinitionError.html +0 -111
  31. data/vendor/testspec-0.3.0/doc/classes/Test/Spec/Should.html +0 -884
  32. data/vendor/testspec-0.3.0/doc/classes/Test/Spec/ShouldNot.html +0 -487
  33. data/vendor/testspec-0.3.0/doc/classes/Test/Spec/TestCase.html +0 -220
  34. data/vendor/testspec-0.3.0/doc/classes/Test/Spec/TestCase/ClassMethods.html +0 -318
  35. data/vendor/testspec-0.3.0/doc/classes/Test/Spec/TestCase/InstanceMethods.html +0 -195
  36. data/vendor/testspec-0.3.0/doc/classes/Test/Unit/UI/RDox/TestRunner.html +0 -222
  37. data/vendor/testspec-0.3.0/doc/classes/Test/Unit/UI/SpecDox/TestRunner.html +0 -476
  38. data/vendor/testspec-0.3.0/doc/created.rid +0 -1
  39. data/vendor/testspec-0.3.0/doc/files/README.html +0 -516
  40. data/vendor/testspec-0.3.0/doc/files/ROADMAP.html +0 -109
  41. data/vendor/testspec-0.3.0/doc/files/SPECS.html +0 -386
  42. data/vendor/testspec-0.3.0/doc/files/lib/test/spec/dox_rb.html +0 -108
  43. data/vendor/testspec-0.3.0/doc/files/lib/test/spec/rdox_rb.html +0 -108
  44. data/vendor/testspec-0.3.0/doc/files/lib/test/spec/should-output_rb.html +0 -115
  45. data/vendor/testspec-0.3.0/doc/files/lib/test/spec_rb.html +0 -123
  46. data/vendor/testspec-0.3.0/doc/fr_class_index.html +0 -38
  47. data/vendor/testspec-0.3.0/doc/fr_file_index.html +0 -33
  48. data/vendor/testspec-0.3.0/doc/fr_method_index.html +0 -102
  49. data/vendor/testspec-0.3.0/doc/index.html +0 -24
  50. data/vendor/testspec-0.3.0/doc/rdoc-style.css +0 -208
  51. data/vendor/testspec-0.3.0/examples/stack.rb +0 -38
  52. data/vendor/testspec-0.3.0/examples/stack_spec.rb +0 -119
  53. data/vendor/testspec-0.3.0/lib/test/spec.rb +0 -490
  54. data/vendor/testspec-0.3.0/lib/test/spec/dox.rb +0 -122
  55. data/vendor/testspec-0.3.0/lib/test/spec/rdox.rb +0 -25
  56. data/vendor/testspec-0.3.0/lib/test/spec/should-output.rb +0 -49
  57. data/vendor/testspec-0.3.0/test/spec_dox.rb +0 -39
  58. data/vendor/testspec-0.3.0/test/spec_flexmock.rb +0 -210
  59. data/vendor/testspec-0.3.0/test/spec_mocha.rb +0 -118
  60. data/vendor/testspec-0.3.0/test/spec_nestedcontexts.rb +0 -26
  61. data/vendor/testspec-0.3.0/test/spec_should-output.rb +0 -26
  62. data/vendor/testspec-0.3.0/test/spec_testspec.rb +0 -522
  63. data/vendor/testspec-0.3.0/test/spec_testspec_order.rb +0 -26
  64. data/vendor/testspec-0.3.0/test/test_testunit.rb +0 -21
@@ -1,109 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: ROADMAP</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>ROADMAP</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>ROADMAP
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Wed Jan 24 12:13:27 CET 2007</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <table>
73
- <tr><td valign="top">Version 1.0 (February 2006):</td><td>first stable release.
74
-
75
- </td></tr>
76
- </table>
77
-
78
- </div>
79
-
80
-
81
- </div>
82
-
83
-
84
- </div>
85
-
86
-
87
- <!-- if includes -->
88
-
89
- <div id="section">
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
- <!-- if method_list -->
99
-
100
-
101
- </div>
102
-
103
-
104
- <div id="validator-badges">
105
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
106
- </div>
107
-
108
- </body>
109
- </html>
@@ -1,386 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: SPECS</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>SPECS</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>SPECS
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Wed Jan 24 12:13:33 CET 2007</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <h2>TestUnit</h2>
73
- <ul>
74
- <li>still works on its own
75
-
76
- </li>
77
- <li>supports should good enough
78
-
79
- </li>
80
- <li>works inside test/spec
81
-
82
- </li>
83
- </ul>
84
- <h2>SpecDox</h2>
85
- <ul>
86
- <li>can unmangle Test::Unit names correctly
87
-
88
- </li>
89
- <li>can unmangle <a href="../classes/Test/Spec.html">Test::Spec</a> names
90
- correctly
91
-
92
- </li>
93
- <li>has sensible fallbacks
94
-
95
- </li>
96
- </ul>
97
- <h2>flexmock</h2>
98
- <ul>
99
- <li>should handle
100
-
101
- </li>
102
- <li>should handle without a block
103
-
104
- </li>
105
- <li>should handle with a block
106
-
107
- </li>
108
- <li>should have a return value
109
-
110
- </li>
111
- <li>should handle missing methods
112
-
113
- </li>
114
- <li>should ignore missing methods
115
-
116
- </li>
117
- <li>should count correctly
118
-
119
- </li>
120
- <li>should raise on bad counts
121
-
122
- </li>
123
- <li>should handle undetermined counts
124
-
125
- </li>
126
- <li>should handle zero counts
127
-
128
- </li>
129
- <li>should have file IO with use
130
-
131
- </li>
132
- <li>should have use
133
-
134
- </li>
135
- <li>should handle failures during use
136
-
137
- </li>
138
- <li>should deal with sequential values
139
-
140
- </li>
141
- <li>respond_to? should return false for non handled methods
142
-
143
- </li>
144
- <li>respond_to? should return true for explicit methods
145
-
146
- </li>
147
- <li>respond_to? should return true when ignoring_missing
148
-
149
- </li>
150
- <li>respond_to? should return true for missing_methods when
151
- should_ignore_missing
152
-
153
- </li>
154
- <li>should raise error on unknown method proc
155
-
156
- </li>
157
- <li>should return callable proc on method
158
-
159
- </li>
160
- <li>should return do nothing proc for missing methods
161
-
162
- </li>
163
- <li>works with test/spec
164
-
165
- </li>
166
- </ul>
167
- <h2>mocha</h2>
168
- <ul>
169
- <li>works with test/spec
170
-
171
- </li>
172
- <li>works with test/spec and Enterprise example
173
-
174
- </li>
175
- </ul>
176
- <h2>stubba</h2>
177
- <ul>
178
- <li>works with test/spec and instance method stubbing
179
-
180
- </li>
181
- <li>works with test/spec and class method stubbing
182
-
183
- </li>
184
- <li>works with test/spec and global instance method stubbing
185
-
186
- </li>
187
- </ul>
188
- <h2>Outer context</h2>
189
- <h3>Inner context</h3>
190
- <ul>
191
- <li>is nested
192
-
193
- </li>
194
- <li>has multiple empty specifications
195
-
196
- </li>
197
- </ul>
198
- <h3>Second Inner context</h3>
199
- <ul>
200
- <li>is indented properly
201
-
202
- </li>
203
- <li>still runs in order of definition
204
-
205
- </li>
206
- </ul>
207
- <h4>Inmost context</h4>
208
- <ul>
209
- <li>works too!
210
-
211
- </li>
212
- <li>whoo!
213
-
214
- </li>
215
- </ul>
216
- <h2>should.output</h2>
217
- <ul>
218
- <li>works for print
219
-
220
- </li>
221
- <li>works for puts
222
-
223
- </li>
224
- <li>works with readline
225
-
226
- </li>
227
- </ul>
228
- <h2>test/spec</h2>
229
- <ul>
230
- <li>has should.satisfy
231
-
232
- </li>
233
- <li>has should.equal
234
-
235
- </li>
236
- <li>has should.raise
237
-
238
- </li>
239
- <li>should.raise should return the exception
240
-
241
- </li>
242
- <li>has should.be.an.instance_of
243
-
244
- </li>
245
- <li>has should.be.nil
246
-
247
- </li>
248
- <li>has should.include
249
-
250
- </li>
251
- <li>has should.be.a.kind_of
252
-
253
- </li>
254
- <li>has should.match
255
-
256
- </li>
257
- <li>has should.be
258
-
259
- </li>
260
- <li>has should.not.raise
261
-
262
- </li>
263
- <li>has should.not.satisfy
264
-
265
- </li>
266
- <li>has should.not.be
267
-
268
- </li>
269
- <li>has should.not.equal
270
-
271
- </li>
272
- <li>has should.not.match
273
-
274
- </li>
275
- <li>has should.throw
276
-
277
- </li>
278
- <li>has should.not.throw
279
-
280
- </li>
281
- <li>has should.respond_to
282
-
283
- </li>
284
- <li>has should.be_close
285
-
286
- </li>
287
- <li>multiple negation works
288
-
289
- </li>
290
- <li>has should.&lt;predicate&gt;
291
-
292
- </li>
293
- <li>has should &lt;operator&gt; (&gt;, &gt;=, &lt;, &lt;=, ===)
294
-
295
- </li>
296
- <li>is robust against careless users
297
-
298
- </li>
299
- <li>should detect warnings
300
-
301
- </li>
302
- <li>should message/blame faults
303
-
304
- </li>
305
- <li>should allow for custom shoulds
306
-
307
- </li>
308
- <li>disabled specification (disabled)
309
-
310
- </li>
311
- </ul>
312
- <h3>more disabled</h3>
313
- <ul>
314
- <li>this is intentional (disabled)
315
-
316
- </li>
317
- </ul>
318
- <h2>setup/teardown</h2>
319
- <ul>
320
- <li>run in the right order
321
-
322
- </li>
323
- </ul>
324
- <h2>contexts</h2>
325
- <ul>
326
- <li>are defined in class scope
327
-
328
- </li>
329
- <li>can include modules
330
-
331
- </li>
332
- </ul>
333
- <h2>Context First</h2>
334
- <ul>
335
- <li>runs before Second
336
-
337
- </li>
338
- </ul>
339
- <h2>Context Second</h2>
340
- <ul>
341
- <li>runs before Last
342
-
343
- </li>
344
- </ul>
345
- <h2>Context Last</h2>
346
- <ul>
347
- <li>runs last
348
-
349
- </li>
350
- </ul>
351
- <p>
352
- 76 specifications, 2 disabled (414 requirements), 0 failures
353
- </p>
354
-
355
- </div>
356
-
357
-
358
- </div>
359
-
360
-
361
- </div>
362
-
363
-
364
- <!-- if includes -->
365
-
366
- <div id="section">
367
-
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
- <!-- if method_list -->
376
-
377
-
378
- </div>
379
-
380
-
381
- <div id="validator-badges">
382
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
383
- </div>
384
-
385
- </body>
386
- </html>