inversion 0.12.3 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +2 -1
  3. data.tar.gz.sig +0 -0
  4. data/ChangeLog +305 -9
  5. data/Examples.rdoc +134 -0
  6. data/GettingStarted.rdoc +44 -0
  7. data/Guide.rdoc +47 -0
  8. data/History.rdoc +15 -0
  9. data/Manifest.txt +7 -2
  10. data/README.rdoc +9 -10
  11. data/Rakefile +23 -10
  12. data/Tags.rdoc +561 -0
  13. data/lib/inversion.rb +2 -2
  14. data/lib/inversion/renderstate.rb +46 -11
  15. data/lib/inversion/template.rb +85 -7
  16. data/lib/inversion/template/attrtag.rb +1 -1
  17. data/lib/inversion/template/begintag.rb +8 -8
  18. data/lib/inversion/template/fragmenttag.rb +60 -0
  19. data/lib/inversion/template/rescuetag.rb +1 -1
  20. data/spec/{lib/helpers.rb → helpers.rb} +7 -30
  21. data/spec/inversion/mixins_spec.rb +55 -65
  22. data/spec/inversion/monkeypatches_spec.rb +2 -12
  23. data/spec/inversion/parser_spec.rb +34 -44
  24. data/spec/inversion/renderstate_spec.rb +123 -69
  25. data/spec/inversion/sinatra_spec.rb +6 -19
  26. data/spec/inversion/template/attrtag_spec.rb +56 -76
  27. data/spec/inversion/template/begintag_spec.rb +24 -41
  28. data/spec/inversion/template/calltag_spec.rb +1 -18
  29. data/spec/inversion/template/codetag_spec.rb +6 -24
  30. data/spec/inversion/template/commenttag_spec.rb +9 -27
  31. data/spec/inversion/template/configtag_spec.rb +5 -16
  32. data/spec/inversion/template/containertag_spec.rb +4 -21
  33. data/spec/inversion/template/defaulttag_spec.rb +6 -23
  34. data/spec/inversion/template/elsetag_spec.rb +9 -26
  35. data/spec/inversion/template/elsiftag_spec.rb +7 -24
  36. data/spec/inversion/template/endtag_spec.rb +6 -23
  37. data/spec/inversion/template/escapetag_spec.rb +10 -25
  38. data/spec/inversion/template/fortag_spec.rb +20 -37
  39. data/spec/inversion/template/fragmenttag_spec.rb +40 -0
  40. data/spec/inversion/template/iftag_spec.rb +23 -40
  41. data/spec/inversion/template/importtag_spec.rb +8 -25
  42. data/spec/inversion/template/includetag_spec.rb +27 -42
  43. data/spec/inversion/template/node_spec.rb +6 -15
  44. data/spec/inversion/template/pptag_spec.rb +10 -23
  45. data/spec/inversion/template/publishtag_spec.rb +4 -21
  46. data/spec/inversion/template/rescuetag_spec.rb +12 -29
  47. data/spec/inversion/template/subscribetag_spec.rb +8 -25
  48. data/spec/inversion/template/tag_spec.rb +24 -37
  49. data/spec/inversion/template/textnode_spec.rb +8 -24
  50. data/spec/inversion/template/timedeltatag_spec.rb +31 -43
  51. data/spec/inversion/template/unlesstag_spec.rb +7 -24
  52. data/spec/inversion/template/uriencodetag_spec.rb +6 -23
  53. data/spec/inversion/template/yieldtag_spec.rb +3 -20
  54. data/spec/inversion/template_spec.rb +155 -108
  55. data/spec/inversion/tilt_spec.rb +7 -16
  56. data/spec/inversion_spec.rb +7 -22
  57. metadata +63 -40
  58. metadata.gz.sig +0 -0
  59. data/spec/lib/constants.rb +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6df7097471cc6b39d2572018ecc6542c315079f7
4
- data.tar.gz: ada69b1cd77734b7ea82f040f8faa55eb651ea33
3
+ metadata.gz: ddedafd07e49192ced4ff5ad6cde6e4652665133
4
+ data.tar.gz: 1e3f6a0aaec50744c52103d3f4fccdbd2d6ca0f0
5
5
  SHA512:
6
- metadata.gz: 94459789bb8f6adca343a4342f90550959a4d602dd6998d33d2840393c801a49a7fe8255cc70e91a013c54f045356e3e7262e7d06510cdd792d73643fb26a777
7
- data.tar.gz: b82df02a196398221521fb489b34168d37f4e3223e3b39ff20825fd89a84e15b89da6a8a0732655c601d0ed3126441e24709a9a666e1ea8224476bfe2ab16470
6
+ metadata.gz: 38b0a7a2abcffe7c3efdd9cd69d3c5e06f86fc58d26ecc4361fcea753881d392bf661bbc04d7d37d591e7cf0b970a8756892d59cad15a1f2b80a3ba73fc01474
7
+ data.tar.gz: 9ba61dbd363fab4f4339378f1062d7341c39ce39f2ab7609c08ee4bb2399fc34008e1750b20ea4ca0f7b8754031d475e0d201518acb7b5c0f8e1d8385196a1ec
checksums.yaml.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ,�Pn���@�~�|������<x <^,��{8�L�����'͵�d�N����I�j�wSh�����⑬Ɖ~X�P����l�ҹ��rj�x/�( 0�x�7��HY�`�_����(n >E�7]�3%�����<��d�7�hH�\ n4�/ل���5W��?V���x[�{i���[����t���Ƭ~*U�<��6#�D������Fٸ��7СGy�8*��<��e����!p#Ψ���)N+\�6���z
1
+ 788���.n�UF
2
+ RS��������2��I��!5)� NJBYU����xA���Uv_F����r�C��4���_PK�o^�/�Ga��w��14F'�S�Dfjg�kA���^(H6g���bXY�^�E���0��T.(��L����M�� ���}��ti�,���b�4�h��x�O5a��QU��x4�;�{nP�8Q�L�pk�/�~�g����v/�����.��b������:�z�U�v d�z6>.7�G
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,15 +1,311 @@
1
- 2012-09-12 Michael Granger <ged@FaerieMUD.org>
1
+ 2014-11-05 Michael Granger <ged@FaerieMUD.org>
2
2
 
3
- * README.rdoc, Rakefile, Tags.rdoc, lib/inversion/template.rb,
4
- lib/inversion/template/tag.rb, lib/inversion/tilt.rb:
5
- Integrated the manual with regular API docs
6
- [4c3cde09af11] [apidocs.patch, qbase, qtip, tip]
3
+ * .hgtags:
4
+ Added tag v0.13.0 for changeset 7488d214dc2c
5
+ [3d71dc3094c3] [tip]
6
+
7
+ * Tags.rdoc, lib/inversion/renderstate.rb, lib/inversion/template.rb,
8
+ lib/inversion/template/fragmenttag.rb,
9
+ spec/inversion/renderstate_spec.rb,
10
+ spec/inversion/template/fragmenttag_spec.rb,
11
+ spec/inversion/template_spec.rb:
12
+ Add the fragment tag
13
+ [064577093464]
14
+
15
+ 2014-11-05 Mahlon E. Smith <mahlon@martini.nu>
16
+
17
+ * Tags.rdoc:
18
+ Add docs for the 'fragment' tag. Coming soon.
19
+ [fbfb2e0eaa4e]
20
+
21
+ 2014-11-03 Mahlon E. Smith <mahlon@martini.nu>
22
+
23
+ * .pryrc, Tags.rdoc, lib/inversion/template/rescuetag.rb,
24
+ manual/layouts/default.erb, manual/lib/api-filter.rb, manual/lib
25
+ /editorial-filter.rb, manual/lib/examples-filter.rb, manual/lib
26
+ /links-filter.rb, manual/resources/css/manual.css,
27
+ manual/resources/css/reset.css,
28
+ manual/resources/fonts/Inconsolata.otf, manual/resources/fonts/Muli-
29
+ Light.ttf, manual/resources/fonts/Muli-Regular.ttf,
30
+ manual/resources/images/arrow_225_small.png,
31
+ manual/resources/images/arrow_315_small.png,
32
+ manual/resources/images/arrow_skip.png, manual/resources/images/cc-
33
+ by.png, manual/resources/images/dialog-error.png,
34
+ manual/resources/images/dialog-information.png,
35
+ manual/resources/images/dialog-warning.png, manual/resources/images
36
+ /emblem-important.png, manual/resources/images/help.png,
37
+ manual/resources/images/information.png,
38
+ manual/resources/images/magnifier.png,
39
+ manual/resources/images/magnifier_left.png,
40
+ manual/resources/images/page_white_code.png,
41
+ manual/resources/images/page_white_copy.png,
42
+ manual/resources/images/printer.png,
43
+ manual/resources/images/question.png,
44
+ manual/resources/images/scripts_code.png,
45
+ manual/resources/images/wrap.png,
46
+ manual/resources/images/wrapping.png,
47
+ manual/resources/js/jquery-1.4.4.min.js,
48
+ manual/resources/js/manual.js, manual/resources/js/sh.js,
49
+ manual/resources/swf/clipboard.swf:
50
+ Remove old manual doc artifacts. Add documentation for the
51
+ 'begin/rescue' and 'default' tags.
52
+ [35971a883112]
53
+
54
+ 2014-04-23 Michael Granger <ged@FaerieMUD.org>
55
+
56
+ * History.rdoc, lib/inversion.rb, lib/inversion/template/attrtag.rb:
57
+ Bump the minor version, update history.
58
+ [7488d214dc2c] [v0.13.0]
59
+
60
+ * .rvm.gems, Gemfile, Rakefile, spec/helpers.rb,
61
+ spec/inversion/mixins_spec.rb, spec/inversion/monkeypatches_spec.rb,
62
+ spec/inversion/parser_spec.rb, spec/inversion/renderstate_spec.rb,
63
+ spec/inversion/sinatra_spec.rb,
64
+ spec/inversion/template/attrtag_spec.rb,
65
+ spec/inversion/template/begintag_spec.rb,
66
+ spec/inversion/template/calltag_spec.rb,
67
+ spec/inversion/template/codetag_spec.rb,
68
+ spec/inversion/template/commenttag_spec.rb,
69
+ spec/inversion/template/configtag_spec.rb,
70
+ spec/inversion/template/containertag_spec.rb,
71
+ spec/inversion/template/defaulttag_spec.rb,
72
+ spec/inversion/template/elsetag_spec.rb,
73
+ spec/inversion/template/elsiftag_spec.rb,
74
+ spec/inversion/template/endtag_spec.rb,
75
+ spec/inversion/template/escapetag_spec.rb,
76
+ spec/inversion/template/fortag_spec.rb,
77
+ spec/inversion/template/iftag_spec.rb,
78
+ spec/inversion/template/importtag_spec.rb,
79
+ spec/inversion/template/includetag_spec.rb,
80
+ spec/inversion/template/node_spec.rb,
81
+ spec/inversion/template/pptag_spec.rb,
82
+ spec/inversion/template/publishtag_spec.rb,
83
+ spec/inversion/template/rescuetag_spec.rb,
84
+ spec/inversion/template/subscribetag_spec.rb,
85
+ spec/inversion/template/tag_spec.rb,
86
+ spec/inversion/template/textnode_spec.rb,
87
+ spec/inversion/template/timedeltatag_spec.rb,
88
+ spec/inversion/template/unlesstag_spec.rb,
89
+ spec/inversion/template/uriencodetag_spec.rb,
90
+ spec/inversion/template/yieldtag_spec.rb,
91
+ spec/inversion/template_spec.rb, spec/inversion/tilt_spec.rb,
92
+ spec/inversion_spec.rb, spec/lib/constants.rb, spec/lib/helpers.rb:
93
+ Update specs for RSpec 3
94
+ [1b7cfd831cf3]
95
+
96
+ 2013-10-10 Mahlon E. Smith <mahlon@martini.nu>
97
+
98
+ * lib/inversion/template.rb, spec/inversion/parser_spec.rb,
99
+ spec/inversion/template/attrtag_spec.rb,
100
+ spec/inversion/template/endtag_spec.rb,
101
+ spec/inversion/template/escapetag_spec.rb,
102
+ spec/inversion/template/pptag_spec.rb,
103
+ spec/inversion/template/uriencodetag_spec.rb,
104
+ spec/inversion/template_spec.rb:
105
+ Carry global configuration into instantiated template options. Minor
106
+ rspec update/cleanup.
107
+ [52c37c725e5e]
108
+
109
+ 2013-10-06 Michael Granger <ged@FaerieMUD.org>
110
+
111
+ * Examples.rdoc, Gemfile, GettingStarted.rdoc, Guide.rdoc,
112
+ Manifest.txt, README.rdoc, Rakefile, Tags.rdoc,
113
+ lib/inversion/template.rb, lib/inversion/template/begintag.rb,
114
+ manual/src/examples.page, manual/src/gettingstarted.page,
115
+ manual/src/index.page, manual/src/tags.page,
116
+ manual/src/templates.page:
117
+ Update documentation.
118
+ [646ed1f389fb] [github/master]
119
+
120
+ 2013-09-20 Michael Granger <ged@FaerieMUD.org>
121
+
122
+ * .hgtags:
123
+ Added tag v0.12.3 for changeset e9f7dfbae060
124
+ [604c1a0022e7]
125
+
126
+ * .hgsigs:
127
+ Added signature for changeset 100ed23eb2ba
128
+ [e9f7dfbae060] [v0.12.3]
129
+
130
+ * History.rdoc, lib/inversion.rb:
131
+ Bump patch version, update history.
132
+ [100ed23eb2ba]
133
+
134
+ * .tm_properties, Gemfile, lib/inversion/mixins.rb,
135
+ spec/inversion/mixins_spec.rb:
136
+ Don't deep_copy IOs or Tempfiles (bugfix).
137
+ [70c1f8274d3d]
138
+
139
+ 2013-08-15 Michael Granger <ged@FaerieMUD.org>
140
+
141
+ * .hgignore, .rvm.gems, Gemfile, Rakefile:
142
+ Update dependencies, remove 'fivefish' formatter from the spec.
143
+ [60d2a8f8203d]
144
+
145
+ * Rakefile, spec/inversion/tilt_spec.rb:
146
+ Fix specs for Tilt 1.4.
147
+ [a2a37501012e]
148
+
149
+ * Gemfile:
150
+ Update Gemfile
151
+ [50bd4a8bb8a0]
152
+
153
+ * Rakefile:
154
+ Update to hoe-deveiate 0.2
155
+ [67fe0be277b2]
156
+
157
+ * .rvm.gems, Gemfile, Rakefile:
158
+ Add hoe-bundler, Gemfile for tool compatibility
159
+ [1f9944f95ca2]
160
+
161
+ * experiments/erb_scope_bleed.rb:
162
+ Add example output to erb scope bleed example
163
+ [e50c583bdffa]
164
+
165
+ 2013-06-19 Michael Granger <ged@FaerieMUD.org>
166
+
167
+ * .hgtags:
168
+ Added tag v0.12.2 for changeset 4c4c929c5911
169
+ [2d11a25bd1d5]
170
+
171
+ * .hgsigs:
172
+ Added signature for changeset 0444a00c5e64
173
+ [4c4c929c5911] [v0.12.2]
174
+
175
+ * History.rdoc, lib/inversion.rb:
176
+ Bump patch version, update history.
177
+ [0444a00c5e64]
178
+
179
+ * Manifest.txt:
180
+ Update manifest
181
+ [6fa0b4ea14a1]
182
+
183
+ * lib/inversion/template.rb, spec/data/unknown-tag.tmpl,
184
+ spec/inversion/template/configtag_spec.rb:
185
+ Fix propagation of config tags into subtemplates (fixes #1)
186
+ [1b4030ae65f3]
187
+
188
+ 2013-05-22 Michael Granger <ged@FaerieMUD.org>
189
+
190
+ * lib/inversion/renderstate.rb, spec/inversion/renderstate_spec.rb:
191
+ Use replacement in transcoding instead of raising encoding errors
192
+ [d0b82083bb00]
193
+
194
+ * lib/inversion/monkeypatches.rb, lib/inversion/parser.rb,
195
+ lib/inversion/renderstate.rb, lib/inversion/template/codetag.rb,
196
+ lib/inversion/template/commenttag.rb,
197
+ lib/inversion/template/containertag.rb,
198
+ lib/inversion/template/elsetag.rb,
199
+ lib/inversion/template/elsiftag.rb,
200
+ lib/inversion/template/fortag.rb, lib/inversion/template/node.rb,
201
+ lib/inversion/template/tag.rb,
202
+ lib/inversion/template/uriencodetag.rb,
203
+ lib/inversion/template/yieldtag.rb,
204
+ spec/inversion/renderstate_spec.rb,
205
+ spec/inversion/template/begintag_spec.rb,
206
+ spec/inversion/template/textnode_spec.rb:
207
+ Whitespace and API documentation fixes.
208
+ [f39531d869cd]
209
+
210
+ * spec/lib/helpers.rb:
211
+ Use Loggability's spec helpers
212
+ [03a2e9da4c3c]
213
+
214
+ * .rvmrc:
215
+ Test using Ruby 2.0
216
+ [694a37e19d3d]
217
+
218
+ * .tm_properties:
219
+ Update project settings
220
+ [d657f5164f22]
221
+
222
+ 2013-03-20 Michael Granger <ged@FaerieMUD.org>
223
+
224
+ * .hgtags:
225
+ Added tag v0.12.1 for changeset 95133ea7528c
226
+ [650fd85bf639]
227
+
228
+ * .hgsigs:
229
+ Added signature for changeset 4bc01301cf22
230
+ [95133ea7528c] [v0.12.1]
231
+
232
+ * History.rdoc, lib/inversion.rb:
233
+ Bump the patch version, update history
234
+ [4bc01301cf22]
235
+
236
+ 2013-03-05 Michael Granger <ged@FaerieMUD.org>
237
+
238
+ * lib/inversion/parser.rb:
239
+ Comment out some more debugging in the parser
240
+ [c34f0af1e643]
241
+
242
+ * lib/inversion/parser.rb:
243
+ Comment out a bunch of debugging in the parser
244
+ [ee78d82eee2e]
245
+
246
+ 2013-03-01 Michael Granger <ged@FaerieMUD.org>
247
+
248
+ * .hgtags:
249
+ Added tag v0.12.0 for changeset 33062cada220
250
+ [2d507672656a]
251
+
252
+ * .hgsigs:
253
+ Added signature for changeset 9005ff6f9ec4
254
+ [33062cada220] [v0.12.0]
255
+
256
+ * History.rdoc, lib/inversion.rb:
257
+ Bump the minor version, update history.
258
+ [9005ff6f9ec4]
259
+
260
+ * .rvm.gems, lib/inversion/renderstate.rb,
261
+ spec/inversion/renderstate_spec.rb:
262
+ Make exceptions rendered as comments include the backtrace if
263
+ debugging comments are enabled.
264
+ [83cb6ec4c5d7]
265
+
266
+ 2012-09-17 Michael Granger <ged@FaerieMUD.org>
267
+
268
+ * .hgtags:
269
+ Added tag v0.11.2 for changeset f3b151a19816
270
+ [d5c44e803947]
271
+
272
+ * .hgsigs:
273
+ Added signature for changeset b4d374fa78a0
274
+ [f3b151a19816] [v0.11.2]
275
+
276
+ * History.rdoc, lib/inversion.rb:
277
+ Bump patch version, update history.
278
+ [b4d374fa78a0]
279
+
280
+ * lib/inversion/template/fortag.rb,
281
+ spec/inversion/template/fortag_spec.rb:
282
+ Fixing a problem with non-array values in the for tag
283
+ [24563edc2162]
284
+
285
+ * .hgtags:
286
+ Added tag v0.11.1 for changeset 352405b90f49
287
+ [03ef35e110e0]
288
+
289
+ * .hgsigs:
290
+ Added signature for changeset b74d0f41b140
291
+ [352405b90f49] [v0.11.1]
292
+
293
+ * History.rdoc:
294
+ Bump the patch version, update history.
295
+ [b74d0f41b140]
296
+
297
+ * lib/inversion.rb, lib/inversion/renderstate.rb,
298
+ lib/inversion/template/publishtag.rb,
299
+ spec/inversion/template/publishtag_spec.rb,
300
+ spec/inversion/template/subscribetag_spec.rb:
301
+ Make subscriptions get nodes that were already published
302
+ [cca3daa4a649]
7
303
 
8
304
  2012-07-06 Michael Granger <ged@FaerieMUD.org>
9
305
 
10
306
  * .hgtags:
11
307
  Added tag v0.11.0 for changeset 8e7ee4f29874
12
- [71c2a12d9df0] [qparent]
308
+ [71c2a12d9df0]
13
309
 
14
310
  * .hgsigs:
15
311
  Added signature for changeset 92d48ef3085e
@@ -83,7 +379,7 @@
83
379
 
84
380
  * .rvm.gems:
85
381
  Bumping Loggability dependency for inheritance bugfix
86
- [b65ce51ca6ee] [github/master]
382
+ [b65ce51ca6ee]
87
383
 
88
384
  2012-05-10 Michael Granger <ged@FaerieMUD.org>
89
385
 
@@ -1443,8 +1739,8 @@
1443
1739
  - Added options
1444
1740
  - Added option for raising an exception on an unknown tag
1445
1741
  * Renamed TextNode#source to #body for consistency
1446
- * Added the beginnings of a command-line utility for dumping the
1447
- node tree of a template
1742
+ * Added the beginnings of a command-line utility for dumping the node
1743
+ tree of a template
1448
1744
  [3ced66ae330d]
1449
1745
 
1450
1746
  2011-04-13 Michael Granger <ged@FaerieMUD.org>
data/Examples.rdoc ADDED
@@ -0,0 +1,134 @@
1
+ = Annotated Examples
2
+
3
+ This is a list of template examples with annotations explaining what each group of lines is doing.
4
+
5
+ == Simple Examples
6
+
7
+ ...
8
+
9
+
10
+ == Advanced Examples
11
+
12
+ Here's a somewhat more complex example. At our company Spime-Thorpe from above, say we're creating a system that will handle mass layoffs without the need for management to handle all those messy personal interactions. We'll need a mass-mailer for the employees that will be afforded the chance to explore their career opportunities, right? So we create a template called +overboard-mail.tmpl+:
13
+
14
+ <?config debugging_comments: true ?>
15
+ <?default grace_period to "7 days" ?>
16
+
17
+ <?begin?>
18
+ <p>Dear <?call employee.fullname ?>,</p>
19
+ <?rescue DatabaseError ?>
20
+ <p>Dear Valued Ex-Employee,</p>
21
+ <?end begin?>
22
+
23
+ <p>Congratulations! You have been selected by <?call failed_company.name ?>'s
24
+ elite management team as one of the many lucky individuals that will
25
+ enjoy the exciting challenge of pursuing other rewarding employment
26
+ opportunities!</p>
27
+
28
+ <p><em>Kudos!</em></p>
29
+
30
+ <p>You will find your accounts have been disabled, your desk has been helpfully
31
+ cleared out for you, and all of your personal effects packaged up and
32
+ delivered to your address of record approximately
33
+ <?timedelta tracking_info.delivery_date ?>:</p>
34
+
35
+ <?for line in employee.address ?>
36
+ <?attr line ?><br />
37
+ <?end for ?>
38
+
39
+ <p>Please visit your <a href="[?call config.overboard_url ?]/[?uriencode
40
+ failed_company.id ?]/[?uriencode employee.id ?]">customized Man OverBoard
41
+ transition site</a> immediately:</p>
42
+
43
+ <p>This will acknowledge that you have received this message, and automatically
44
+ disable your email account. Be sure and save this message!</p>
45
+
46
+ <?if employee.severance_amount.nonzero? ?>
47
+ <p>Failure to acknowledge this message within <?attr grace_period ?> could result
48
+ in delay of your final severance pay, in the amount of
49
+ <?call "$%0.2f" % employee.severance_amount ?>.</p>
50
+ <?else?>
51
+ <p>Failure to acknowledge this message within <?attr grace_period ?> will
52
+ result in automatic forfeiture of your numerous Man Overboard package benefits.</p>
53
+ <?end if?>
54
+
55
+ <?comment Disabled at client request ?>
56
+ If you have any questions or concerns, please don't hesitate to contact your
57
+ friendly Spime-Thorpe <a href="mailto:salesteam2@spime-thorpe.com">representative</a>.
58
+ <?end comment ?>
59
+
60
+ <p>Good Luck,<br />
61
+ Your friends at Spime-Thorpe, Inc!<br />
62
+ <a href="http://www.spime-thorpe.com/">http://www.spime-thorpe.com/</a></p>
63
+
64
+ When wrapped with a layout template, here's what this renders as:
65
+
66
+ <?example { language: xml, caption: "The rendered output for one lucky individual" } ?>
67
+ <!DOCTYPE html>
68
+ <!--
69
+
70
+ Spime-Thorpe!
71
+ $Id$
72
+
73
+ -->
74
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
75
+ <head>
76
+ <title>Spime-Thorpe: Untitled</title>
77
+
78
+ <link rel="stylesheet" src="/css/base.css" type="text/css" />
79
+
80
+ <script type="text/javascript" src="/js/jquery-latest.min.js"></script>
81
+
82
+ </head>
83
+ <body>
84
+
85
+ <header>
86
+ <hgroup>
87
+ <h1>Spime-Thorpe</h1>
88
+ <h2></h2>
89
+ </hgroup>
90
+ </header>
91
+
92
+ <section id="content">
93
+ <p>Dear James Random,</p>
94
+
95
+ <p>Congratulations! You have been selected by Widgets R Us's
96
+ elite management team as one of the many lucky individuals that will
97
+ enjoy the exciting challenge of pursuing other rewarding employment
98
+ opportunities!</p>
99
+
100
+ <p><em>Kudos!</em></p>
101
+
102
+ <p>You will find your accounts have been disabled, your desk has been helpfully
103
+ cleared out for you, and all of your personal effects packaged up and
104
+ delivered to your address of record approximately
105
+ 3 days ago:</p>
106
+
107
+ 1213 NE. Winding Road<br />
108
+ Syracuse, NY 100213<br />
109
+
110
+ <p>Please visit your <a href="http://failedcompany.spime-thorpe.com/overboard/a18661/1881">
111
+ customized Man OverBoard transition site</a> immediately:</p>
112
+
113
+ <p>This will acknowledge that you have received this message, and automatically
114
+ disable your email account. Be sure and save this message!</p>
115
+
116
+ <p>Failure to acknowledge this message within 11 days could result
117
+ in delay of your final severance pay, in the amount of
118
+ $12.81.</p>
119
+
120
+
121
+ <p>Good Luck,<br />
122
+ Your friends at Spime-Thorpe, Inc!<br />
123
+ <a href="http://www.spime-thorpe.com/">http://www.spime-thorpe.com/</a></p>
124
+ </section>
125
+
126
+ <footer>
127
+ <section id="copyright">Copyright 2011, Spime-Thorpe</section>
128
+ </footer>
129
+
130
+ </body>
131
+ </html>
132
+
133
+ This example can be found in the Inversion repository, in the +experiments+ directory.
134
+