manveru-innate 2009.03.24 → 2009.04

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/CHANGELOG +354 -0
  2. data/MANIFEST +34 -22
  3. data/README.md +2 -10
  4. data/Rakefile +30 -247
  5. data/example/app/retro_games.rb +8 -8
  6. data/example/app/todo/layout/{default.erb → default.xhtml} +1 -1
  7. data/example/app/todo/view/{index.erb → index.xhtml} +11 -11
  8. data/example/app/whywiki_erb/start.rb +2 -1
  9. data/example/app/whywiki_erb/view/{edit.html.erb → edit.erb} +0 -0
  10. data/example/app/whywiki_erb/view/{index.html.erb → index.erb} +0 -0
  11. data/example/howto_spec.rb +1 -1
  12. data/example/provides.rb +9 -6
  13. data/example/session.rb +3 -3
  14. data/innate.gemspec +23 -127
  15. data/lib/innate/action.rb +24 -13
  16. data/lib/innate/adapter.rb +5 -27
  17. data/lib/innate/cache/file_based.rb +2 -0
  18. data/lib/innate/cache.rb +1 -1
  19. data/lib/innate/current.rb +5 -5
  20. data/lib/innate/dynamap.rb +5 -0
  21. data/lib/innate/helper/cgi.rb +32 -19
  22. data/lib/innate/helper/link.rb +2 -2
  23. data/lib/innate/helper/redirect.rb +1 -1
  24. data/lib/innate/helper/render.rb +87 -0
  25. data/lib/innate/helper/send_file.rb +9 -1
  26. data/lib/innate/helper.rb +20 -29
  27. data/lib/innate/log/hub.rb +1 -1
  28. data/lib/innate/middleware_compiler.rb +1 -15
  29. data/lib/innate/mock.rb +2 -3
  30. data/lib/innate/node.rb +85 -55
  31. data/lib/innate/options/dsl.rb +1 -1
  32. data/lib/innate/options.rb +1 -1
  33. data/lib/innate/request.rb +3 -76
  34. data/lib/innate/response.rb +1 -8
  35. data/lib/innate/session.rb +2 -3
  36. data/lib/innate/spec.rb +6 -50
  37. data/lib/innate/version.rb +1 -1
  38. data/lib/innate/view/erb.rb +1 -5
  39. data/lib/innate/view/etanni.rb +36 -0
  40. data/lib/innate/view/none.rb +1 -1
  41. data/lib/innate/view.rb +14 -16
  42. data/lib/innate.rb +27 -53
  43. data/spec/example/app/retro_games.rb +30 -0
  44. data/spec/example/provides.rb +16 -0
  45. data/spec/example/session.rb +8 -14
  46. data/spec/innate/action/layout/file_layout.xhtml +1 -0
  47. data/spec/innate/action/layout.rb +1 -1
  48. data/spec/innate/helper/aspect.rb +6 -6
  49. data/spec/innate/helper/flash.rb +28 -47
  50. data/spec/innate/helper/link.rb +8 -0
  51. data/spec/innate/helper/redirect.rb +58 -43
  52. data/spec/innate/helper/render.rb +133 -0
  53. data/spec/innate/helper/view/aspect_hello.xhtml +1 -0
  54. data/spec/innate/helper/view/locals.xhtml +1 -0
  55. data/spec/innate/helper/view/loop.xhtml +4 -0
  56. data/spec/innate/helper/view/num.xhtml +1 -0
  57. data/spec/innate/helper/view/partial.xhtml +1 -0
  58. data/spec/innate/helper/view/recursive.xhtml +7 -0
  59. data/spec/innate/node/node.rb +5 -13
  60. data/spec/innate/node/view/another_layout/{another_layout.erb → another_layout.xhtml} +1 -1
  61. data/spec/innate/node/view/{bar.erb → bar.xhtml} +0 -0
  62. data/spec/innate/node/view/foo.html.xhtml +1 -0
  63. data/spec/innate/node/view/{only_view.erb → only_view.xhtml} +0 -0
  64. data/spec/innate/node/view/with_layout.xhtml +1 -0
  65. data/spec/innate/provides/list.html.xhtml +1 -0
  66. data/spec/innate/provides/list.txt.xhtml +1 -0
  67. data/spec/innate/provides.rb +2 -2
  68. data/spec/innate/request.rb +0 -9
  69. data/spec/innate/session.rb +14 -15
  70. data/spec/innate/state/fiber.rb +8 -7
  71. data/tasks/bacon.rake +66 -0
  72. data/tasks/changelog.rake +18 -0
  73. data/tasks/gem.rake +22 -0
  74. data/tasks/gem_installer.rake +76 -0
  75. data/tasks/grancher.rake +12 -0
  76. data/tasks/install_dependencies.rake +4 -0
  77. data/tasks/manifest.rake +4 -0
  78. data/tasks/rcov.rake +19 -0
  79. data/tasks/release.rake +51 -0
  80. data/tasks/reversion.rake +8 -0
  81. data/tasks/setup.rake +28 -0
  82. metadata +41 -38
  83. data/lib/innate/core_compatibility/basic_object.rb +0 -10
  84. data/lib/innate/core_compatibility/string.rb +0 -3
  85. data/lib/innate/helper/partial.rb +0 -93
  86. data/spec/innate/action/layout/file_layout.erb +0 -1
  87. data/spec/innate/helper/partial.rb +0 -101
  88. data/spec/innate/helper/view/aspect_hello.erb +0 -1
  89. data/spec/innate/helper/view/locals.erb +0 -1
  90. data/spec/innate/helper/view/loop.erb +0 -4
  91. data/spec/innate/helper/view/num.erb +0 -1
  92. data/spec/innate/helper/view/partial.erb +0 -1
  93. data/spec/innate/helper/view/recursive.erb +0 -8
  94. data/spec/innate/node/view/foo.html.erb +0 -1
  95. data/spec/innate/node/view/with_layout.erb +0 -1
  96. data/spec/innate/provides/list.html.erb +0 -1
  97. data/spec/innate/provides/list.txt.erb +0 -1
data/CHANGELOG CHANGED
@@ -1,3 +1,357 @@
1
+ [0ec2012 | Thu Apr 23 06:21:17 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
2
+
3
+ * Allow deletion of mapped apps in DynaMap
4
+
5
+ [cbedd9c | Thu Apr 23 05:04:04 UTC 2009] Ryan Grove <ryan@wonko.com>
6
+
7
+ * Add path and full_path to Innate::Action
8
+
9
+ Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
10
+
11
+ [b9a0d4b | Mon Apr 20 05:12:29 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
12
+
13
+ * Make the u and h aliases for the CGI helper module_functions too
14
+
15
+ [b68aad4 | Mon Apr 20 05:12:10 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
16
+
17
+ * Allow further modification of the Action in the render_* methods via block
18
+
19
+ [dca3531 | Sun Apr 19 23:38:06 UTC 2009] Ryan Grove <ryan@wonko.com>
20
+
21
+ * Preserve response headers when redirecting. Closes #1
22
+
23
+ Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
24
+
25
+ [d465ca3 | Sat Apr 18 02:46:09 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
26
+
27
+ * Version 2009.04.18
28
+
29
+ [987c5d7 | Sat Apr 18 02:44:26 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
30
+
31
+ * Update the release tasks
32
+
33
+ [f927c9d | Fri Apr 17 11:51:35 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
34
+
35
+ * Add Content-Disposition support to send_file
36
+
37
+ [888318c | Fri Apr 17 10:43:10 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
38
+
39
+ * Better English in render_custom error
40
+
41
+ [15078e6 | Wed Apr 15 16:49:04 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
42
+
43
+ * Add comment about planned deprecation of SendFile helper's default status
44
+
45
+ [4b487aa | Wed Apr 15 16:48:09 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
46
+
47
+ * Remove the length from Response, Rack provides that
48
+
49
+ [1634391 | Wed Apr 15 11:02:11 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
50
+
51
+ * Don't camel-case the helper module name, simply remove underscores, we do case-insensitive lookup anyway
52
+
53
+ [f97e8d7 | Wed Apr 15 10:58:35 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
54
+
55
+ * Remove core_extensions, we don't need String#each or BasicObject anymore
56
+
57
+ [0b33546 | Wed Apr 15 09:16:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
58
+
59
+ * Action may be invalid if the node requires a method and view
60
+
61
+ [39dd843 | Wed Apr 15 09:15:30 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
62
+
63
+ * Escape non-hash arguments to Helper::Link#route (ryan grove)
64
+
65
+ [22ee4df | Wed Apr 15 07:25:02 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
66
+
67
+ * Raise if the Render helper cannot obtain an Action
68
+
69
+ [e229299 | Mon Apr 13 12:48:05 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
70
+
71
+ * Allow Action#call even if we are outside Current#wrap
72
+
73
+ [b6e9558 | Mon Apr 13 04:37:42 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
74
+
75
+ * Remove Action#exts member and use better terms
76
+
77
+ [46d2a5e | Sun Apr 12 05:03:58 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
78
+
79
+ * FileBased caches have access to @filename now
80
+
81
+ [f84f18f | Sun Apr 12 05:03:39 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
82
+
83
+ * Set a PROJECT_README for some rake tasks
84
+
85
+ [8920482 | Sun Apr 12 05:03:21 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
86
+
87
+ * Improvment and spec for provide example
88
+
89
+ [a892dea | Sun Apr 12 05:02:50 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
90
+
91
+ * Minor improvment and spec for retro games example
92
+
93
+ [b3aeb97 | Fri Apr 10 12:30:08 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
94
+
95
+ * Allow overriding of middleware mode for specs
96
+
97
+ [7d65255 | Fri Apr 10 12:07:15 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
98
+
99
+ * Compact code
100
+
101
+ [cde9366 | Fri Apr 10 10:51:03 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
102
+
103
+ * Simplify specs and make them pass using rack-test
104
+
105
+ [f4c9572 | Fri Apr 10 10:50:34 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
106
+
107
+ * Don't forget to specify an app for rack-test
108
+
109
+ [41b1955 | Fri Apr 10 10:17:42 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
110
+
111
+ * Remove spec for render_template
112
+
113
+ [a3b73ca | Fri Apr 10 10:17:27 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
114
+
115
+ * Add `rake setup` task to comply to convention. I will put up the corresponding gems ASAP
116
+
117
+ [c648bf7 | Fri Apr 10 10:16:12 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
118
+
119
+ * Switch to using rack-test for our specs, needs rack-test from the master branch head
120
+
121
+ [5c08e25 | Thu Apr 09 17:52:28 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
122
+
123
+ * Use ContentLength middleware
124
+
125
+ [0dc50d4 | Thu Apr 09 16:10:51 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
126
+
127
+ * Fix template caching... was using html instead of the wish the glob was for
128
+
129
+ [622bbe3 | Thu Apr 09 16:01:08 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
130
+
131
+ * Fix example apps
132
+
133
+ [6e9e843 | Tue Apr 07 09:56:56 UTC 2009] Sam Carr <samcarr@gmail.com>
134
+
135
+ * Minor tidy-ups to fix comments, add missing requires, add comments etc.
136
+
137
+ Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
138
+
139
+ [8f9af98 | Tue Apr 07 18:42:35 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
140
+
141
+ * Set default interval for reloader to 2 seconds
142
+
143
+ [9f7e749 | Tue Apr 07 18:42:14 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
144
+
145
+ * Never assign $0, bad mojo
146
+
147
+ [281501e | Tue Apr 07 17:53:08 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
148
+
149
+ * Don't assign a directory to $0
150
+
151
+ [8a2ddc7 | Tue Apr 07 17:16:37 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
152
+
153
+ * Version 2009.04.08
154
+
155
+ [89ab244 | Tue Apr 07 16:17:07 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
156
+
157
+ * bring the retro_games example up to date
158
+
159
+ [c1b6939 | Tue Apr 07 14:30:14 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
160
+
161
+ * Fix typo in howto_spec example
162
+
163
+ [c1f7bb8 | Tue Apr 07 12:24:50 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
164
+
165
+ * Improve Helper::CGI, don't accept more than one argument per method
166
+
167
+ [c01a0ce | Tue Apr 07 02:07:28 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
168
+
169
+ * Warn if action is invalid
170
+
171
+ [d749887 | Tue Apr 07 02:07:01 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
172
+
173
+ * Remove Helper::Render#render_template
174
+
175
+ [fba39b5 | Mon Apr 06 03:26:29 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
176
+
177
+ * Remove specs for Helper::Partial
178
+
179
+ [98bc6f7 | Mon Apr 06 03:25:52 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
180
+
181
+ * Add more specs and refine Helper::Render
182
+
183
+ [616b5aa | Mon Apr 06 03:03:21 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
184
+
185
+ * Provide direct access to Helper::Render methods through extension
186
+
187
+ [696f85d | Mon Apr 06 02:58:09 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
188
+
189
+ * Make Helper::Render#render_template work and add specs
190
+
191
+ [b0fcf13 | Sun Apr 05 23:51:09 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
192
+
193
+ * Adding Helper::Render, this should be able to cover all our rendering needs
194
+
195
+ [ea02bbe | Sun Apr 05 23:49:52 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
196
+
197
+ * Remove Helper::Partial, to be replaced by Helper::Render
198
+
199
+ [52c9943 | Sun Apr 05 23:47:01 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
200
+
201
+ * just fix some annoying things
202
+
203
+ [cd45648 | Sun Apr 05 23:46:17 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
204
+
205
+ * Refactor Helper to use HelpersHelper.options
206
+
207
+ [4a1b7f6 | Sun Apr 05 14:25:43 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
208
+
209
+ * remove some more methods from Request, they depend on a method in ramaze
210
+
211
+ [6e0b421 | Sun Apr 05 09:22:19 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
212
+
213
+ * Make multipart building a bit more compact
214
+
215
+ [2f17bf6 | Sun Apr 05 14:23:45 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
216
+
217
+ * Make some variables more 'communicative', as reek puts it
218
+
219
+ [348e179 | Sat Apr 04 06:37:50 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
220
+
221
+ * Caching for template locations finally working, this should reduce the disk IO through globbing considerably, even if it is still updating the locations for every request
222
+
223
+ [8555277 | Sat Apr 04 06:27:54 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
224
+
225
+ * Better bacon task
226
+
227
+ [110243b | Fri Apr 03 12:08:41 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
228
+
229
+ * Experimental templating path caching
230
+
231
+ [258d7c9 | Fri Apr 03 13:01:12 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
232
+
233
+ * Use Etanni engine for specs and most examples
234
+
235
+ [2bf8941 | Fri Apr 03 12:59:56 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
236
+
237
+ * Comment out gemspec dependencies until rack is released
238
+
239
+ [57078ac | Fri Apr 03 12:58:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
240
+
241
+ * Remove the extra newlines introduced with Etanni
242
+
243
+ [51b4797 | Fri Apr 03 12:58:03 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
244
+
245
+ * Relax views by using #to_s instead of #to_str
246
+
247
+ [d8475d3 | Fri Apr 03 09:48:49 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
248
+
249
+ * Don't carry over view_value into layout actions
250
+
251
+ [8e2788f | Thu Apr 02 03:50:52 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
252
+
253
+ * Fix view and layout mapping if there are multiple view_mappings
254
+
255
+ [8e93e87 | Tue Mar 31 16:35:56 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
256
+
257
+ * Version 2009.04.01
258
+
259
+ [1a7242b | Tue Mar 31 16:32:40 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
260
+
261
+ * Optional is called Optioned now, watch out
262
+
263
+ [0809fb1 | Tue Mar 31 07:50:46 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
264
+
265
+ * Set proper default templating engine for html to Etanni
266
+
267
+ [e1f9450 | Tue Mar 31 06:14:34 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
268
+
269
+ * Make sure Etanni returns stripped strings, that should make the specs pass again
270
+
271
+ [3c7063b | Tue Mar 31 05:49:02 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
272
+
273
+ * Fix bug where root_mappings where not considered alternatives
274
+
275
+ [0ab5ab1 | Sun Mar 29 13:44:26 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
276
+
277
+ * Unescape params given to the action
278
+
279
+ [4fe8226 | Sat Mar 28 08:04:30 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
280
+
281
+ * Version 2009.03.28
282
+
283
+ [57680d3 | Sat Mar 28 08:04:16 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
284
+
285
+ * Split rake tasks into small units for management with raku
286
+
287
+ [d7a9278 | Thu Mar 26 13:14:30 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
288
+
289
+ * Adapt recursive partial spec for new action iv setting semantics
290
+
291
+ [4dede34 | Thu Mar 26 11:20:14 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
292
+
293
+ * Nicer code for Action#layout_view_or_method
294
+
295
+ [d392fda | Thu Mar 26 11:19:52 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
296
+
297
+ * Make Node#resolve smarter if called on an instance
298
+
299
+ [3e49468 | Thu Mar 26 10:40:30 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
300
+
301
+ * Put copy_variables before calling of the action method, so instance variables are copied over from the action and usable in the method the same way as in the template
302
+
303
+ [408bbd9 | Thu Mar 26 02:28:41 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
304
+
305
+ * Better lookup for options.roots
306
+
307
+ [250188f | Wed Mar 25 14:48:56 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
308
+
309
+ * Give the engine the value or a string, not nil
310
+
311
+ [6784523 | Wed Mar 25 14:37:34 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
312
+
313
+ * Adding Etanni with .xhtml extension
314
+
315
+ [dc871bf | Wed Mar 25 12:35:40 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
316
+
317
+ * Remove specs for old request methods
318
+
319
+ [fa7aa95 | Wed Mar 25 12:35:23 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
320
+
321
+ * Don't fail when trying to obtain symbolic view
322
+
323
+ [a79b532 | Wed Mar 25 12:34:59 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
324
+
325
+ * Allow Ramaze to inject Request/Response/Session
326
+
327
+ [3799d36 | Wed Mar 25 12:34:19 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
328
+
329
+ * Using Gem::Specification#to_ruby, yay
330
+
331
+ [6367793 | Wed Mar 25 09:01:07 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
332
+
333
+ * Remove cruft from View::ERB
334
+
335
+ [72b02f0 | Wed Mar 25 09:00:53 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
336
+
337
+ * Simplify View::get, we don't need lookup by extension anymore
338
+
339
+ [b4850cd | Wed Mar 25 09:00:05 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
340
+
341
+ * Remove some methods from Request, they fit better into Ramaze
342
+
343
+ [d919c03 | Wed Mar 25 08:59:36 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
344
+
345
+ * Remove cruft from Adapter, I added support for arbitrary handlers to rack (patch will go in by tomorrow)
346
+
347
+ [b7a4f88 | Wed Mar 25 05:01:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
348
+
349
+ * Remove some unused methods
350
+
351
+ [afea731 | Tue Mar 24 14:52:16 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
352
+
353
+ * Version 2009.03.24
354
+
1
355
  [94d0714 | Tue Mar 24 10:33:44 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
2
356
 
3
357
  * Fix bug where index(arg) was passed 'index' as arg
data/MANIFEST CHANGED
@@ -4,15 +4,15 @@ MANIFEST
4
4
  README.md
5
5
  Rakefile
6
6
  example/app/retro_games.rb
7
- example/app/todo/layout/default.erb
7
+ example/app/todo/layout/default.xhtml
8
8
  example/app/todo/spec/todo.rb
9
9
  example/app/todo/start.rb
10
- example/app/todo/view/index.erb
10
+ example/app/todo/view/index.xhtml
11
11
  example/app/whywiki_erb/layout/wiki.html.erb
12
12
  example/app/whywiki_erb/spec/wiki.rb
13
13
  example/app/whywiki_erb/start.rb
14
- example/app/whywiki_erb/view/edit.html.erb
15
- example/app/whywiki_erb/view/index.html.erb
14
+ example/app/whywiki_erb/view/edit.erb
15
+ example/app/whywiki_erb/view/index.erb
16
16
  example/custom_middleware.rb
17
17
  example/hello.rb
18
18
  example/howto_spec.rb
@@ -30,8 +30,6 @@ lib/innate/cache/file_based.rb
30
30
  lib/innate/cache/marshal.rb
31
31
  lib/innate/cache/memory.rb
32
32
  lib/innate/cache/yaml.rb
33
- lib/innate/core_compatibility/basic_object.rb
34
- lib/innate/core_compatibility/string.rb
35
33
  lib/innate/current.rb
36
34
  lib/innate/dynamap.rb
37
35
  lib/innate/helper.rb
@@ -39,8 +37,8 @@ lib/innate/helper/aspect.rb
39
37
  lib/innate/helper/cgi.rb
40
38
  lib/innate/helper/flash.rb
41
39
  lib/innate/helper/link.rb
42
- lib/innate/helper/partial.rb
43
40
  lib/innate/helper/redirect.rb
41
+ lib/innate/helper/render.rb
44
42
  lib/innate/helper/send_file.rb
45
43
  lib/innate/log.rb
46
44
  lib/innate/log/color_formatter.rb
@@ -66,13 +64,16 @@ lib/innate/trinity.rb
66
64
  lib/innate/version.rb
67
65
  lib/innate/view.rb
68
66
  lib/innate/view/erb.rb
67
+ lib/innate/view/etanni.rb
69
68
  lib/innate/view/none.rb
69
+ spec/example/app/retro_games.rb
70
70
  spec/example/hello.rb
71
71
  spec/example/link.rb
72
+ spec/example/provides.rb
72
73
  spec/example/session.rb
73
74
  spec/helper.rb
74
75
  spec/innate/action/layout.rb
75
- spec/innate/action/layout/file_layout.erb
76
+ spec/innate/action/layout/file_layout.xhtml
76
77
  spec/innate/cache/common.rb
77
78
  spec/innate/cache/marshal.rb
78
79
  spec/innate/cache/memory.rb
@@ -83,33 +84,44 @@ spec/innate/helper/aspect.rb
83
84
  spec/innate/helper/cgi.rb
84
85
  spec/innate/helper/flash.rb
85
86
  spec/innate/helper/link.rb
86
- spec/innate/helper/partial.rb
87
87
  spec/innate/helper/redirect.rb
88
+ spec/innate/helper/render.rb
88
89
  spec/innate/helper/send_file.rb
89
- spec/innate/helper/view/aspect_hello.erb
90
- spec/innate/helper/view/locals.erb
91
- spec/innate/helper/view/loop.erb
92
- spec/innate/helper/view/num.erb
93
- spec/innate/helper/view/partial.erb
94
- spec/innate/helper/view/recursive.erb
90
+ spec/innate/helper/view/aspect_hello.xhtml
91
+ spec/innate/helper/view/locals.xhtml
92
+ spec/innate/helper/view/loop.xhtml
93
+ spec/innate/helper/view/num.xhtml
94
+ spec/innate/helper/view/partial.xhtml
95
+ spec/innate/helper/view/recursive.xhtml
95
96
  spec/innate/mock.rb
96
97
  spec/innate/node/mapping.rb
97
98
  spec/innate/node/node.rb
98
99
  spec/innate/node/resolve.rb
99
- spec/innate/node/view/another_layout/another_layout.erb
100
- spec/innate/node/view/bar.erb
101
- spec/innate/node/view/foo.html.erb
102
- spec/innate/node/view/only_view.erb
103
- spec/innate/node/view/with_layout.erb
100
+ spec/innate/node/view/another_layout/another_layout.xhtml
101
+ spec/innate/node/view/bar.xhtml
102
+ spec/innate/node/view/foo.html.xhtml
103
+ spec/innate/node/view/only_view.xhtml
104
+ spec/innate/node/view/with_layout.xhtml
104
105
  spec/innate/node/wrap_action_call.rb
105
106
  spec/innate/options.rb
106
107
  spec/innate/parameter.rb
107
108
  spec/innate/provides.rb
108
- spec/innate/provides/list.html.erb
109
- spec/innate/provides/list.txt.erb
109
+ spec/innate/provides/list.html.xhtml
110
+ spec/innate/provides/list.txt.xhtml
110
111
  spec/innate/request.rb
111
112
  spec/innate/route.rb
112
113
  spec/innate/session.rb
113
114
  spec/innate/state/fiber.rb
114
115
  spec/innate/state/thread.rb
115
116
  spec/innate/traited.rb
117
+ tasks/bacon.rake
118
+ tasks/changelog.rake
119
+ tasks/gem.rake
120
+ tasks/gem_installer.rake
121
+ tasks/grancher.rake
122
+ tasks/install_dependencies.rake
123
+ tasks/manifest.rake
124
+ tasks/rcov.rake
125
+ tasks/release.rake
126
+ tasks/reversion.rake
127
+ tasks/setup.rake
data/README.md CHANGED
@@ -67,7 +67,7 @@ encourages everybody to build on top of it whatever they want.
67
67
  * No clutter in your application directory structure, scales from a single file
68
68
  upwards
69
69
  * Seamless integration with Rack middleware
70
- * No patching[4] of ruby core or stdlib.
70
+ * No patching of ruby core or stdlib.
71
71
  * Direct access to the current Request, Response, and Session from anywhere via
72
72
  Trinity
73
73
  * Works out of the box with ERB the templating engine.
@@ -77,7 +77,6 @@ encourages everybody to build on top of it whatever they want.
77
77
  [1]: What you may think of as Controller.
78
78
  [2]: This includes: Ruby 1.8, Ruby 1.9.1, JRuby, Rubinius
79
79
  [3]: Fiber is available on 1.9 only at this point.
80
- [4]: However, we add String#each if it isn't there to be compatible with Rack.
81
80
 
82
81
  ## Usage
83
82
 
@@ -228,7 +227,7 @@ another dependency.
228
227
  A small example:
229
228
 
230
229
  module Blog
231
- include Innate::Optional
230
+ include Innate::Optioned
232
231
 
233
232
  options.dsl do
234
233
  o "Title of the blog", :title, "My Blog"
@@ -449,13 +448,6 @@ authorization, etc.
449
448
 
450
449
  Innate abandons the snippets, keeping your core clean.
451
450
 
452
- Two things that we need are (currently) String#each, because Rack relies on it,
453
- and BasicObject as superclass for the Option class. They are only applied on
454
- demand.
455
-
456
- These are in the directory called core_extensions, to make it very, very clear
457
- what we are doing and how we are doing it.
458
-
459
451
  Ramaze has still a lot of these snippets and will continue to, although I will
460
452
  constantly strive to reduce them slowly.
461
453