inversion 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -1
- data/ChangeLog +2146 -0
- data/History.rdoc +7 -0
- data/Manifest.txt +1 -0
- data/Rakefile +4 -2
- data/lib/inversion.rb +2 -2
- data/lib/inversion/template.rb +1 -1
- data/lib/inversion/template/fortag.rb +7 -3
- data/spec/data/unknown-tag.tmpl +1 -1
- data/spec/helpers.rb +3 -0
- data/spec/inversion/template/fortag_spec.rb +34 -2
- metadata +67 -33
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f19ae092b374c9c800d439b060ed68f1ffc0f89
|
4
|
+
data.tar.gz: 656343340b3d5a0d22fddd20d8fc57d53e42aae7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1713981728de9d204eafc45cf57335a4acf30aa5999a1db34fb8992497d1218d28b724e439e35b015d7cdce50968bb09bdf22ccdb3c4c82c1a7bbadb76b9ba73
|
7
|
+
data.tar.gz: 96ef40fce27ddb2bd7bcc8850a05a339439304ed064ca1d3486e2f1733c2f8bd922190ddefd14fbb589f81d821ec3d973963b9559a87a70ce257fe46682487d1
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
l��!�q��b&�/��#����6,1����T&Q�����|J��f��&���,�����O����"�ԎY.r����_��)Q��j�_e�6�y�X�<b�oJlM��
|
2
|
+
��˩�۱��76$d���O�)���@T�V���G����'��ܷ�|��k}%��\����2k�m�Q������1d�fq.Dwe�����Ot��H�zW� �̓�{�w�*m1�)�?�����C�*��#�6&s�n��%Z�n��;B���CP��29������pJ۬f�\[&Wⶰ�Ý�-�tI"�L���w0S��h�E�Q�d)�/�ȥ<ΪЎ�s�v�0�g���������o���v�ǣ��
|
data/ChangeLog
ADDED
@@ -0,0 +1,2146 @@
|
|
1
|
+
2017-11-13 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* spec/inversion/template/fortag_spec.rb:
|
4
|
+
Added a spec for issue #3
|
5
|
+
[99d541aa6a98] [tip]
|
6
|
+
|
7
|
+
* .hgignore, spec/helpers.rb:
|
8
|
+
Use rspec-wait and enable test results state
|
9
|
+
[fab0311c3e4f]
|
10
|
+
|
11
|
+
* lib/inversion/template.rb:
|
12
|
+
Fix bug with object ID display
|
13
|
+
[17b43e8c6d66]
|
14
|
+
|
15
|
+
* .ruby-version:
|
16
|
+
Bump Ruby version to 2.4
|
17
|
+
[809af375dac3]
|
18
|
+
|
19
|
+
* spec/inversion/template/fortag_spec.rb:
|
20
|
+
Fix whitespace in for tag specs
|
21
|
+
[0ab781f07550]
|
22
|
+
|
23
|
+
2017-08-10 Mahlon E. Smith <mahlon@laika.com>
|
24
|
+
|
25
|
+
* .hgtags:
|
26
|
+
Added tag v1.1.0 for changeset 9fce3682d5c8
|
27
|
+
[efbd31ef2263]
|
28
|
+
|
29
|
+
* .hgsigs:
|
30
|
+
Added signature for changeset ee12b27acbe2
|
31
|
+
[9fce3682d5c8] [v1.1.0]
|
32
|
+
|
33
|
+
2017-08-10 Mahlon E. Smith <mahlon@martini.nu>
|
34
|
+
|
35
|
+
* History.rdoc, lib/inversion.rb:
|
36
|
+
Bump version to 1.1.0, update history.
|
37
|
+
[ee12b27acbe2]
|
38
|
+
|
39
|
+
2017-07-19 Mahlon E. Smith <mahlon@martini.nu>
|
40
|
+
|
41
|
+
* lib/inversion/template/elsiftag.rb, lib/inversion/template/iftag.rb,
|
42
|
+
lib/inversion/template/unlesstag.rb,
|
43
|
+
spec/inversion/template/elsiftag_spec.rb,
|
44
|
+
spec/inversion/template/iftag_spec.rb,
|
45
|
+
spec/inversion/template/unlesstag_spec.rb:
|
46
|
+
Allow the use of the '!' operator in conditional tags, logically
|
47
|
+
inverting the evaluated body.
|
48
|
+
[159877b3334d]
|
49
|
+
|
50
|
+
* lib/inversion/template/codetag.rb,
|
51
|
+
spec/inversion/template/codetag_spec.rb:
|
52
|
+
Provide a method for tags to explicitly inherit patterns from their
|
53
|
+
parents, instead of replacing them.
|
54
|
+
[f82c480e5172]
|
55
|
+
|
56
|
+
2017-01-16 Michael Granger <ged@FaerieMUD.org>
|
57
|
+
|
58
|
+
* .hgtags:
|
59
|
+
Added tag v1.0.0 for changeset 817a3910aea8
|
60
|
+
[3d898ac17566] [github/master]
|
61
|
+
|
62
|
+
* .hgsigs:
|
63
|
+
Added signature for changeset a4b621e66915
|
64
|
+
[817a3910aea8] [v1.0.0]
|
65
|
+
|
66
|
+
* History.rdoc, Manifest.txt, inversion.gemspec, lib/inversion.rb,
|
67
|
+
lib/inversion/command.rb:
|
68
|
+
Bump version to 1.0.0, update history.
|
69
|
+
[a4b621e66915]
|
70
|
+
|
71
|
+
* spec/inversion/mixins_spec.rb:
|
72
|
+
Fix a missing require in specs
|
73
|
+
[c9b0de03e1ea]
|
74
|
+
|
75
|
+
* spec/inversion/renderstate_spec.rb:
|
76
|
+
Fix some RSpec warnings
|
77
|
+
[1170ee8acbda]
|
78
|
+
|
79
|
+
* Rakefile:
|
80
|
+
Update dependencies
|
81
|
+
[7d7eb92c583a]
|
82
|
+
|
83
|
+
* bin/inversion, lib/inversion/command.rb:
|
84
|
+
Pull command class out into a file of its own
|
85
|
+
[f6e97907c0ae]
|
86
|
+
|
87
|
+
* .gems, .ruby-gemset, .ruby-version, .rvm.gems, .rvmrc:
|
88
|
+
Convert to generic version-manager files
|
89
|
+
[cec180dfa0f0]
|
90
|
+
|
91
|
+
2015-10-01 Michael Granger <ged@FaerieMUD.org>
|
92
|
+
|
93
|
+
* .hgtags:
|
94
|
+
Added tag v0.18.0 for changeset 0ec4018edc34
|
95
|
+
[585edc63b697]
|
96
|
+
|
97
|
+
* .hgsigs:
|
98
|
+
Added signature for changeset 644316d7a5e8
|
99
|
+
[0ec4018edc34] [v0.18.0]
|
100
|
+
|
101
|
+
* History.rdoc, lib/inversion.rb:
|
102
|
+
Bump the minor version, update history.
|
103
|
+
[644316d7a5e8]
|
104
|
+
|
105
|
+
* lib/inversion/template.rb, spec/inversion/template_spec.rb:
|
106
|
+
Add docs for `strict_attributes` mode.
|
107
|
+
|
108
|
+
Also make the spec a bit more comprehensive.
|
109
|
+
[29e5a7d99f19]
|
110
|
+
|
111
|
+
* lib/inversion/template.rb, spec/inversion/template_spec.rb:
|
112
|
+
Add a `strict_attributes` option for templates.
|
113
|
+
[d826f7b0dd7a]
|
114
|
+
|
115
|
+
2015-07-08 Michael Granger <ged@FaerieMUD.org>
|
116
|
+
|
117
|
+
* .hgtags:
|
118
|
+
Added tag v0.17.4 for changeset 001e10b33bde
|
119
|
+
[4e4ded827c75]
|
120
|
+
|
121
|
+
* .hgsigs:
|
122
|
+
Added signature for changeset 8c35dab89dcc
|
123
|
+
[001e10b33bde] [v0.17.4]
|
124
|
+
|
125
|
+
* History.rdoc, Rakefile, inversion.gemspec, lib/inversion.rb:
|
126
|
+
Bump patch version, update history.
|
127
|
+
[8c35dab89dcc]
|
128
|
+
|
129
|
+
2015-07-08 rgalanakis <rob.galanakis@gmail.com>
|
130
|
+
|
131
|
+
* Tags.rdoc:
|
132
|
+
Update Tags doc with more precise ?default behavior
|
133
|
+
[acea5413919c]
|
134
|
+
|
135
|
+
* lib/inversion/template/defaulttag.rb,
|
136
|
+
spec/inversion/template/defaulttag_spec.rb:
|
137
|
+
'default' tag should only default for nil, not all falsy values When
|
138
|
+
rendering something like:
|
139
|
+
|
140
|
+
<?default foo to true ?><?attr foo ?>
|
141
|
+
|
142
|
+
and having 'foo' set explicitly to `false`, the default was still
|
143
|
+
being applied.
|
144
|
+
[8851624e0c63]
|
145
|
+
|
146
|
+
2015-02-27 Michael Granger <ged@FaerieMUD.org>
|
147
|
+
|
148
|
+
* .rvmrc:
|
149
|
+
Default to Ruby 2.2 for development
|
150
|
+
[d1c95e3a9f11]
|
151
|
+
|
152
|
+
* .hgignore, .travis.yml, Gemfile, Rakefile, inversion.gemspec:
|
153
|
+
Prep for CI builds
|
154
|
+
[b0e2906b85a6]
|
155
|
+
|
156
|
+
2015-02-16 Michael Granger <ged@FaerieMUD.org>
|
157
|
+
|
158
|
+
* .hgtags:
|
159
|
+
Added tag v0.17.3 for changeset 6659e853fe79
|
160
|
+
[e9bba70b27db]
|
161
|
+
|
162
|
+
* .hgsigs:
|
163
|
+
Added signature for changeset ad70311aa386
|
164
|
+
[6659e853fe79] [v0.17.3]
|
165
|
+
|
166
|
+
* .hgignore, History.rdoc, inversion.gemspec, lib/inversion.rb:
|
167
|
+
Bump the patch version, update gemspec and history.
|
168
|
+
[ad70311aa386]
|
169
|
+
|
170
|
+
* lib/inversion/renderstate.rb:
|
171
|
+
Re-comment the node-dumper logging message in the RenderState
|
172
|
+
[036377e685f6]
|
173
|
+
|
174
|
+
* Tags.rdoc:
|
175
|
+
Updated tag docs
|
176
|
+
[a19632aee7af]
|
177
|
+
|
178
|
+
2015-01-22 Michael Granger <ged@FaerieMUD.org>
|
179
|
+
|
180
|
+
* .hgtags:
|
181
|
+
Added tag v0.17.2 for changeset 4349d6aef642
|
182
|
+
[fbc75aba9bd9]
|
183
|
+
|
184
|
+
* .hgsigs:
|
185
|
+
Added signature for changeset 25c7ea1fcb58
|
186
|
+
[4349d6aef642] [v0.17.2]
|
187
|
+
|
188
|
+
* History.rdoc, lib/inversion.rb:
|
189
|
+
Bump the patch version, update history.
|
190
|
+
[25c7ea1fcb58]
|
191
|
+
|
192
|
+
* lib/inversion/renderstate.rb, lib/inversion/template.rb,
|
193
|
+
lib/inversion/template/fragmenttag.rb,
|
194
|
+
spec/inversion/template/fragmenttag_spec.rb:
|
195
|
+
Fix a bug with the fragment tag.
|
196
|
+
|
197
|
+
Fragments will now propagate to the container template when they're
|
198
|
+
added by inner templates.
|
199
|
+
[311a12247e72]
|
200
|
+
|
201
|
+
2015-01-15 Michael Granger <ged@FaerieMUD.org>
|
202
|
+
|
203
|
+
* .hgtags:
|
204
|
+
Added tag v0.17.1 for changeset db630b5eceec
|
205
|
+
[33398b16e141]
|
206
|
+
|
207
|
+
* .hgsigs:
|
208
|
+
Added signature for changeset 0d5760c23bc9
|
209
|
+
[db630b5eceec] [v0.17.1]
|
210
|
+
|
211
|
+
* History.rdoc, lib/inversion.rb:
|
212
|
+
Bump the patch version to repush after a gem from an old build was
|
213
|
+
accidentally pushed.
|
214
|
+
[0d5760c23bc9]
|
215
|
+
|
216
|
+
* .hgtags:
|
217
|
+
Added tag v0.17.0 for changeset 0d29b30f5875
|
218
|
+
[39c2bd141416]
|
219
|
+
|
220
|
+
* .hgsigs:
|
221
|
+
Added signature for changeset 4b1e3a66ffe5
|
222
|
+
[0d29b30f5875] [v0.17.0]
|
223
|
+
|
224
|
+
* History.rdoc, lib/inversion.rb:
|
225
|
+
Bump the minor version, update history.
|
226
|
+
[4b1e3a66ffe5]
|
227
|
+
|
228
|
+
* lib/inversion/template/tag.rb, spec/inversion/template/tag_spec.rb:
|
229
|
+
Fix the tagname pattern for namespaced tags
|
230
|
+
[91529ae86fe4]
|
231
|
+
|
232
|
+
* lib/inversion/template/tag.rb, spec/inversion/template/tag_spec.rb:
|
233
|
+
Support snakecase tag names/tag filenames
|
234
|
+
[6c01403492fa]
|
235
|
+
|
236
|
+
2015-01-14 Michael Granger <ged@FaerieMUD.org>
|
237
|
+
|
238
|
+
* .hgtags:
|
239
|
+
Added tag v0.16.0 for changeset 07a64313c922
|
240
|
+
[89331de2fb2d]
|
241
|
+
|
242
|
+
* .hgsigs:
|
243
|
+
Added signature for changeset 83bef41f95a3
|
244
|
+
[07a64313c922] [v0.16.0]
|
245
|
+
|
246
|
+
* History.rdoc, Rakefile, inversion.gemspec, lib/inversion.rb:
|
247
|
+
Prep for release
|
248
|
+
|
249
|
+
- Bump the minor version
|
250
|
+
- Update history
|
251
|
+
- Bump the minimum Ruby version to 2.0.0
|
252
|
+
- Add a generated gemspec
|
253
|
+
[83bef41f95a3]
|
254
|
+
|
255
|
+
* Guide.rdoc, README.rdoc:
|
256
|
+
Bump copyright dates.
|
257
|
+
[acb661e22446]
|
258
|
+
|
259
|
+
* lib/inversion/template.rb, spec/helpers.rb,
|
260
|
+
spec/inversion/template/configtag_spec.rb,
|
261
|
+
spec/inversion/template/includetag_spec.rb,
|
262
|
+
spec/inversion/template_spec.rb:
|
263
|
+
Add support for loading templates from an alternate path.
|
264
|
+
|
265
|
+
This adds support for passing a `:template_path` option to
|
266
|
+
Inversion::Template.load which will override the configured
|
267
|
+
`template_paths`. The option also propagates into subtemplates and
|
268
|
+
is settable via the `config` tag.
|
269
|
+
|
270
|
+
Also includes a minor RSpec 3 fix.
|
271
|
+
[4f20dd8a2c4b]
|
272
|
+
|
273
|
+
2014-11-24 Michael Granger <ged@FaerieMUD.org>
|
274
|
+
|
275
|
+
* .hgtags:
|
276
|
+
Added tag v0.15.0 for changeset 0551c52d5351
|
277
|
+
[85f03dc22eba]
|
278
|
+
|
279
|
+
* .hgsigs:
|
280
|
+
Added signature for changeset 7db3ff80c8e1
|
281
|
+
[0551c52d5351] [v0.15.0]
|
282
|
+
|
283
|
+
* History.rdoc, lib/inversion.rb, lib/inversion/template.rb:
|
284
|
+
Bump the version, update history.
|
285
|
+
[7db3ff80c8e1]
|
286
|
+
|
287
|
+
* lib/inversion/template.rb, lib/inversion/template/tag.rb,
|
288
|
+
spec/inversion/template_spec.rb:
|
289
|
+
Add a mechanism to allow tags to extend the template
|
290
|
+
[63b24c90d246]
|
291
|
+
|
292
|
+
2014-11-21 Michael Granger <ged@FaerieMUD.org>
|
293
|
+
|
294
|
+
* Rakefile:
|
295
|
+
Add gemspec task to the Rakefile
|
296
|
+
[aa44b81a7b9c]
|
297
|
+
|
298
|
+
* Tags.rdoc:
|
299
|
+
Add a bit more info to Tags.rdoc
|
300
|
+
[fc2b65cb0ca6]
|
301
|
+
|
302
|
+
2014-11-05 Michael Granger <ged@FaerieMUD.org>
|
303
|
+
|
304
|
+
* .hgtags:
|
305
|
+
Added tag v0.14.0 for changeset 1ab564bed1fb
|
306
|
+
[eee564fe8fb3]
|
307
|
+
|
308
|
+
* .hgsigs:
|
309
|
+
Added signature for changeset 9bb165feaf57
|
310
|
+
[1ab564bed1fb] [v0.14.0]
|
311
|
+
|
312
|
+
* Gemfile, History.rdoc, Manifest.txt, lib/inversion.rb:
|
313
|
+
Bump version, update history and manifest.
|
314
|
+
[9bb165feaf57]
|
315
|
+
|
316
|
+
* .hgtags:
|
317
|
+
Added tag v0.13.0 for changeset 7488d214dc2c
|
318
|
+
[3d71dc3094c3]
|
319
|
+
|
320
|
+
* Tags.rdoc, lib/inversion/renderstate.rb, lib/inversion/template.rb,
|
321
|
+
lib/inversion/template/fragmenttag.rb,
|
322
|
+
spec/inversion/renderstate_spec.rb,
|
323
|
+
spec/inversion/template/fragmenttag_spec.rb,
|
324
|
+
spec/inversion/template_spec.rb:
|
325
|
+
Add the fragment tag
|
326
|
+
[064577093464]
|
327
|
+
|
328
|
+
2014-11-05 Mahlon E. Smith <mahlon@martini.nu>
|
329
|
+
|
330
|
+
* Tags.rdoc:
|
331
|
+
Add docs for the 'fragment' tag. Coming soon.
|
332
|
+
[fbfb2e0eaa4e]
|
333
|
+
|
334
|
+
2014-11-03 Mahlon E. Smith <mahlon@martini.nu>
|
335
|
+
|
336
|
+
* .pryrc, Tags.rdoc, lib/inversion/template/rescuetag.rb,
|
337
|
+
manual/layouts/default.erb, manual/lib/api-filter.rb, manual/lib
|
338
|
+
/editorial-filter.rb, manual/lib/examples-filter.rb, manual/lib
|
339
|
+
/links-filter.rb, manual/resources/css/manual.css,
|
340
|
+
manual/resources/css/reset.css,
|
341
|
+
manual/resources/fonts/Inconsolata.otf, manual/resources/fonts/Muli-
|
342
|
+
Light.ttf, manual/resources/fonts/Muli-Regular.ttf,
|
343
|
+
manual/resources/images/arrow_225_small.png,
|
344
|
+
manual/resources/images/arrow_315_small.png,
|
345
|
+
manual/resources/images/arrow_skip.png, manual/resources/images/cc-
|
346
|
+
by.png, manual/resources/images/dialog-error.png,
|
347
|
+
manual/resources/images/dialog-information.png,
|
348
|
+
manual/resources/images/dialog-warning.png, manual/resources/images
|
349
|
+
/emblem-important.png, manual/resources/images/help.png,
|
350
|
+
manual/resources/images/information.png,
|
351
|
+
manual/resources/images/magnifier.png,
|
352
|
+
manual/resources/images/magnifier_left.png,
|
353
|
+
manual/resources/images/page_white_code.png,
|
354
|
+
manual/resources/images/page_white_copy.png,
|
355
|
+
manual/resources/images/printer.png,
|
356
|
+
manual/resources/images/question.png,
|
357
|
+
manual/resources/images/scripts_code.png,
|
358
|
+
manual/resources/images/wrap.png,
|
359
|
+
manual/resources/images/wrapping.png,
|
360
|
+
manual/resources/js/jquery-1.4.4.min.js,
|
361
|
+
manual/resources/js/manual.js, manual/resources/js/sh.js,
|
362
|
+
manual/resources/swf/clipboard.swf:
|
363
|
+
Remove old manual doc artifacts. Add documentation for the
|
364
|
+
'begin/rescue' and 'default' tags.
|
365
|
+
[35971a883112]
|
366
|
+
|
367
|
+
2014-04-23 Michael Granger <ged@FaerieMUD.org>
|
368
|
+
|
369
|
+
* History.rdoc, lib/inversion.rb, lib/inversion/template/attrtag.rb:
|
370
|
+
Bump the minor version, update history.
|
371
|
+
[7488d214dc2c] [v0.13.0]
|
372
|
+
|
373
|
+
* .rvm.gems, Gemfile, Rakefile, spec/helpers.rb,
|
374
|
+
spec/inversion/mixins_spec.rb, spec/inversion/monkeypatches_spec.rb,
|
375
|
+
spec/inversion/parser_spec.rb, spec/inversion/renderstate_spec.rb,
|
376
|
+
spec/inversion/sinatra_spec.rb,
|
377
|
+
spec/inversion/template/attrtag_spec.rb,
|
378
|
+
spec/inversion/template/begintag_spec.rb,
|
379
|
+
spec/inversion/template/calltag_spec.rb,
|
380
|
+
spec/inversion/template/codetag_spec.rb,
|
381
|
+
spec/inversion/template/commenttag_spec.rb,
|
382
|
+
spec/inversion/template/configtag_spec.rb,
|
383
|
+
spec/inversion/template/containertag_spec.rb,
|
384
|
+
spec/inversion/template/defaulttag_spec.rb,
|
385
|
+
spec/inversion/template/elsetag_spec.rb,
|
386
|
+
spec/inversion/template/elsiftag_spec.rb,
|
387
|
+
spec/inversion/template/endtag_spec.rb,
|
388
|
+
spec/inversion/template/escapetag_spec.rb,
|
389
|
+
spec/inversion/template/fortag_spec.rb,
|
390
|
+
spec/inversion/template/iftag_spec.rb,
|
391
|
+
spec/inversion/template/importtag_spec.rb,
|
392
|
+
spec/inversion/template/includetag_spec.rb,
|
393
|
+
spec/inversion/template/node_spec.rb,
|
394
|
+
spec/inversion/template/pptag_spec.rb,
|
395
|
+
spec/inversion/template/publishtag_spec.rb,
|
396
|
+
spec/inversion/template/rescuetag_spec.rb,
|
397
|
+
spec/inversion/template/subscribetag_spec.rb,
|
398
|
+
spec/inversion/template/tag_spec.rb,
|
399
|
+
spec/inversion/template/textnode_spec.rb,
|
400
|
+
spec/inversion/template/timedeltatag_spec.rb,
|
401
|
+
spec/inversion/template/unlesstag_spec.rb,
|
402
|
+
spec/inversion/template/uriencodetag_spec.rb,
|
403
|
+
spec/inversion/template/yieldtag_spec.rb,
|
404
|
+
spec/inversion/template_spec.rb, spec/inversion/tilt_spec.rb,
|
405
|
+
spec/inversion_spec.rb, spec/lib/constants.rb, spec/lib/helpers.rb:
|
406
|
+
Update specs for RSpec 3
|
407
|
+
[1b7cfd831cf3]
|
408
|
+
|
409
|
+
2013-10-10 Mahlon E. Smith <mahlon@martini.nu>
|
410
|
+
|
411
|
+
* lib/inversion/template.rb, spec/inversion/parser_spec.rb,
|
412
|
+
spec/inversion/template/attrtag_spec.rb,
|
413
|
+
spec/inversion/template/endtag_spec.rb,
|
414
|
+
spec/inversion/template/escapetag_spec.rb,
|
415
|
+
spec/inversion/template/pptag_spec.rb,
|
416
|
+
spec/inversion/template/uriencodetag_spec.rb,
|
417
|
+
spec/inversion/template_spec.rb:
|
418
|
+
Carry global configuration into instantiated template options. Minor
|
419
|
+
rspec update/cleanup.
|
420
|
+
[52c37c725e5e]
|
421
|
+
|
422
|
+
2013-10-06 Michael Granger <ged@FaerieMUD.org>
|
423
|
+
|
424
|
+
* Examples.rdoc, Gemfile, GettingStarted.rdoc, Guide.rdoc,
|
425
|
+
Manifest.txt, README.rdoc, Rakefile, Tags.rdoc,
|
426
|
+
lib/inversion/template.rb, lib/inversion/template/begintag.rb,
|
427
|
+
manual/src/examples.page, manual/src/gettingstarted.page,
|
428
|
+
manual/src/index.page, manual/src/tags.page,
|
429
|
+
manual/src/templates.page:
|
430
|
+
Update documentation.
|
431
|
+
[646ed1f389fb]
|
432
|
+
|
433
|
+
2013-09-20 Michael Granger <ged@FaerieMUD.org>
|
434
|
+
|
435
|
+
* .hgtags:
|
436
|
+
Added tag v0.12.3 for changeset e9f7dfbae060
|
437
|
+
[604c1a0022e7]
|
438
|
+
|
439
|
+
* .hgsigs:
|
440
|
+
Added signature for changeset 100ed23eb2ba
|
441
|
+
[e9f7dfbae060] [v0.12.3]
|
442
|
+
|
443
|
+
* History.rdoc, lib/inversion.rb:
|
444
|
+
Bump patch version, update history.
|
445
|
+
[100ed23eb2ba]
|
446
|
+
|
447
|
+
* .tm_properties, Gemfile, lib/inversion/mixins.rb,
|
448
|
+
spec/inversion/mixins_spec.rb:
|
449
|
+
Don't deep_copy IOs or Tempfiles (bugfix).
|
450
|
+
[70c1f8274d3d]
|
451
|
+
|
452
|
+
2013-08-15 Michael Granger <ged@FaerieMUD.org>
|
453
|
+
|
454
|
+
* .hgignore, .rvm.gems, Gemfile, Rakefile:
|
455
|
+
Update dependencies, remove 'fivefish' formatter from the spec.
|
456
|
+
[60d2a8f8203d]
|
457
|
+
|
458
|
+
* Rakefile, spec/inversion/tilt_spec.rb:
|
459
|
+
Fix specs for Tilt 1.4.
|
460
|
+
[a2a37501012e]
|
461
|
+
|
462
|
+
* Gemfile:
|
463
|
+
Update Gemfile
|
464
|
+
[50bd4a8bb8a0]
|
465
|
+
|
466
|
+
* Rakefile:
|
467
|
+
Update to hoe-deveiate 0.2
|
468
|
+
[67fe0be277b2]
|
469
|
+
|
470
|
+
* .rvm.gems, Gemfile, Rakefile:
|
471
|
+
Add hoe-bundler, Gemfile for tool compatibility
|
472
|
+
[1f9944f95ca2]
|
473
|
+
|
474
|
+
* experiments/erb_scope_bleed.rb:
|
475
|
+
Add example output to erb scope bleed example
|
476
|
+
[e50c583bdffa]
|
477
|
+
|
478
|
+
2013-06-19 Michael Granger <ged@FaerieMUD.org>
|
479
|
+
|
480
|
+
* .hgtags:
|
481
|
+
Added tag v0.12.2 for changeset 4c4c929c5911
|
482
|
+
[2d11a25bd1d5]
|
483
|
+
|
484
|
+
* .hgsigs:
|
485
|
+
Added signature for changeset 0444a00c5e64
|
486
|
+
[4c4c929c5911] [v0.12.2]
|
487
|
+
|
488
|
+
* History.rdoc, lib/inversion.rb:
|
489
|
+
Bump patch version, update history.
|
490
|
+
[0444a00c5e64]
|
491
|
+
|
492
|
+
* Manifest.txt:
|
493
|
+
Update manifest
|
494
|
+
[6fa0b4ea14a1]
|
495
|
+
|
496
|
+
* lib/inversion/template.rb, spec/data/unknown-tag.tmpl,
|
497
|
+
spec/inversion/template/configtag_spec.rb:
|
498
|
+
Fix propagation of config tags into subtemplates (fixes #1)
|
499
|
+
[1b4030ae65f3]
|
500
|
+
|
501
|
+
2013-05-22 Michael Granger <ged@FaerieMUD.org>
|
502
|
+
|
503
|
+
* lib/inversion/renderstate.rb, spec/inversion/renderstate_spec.rb:
|
504
|
+
Use replacement in transcoding instead of raising encoding errors
|
505
|
+
[d0b82083bb00]
|
506
|
+
|
507
|
+
* lib/inversion/monkeypatches.rb, lib/inversion/parser.rb,
|
508
|
+
lib/inversion/renderstate.rb, lib/inversion/template/codetag.rb,
|
509
|
+
lib/inversion/template/commenttag.rb,
|
510
|
+
lib/inversion/template/containertag.rb,
|
511
|
+
lib/inversion/template/elsetag.rb,
|
512
|
+
lib/inversion/template/elsiftag.rb,
|
513
|
+
lib/inversion/template/fortag.rb, lib/inversion/template/node.rb,
|
514
|
+
lib/inversion/template/tag.rb,
|
515
|
+
lib/inversion/template/uriencodetag.rb,
|
516
|
+
lib/inversion/template/yieldtag.rb,
|
517
|
+
spec/inversion/renderstate_spec.rb,
|
518
|
+
spec/inversion/template/begintag_spec.rb,
|
519
|
+
spec/inversion/template/textnode_spec.rb:
|
520
|
+
Whitespace and API documentation fixes.
|
521
|
+
[f39531d869cd]
|
522
|
+
|
523
|
+
* spec/lib/helpers.rb:
|
524
|
+
Use Loggability's spec helpers
|
525
|
+
[03a2e9da4c3c]
|
526
|
+
|
527
|
+
* .rvmrc:
|
528
|
+
Test using Ruby 2.0
|
529
|
+
[694a37e19d3d]
|
530
|
+
|
531
|
+
* .tm_properties:
|
532
|
+
Update project settings
|
533
|
+
[d657f5164f22]
|
534
|
+
|
535
|
+
2013-03-20 Michael Granger <ged@FaerieMUD.org>
|
536
|
+
|
537
|
+
* .hgtags:
|
538
|
+
Added tag v0.12.1 for changeset 95133ea7528c
|
539
|
+
[650fd85bf639]
|
540
|
+
|
541
|
+
* .hgsigs:
|
542
|
+
Added signature for changeset 4bc01301cf22
|
543
|
+
[95133ea7528c] [v0.12.1]
|
544
|
+
|
545
|
+
* History.rdoc, lib/inversion.rb:
|
546
|
+
Bump the patch version, update history
|
547
|
+
[4bc01301cf22]
|
548
|
+
|
549
|
+
2013-03-05 Michael Granger <ged@FaerieMUD.org>
|
550
|
+
|
551
|
+
* lib/inversion/parser.rb:
|
552
|
+
Comment out some more debugging in the parser
|
553
|
+
[c34f0af1e643]
|
554
|
+
|
555
|
+
* lib/inversion/parser.rb:
|
556
|
+
Comment out a bunch of debugging in the parser
|
557
|
+
[ee78d82eee2e]
|
558
|
+
|
559
|
+
2013-03-01 Michael Granger <ged@FaerieMUD.org>
|
560
|
+
|
561
|
+
* .hgtags:
|
562
|
+
Added tag v0.12.0 for changeset 33062cada220
|
563
|
+
[2d507672656a]
|
564
|
+
|
565
|
+
* .hgsigs:
|
566
|
+
Added signature for changeset 9005ff6f9ec4
|
567
|
+
[33062cada220] [v0.12.0]
|
568
|
+
|
569
|
+
* History.rdoc, lib/inversion.rb:
|
570
|
+
Bump the minor version, update history.
|
571
|
+
[9005ff6f9ec4]
|
572
|
+
|
573
|
+
* .rvm.gems, lib/inversion/renderstate.rb,
|
574
|
+
spec/inversion/renderstate_spec.rb:
|
575
|
+
Make exceptions rendered as comments include the backtrace if
|
576
|
+
debugging comments are enabled.
|
577
|
+
[83cb6ec4c5d7]
|
578
|
+
|
579
|
+
2012-09-17 Michael Granger <ged@FaerieMUD.org>
|
580
|
+
|
581
|
+
* .hgtags:
|
582
|
+
Added tag v0.11.2 for changeset f3b151a19816
|
583
|
+
[d5c44e803947]
|
584
|
+
|
585
|
+
* .hgsigs:
|
586
|
+
Added signature for changeset b4d374fa78a0
|
587
|
+
[f3b151a19816] [v0.11.2]
|
588
|
+
|
589
|
+
* History.rdoc, lib/inversion.rb:
|
590
|
+
Bump patch version, update history.
|
591
|
+
[b4d374fa78a0]
|
592
|
+
|
593
|
+
* lib/inversion/template/fortag.rb,
|
594
|
+
spec/inversion/template/fortag_spec.rb:
|
595
|
+
Fixing a problem with non-array values in the for tag
|
596
|
+
[24563edc2162]
|
597
|
+
|
598
|
+
* .hgtags:
|
599
|
+
Added tag v0.11.1 for changeset 352405b90f49
|
600
|
+
[03ef35e110e0]
|
601
|
+
|
602
|
+
* .hgsigs:
|
603
|
+
Added signature for changeset b74d0f41b140
|
604
|
+
[352405b90f49] [v0.11.1]
|
605
|
+
|
606
|
+
* History.rdoc:
|
607
|
+
Bump the patch version, update history.
|
608
|
+
[b74d0f41b140]
|
609
|
+
|
610
|
+
* lib/inversion.rb, lib/inversion/renderstate.rb,
|
611
|
+
lib/inversion/template/publishtag.rb,
|
612
|
+
spec/inversion/template/publishtag_spec.rb,
|
613
|
+
spec/inversion/template/subscribetag_spec.rb:
|
614
|
+
Make subscriptions get nodes that were already published
|
615
|
+
[cca3daa4a649]
|
616
|
+
|
617
|
+
2012-07-06 Michael Granger <ged@FaerieMUD.org>
|
618
|
+
|
619
|
+
* .hgtags:
|
620
|
+
Added tag v0.11.0 for changeset 8e7ee4f29874
|
621
|
+
[71c2a12d9df0]
|
622
|
+
|
623
|
+
* .hgsigs:
|
624
|
+
Added signature for changeset 92d48ef3085e
|
625
|
+
[8e7ee4f29874] [v0.11.0]
|
626
|
+
|
627
|
+
* History.rdoc, lib/inversion.rb:
|
628
|
+
Bump the minor version, update history.
|
629
|
+
[92d48ef3085e]
|
630
|
+
|
631
|
+
* lib/inversion/renderstate.rb, lib/inversion/template.rb,
|
632
|
+
spec/inversion/renderstate_spec.rb:
|
633
|
+
Transcode output according to the :encoding option if set on a
|
634
|
+
template
|
635
|
+
[2202c6ed520b]
|
636
|
+
|
637
|
+
* lib/inversion/mixins.rb:
|
638
|
+
Don't try to deep copy Encoding objects, either
|
639
|
+
[424709b51350]
|
640
|
+
|
641
|
+
2012-06-27 Michael Granger <ged@FaerieMUD.org>
|
642
|
+
|
643
|
+
* .hgtags:
|
644
|
+
Added tag v0.10.2 for changeset 043b32a2d9a6
|
645
|
+
[5b926937058b]
|
646
|
+
|
647
|
+
* .hgsigs:
|
648
|
+
Added signature for changeset 7236fd2ac3fb
|
649
|
+
[043b32a2d9a6] [v0.10.2]
|
650
|
+
|
651
|
+
* History.rdoc, lib/inversion.rb:
|
652
|
+
Bump the patch version, update history.
|
653
|
+
[7236fd2ac3fb]
|
654
|
+
|
655
|
+
2012-06-27 Mahlon E. Smith <mahlon@martini.nu>
|
656
|
+
|
657
|
+
* lib/inversion/mixins.rb, lib/inversion/template.rb,
|
658
|
+
spec/inversion/mixins_spec.rb:
|
659
|
+
Add Modules/Classes to the immediate object list when deep copying.
|
660
|
+
Don't needlessly deep_copy the node tree on template duplication.
|
661
|
+
[fb0ab0db2042]
|
662
|
+
|
663
|
+
2012-06-22 Michael Granger <ged@FaerieMUD.org>
|
664
|
+
|
665
|
+
* .rvm.gems, Rakefile:
|
666
|
+
Update dependencies.
|
667
|
+
[bf49edf3b889]
|
668
|
+
|
669
|
+
* .hgtags:
|
670
|
+
Added tag v0.10.1 for changeset 16d06faa003e
|
671
|
+
[f45915b72d58]
|
672
|
+
|
673
|
+
* .hgsigs:
|
674
|
+
Added signature for changeset 432abb56d593
|
675
|
+
[16d06faa003e] [v0.10.1]
|
676
|
+
|
677
|
+
* History.rdoc, lib/inversion.rb:
|
678
|
+
Bump patch version, update history.
|
679
|
+
[432abb56d593]
|
680
|
+
|
681
|
+
* lib/inversion/mixins.rb, lib/inversion/renderstate.rb,
|
682
|
+
lib/inversion/template.rb, spec/inversion/template_spec.rb:
|
683
|
+
Fix attribute changes being shared between duplicated templates.
|
684
|
+
|
685
|
+
- Pull up deep_copy function into a mixin
|
686
|
+
- Use deep_copy in a copy constructor on Inversion::Template to make
|
687
|
+
internal datastructures distinct, including @attributes.
|
688
|
+
- Also clean up some old cruft with the way the Parser is used.
|
689
|
+
[8350fbf49ef2]
|
690
|
+
|
691
|
+
2012-05-18 Michael Granger <ged@FaerieMUD.org>
|
692
|
+
|
693
|
+
* .rvm.gems:
|
694
|
+
Bumping Loggability dependency for inheritance bugfix
|
695
|
+
[b65ce51ca6ee]
|
696
|
+
|
697
|
+
2012-05-10 Michael Granger <ged@FaerieMUD.org>
|
698
|
+
|
699
|
+
* .rvm.gems, Rakefile:
|
700
|
+
Bump Loggability dependency to 0.2.
|
701
|
+
[7e3c047cbfba]
|
702
|
+
|
703
|
+
2012-05-07 Michael Granger <ged@FaerieMUD.org>
|
704
|
+
|
705
|
+
* .hgtags:
|
706
|
+
Added tag v0.10.0 for changeset 64cf302354aa
|
707
|
+
[79bc44fab294]
|
708
|
+
|
709
|
+
* .hgsigs:
|
710
|
+
Added signature for changeset 9d9c49d532be
|
711
|
+
[64cf302354aa] [v0.10.0]
|
712
|
+
|
713
|
+
* .rvm.gems, History.rdoc, Manifest.txt, Rakefile, bin/inversion,
|
714
|
+
experiments/benchmark-parser.rb, experiments/demo.rb,
|
715
|
+
experiments/dumptemplate.rb, lib/inversion.rb,
|
716
|
+
lib/inversion/logging.rb, lib/inversion/mixins.rb,
|
717
|
+
lib/inversion/parser.rb, lib/inversion/renderstate.rb,
|
718
|
+
lib/inversion/template.rb, lib/inversion/template/begintag.rb,
|
719
|
+
lib/inversion/template/codetag.rb,
|
720
|
+
lib/inversion/template/commenttag.rb,
|
721
|
+
lib/inversion/template/configtag.rb,
|
722
|
+
lib/inversion/template/elsetag.rb,
|
723
|
+
lib/inversion/template/elsiftag.rb,
|
724
|
+
lib/inversion/template/endtag.rb, lib/inversion/template/fortag.rb,
|
725
|
+
lib/inversion/template/iftag.rb,
|
726
|
+
lib/inversion/template/includetag.rb,
|
727
|
+
lib/inversion/template/node.rb, lib/inversion/template/rescuetag.rb,
|
728
|
+
lib/inversion/template/tag.rb, lib/inversion/template/textnode.rb,
|
729
|
+
lib/inversion/template/unlesstag.rb,
|
730
|
+
lib/inversion/template/yieldtag.rb, spec/inversion/logging_spec.rb,
|
731
|
+
spec/inversion/mixins_spec.rb, spec/inversion_spec.rb,
|
732
|
+
spec/lib/helpers.rb:
|
733
|
+
Convert to Loggability for logging.
|
734
|
+
[9d9c49d532be]
|
735
|
+
|
736
|
+
2012-04-24 Michael Granger <ged@FaerieMUD.org>
|
737
|
+
|
738
|
+
* .hgtags:
|
739
|
+
Added tag v0.9.0 for changeset 27f082ef7985
|
740
|
+
[dd18f3255985]
|
741
|
+
|
742
|
+
* .hgsigs:
|
743
|
+
Added signature for changeset b208fa9154b1
|
744
|
+
[27f082ef7985] [v0.9.0]
|
745
|
+
|
746
|
+
* History.rdoc, lib/inversion.rb:
|
747
|
+
Bump the minor version, update history.
|
748
|
+
[b208fa9154b1]
|
749
|
+
|
750
|
+
* lib/inversion/template.rb, spec/inversion/template_spec.rb:
|
751
|
+
Split the template path out from the config into a class instance
|
752
|
+
variable.
|
753
|
+
[34e2c59df5c7]
|
754
|
+
|
755
|
+
2012-04-13 Mahlon E. Smith <mahlon@martini.nu>
|
756
|
+
|
757
|
+
* manual/src/tags.page:
|
758
|
+
Fix the include tag example in the manual.
|
759
|
+
[b5fcbae36ff2]
|
760
|
+
|
761
|
+
2012-04-02 Michael Granger <ged@FaerieMUD.org>
|
762
|
+
|
763
|
+
* README.rdoc:
|
764
|
+
Update the README to Hoe 3 style.
|
765
|
+
[c13d2db3e0ce]
|
766
|
+
|
767
|
+
* lib/inversion/renderstate.rb:
|
768
|
+
Remove an old FIXME comment.
|
769
|
+
[21eecc7eafca]
|
770
|
+
|
771
|
+
2012-04-01 Michael Granger <ged@FaerieMUD.org>
|
772
|
+
|
773
|
+
* .hgtags:
|
774
|
+
Added tag v0.8.0 for changeset 5d07557a543c
|
775
|
+
[57381a550306]
|
776
|
+
|
777
|
+
* .hgsigs:
|
778
|
+
Added signature for changeset d461a2bf079d
|
779
|
+
[5d07557a543c] [v0.8.0]
|
780
|
+
|
781
|
+
* Manifest.txt, Rakefile:
|
782
|
+
Update the manifest.
|
783
|
+
[d461a2bf079d]
|
784
|
+
|
785
|
+
* History.rdoc, lib/inversion.rb:
|
786
|
+
Bump the minor version, update history.
|
787
|
+
[2b5542ae6bf6]
|
788
|
+
|
789
|
+
* lib/inversion.rb, lib/inversion/logging.rb, lib/inversion/mixins.rb,
|
790
|
+
lib/inversion/utils.rb, spec/inversion/logging_spec.rb,
|
791
|
+
spec/lib/helpers.rb:
|
792
|
+
Move logging code out into a separate file.
|
793
|
+
[0c88a54d2811]
|
794
|
+
|
795
|
+
* lib/inversion/mixins.rb, lib/inversion/template/tag.rb:
|
796
|
+
Add MethodUtilities mixin for declaring singleton attrs
|
797
|
+
[3d40570d7aaf]
|
798
|
+
|
799
|
+
2012-03-30 Michael Granger <ged@FaerieMUD.org>
|
800
|
+
|
801
|
+
* README.rdoc, lib/inversion/renderstate.rb,
|
802
|
+
lib/inversion/template.rb, lib/inversion/template/fortag.rb:
|
803
|
+
Comment out a bunch of slow debugging, update copyright date.
|
804
|
+
[0422221385f6]
|
805
|
+
|
806
|
+
* lib/inversion/renderstate.rb:
|
807
|
+
Handle RenderState::Scope#merge a little more gracefully.
|
808
|
+
|
809
|
+
Instead of trying to merge locals and then rescuing if the merged
|
810
|
+
object doesn't respond to __locals__, implement #to_hash so they're
|
811
|
+
able to be merged directly with a Hash.
|
812
|
+
[a9d68f668e05]
|
813
|
+
|
814
|
+
2012-03-29 Michael Granger <ged@FaerieMUD.org>
|
815
|
+
|
816
|
+
* .hgtags:
|
817
|
+
Added tag v0.7.0 for changeset 33027d3d78c5
|
818
|
+
[46549d0c2f86]
|
819
|
+
|
820
|
+
* .hgsigs:
|
821
|
+
Added signature for changeset a202a2c01b18
|
822
|
+
[33027d3d78c5] [v0.7.0]
|
823
|
+
|
824
|
+
* .rvm.gems:
|
825
|
+
Updated the rvm gemset.
|
826
|
+
[a202a2c01b18]
|
827
|
+
|
828
|
+
* History.rdoc, lib/inversion.rb:
|
829
|
+
Bump the minor version, update history.
|
830
|
+
[92c2961cf986]
|
831
|
+
|
832
|
+
* Rakefile, experiments/renderstate-scope.rb,
|
833
|
+
lib/inversion/renderstate.rb, lib/inversion/template/attrtag.rb,
|
834
|
+
spec/inversion/renderstate_spec.rb,
|
835
|
+
spec/inversion/template/attrtag_spec.rb:
|
836
|
+
Switch to a looser eval strategy for rendering tag bodies.
|
837
|
+
|
838
|
+
The previous method relied on a stack of attributes Hashes in the
|
839
|
+
RenderState; the new method in effect wraps a Binding with a
|
840
|
+
method_missing for translating identifiers that look like locals
|
841
|
+
back into template attributes. This not only allows for template
|
842
|
+
attributes to be used as arguments to the methods called on other
|
843
|
+
attributes, but avoids sharing the Binding of the RenderState with
|
844
|
+
the tags rendered inside it.
|
845
|
+
|
846
|
+
Backwards-compatibility is also maintained via a few aliases and
|
847
|
+
shim methods.
|
848
|
+
[5340e6ffaac3]
|
849
|
+
|
850
|
+
2012-03-16 Michael Granger <ged@FaerieMUD.org>
|
851
|
+
|
852
|
+
* .hgtags:
|
853
|
+
Added tag v0.6.1 for changeset e839621aac29
|
854
|
+
[63e1a917c7ad]
|
855
|
+
|
856
|
+
* .hgsigs:
|
857
|
+
Added signature for changeset 1947a577fae1
|
858
|
+
[e839621aac29] [v0.6.1]
|
859
|
+
|
860
|
+
* History.rdoc, lib/inversion.rb:
|
861
|
+
Bump the patch version and update History.
|
862
|
+
[1947a577fae1]
|
863
|
+
|
864
|
+
2012-03-15 Michael Granger <ged@FaerieMUD.org>
|
865
|
+
|
866
|
+
* experiments/fivefish-profile1.graffle, experiments/fivefish-
|
867
|
+
profile2.graffle, experiments/fivefish-profile3.graffle, experiments
|
868
|
+
/fivefish-profile4.graffle, lib/inversion/renderstate.rb,
|
869
|
+
lib/inversion/template/attrtag.rb,
|
870
|
+
lib/inversion/template/importtag.rb:
|
871
|
+
Comment out some of the slowest debugging and add profile graphs.
|
872
|
+
[c0c5f6da6144]
|
873
|
+
|
874
|
+
2012-03-13 Michael Granger <ged@FaerieMUD.org>
|
875
|
+
|
876
|
+
* .hgtags:
|
877
|
+
Added tag v0.6.0 for changeset c07de9868874
|
878
|
+
[fe598279830a]
|
879
|
+
|
880
|
+
* .hgsigs:
|
881
|
+
Added signature for changeset 2397134edcb3
|
882
|
+
[c07de9868874] [v0.6.0]
|
883
|
+
|
884
|
+
* History.rdoc, lib/inversion.rb:
|
885
|
+
Bump the minor version, update History.
|
886
|
+
[2397134edcb3]
|
887
|
+
|
888
|
+
* lib/inversion/template/fortag.rb, manual/src/tags.page,
|
889
|
+
spec/inversion/template/fortag_spec.rb:
|
890
|
+
Fix a bug with "for" tag iteration over complex data structures
|
891
|
+
[6aa4c3301803]
|
892
|
+
|
893
|
+
2012-03-12 Michael Granger <ged@FaerieMUD.org>
|
894
|
+
|
895
|
+
* .rvm.gems, .rvmrc:
|
896
|
+
Update .rvm files
|
897
|
+
[6fb2d6971357]
|
898
|
+
|
899
|
+
2012-03-05 Mahlon E. Smith <mahlon@martini.nu>
|
900
|
+
|
901
|
+
* lib/inversion/template.rb, spec/inversion/template_spec.rb:
|
902
|
+
Err, no. Lets try that again. 10,000 monkeys pounding away at
|
903
|
+
keyboards are responsible. Or maybe just one.
|
904
|
+
[7c42e6b20c11]
|
905
|
+
|
906
|
+
* lib/inversion/template.rb, manual/src/templates.page,
|
907
|
+
spec/inversion/template_spec.rb:
|
908
|
+
Add a configurable delay for stat() on file-based templates, if your
|
909
|
+
application is auto reloading changes and you're worried about the
|
910
|
+
I/O piling up. "template.reload if template.changed?" -- zesty.
|
911
|
+
[51e63e419025]
|
912
|
+
|
913
|
+
2012-02-17 Mahlon E. Smith <mahlon@martini.nu>
|
914
|
+
|
915
|
+
* .rvmrc, lib/inversion/template.rb, spec/inversion/template_spec.rb:
|
916
|
+
Carry options that are set in the global configuration across to the
|
917
|
+
parser.
|
918
|
+
[3dd947d8e4d9]
|
919
|
+
|
920
|
+
2012-02-10 Mahlon E. Smith <mahlon@martini.nu>
|
921
|
+
|
922
|
+
* .rvm.gems, Rakefile, lib/inversion/template.rb:
|
923
|
+
Guard against nil for Inversion::Template config when merging. Bump
|
924
|
+
rspec version, add rdoc/rspec to the RVM gemlist file.
|
925
|
+
[e9ef24491f97]
|
926
|
+
|
927
|
+
2012-01-05 Michael Granger <ged@FaerieMUD.org>
|
928
|
+
|
929
|
+
* .hgtags:
|
930
|
+
Added tag v0.5.0 for changeset 0f4e4aa78d9c
|
931
|
+
[cc3f12489745]
|
932
|
+
|
933
|
+
* .hgsigs:
|
934
|
+
Added signature for changeset 11fb6ed08994
|
935
|
+
[0f4e4aa78d9c] [v0.5.0]
|
936
|
+
|
937
|
+
* History.rdoc, lib/inversion.rb:
|
938
|
+
Bump the minor version, update history.
|
939
|
+
[11fb6ed08994]
|
940
|
+
|
941
|
+
* lib/inversion/template.rb, spec/inversion/template_spec.rb:
|
942
|
+
Add an option to Inversion::Template.load for setting the encoding
|
943
|
+
of the template source.
|
944
|
+
[f5a4907d65db]
|
945
|
+
|
946
|
+
* .rvm.gems, .rvmrc, .tm_properties, Rakefile:
|
947
|
+
Use RVM to manage development environment
|
948
|
+
[87bccbf27c84]
|
949
|
+
|
950
|
+
2011-10-05 Michael Granger <ged@FaerieMUD.org>
|
951
|
+
|
952
|
+
* README.rdoc:
|
953
|
+
Rewrapped README to 80 columns
|
954
|
+
[dd170965e7d2]
|
955
|
+
|
956
|
+
* .hgtags:
|
957
|
+
Added tag v0.4.0 for changeset 2aa4351a4080
|
958
|
+
[4f33cfcc83e3]
|
959
|
+
|
960
|
+
* .hgsigs:
|
961
|
+
Added signature for changeset 5b1e645db600
|
962
|
+
[2aa4351a4080] [v0.4.0]
|
963
|
+
|
964
|
+
* History.rdoc, Rakefile, lib/inversion.rb:
|
965
|
+
Bumped the minor version, updated the History file.
|
966
|
+
[5b1e645db600]
|
967
|
+
|
968
|
+
* lib/inversion/renderstate.rb, lib/inversion/template.rb,
|
969
|
+
lib/inversion/template/elsetag.rb,
|
970
|
+
lib/inversion/template/elsiftag.rb, lib/inversion/template/iftag.rb:
|
971
|
+
Reworked render toggling so the before/after rendering hooks are
|
972
|
+
called immediately before and after the node *would* have been
|
973
|
+
rendered. This further cleans up the conditional logic, and causes
|
974
|
+
the if/elsif/else tags to behave like you'd expect: the nodes they
|
975
|
+
demark aren't even touched if rendering is disabled.
|
976
|
+
|
977
|
+
Adjusted the other tags to account for the change.
|
978
|
+
[f9fcf011955e]
|
979
|
+
|
980
|
+
* .hgtags:
|
981
|
+
Added tag v0.3.0 for changeset 656f0e2bceea
|
982
|
+
[b1a9d8ac9401]
|
983
|
+
|
984
|
+
* .hgsigs:
|
985
|
+
Added signature for changeset cde501e6764c
|
986
|
+
[656f0e2bceea] [v0.3.0]
|
987
|
+
|
988
|
+
* History.rdoc, lib/inversion.rb:
|
989
|
+
Bump minor version and update History
|
990
|
+
[cde501e6764c]
|
991
|
+
|
992
|
+
* lib/inversion/template/elsiftag.rb, lib/inversion/template/iftag.rb:
|
993
|
+
Fix require loop in if/elsif tags
|
994
|
+
[707d9dc985c9]
|
995
|
+
|
996
|
+
* lib/inversion/mixins.rb:
|
997
|
+
Fixing a problem with HTML escaping of objects other than Strings
|
998
|
+
[434fba9c2f16]
|
999
|
+
|
1000
|
+
* lib/inversion/renderstate.rb, lib/inversion/template.rb,
|
1001
|
+
spec/inversion/renderstate_spec.rb:
|
1002
|
+
Added render timing (Inversion::RenderState#time_elapsed)
|
1003
|
+
[ed0bc421632e]
|
1004
|
+
|
1005
|
+
2011-09-27 Michael Granger <ged@FaerieMUD.org>
|
1006
|
+
|
1007
|
+
* .hgtags:
|
1008
|
+
Added tag v0.2.0 for changeset f570e1eff279
|
1009
|
+
[d51e6c51ad60]
|
1010
|
+
|
1011
|
+
* .hgsigs:
|
1012
|
+
Added signature for changeset 9a7cec92550e
|
1013
|
+
[f570e1eff279] [v0.2.0]
|
1014
|
+
|
1015
|
+
* Rakefile:
|
1016
|
+
Check history before releases.
|
1017
|
+
[9a7cec92550e]
|
1018
|
+
|
1019
|
+
* Manifest.txt, Rakefile:
|
1020
|
+
Fix the Manifest.
|
1021
|
+
[ace3bdf0dcd9]
|
1022
|
+
|
1023
|
+
* .hgtags:
|
1024
|
+
Removed tag v0.2.0
|
1025
|
+
[fe100c0ff417]
|
1026
|
+
|
1027
|
+
* .hgtags:
|
1028
|
+
Added tag v0.2.0 for changeset 9b57bc8611b2
|
1029
|
+
[8f0b8b864b1a]
|
1030
|
+
|
1031
|
+
* .hgsigs:
|
1032
|
+
Added signature for changeset 896d23953a0a
|
1033
|
+
[9b57bc8611b2]
|
1034
|
+
|
1035
|
+
* History.rdoc, lib/inversion.rb:
|
1036
|
+
Bumped minor version, updated History for release.
|
1037
|
+
[896d23953a0a]
|
1038
|
+
|
1039
|
+
* lib/inversion/renderstate.rb, lib/inversion/template/begintag.rb,
|
1040
|
+
lib/inversion/template/elsetag.rb,
|
1041
|
+
lib/inversion/template/elsiftag.rb,
|
1042
|
+
lib/inversion/template/escapetag.rb,
|
1043
|
+
lib/inversion/template/fortag.rb, lib/inversion/template/iftag.rb,
|
1044
|
+
lib/inversion/template/importtag.rb,
|
1045
|
+
lib/inversion/template/includetag.rb,
|
1046
|
+
lib/inversion/template/textnode.rb,
|
1047
|
+
lib/inversion/template/unlesstag.rb,
|
1048
|
+
lib/inversion/template/yieldtag.rb,
|
1049
|
+
spec/inversion/renderstate_spec.rb,
|
1050
|
+
spec/inversion/template/begintag_spec.rb,
|
1051
|
+
spec/inversion/template/yieldtag_spec.rb:
|
1052
|
+
Refactoring, renaming 'RenderState#tag_state' to '#tag_data'.
|
1053
|
+
- Made tags that inherit from containertag super to its #render where
|
1054
|
+
possible.
|
1055
|
+
- Move YieldTag's render state into RenderState#tag_data
|
1056
|
+
- Comment fixes, spec naming consistency fixes
|
1057
|
+
[5ec9728367d2]
|
1058
|
+
|
1059
|
+
* lib/inversion/exceptions.rb, lib/inversion/parser.rb,
|
1060
|
+
lib/inversion/template.rb, lib/inversion/template/node.rb,
|
1061
|
+
lib/inversion/template/parser.rb, spec/inversion/parser_spec.rb,
|
1062
|
+
spec/inversion/template/elsetag_spec.rb,
|
1063
|
+
spec/inversion/template/elsiftag_spec.rb,
|
1064
|
+
spec/inversion/template/endtag_spec.rb,
|
1065
|
+
spec/inversion/template/parser_spec.rb,
|
1066
|
+
spec/inversion/template/rescuetag_spec.rb:
|
1067
|
+
Rename Inversion::Template::Parser to Inversion::Parser.
|
1068
|
+
[d0daee0bf3c6]
|
1069
|
+
|
1070
|
+
2011-09-26 Michael Granger <ged@FaerieMUD.org>
|
1071
|
+
|
1072
|
+
* Manifest.txt, lib/inversion/renderstate.rb,
|
1073
|
+
lib/inversion/template.rb, lib/inversion/template/attrtag.rb,
|
1074
|
+
lib/inversion/template/begintag.rb,
|
1075
|
+
lib/inversion/template/conditionaltag.rb,
|
1076
|
+
lib/inversion/template/containertag.rb,
|
1077
|
+
lib/inversion/template/elsetag.rb,
|
1078
|
+
lib/inversion/template/elsiftag.rb,
|
1079
|
+
lib/inversion/template/fortag.rb, lib/inversion/template/iftag.rb,
|
1080
|
+
lib/inversion/template/tag.rb, lib/inversion/template/unlesstag.rb,
|
1081
|
+
spec/inversion/renderstate_spec.rb,
|
1082
|
+
spec/inversion/template/attrtag_spec.rb,
|
1083
|
+
spec/inversion/template/elsiftag_spec.rb,
|
1084
|
+
spec/inversion/template/fortag_spec.rb,
|
1085
|
+
spec/inversion/template/iftag_spec.rb,
|
1086
|
+
spec/inversion/template/unlesstag_spec.rb:
|
1087
|
+
Fixed conditional rendering inside of 'for' tags (fixes #2):
|
1088
|
+
- Make the 'for' tag use the append operator of the RenderState
|
1089
|
+
instead of accumulating rendered output itself
|
1090
|
+
- Added a tag state to the RenderState that tags can use to keep per-
|
1091
|
+
render state and pass messages to other tags.
|
1092
|
+
- Added a render toggle for conditional render output
|
1093
|
+
- Removed the ConditionalTag mixin, which is no longer necessary
|
1094
|
+
- Move else/elsif tag logic into the tags themselves
|
1095
|
+
[8a4bfb043423]
|
1096
|
+
|
1097
|
+
* spec/inversion/renderstate_spec.rb:
|
1098
|
+
Organized renderstate specs by feature
|
1099
|
+
[beb6e6ea06f4]
|
1100
|
+
|
1101
|
+
* lib/inversion/template/tag.rb, spec/inversion/template/tag_spec.rb:
|
1102
|
+
Added a partial fix for the plugin loader so it won't load old
|
1103
|
+
plugins. It's only partial because it will load renamed or removed
|
1104
|
+
tags from older versions, but it won't ever result in clobbering or
|
1105
|
+
redefining legitimate tags. (fixes #1)
|
1106
|
+
[0eebd4b78d1a]
|
1107
|
+
|
1108
|
+
2011-09-24 Michael Granger <ged@FaerieMUD.org>
|
1109
|
+
|
1110
|
+
* experiments/if-in-for-mintest.rb:
|
1111
|
+
Added a minimial test case for the if+for issue (refs #2)
|
1112
|
+
[3e8a6b3cae2b]
|
1113
|
+
|
1114
|
+
* lib/inversion/template/configtag.rb,
|
1115
|
+
spec/inversion/template/configtag_spec.rb:
|
1116
|
+
Bugfix: Make the config tag set options while rendering, too.
|
1117
|
+
[9636249a559e]
|
1118
|
+
|
1119
|
+
2011-09-23 Michael Granger <ged@FaerieMUD.org>
|
1120
|
+
|
1121
|
+
* .hgtags:
|
1122
|
+
Added tag v0.1.1 for changeset 3aed7786335c
|
1123
|
+
[936ad3e2b5b7]
|
1124
|
+
|
1125
|
+
* .hgsigs:
|
1126
|
+
Added signature for changeset d700486aff8c
|
1127
|
+
[3aed7786335c] [v0.1.1]
|
1128
|
+
|
1129
|
+
* History.rdoc, lib/inversion.rb:
|
1130
|
+
Bump patch version for release.
|
1131
|
+
[d700486aff8c]
|
1132
|
+
|
1133
|
+
* lib/inversion/renderstate.rb,
|
1134
|
+
lib/inversion/template/subscribetag.rb,
|
1135
|
+
spec/inversion/template/subscribetag_spec.rb:
|
1136
|
+
Work around a bug in the 'subscribe' tag that caused templates to
|
1137
|
+
accumulate published nodes.
|
1138
|
+
[e745f77580bb]
|
1139
|
+
|
1140
|
+
* README.rdoc:
|
1141
|
+
Move the tag list from the README to the wiki
|
1142
|
+
[ddf55e389f5e]
|
1143
|
+
|
1144
|
+
* .hgtags:
|
1145
|
+
Added tag v0.1.0 for changeset a1eb55ebf68a
|
1146
|
+
[3c6b8c616671]
|
1147
|
+
|
1148
|
+
* .hgsigs:
|
1149
|
+
Added signature for changeset 5bb3f4fad426
|
1150
|
+
[a1eb55ebf68a] [v0.1.0]
|
1151
|
+
|
1152
|
+
* History.rdoc:
|
1153
|
+
Updated the history file.
|
1154
|
+
[5bb3f4fad426]
|
1155
|
+
|
1156
|
+
* lib/inversion.rb:
|
1157
|
+
Bump minor version for new release.
|
1158
|
+
[dbc96c7b052a]
|
1159
|
+
|
1160
|
+
* lib/inversion/template.rb, lib/inversion/template/tag.rb,
|
1161
|
+
lib/inversion/template/timedeltatag.rb,
|
1162
|
+
spec/inversion/template_spec.rb:
|
1163
|
+
Added template reloading via Inversion::Template#changed? and
|
1164
|
+
#reload.
|
1165
|
+
[2abf3629e1dc]
|
1166
|
+
|
1167
|
+
* lib/inversion/exceptions.rb:
|
1168
|
+
Added Inversion::Error and made all exception classes inherit from
|
1169
|
+
it.
|
1170
|
+
[9827d30cceeb]
|
1171
|
+
|
1172
|
+
2011-09-21 Michael Granger <ged@FaerieMUD.org>
|
1173
|
+
|
1174
|
+
* manual/resources/css/manual.css, manual/resources/css/reset.css:
|
1175
|
+
Fixing CSS font-face declarations; adding missing reset.css
|
1176
|
+
[45f04400b244]
|
1177
|
+
|
1178
|
+
* .hgtags:
|
1179
|
+
Added tag v0.0.4 for changeset 7a412b7ed72b
|
1180
|
+
[46bf35f77d74]
|
1181
|
+
|
1182
|
+
* .hgsigs:
|
1183
|
+
Added signature for changeset 3e614ef5c021
|
1184
|
+
[7a412b7ed72b] [v0.0.4]
|
1185
|
+
|
1186
|
+
* .hgtags:
|
1187
|
+
Removed tag v0.0.4
|
1188
|
+
[3e614ef5c021]
|
1189
|
+
|
1190
|
+
* Manifest.txt:
|
1191
|
+
More manifest updates
|
1192
|
+
[906f9d232d80]
|
1193
|
+
|
1194
|
+
* Manifest.txt:
|
1195
|
+
Fixed History path in the Manifest
|
1196
|
+
[6d9d4fb86261]
|
1197
|
+
|
1198
|
+
* .hgtags:
|
1199
|
+
Added tag v0.0.4 for changeset 59d9ec43bfda
|
1200
|
+
[fd4d1ea02cbc]
|
1201
|
+
|
1202
|
+
* .hgsigs:
|
1203
|
+
Added signature for changeset 27f893edf42a
|
1204
|
+
[59d9ec43bfda]
|
1205
|
+
|
1206
|
+
* History.md, History.rdoc, Rakefile, lib/inversion.rb:
|
1207
|
+
Updated History; fixed History name in the Rakefile; Bumped patch
|
1208
|
+
version for release.
|
1209
|
+
[27f893edf42a]
|
1210
|
+
|
1211
|
+
* Merged with 1d255d7d60a5
|
1212
|
+
[4597a6f63059]
|
1213
|
+
|
1214
|
+
* lib/inversion/template.rb:
|
1215
|
+
Avoid Pathname#expand_path in Inversion::Template.load [profiled]
|
1216
|
+
[91cbb0c90b85]
|
1217
|
+
|
1218
|
+
* Rakefile:
|
1219
|
+
Disable the .gemtest task that hoe defines without asking
|
1220
|
+
[cf76def7d9cf]
|
1221
|
+
|
1222
|
+
2011-09-16 Michael Granger <ged@FaerieMUD.org>
|
1223
|
+
|
1224
|
+
* lib/inversion/template/elsiftag.rb:
|
1225
|
+
Fix circular require in inversion/template/elsiftag.rb.
|
1226
|
+
[1d255d7d60a5]
|
1227
|
+
|
1228
|
+
* lib/inversion/template/begintag.rb:
|
1229
|
+
Fix shadowed variable in BeginTag#handle_exception.
|
1230
|
+
[8424ac44da4a]
|
1231
|
+
|
1232
|
+
2011-08-17 Michael Granger <ged@FaerieMUD.org>
|
1233
|
+
|
1234
|
+
* manual/resources/css/manual.css:
|
1235
|
+
Fixed font path
|
1236
|
+
[986a5c14ec18]
|
1237
|
+
|
1238
|
+
* manual/resources/css/manual.css,
|
1239
|
+
manual/resources/fonts/GraublauWeb.otf,
|
1240
|
+
manual/resources/fonts/GraublauWebBold.otf, manual/resources/fonts
|
1241
|
+
/Muli-Light.ttf, manual/resources/fonts/Muli-Regular.ttf:
|
1242
|
+
Manual CSS tweaks
|
1243
|
+
[cae91ab725fa]
|
1244
|
+
|
1245
|
+
2011-08-15 Michael Granger <ged@FaerieMUD.org>
|
1246
|
+
|
1247
|
+
* manual/lib/api-filter.rb, manual/src/examples.page,
|
1248
|
+
manual/src/gettingstarted.page, manual/src/index.page,
|
1249
|
+
manual/src/tags.page, manual/src/templates.page:
|
1250
|
+
Merged with e0193bdb57db
|
1251
|
+
[2e8da6e2f400]
|
1252
|
+
|
1253
|
+
2011-07-30 Michael Granger <ged@FaerieMUD.org>
|
1254
|
+
|
1255
|
+
* .hgignore, Manual Diagrams.graffle, README.rdoc,
|
1256
|
+
manual/layouts/default.erb, manual/lib/api-filter.rb, manual/lib
|
1257
|
+
/editorial-filter.rb, manual/lib/examples-filter.rb, manual/lib
|
1258
|
+
/links-filter.rb, manual/resources/css/manual.css,
|
1259
|
+
manual/resources/fonts/GraublauWeb.otf,
|
1260
|
+
manual/resources/fonts/GraublauWebBold.otf,
|
1261
|
+
manual/resources/fonts/Inconsolata.otf,
|
1262
|
+
manual/resources/images/arrow_225_small.png,
|
1263
|
+
manual/resources/images/arrow_315_small.png,
|
1264
|
+
manual/resources/images/arrow_skip.png, manual/resources/images/cc-
|
1265
|
+
by.png, manual/resources/images/dialog-error.png,
|
1266
|
+
manual/resources/images/dialog-information.png,
|
1267
|
+
manual/resources/images/dialog-warning.png, manual/resources/images
|
1268
|
+
/emblem-important.png, manual/resources/images/help.png,
|
1269
|
+
manual/resources/images/information.png,
|
1270
|
+
manual/resources/images/magnifier.png,
|
1271
|
+
manual/resources/images/magnifier_left.png,
|
1272
|
+
manual/resources/images/page_white_code.png,
|
1273
|
+
manual/resources/images/page_white_copy.png,
|
1274
|
+
manual/resources/images/printer.png,
|
1275
|
+
manual/resources/images/question.png,
|
1276
|
+
manual/resources/images/scripts_code.png,
|
1277
|
+
manual/resources/images/wrap.png,
|
1278
|
+
manual/resources/images/wrapping.png,
|
1279
|
+
manual/resources/js/jquery-1.4.4.min.js,
|
1280
|
+
manual/resources/js/manual.js, manual/resources/js/sh.js,
|
1281
|
+
manual/resources/swf/clipboard.swf, manual/src/examples.page,
|
1282
|
+
manual/src/gettingstarted.page, manual/src/index.page,
|
1283
|
+
manual/src/tags.page, manual/src/templates.page:
|
1284
|
+
Adding a manual
|
1285
|
+
[e0193bdb57db]
|
1286
|
+
|
1287
|
+
2011-08-15 Michael Granger <ged@FaerieMUD.org>
|
1288
|
+
|
1289
|
+
* .hgtags:
|
1290
|
+
Added tag v0.0.3 for changeset 30fbb9cccd00
|
1291
|
+
[e8da683c90ba]
|
1292
|
+
|
1293
|
+
* .hgsigs:
|
1294
|
+
Added signature for changeset f70888949c8c
|
1295
|
+
[30fbb9cccd00] [v0.0.3]
|
1296
|
+
|
1297
|
+
* Rakefile, lib/inversion.rb:
|
1298
|
+
Fixed dependency version requirement; bumped patch version.
|
1299
|
+
[f70888949c8c]
|
1300
|
+
|
1301
|
+
* .hgtags:
|
1302
|
+
Added tag v0.0.2 for changeset 5477976fd550
|
1303
|
+
[1a5c6f90bfaa]
|
1304
|
+
|
1305
|
+
* .hgsigs:
|
1306
|
+
Added signature for changeset 08e77b056c67
|
1307
|
+
[5477976fd550] [v0.0.2]
|
1308
|
+
|
1309
|
+
* lib/inversion.rb:
|
1310
|
+
Bump patch version for package-fix release.
|
1311
|
+
[08e77b056c67]
|
1312
|
+
|
1313
|
+
* Manifest.txt:
|
1314
|
+
Updated manifest to include all released files.
|
1315
|
+
[d62150159d96]
|
1316
|
+
|
1317
|
+
* .hgtags:
|
1318
|
+
Added tag v0.0.1 for changeset 42184d34d45d
|
1319
|
+
[e9e43e8d1060]
|
1320
|
+
|
1321
|
+
* .hgsigs:
|
1322
|
+
Added signature for changeset 0bca14d50d50
|
1323
|
+
[42184d34d45d] [v0.0.1]
|
1324
|
+
|
1325
|
+
* Rakefile, manual/lib/api-filter.rb, manual/src/templates.page:
|
1326
|
+
Update to hoe-manualgen 0.2.0.
|
1327
|
+
[0bca14d50d50]
|
1328
|
+
|
1329
|
+
* manual/src/examples.page:
|
1330
|
+
Stripping expanded Id tag
|
1331
|
+
[9613e2c60530]
|
1332
|
+
|
1333
|
+
2011-08-15 Mahlon E. Smith <mahlon@martini.nu>
|
1334
|
+
|
1335
|
+
* Branch merge with d3ed941ec7ef
|
1336
|
+
[07cde3b1ffba]
|
1337
|
+
|
1338
|
+
* .hgignore, Manual Diagrams.graffle, README.rdoc, Rakefile,
|
1339
|
+
experiments/demo.rb, experiments/templates/demo-content.tmpl,
|
1340
|
+
lib/inversion/template/subscribetag.rb, manual/layouts/default.erb,
|
1341
|
+
manual/lib/api-filter.rb, manual/lib/editorial-filter.rb, manual/lib
|
1342
|
+
/examples-filter.rb, manual/lib/links-filter.rb,
|
1343
|
+
manual/resources/css/manual.css,
|
1344
|
+
manual/resources/fonts/GraublauWeb.otf,
|
1345
|
+
manual/resources/fonts/GraublauWebBold.otf,
|
1346
|
+
manual/resources/fonts/Inconsolata.otf,
|
1347
|
+
manual/resources/images/arrow_225_small.png,
|
1348
|
+
manual/resources/images/arrow_315_small.png,
|
1349
|
+
manual/resources/images/arrow_skip.png, manual/resources/images/cc-
|
1350
|
+
by.png, manual/resources/images/dialog-error.png,
|
1351
|
+
manual/resources/images/dialog-information.png,
|
1352
|
+
manual/resources/images/dialog-warning.png, manual/resources/images
|
1353
|
+
/emblem-important.png, manual/resources/images/help.png,
|
1354
|
+
manual/resources/images/information.png,
|
1355
|
+
manual/resources/images/magnifier.png,
|
1356
|
+
manual/resources/images/magnifier_left.png,
|
1357
|
+
manual/resources/images/page_white_code.png,
|
1358
|
+
manual/resources/images/page_white_copy.png,
|
1359
|
+
manual/resources/images/printer.png,
|
1360
|
+
manual/resources/images/question.png,
|
1361
|
+
manual/resources/images/scripts_code.png,
|
1362
|
+
manual/resources/images/wrap.png,
|
1363
|
+
manual/resources/images/wrapping.png,
|
1364
|
+
manual/resources/js/jquery-1.4.4.min.js,
|
1365
|
+
manual/resources/js/manual.js, manual/resources/js/sh.js,
|
1366
|
+
manual/resources/swf/clipboard.swf, manual/src/examples.page,
|
1367
|
+
manual/src/gettingstarted.page, manual/src/index.page,
|
1368
|
+
manual/src/tags.page, manual/src/templates.page:
|
1369
|
+
Adding a manual.
|
1370
|
+
[8d85088f0601]
|
1371
|
+
|
1372
|
+
2011-08-02 Michael Granger <ged@FaerieMUD.org>
|
1373
|
+
|
1374
|
+
* lib/inversion/tilt.rb, spec/inversion/template/configtag_spec.rb,
|
1375
|
+
spec/inversion/tilt_spec.rb:
|
1376
|
+
Fixes for Ruby 1.9.3-preview1.
|
1377
|
+
[d3ed941ec7ef]
|
1378
|
+
|
1379
|
+
* lib/inversion.rb:
|
1380
|
+
Add a warning for older versions of Ruby
|
1381
|
+
[73c3d8215868]
|
1382
|
+
|
1383
|
+
* .irbrc:
|
1384
|
+
Guard against load errors in .irbrc
|
1385
|
+
[663ff80c4a69]
|
1386
|
+
|
1387
|
+
2011-07-30 Michael Granger <ged@FaerieMUD.org>
|
1388
|
+
|
1389
|
+
* lib/inversion/tilt.rb:
|
1390
|
+
Adding more workaround code for Sinatra
|
1391
|
+
[dd6eb02835f4]
|
1392
|
+
|
1393
|
+
* lib/inversion/template/tag.rb:
|
1394
|
+
Commented out some of the spammier debugging in the tag-loading
|
1395
|
+
code.
|
1396
|
+
[277a65ffa0bf]
|
1397
|
+
|
1398
|
+
2011-07-27 Michael Granger <ged@FaerieMUD.org>
|
1399
|
+
|
1400
|
+
* Rakefile, lib/inversion/template/timedeltatag.rb,
|
1401
|
+
spec/inversion/mixins_spec.rb,
|
1402
|
+
spec/inversion/template/timedeltatag_spec.rb,
|
1403
|
+
spec/inversion_spec.rb:
|
1404
|
+
Added some specs to improve coverage
|
1405
|
+
[5fb307e8605a]
|
1406
|
+
|
1407
|
+
* Manifest.txt, README.md, README.rdoc, Rakefile, bin/inversion,
|
1408
|
+
lib/inversion.rb, lib/inversion/exceptions.rb,
|
1409
|
+
lib/inversion/mixins.rb, lib/inversion/monkeypatches.rb,
|
1410
|
+
lib/inversion/renderstate.rb, lib/inversion/sinatra.rb,
|
1411
|
+
lib/inversion/template.rb, lib/inversion/template/attrtag.rb,
|
1412
|
+
lib/inversion/template/codetag.rb,
|
1413
|
+
lib/inversion/template/commenttag.rb,
|
1414
|
+
lib/inversion/template/conditionaltag.rb,
|
1415
|
+
lib/inversion/template/configtag.rb,
|
1416
|
+
lib/inversion/template/containertag.rb,
|
1417
|
+
lib/inversion/template/defaulttag.rb,
|
1418
|
+
lib/inversion/template/elsetag.rb,
|
1419
|
+
lib/inversion/template/elsiftag.rb,
|
1420
|
+
lib/inversion/template/endtag.rb,
|
1421
|
+
lib/inversion/template/escapetag.rb,
|
1422
|
+
lib/inversion/template/fortag.rb,
|
1423
|
+
lib/inversion/template/importtag.rb,
|
1424
|
+
lib/inversion/template/includetag.rb,
|
1425
|
+
lib/inversion/template/node.rb, lib/inversion/template/parser.rb,
|
1426
|
+
lib/inversion/template/publishtag.rb,
|
1427
|
+
lib/inversion/template/rescuetag.rb, lib/inversion/template/tag.rb,
|
1428
|
+
lib/inversion/template/textnode.rb,
|
1429
|
+
lib/inversion/template/timedeltatag.rb,
|
1430
|
+
lib/inversion/template/uriencodetag.rb, lib/inversion/tilt.rb,
|
1431
|
+
lib/inversion/utils.rb,
|
1432
|
+
spec/inversion/template/timedeltatag_spec.rb:
|
1433
|
+
Documentation cleanup, remove some leftover YARD crap
|
1434
|
+
[4876bcc91507]
|
1435
|
+
|
1436
|
+
* spec/inversion/renderstate_spec.rb, spec/inversion/template_spec.rb:
|
1437
|
+
Fixed a few things caused by changes for the begin/rescue tag.
|
1438
|
+
[1a698b24bc45]
|
1439
|
+
|
1440
|
+
* README.md, experiments/templates/demo-content.tmpl,
|
1441
|
+
lib/inversion/renderstate.rb, lib/inversion/template/begintag.rb,
|
1442
|
+
lib/inversion/template/defaulttag.rb,
|
1443
|
+
lib/inversion/template/elsetag.rb,
|
1444
|
+
lib/inversion/template/rescuetag.rb,
|
1445
|
+
spec/inversion/renderstate_spec.rb,
|
1446
|
+
spec/inversion/template/begintag_spec.rb,
|
1447
|
+
spec/inversion/template/rescuetag_spec.rb:
|
1448
|
+
Add the begin/rescue tags.
|
1449
|
+
[44db647d7a1a]
|
1450
|
+
|
1451
|
+
2011-07-20 Michael Granger <ged@FaerieMUD.org>
|
1452
|
+
|
1453
|
+
* lib/inversion/mixins.rb, lib/inversion/utils.rb:
|
1454
|
+
Merging ANSIColor methods into the ColorLogFormatter, which was the
|
1455
|
+
only place the code was used.
|
1456
|
+
[fb8c209aaa28]
|
1457
|
+
|
1458
|
+
2011-07-20 Mahlon E. Smith <mahlon@martini.nu>
|
1459
|
+
|
1460
|
+
* experiments/demo.rb, experiments/templates/demo-content.tmpl,
|
1461
|
+
experiments/templates/demo-layout.tmpl,
|
1462
|
+
lib/inversion/renderstate.rb, lib/inversion/template/attrtag.rb,
|
1463
|
+
lib/inversion/template/defaulttag.rb,
|
1464
|
+
spec/inversion/template/defaulttag_spec.rb:
|
1465
|
+
Adding the 'default' tag
|
1466
|
+
[f95e6a8167c6]
|
1467
|
+
|
1468
|
+
2011-07-18 Michael Granger <ged@FaerieMUD.org>
|
1469
|
+
|
1470
|
+
* Manifest.txt, README.md, lib/inversion/renderstate.rb,
|
1471
|
+
lib/inversion/template.rb, lib/inversion/template/yieldtag.rb,
|
1472
|
+
spec/inversion/renderstate_spec.rb,
|
1473
|
+
spec/inversion/template/yieldtag_spec.rb,
|
1474
|
+
spec/inversion/template_spec.rb:
|
1475
|
+
Adding a 'yield' tag
|
1476
|
+
[3f7a7fb440b8]
|
1477
|
+
|
1478
|
+
2011-07-13 Michael Granger <ged@FaerieMUD.org>
|
1479
|
+
|
1480
|
+
* lib/inversion/template/timedeltatag.rb,
|
1481
|
+
spec/inversion/template/timedeltatag_spec.rb:
|
1482
|
+
Fixed the timedelta specs for machines without modern timezones (I
|
1483
|
+
think). This should fix the FreeBSD build.
|
1484
|
+
[5c2b595a1e35]
|
1485
|
+
|
1486
|
+
* experiments/demo.rb, experiments/templates/demo-content.tmpl,
|
1487
|
+
experiments/templates/demo-layout.tmpl, experiments/templates/demo-
|
1488
|
+
menu.tmpl:
|
1489
|
+
Adding a demo to experiments/
|
1490
|
+
[b1b3b7895982]
|
1491
|
+
|
1492
|
+
* README.md:
|
1493
|
+
Updating the README
|
1494
|
+
[50ff925706ee]
|
1495
|
+
|
1496
|
+
* lib/inversion/template/iftag.rb:
|
1497
|
+
Fixed in bug in the 'if' tag that caused conditional nodes to be
|
1498
|
+
double-appended, the second time as a stringified array
|
1499
|
+
[6485006e82d9]
|
1500
|
+
|
1501
|
+
* lib/inversion/renderstate.rb:
|
1502
|
+
Squelched some spammy debugging
|
1503
|
+
[0f134e004f34]
|
1504
|
+
|
1505
|
+
* lib/inversion/template/timedeltatag.rb,
|
1506
|
+
spec/inversion/template/timedeltatag_spec.rb:
|
1507
|
+
Added the 'timedelta' tag.
|
1508
|
+
[ab8e5eb37b44]
|
1509
|
+
|
1510
|
+
2011-07-12 Michael Granger <ged@FaerieMUD.org>
|
1511
|
+
|
1512
|
+
* lib/inversion/template/iftag.rb,
|
1513
|
+
spec/inversion/template/iftag_spec.rb:
|
1514
|
+
Fixing a bug in the 'if' tag that caused renderstate to recursively
|
1515
|
+
try to stringify itself.
|
1516
|
+
[106d0d6bd2e1]
|
1517
|
+
|
1518
|
+
* lib/inversion/renderstate.rb:
|
1519
|
+
Adding Inversion::RenderState#inspect and fixing a debug log message
|
1520
|
+
[b58a659fc93b]
|
1521
|
+
|
1522
|
+
2011-07-11 Michael Granger <ged@FaerieMUD.org>
|
1523
|
+
|
1524
|
+
* .hgignore:
|
1525
|
+
Add the package directory to the ignorefile
|
1526
|
+
[50b33db61aad]
|
1527
|
+
|
1528
|
+
* Manifest.txt, bin/inversion:
|
1529
|
+
Adding a command-line template-API tool
|
1530
|
+
[b2dbb3f0f286]
|
1531
|
+
|
1532
|
+
* Manifest.txt:
|
1533
|
+
Remove accidentally-committed manifest changes from pending patches.
|
1534
|
+
[e387d6954154]
|
1535
|
+
|
1536
|
+
2011-07-11 Mahlon E. Smith <mahlon@martini.nu>
|
1537
|
+
|
1538
|
+
* lib/inversion/template.rb, lib/inversion/template/textnode.rb,
|
1539
|
+
spec/inversion/template/textnode_spec.rb,
|
1540
|
+
spec/inversion/template_spec.rb:
|
1541
|
+
Adding code to strip extra blank lines from output
|
1542
|
+
[2ad072cd87ab]
|
1543
|
+
|
1544
|
+
2011-07-11 Michael Granger <ged@FaerieMUD.org>
|
1545
|
+
|
1546
|
+
* lib/inversion/template/attrtag.rb,
|
1547
|
+
lib/inversion/template/escapetag.rb, lib/inversion/template/node.rb,
|
1548
|
+
lib/inversion/template/pptag.rb,
|
1549
|
+
lib/inversion/template/uriencodetag.rb,
|
1550
|
+
spec/inversion/template/configtag_spec.rb:
|
1551
|
+
Make Inversion::Template::Node#render consistently take a
|
1552
|
+
RenderState argument across all tags.
|
1553
|
+
[15857a26de10]
|
1554
|
+
|
1555
|
+
* lib/inversion/template/uriencodetag.rb,
|
1556
|
+
spec/inversion/template/uriencodetag_spec.rb:
|
1557
|
+
Fixed a bug in the uriencode tag for non-string attributes.
|
1558
|
+
[fe52500a302b]
|
1559
|
+
|
1560
|
+
2011-07-11 Mahlon E. Smith <mahlon@martini.nu>
|
1561
|
+
|
1562
|
+
* lib/inversion/template/parser.rb,
|
1563
|
+
spec/inversion/template/parser_spec.rb:
|
1564
|
+
Converted parser to use String#scan instead of StringScanner to make
|
1565
|
+
dealing with encoding issues easier
|
1566
|
+
[f16cd5fc4255]
|
1567
|
+
|
1568
|
+
2011-07-11 Michael Granger <ged@FaerieMUD.org>
|
1569
|
+
|
1570
|
+
* lib/inversion/template/tag.rb:
|
1571
|
+
Bugfix for Inversion::Template::Tag#as_comment_body for tags with
|
1572
|
+
null bodies.
|
1573
|
+
[5579ca88f7ac]
|
1574
|
+
|
1575
|
+
* Manifest.txt:
|
1576
|
+
Updating the Manifest
|
1577
|
+
[f2b67bf8db76]
|
1578
|
+
|
1579
|
+
2011-07-08 Michael Granger <ged@FaerieMUD.org>
|
1580
|
+
|
1581
|
+
* experiments/benchmark-parser.rb:
|
1582
|
+
Adding a little parser-benchmarking utility. Just point it at a
|
1583
|
+
directory full of *.tmpl template files.
|
1584
|
+
[06af47a12ed6]
|
1585
|
+
|
1586
|
+
* .hgignore, Rakefile, spec/lib/helpers.rb:
|
1587
|
+
Rakefile cleanup/separate coverage from specs
|
1588
|
+
- Remove all the release stuff from the Rakefile that's already in
|
1589
|
+
hoe-deveiate.
|
1590
|
+
- Add a 'coverage' task to enable coverage generation so it doesn't
|
1591
|
+
get run by default.
|
1592
|
+
[cc53d24b4c56]
|
1593
|
+
|
1594
|
+
2011-07-07 Michael Granger <ged@FaerieMUD.org>
|
1595
|
+
|
1596
|
+
* lib/inversion/template/attrtag.rb,
|
1597
|
+
spec/inversion/template/attrtag_spec.rb:
|
1598
|
+
Adding format syntax to attr with a methodchain
|
1599
|
+
[739dfd64abba]
|
1600
|
+
|
1601
|
+
* lib/inversion/template/parser.rb:
|
1602
|
+
Cleaned up parser logging
|
1603
|
+
[1799cab39156]
|
1604
|
+
|
1605
|
+
2011-07-07 Mahlon E. Smith <mahlon@martini.nu>
|
1606
|
+
|
1607
|
+
* spec/lib/helpers.rb:
|
1608
|
+
Add SimpleCov to the Rakefile.
|
1609
|
+
[9d871bbfa95d]
|
1610
|
+
|
1611
|
+
2011-07-07 Michael Granger <ged@FaerieMUD.org>
|
1612
|
+
|
1613
|
+
* lib/inversion/template/elsetag.rb,
|
1614
|
+
spec/inversion/template/elsetag_spec.rb:
|
1615
|
+
Fix the ElseTag constructor so it handles creation from the parser.
|
1616
|
+
[3d53a4f4a2b4]
|
1617
|
+
|
1618
|
+
* lib/inversion/template/tag.rb, spec/inversion/template/tag_spec.rb:
|
1619
|
+
Fixing a bug in Inversion::Template::Tag.create when given an
|
1620
|
+
illegal tagname.
|
1621
|
+
[75b323c6bc84]
|
1622
|
+
|
1623
|
+
2011-07-06 Michael Granger <ged@FaerieMUD.org>
|
1624
|
+
|
1625
|
+
* Merged with b822cc9b6ff2
|
1626
|
+
[f46b1ff133cd]
|
1627
|
+
|
1628
|
+
* .hgignore, README.md, Rakefile, lib/inversion.rb,
|
1629
|
+
lib/inversion/monkeypatches.rb, lib/inversion/renderstate.rb,
|
1630
|
+
lib/inversion/template.rb, lib/inversion/template/attrtag.rb,
|
1631
|
+
lib/inversion/template/codetag.rb,
|
1632
|
+
lib/inversion/template/conditionaltag.rb,
|
1633
|
+
lib/inversion/template/configtag.rb,
|
1634
|
+
lib/inversion/template/containertag.rb,
|
1635
|
+
lib/inversion/template/elsetag.rb,
|
1636
|
+
lib/inversion/template/elsiftag.rb,
|
1637
|
+
lib/inversion/template/endtag.rb, lib/inversion/template/iftag.rb,
|
1638
|
+
lib/inversion/template/importtag.rb,
|
1639
|
+
lib/inversion/template/includetag.rb,
|
1640
|
+
lib/inversion/template/node.rb, lib/inversion/template/parser.rb,
|
1641
|
+
lib/inversion/template/publishtag.rb,
|
1642
|
+
lib/inversion/template/subscribetag.rb,
|
1643
|
+
lib/inversion/template/tag.rb, lib/inversion/template/unlesstag.rb,
|
1644
|
+
spec/inversion/renderstate_spec.rb,
|
1645
|
+
spec/inversion/template/attrtag_spec.rb,
|
1646
|
+
spec/inversion/template/endtag_spec.rb,
|
1647
|
+
spec/inversion/template/iftag_spec.rb,
|
1648
|
+
spec/inversion/template/includetag_spec.rb,
|
1649
|
+
spec/inversion/template/node_spec.rb,
|
1650
|
+
spec/inversion/template/parser_spec.rb,
|
1651
|
+
spec/inversion/template/publishtag_spec.rb,
|
1652
|
+
spec/inversion/template/subscribetag_spec.rb,
|
1653
|
+
spec/inversion/template/tag_spec.rb,
|
1654
|
+
spec/inversion/template/unlesstag_spec.rb,
|
1655
|
+
spec/inversion/template_spec.rb, spec/lib/helpers.rb:
|
1656
|
+
Adding publish/subscribe.
|
1657
|
+
- Replaces import/export.
|
1658
|
+
- De-Yarded.
|
1659
|
+
- Load monkeypatches from the top level.
|
1660
|
+
- Inversion::RenderState
|
1661
|
+
* Made it heirarchical to provide access to enclosing template state
|
1662
|
+
from tags during rendering.
|
1663
|
+
* Added pub/sub support via #publish and #subscribe methods.
|
1664
|
+
* Pulled a bunch of rendering logic out of Template.
|
1665
|
+
* Deferred stringification until the last possible moment for nodes
|
1666
|
+
that need to hang around until the very end of rendering.
|
1667
|
+
* Allow the render destination to be overridden for a block.
|
1668
|
+
* Pulled subtemplate (or any delegated) rendering up out of AttrTag
|
1669
|
+
- Made the logic in Inversion::Template::ContainerTag/Inversion::Templ
|
1670
|
+
ate::ConditionalTag more consistent.
|
1671
|
+
- Extract non-general rendering logic from ConditionalTag into
|
1672
|
+
IfTag/UnlessTag.
|
1673
|
+
- Changed #before_append/#after_append to *_appending to be more
|
1674
|
+
consistent with #before_/#after_rendering
|
1675
|
+
- Added a yield to ContainerTag's #initialize for prettier node-tree
|
1676
|
+
building.
|
1677
|
+
- Pulled subtemplate loading from IncludeTag up into
|
1678
|
+
Inversion::Parser::State so it can be used by other tags.
|
1679
|
+
- Pulled container-closing up into EndTag.
|
1680
|
+
- Inversion::Template::Tag's constructor now strips the body.
|
1681
|
+
- Add SimpleCov coverage ()
|
1682
|
+
[4d7a94c4cf02]
|
1683
|
+
|
1684
|
+
2011-07-05 Mahlon E. Smith <mahlon@martini.nu>
|
1685
|
+
|
1686
|
+
* lib/inversion/template/pptag.rb, spec/inversion/mixins_spec.rb,
|
1687
|
+
spec/inversion/template/pptag_spec.rb:
|
1688
|
+
Heh, added the pp tag and mixin spec files back from changeset
|
1689
|
+
5d244064e631. Whoops.
|
1690
|
+
[b822cc9b6ff2]
|
1691
|
+
|
1692
|
+
2011-07-05 Michael Granger <ged@FaerieMUD.org>
|
1693
|
+
|
1694
|
+
* Rakefile, lib/inversion/sinatra.rb, lib/inversion/tilt.rb,
|
1695
|
+
spec/data/sinatra/hello.inversion, spec/inversion/sinatra_spec.rb,
|
1696
|
+
spec/inversion/tilt_spec.rb:
|
1697
|
+
Adding support for Sinatra.
|
1698
|
+
[a4d57edad888]
|
1699
|
+
|
1700
|
+
* lib/inversion/template.rb, lib/inversion/template/tag.rb:
|
1701
|
+
Fixed some shadowed variable warnings.
|
1702
|
+
[5c326f09c56e]
|
1703
|
+
|
1704
|
+
* Rakefile, experiments/tilt-test.tmpl, lib/inversion/tilt.rb,
|
1705
|
+
spec/inversion/tilt_spec.rb:
|
1706
|
+
Adding Tilt (https://github.com/rtomayko/tilt) support
|
1707
|
+
[e414459913e5]
|
1708
|
+
|
1709
|
+
2011-06-29 Michael Granger <ged@FaerieMUD.org>
|
1710
|
+
|
1711
|
+
* spec/inversion/template_spec.rb:
|
1712
|
+
Fix omitted spec from the import tag commit
|
1713
|
+
[5c8fe7fdc063]
|
1714
|
+
|
1715
|
+
* lib/inversion/template/importtag.rb:
|
1716
|
+
Downgrade accidentally-committed error-level debugging messages
|
1717
|
+
[6c0a7d914dc2]
|
1718
|
+
|
1719
|
+
* lib/inversion/template.rb, lib/inversion/template/importtag.rb,
|
1720
|
+
spec/inversion/template/importtag_spec.rb,
|
1721
|
+
spec/inversion/template_spec.rb:
|
1722
|
+
Added the 'import' tag
|
1723
|
+
[1ff17b49fb92]
|
1724
|
+
|
1725
|
+
2011-06-27 Michael Granger <ged@FaerieMUD.org>
|
1726
|
+
|
1727
|
+
* lib/inversion/template.rb, spec/inversion/template_spec.rb:
|
1728
|
+
Aliased Inversion::Template#render to #to_s
|
1729
|
+
[0fdad3807675]
|
1730
|
+
|
1731
|
+
2011-06-27 Mahlon E. Smith <mahlon@martini.nu>
|
1732
|
+
|
1733
|
+
* lib/inversion/template/attrtag.rb,
|
1734
|
+
spec/inversion/template/attrtag_spec.rb:
|
1735
|
+
Added before_rendering/after_rendering hooks to the attr tag
|
1736
|
+
[25cef559d995]
|
1737
|
+
|
1738
|
+
2011-06-24 Michael Granger <ged@FaerieMUD.org>
|
1739
|
+
|
1740
|
+
* README.md, lib/inversion/template/conditionaltag.rb,
|
1741
|
+
lib/inversion/template/elsetag.rb,
|
1742
|
+
lib/inversion/template/elsiftag.rb, lib/inversion/template/iftag.rb,
|
1743
|
+
lib/inversion/template/parser.rb,
|
1744
|
+
lib/inversion/template/unlesstag.rb,
|
1745
|
+
spec/inversion/renderstate_spec.rb,
|
1746
|
+
spec/inversion/template/elsetag_spec.rb,
|
1747
|
+
spec/inversion/template/elsiftag_spec.rb,
|
1748
|
+
spec/inversion/template/iftag_spec.rb,
|
1749
|
+
spec/inversion/template/parser_spec.rb,
|
1750
|
+
spec/inversion/template/unlesstag_spec.rb:
|
1751
|
+
Added conditional flow-control tags: if, elsif, else, unless.
|
1752
|
+
[75f89b3b112e]
|
1753
|
+
|
1754
|
+
2011-06-24 Mahlon E. Smith <mahlon@martini.nu>
|
1755
|
+
|
1756
|
+
* lib/inversion/template/attrtag.rb,
|
1757
|
+
spec/inversion/template/attrtag_spec.rb:
|
1758
|
+
Make attr tags not stringify their rendered values so overridding
|
1759
|
+
implementations of #render can decide for themselves what to do
|
1760
|
+
[f8bf76e02432]
|
1761
|
+
|
1762
|
+
2011-06-24 Michael Granger <ged@FaerieMUD.org>
|
1763
|
+
|
1764
|
+
* lib/inversion/template/attrtag.rb, lib/inversion/template/fortag.rb,
|
1765
|
+
spec/inversion/template/attrtag_spec.rb:
|
1766
|
+
Consistency fixes for debugging comment output
|
1767
|
+
[5345b7293d41]
|
1768
|
+
|
1769
|
+
2011-06-24 Mahlon E. Smith <mahlon@martini.nu>
|
1770
|
+
|
1771
|
+
* lib/inversion/template/endtag.rb,
|
1772
|
+
spec/inversion/template/endtag_spec.rb:
|
1773
|
+
Made end tag less special-case-ey, and added rendering as a comment
|
1774
|
+
so container tags have opening and closing debugging comments
|
1775
|
+
[74eef2dfaf25]
|
1776
|
+
|
1777
|
+
2011-06-24 Michael Granger <ged@FaerieMUD.org>
|
1778
|
+
|
1779
|
+
* lib/inversion/template/attrtag.rb,
|
1780
|
+
spec/inversion/template/attrtag_spec.rb:
|
1781
|
+
Rendered values of false are now returned as false instead of the
|
1782
|
+
string 'false'
|
1783
|
+
[7496f1b5840d]
|
1784
|
+
|
1785
|
+
* lib/inversion/renderstate.rb, spec/inversion/renderstate_spec.rb:
|
1786
|
+
Changed the RenderState's attribute-accessor proxy method to be more
|
1787
|
+
flexible
|
1788
|
+
[a413d2252282]
|
1789
|
+
|
1790
|
+
* lib/inversion/template/fortag.rb,
|
1791
|
+
spec/inversion/template/fortag_spec.rb:
|
1792
|
+
Fixed 'for' in the case where the enumerated attribute isn't set
|
1793
|
+
[da438e56caef]
|
1794
|
+
|
1795
|
+
* spec/inversion/template/calltag_spec.rb.orig:
|
1796
|
+
Remove accidentally-committed .orig file
|
1797
|
+
[039d8134bd10]
|
1798
|
+
|
1799
|
+
* lib/inversion/template/fortag.rb,
|
1800
|
+
spec/inversion/template/fortag_spec.rb:
|
1801
|
+
Fix bug in the 'for' tag
|
1802
|
+
[fa20b04ea505]
|
1803
|
+
|
1804
|
+
2011-06-24 Mahlon E. Smith <mahlon@martini.nu>
|
1805
|
+
|
1806
|
+
* lib/inversion/template.rb, lib/inversion/template/attrtag.rb,
|
1807
|
+
lib/inversion/template/calltag.rb,
|
1808
|
+
lib/inversion/template/escapetag.rb,
|
1809
|
+
lib/inversion/template/iftag.rb, lib/inversion/template/node.rb,
|
1810
|
+
lib/inversion/template/uriencodetag.rb,
|
1811
|
+
spec/inversion/renderstate_spec.rb,
|
1812
|
+
spec/inversion/template/attrtag_spec.rb,
|
1813
|
+
spec/inversion/template/calltag_spec.rb,
|
1814
|
+
spec/inversion/template/configtag_spec.rb,
|
1815
|
+
spec/inversion/template/iftag_spec.rb:
|
1816
|
+
Adding 'if' tag.
|
1817
|
+
- Combined 'code' and 'attr' tags; code is now just an alias for
|
1818
|
+
'attr'.
|
1819
|
+
- Changed the API of Inversion::Template::Node#render to defer
|
1820
|
+
stringification of the tag's value to Inversion::Template#render
|
1821
|
+
instead of doing it itself. This makes #render easier to super to
|
1822
|
+
for purposes other than rendered output (e.g., logical tags,
|
1823
|
+
introspection).
|
1824
|
+
- Added Inversion::Template::IfTag and spec.
|
1825
|
+
[282f18320a55]
|
1826
|
+
|
1827
|
+
2011-06-24 Michael Granger <ged@FaerieMUD.org>
|
1828
|
+
|
1829
|
+
* README.md:
|
1830
|
+
Added/updated tags
|
1831
|
+
[6b7ea4c5c4d8]
|
1832
|
+
|
1833
|
+
2011-06-22 Michael Granger <ged@faerieMUD.org>
|
1834
|
+
|
1835
|
+
* README.md, lib/inversion/mixins.rb,
|
1836
|
+
lib/inversion/template/escapetag.rb:
|
1837
|
+
Added the pp tag; factored out escaping as a mixin so it can be
|
1838
|
+
applied to multiple tags.
|
1839
|
+
[5d244064e631]
|
1840
|
+
|
1841
|
+
2011-06-22 Mahlon E. Smith <mahlon@martini.nu>
|
1842
|
+
|
1843
|
+
* lib/inversion/template/uriencodetag.rb,
|
1844
|
+
spec/inversion/template/uriencodetag_spec.rb:
|
1845
|
+
Add the <?uriencode ... ?> tag.
|
1846
|
+
[a149dfdf20d4]
|
1847
|
+
|
1848
|
+
2011-06-20 Mahlon E. Smith <mahlon@martini.nu>
|
1849
|
+
|
1850
|
+
* README.md, lib/inversion/template.rb,
|
1851
|
+
lib/inversion/template/escapetag.rb,
|
1852
|
+
spec/inversion/template/escapetag_spec.rb:
|
1853
|
+
Added the <?escape ... ?> tag, currently just supporting HTML
|
1854
|
+
escaping.
|
1855
|
+
[0c06f24416bc]
|
1856
|
+
|
1857
|
+
2011-06-20 Michael Granger <ged@FaerieMUD.org>
|
1858
|
+
|
1859
|
+
* spec/inversion/template/includetag_spec.rb:
|
1860
|
+
Rearranged include tag specs
|
1861
|
+
[3bfb053c8dcb]
|
1862
|
+
|
1863
|
+
2011-06-20 Mahlon E. Smith <mahlon@martini.nu>
|
1864
|
+
|
1865
|
+
* lib/inversion/template/codetag.rb:
|
1866
|
+
Changed tag-pattern methods to support runtime inheritance
|
1867
|
+
[a1e3fc29efae]
|
1868
|
+
|
1869
|
+
2011-06-20 Michael Granger <ged@FaerieMUD.org>
|
1870
|
+
|
1871
|
+
* README.md:
|
1872
|
+
Updated README
|
1873
|
+
[d44d7db1901a]
|
1874
|
+
|
1875
|
+
2011-06-20 Mahlon E. Smith <mahlon@martini.nu>
|
1876
|
+
|
1877
|
+
* Rakefile, spec/lib/helpers.rb:
|
1878
|
+
Updated the deprecated "Rspec" constant to "RSpec".
|
1879
|
+
[3bb4dbe2439a]
|
1880
|
+
|
1881
|
+
* lib/inversion/exceptions.rb, lib/inversion/template.rb,
|
1882
|
+
lib/inversion/template/configtag.rb,
|
1883
|
+
lib/inversion/template/includetag.rb,
|
1884
|
+
lib/inversion/template/node.rb, lib/inversion/template/parser.rb,
|
1885
|
+
lib/inversion/template/tag.rb,
|
1886
|
+
spec/inversion/template/includetag_spec.rb,
|
1887
|
+
spec/inversion/template/node_spec.rb,
|
1888
|
+
spec/inversion/template/parser_spec.rb,
|
1889
|
+
spec/inversion/template_spec.rb:
|
1890
|
+
Added the <?include ...?> tag.
|
1891
|
+
[bb7a010fc3c9]
|
1892
|
+
|
1893
|
+
2011-06-17 Mahlon E. Smith <mahlon@martini.nu>
|
1894
|
+
|
1895
|
+
* lib/inversion/template.rb, lib/inversion/template/configtag.rb,
|
1896
|
+
spec/inversion/template_spec.rb:
|
1897
|
+
Untaint template contents if read from a file.
|
1898
|
+
[daab04896e58]
|
1899
|
+
|
1900
|
+
* lib/inversion/template/configtag.rb,
|
1901
|
+
spec/inversion/template/configtag_spec.rb:
|
1902
|
+
Forgot to add the config files to the repo! :)
|
1903
|
+
[390eb0a3a6e4]
|
1904
|
+
|
1905
|
+
* README.md, lib/inversion/mixins.rb, lib/inversion/renderstate.rb,
|
1906
|
+
lib/inversion/template.rb, lib/inversion/template/node.rb,
|
1907
|
+
lib/inversion/template/parser.rb,
|
1908
|
+
spec/inversion/renderstate_spec.rb,
|
1909
|
+
spec/inversion/template/node_spec.rb,
|
1910
|
+
spec/inversion/template/parser_spec.rb,
|
1911
|
+
spec/inversion/template_spec.rb:
|
1912
|
+
- Added the <?config ?> tag.
|
1913
|
+
- Changed the config variable 'raise_on_unknown' to
|
1914
|
+
'ignore_unknown_tags'.
|
1915
|
+
- Added options to the renderstate and parserstate, so the config tag
|
1916
|
+
can override.
|
1917
|
+
- Added #on_append to the Node class, so nodes have an opportunity to
|
1918
|
+
modify the parse state as they are being parsed.
|
1919
|
+
[cacdac743e2f]
|
1920
|
+
|
1921
|
+
2011-06-15 Michael Granger <ged@FaerieMUD.org>
|
1922
|
+
|
1923
|
+
* lib/inversion/exceptions.rb, lib/inversion/template.rb,
|
1924
|
+
spec/inversion/template_spec.rb:
|
1925
|
+
Adding configurable exception-handling to the render phase
|
1926
|
+
[f336e4928b34]
|
1927
|
+
|
1928
|
+
* lib/inversion/template/parser.rb:
|
1929
|
+
Fixing bug in construction of trailing text node in
|
1930
|
+
Inversion::Template::Parser
|
1931
|
+
[1eba061a9a82]
|
1932
|
+
|
1933
|
+
* lib/inversion/renderstate.rb, spec/inversion/renderstate_spec.rb:
|
1934
|
+
Use Object#clone instead of #dup to preserve frozen-ness and
|
1935
|
+
singleton methods on attribute objects
|
1936
|
+
[9020a2fc1db5]
|
1937
|
+
|
1938
|
+
* lib/inversion/template/commenttag.rb,
|
1939
|
+
spec/inversion/template/commenttag_spec.rb:
|
1940
|
+
Adding a comment tag
|
1941
|
+
[9259443da186]
|
1942
|
+
|
1943
|
+
* lib/inversion/template/node.rb:
|
1944
|
+
Added linnum and colnum readers to Inversion::Template::Node
|
1945
|
+
[e35d429943ca]
|
1946
|
+
|
1947
|
+
* spec/inversion/template/fortag_spec.rb:
|
1948
|
+
Aesthetic naming fix
|
1949
|
+
[0b6afb5de2bf]
|
1950
|
+
|
1951
|
+
* lib/inversion/renderstate.rb, lib/inversion/template.rb,
|
1952
|
+
lib/inversion/template/attrtag.rb,
|
1953
|
+
lib/inversion/template/calltag.rb, lib/inversion/template/fortag.rb,
|
1954
|
+
lib/inversion/template/node.rb, spec/inversion/renderstate_spec.rb,
|
1955
|
+
spec/inversion/template/calltag_spec.rb.orig,
|
1956
|
+
spec/inversion/template/fortag_spec.rb,
|
1957
|
+
spec/inversion/template_spec.rb:
|
1958
|
+
Adding state to nodes, for attribute overlay
|
1959
|
+
[d5a4256b2252]
|
1960
|
+
|
1961
|
+
2011-06-08 Mahlon E. Smith <mahlon@martini.nu>
|
1962
|
+
|
1963
|
+
* .hgignore, lib/inversion/template.rb,
|
1964
|
+
lib/inversion/template/attrtag.rb,
|
1965
|
+
lib/inversion/template/calltag.rb,
|
1966
|
+
lib/inversion/template/codetag.rb, lib/inversion/template/fortag.rb,
|
1967
|
+
lib/inversion/template/node.rb, lib/inversion/template/parser.rb,
|
1968
|
+
lib/inversion/template/tag.rb, lib/inversion/template/textnode.rb,
|
1969
|
+
spec/inversion/template/node_spec.rb,
|
1970
|
+
spec/inversion/template/parser_spec.rb,
|
1971
|
+
spec/inversion/template/tag_spec.rb,
|
1972
|
+
spec/inversion/template_spec.rb:
|
1973
|
+
Add parse state information to tag objects for improved error
|
1974
|
+
reporting. (Line numbers, column number, file name.)
|
1975
|
+
[6cb1f242e538]
|
1976
|
+
|
1977
|
+
2011-06-03 Mahlon E. Smith <mahlon@martini.nu>
|
1978
|
+
|
1979
|
+
* README.md, lib/inversion/mixins.rb, lib/inversion/template.rb,
|
1980
|
+
lib/inversion/template/containertag.rb,
|
1981
|
+
lib/inversion/template/endtag.rb, lib/inversion/template/fortag.rb,
|
1982
|
+
lib/inversion/template/node.rb, lib/inversion/template/parser.rb,
|
1983
|
+
lib/inversion/template/tag.rb,
|
1984
|
+
spec/inversion/template/containertag_spec.rb,
|
1985
|
+
spec/inversion/template/node_spec.rb,
|
1986
|
+
spec/inversion/template/parser_spec.rb:
|
1987
|
+
Add scoping to the template parser.
|
1988
|
+
[eca7f0156079]
|
1989
|
+
|
1990
|
+
2011-06-01 Mahlon E. Smith <mahlon@martini.nu>
|
1991
|
+
|
1992
|
+
* lib/inversion/template/fortag.rb,
|
1993
|
+
spec/inversion/template/fortag_spec.rb:
|
1994
|
+
Adding initial implementation of the "for" tag
|
1995
|
+
[618d9df5f550]
|
1996
|
+
|
1997
|
+
2011-05-27 Mahlon E. Smith <mahlon@martini.nu>
|
1998
|
+
|
1999
|
+
* lib/inversion/monkeypatches.rb, lib/inversion/template/codetag.rb,
|
2000
|
+
spec/inversion/monkeypatches_spec.rb:
|
2001
|
+
Splitting out monkeypatches into a separate file
|
2002
|
+
[6ac7016be589]
|
2003
|
+
|
2004
|
+
* Rakefile, lib/inversion/template/calltag.rb,
|
2005
|
+
lib/inversion/template/codetag.rb,
|
2006
|
+
spec/inversion/template/calltag_spec.rb:
|
2007
|
+
Adding 'call' tag parsing and evaluation
|
2008
|
+
[9d22efa61e28]
|
2009
|
+
|
2010
|
+
2011-05-11 Michael Granger <ged@FaerieMUD.org>
|
2011
|
+
|
2012
|
+
* .rvmrc, README.md, lib/inversion.rb, lib/inversion/template.rb,
|
2013
|
+
lib/inversion/template/attrtag.rb,
|
2014
|
+
lib/inversion/template/codetag.rb, lib/inversion/template/node.rb,
|
2015
|
+
lib/inversion/template/parser.rb, lib/inversion/template/tag.rb,
|
2016
|
+
lib/inversion/template/textnode.rb,
|
2017
|
+
spec/inversion/template/attrtag_spec.rb,
|
2018
|
+
spec/inversion/template/node_spec.rb,
|
2019
|
+
spec/inversion/template/tag_spec.rb,
|
2020
|
+
spec/inversion/template/textnode_spec.rb,
|
2021
|
+
spec/inversion/template_spec.rb:
|
2022
|
+
More work:
|
2023
|
+
* Reworked the README to introduce what Inversion *is* first, rather
|
2024
|
+
than starting off by explaining what it's *not*. Also: funny
|
2025
|
+
examples.
|
2026
|
+
* Added Configurability support.
|
2027
|
+
* Added output-comment debugging.
|
2028
|
+
[e82a185289d3]
|
2029
|
+
|
2030
|
+
2011-04-27 Michael Granger <ged@FaerieMUD.org>
|
2031
|
+
|
2032
|
+
* lib/inversion/template/attrtag.rb,
|
2033
|
+
spec/inversion/template/attrtag_spec.rb:
|
2034
|
+
Got attribute rendering working.
|
2035
|
+
[94ec90e08413]
|
2036
|
+
|
2037
|
+
* README.md:
|
2038
|
+
Adding some tentative tag ideas to the README
|
2039
|
+
[ee74ef4f58f0]
|
2040
|
+
|
2041
|
+
2011-04-15 Michael Granger <ged@FaerieMUD.org>
|
2042
|
+
|
2043
|
+
* README.md, Rakefile, experiments/dumptemplate.rb,
|
2044
|
+
lib/inversion/template.rb, lib/inversion/template/parser.rb,
|
2045
|
+
lib/inversion/template/textnode.rb,
|
2046
|
+
spec/inversion/template/parser_spec.rb,
|
2047
|
+
spec/inversion/template_spec.rb:
|
2048
|
+
New features:
|
2049
|
+
* Inversion::Template:
|
2050
|
+
- Added a ::load method for loading template by path.
|
2051
|
+
* Inversion::Template::Parser:
|
2052
|
+
- Added options
|
2053
|
+
- Added option for raising an exception on an unknown tag
|
2054
|
+
* Renamed TextNode#source to #body for consistency
|
2055
|
+
* Added the beginnings of a command-line utility for dumping the node
|
2056
|
+
tree of a template
|
2057
|
+
[3ced66ae330d]
|
2058
|
+
|
2059
|
+
2011-04-13 Michael Granger <ged@FaerieMUD.org>
|
2060
|
+
|
2061
|
+
* experiments/custom_enumerator.rb, experiments/pi_to_methods.rb,
|
2062
|
+
lib/inversion/template.rb, lib/inversion/template/attrtag.rb,
|
2063
|
+
lib/inversion/template/calltag.rb,
|
2064
|
+
lib/inversion/template/codetag.rb, lib/inversion/template/node.rb,
|
2065
|
+
lib/inversion/template/textnode.rb, spec/inversion/template_spec.rb:
|
2066
|
+
Added rendering, template attributes, attribute accessors
|
2067
|
+
[1ad1e0c91065]
|
2068
|
+
|
2069
|
+
2011-04-12 Michael Granger <ged@FaerieMUD.org>
|
2070
|
+
|
2071
|
+
* README.md:
|
2072
|
+
Adding Mahlon to the copyright statement in the README
|
2073
|
+
[7753d3c9b470]
|
2074
|
+
|
2075
|
+
* README.md, Rakefile:
|
2076
|
+
Merged with dc16cc877dfc, updated README
|
2077
|
+
[0fdf3122bf7c]
|
2078
|
+
|
2079
|
+
* README.md, experiments/erb_scope_bleed.rb:
|
2080
|
+
Fleshing out the README, adding scope-bleedover example
|
2081
|
+
[f44b597af8bd]
|
2082
|
+
|
2083
|
+
* lib/inversion.rb:
|
2084
|
+
Removing checked-in revision value
|
2085
|
+
[773feca505b8]
|
2086
|
+
|
2087
|
+
2011-04-06 Michael Granger <ged@FaerieMUD.org>
|
2088
|
+
|
2089
|
+
* .irbrc, Rakefile, experiments/ripper_spike.rb, lib/inversion.rb,
|
2090
|
+
lib/inversion/exceptions.rb, lib/inversion/mixins.rb,
|
2091
|
+
lib/inversion/template.rb, lib/inversion/template/attr_tag.rb,
|
2092
|
+
lib/inversion/template/attrtag.rb,
|
2093
|
+
lib/inversion/template/calltag.rb,
|
2094
|
+
lib/inversion/template/codetag.rb, lib/inversion/template/node.rb,
|
2095
|
+
lib/inversion/template/parser.rb, lib/inversion/template/tag.rb,
|
2096
|
+
lib/inversion/template/textnode.rb, lib/inversion/utils.rb,
|
2097
|
+
spec/inversion/template/attr_tag_spec.rb,
|
2098
|
+
spec/inversion/template/attrtag_spec.rb,
|
2099
|
+
spec/inversion/template/calltag_spec.rb,
|
2100
|
+
spec/inversion/template/codetag_spec.rb,
|
2101
|
+
spec/inversion/template/node_spec.rb,
|
2102
|
+
spec/inversion/template/parser_spec.rb,
|
2103
|
+
spec/inversion/template/tag_spec.rb,
|
2104
|
+
spec/inversion/template/textnode_spec.rb,
|
2105
|
+
spec/inversion/template_spec.rb, spec/inversion_spec.rb,
|
2106
|
+
spec/lib/constants.rb, spec/lib/helpers.rb:
|
2107
|
+
Adding parsed tag bodies.
|
2108
|
+
[dc16cc877dfc]
|
2109
|
+
|
2110
|
+
2011-03-18 Michael Granger <ged@FaerieMUD.org>
|
2111
|
+
|
2112
|
+
* Merging with b50fef00621b
|
2113
|
+
[861b21a30656]
|
2114
|
+
|
2115
|
+
* lib/inversion.rb:
|
2116
|
+
Clearing Revision tag
|
2117
|
+
[cdacb5f98f93]
|
2118
|
+
|
2119
|
+
2011-02-07 Mahlon E. Smith <mahlon@martini.nu>
|
2120
|
+
|
2121
|
+
* lib/inversion/template.rb, lib/inversion/template/attr_tag.rb,
|
2122
|
+
lib/inversion/template/tag.rb,
|
2123
|
+
spec/inversion/template/attr_tag_spec.rb,
|
2124
|
+
spec/inversion/template/tag_spec.rb,
|
2125
|
+
spec/inversion/template_spec.rb:
|
2126
|
+
Checkpoint, fleshing out Tags.
|
2127
|
+
[4a4fc3f1dc14]
|
2128
|
+
|
2129
|
+
* lib/inversion.rb, lib/inversion/template.rb,
|
2130
|
+
spec/inversion/template_spec.rb, spec/inversion_spec.rb:
|
2131
|
+
Totally awesome templating system DONE. Now: profit!
|
2132
|
+
[b50fef00621b]
|
2133
|
+
|
2134
|
+
2011-02-04 Mahlon E. Smith <mahlon@martini.nu>
|
2135
|
+
|
2136
|
+
* experiments/pi_to_methods.rb, experiments/ripper_spike.rb,
|
2137
|
+
lib/inversion.rb:
|
2138
|
+
Added experiments
|
2139
|
+
[77d6892cd988]
|
2140
|
+
|
2141
|
+
2011-02-02 Mahlon E. Smith <mahlon@martini.nu>
|
2142
|
+
|
2143
|
+
* .hgignore, .rvmrc, History.md, Manifest.txt, README.md, Rakefile,
|
2144
|
+
lib/inversion.rb, spec/inversion_spec.rb:
|
2145
|
+
Project setup.
|
2146
|
+
[1020dbbfb52c]
|