innate 2009.04.12 → 2009.05
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +10 -0
- data/CHANGELOG +360 -0
- data/MANIFEST +8 -8
- data/README.md +1 -9
- data/Rakefile +7 -5
- data/example/app/whywiki_erb/start.rb +1 -1
- data/innate.gemspec +9 -5
- data/lib/innate.rb +6 -13
- data/lib/innate/action.rb +29 -33
- data/lib/innate/cache.rb +1 -1
- data/lib/innate/cache/drb.rb +5 -5
- data/lib/innate/cache/file_based.rb +3 -0
- data/lib/innate/cache/marshal.rb +4 -1
- data/lib/innate/cache/memory.rb +1 -2
- data/lib/innate/cache/yaml.rb +4 -1
- data/lib/innate/current.rb +11 -13
- data/lib/innate/dynamap.rb +5 -0
- data/lib/innate/helper.rb +11 -9
- data/lib/innate/helper/aspect.rb +9 -9
- data/lib/innate/helper/cgi.rb +3 -0
- data/lib/innate/helper/link.rb +2 -2
- data/lib/innate/helper/redirect.rb +1 -1
- data/lib/innate/helper/render.rb +70 -7
- data/lib/innate/helper/send_file.rb +9 -1
- data/lib/innate/log/color_formatter.rb +19 -13
- data/lib/innate/node.rb +38 -35
- data/lib/innate/options/dsl.rb +5 -2
- data/lib/innate/request.rb +1 -1
- data/lib/innate/response.rb +1 -7
- data/lib/innate/route.rb +4 -0
- data/lib/innate/session.rb +16 -14
- data/lib/innate/state.rb +10 -11
- data/lib/innate/state/accessor.rb +8 -8
- data/lib/innate/traited.rb +15 -10
- data/lib/innate/version.rb +1 -1
- data/lib/innate/view.rb +41 -4
- data/lib/innate/view/erb.rb +1 -2
- data/lib/innate/view/etanni.rb +9 -12
- data/spec/innate/action/layout.rb +0 -3
- data/spec/innate/helper/flash.rb +0 -3
- data/spec/innate/helper/link.rb +8 -0
- data/spec/innate/helper/redirect.rb +11 -0
- data/spec/innate/helper/render.rb +32 -0
- data/spec/innate/node/node.rb +1 -0
- data/spec/innate/options.rb +5 -1
- data/tasks/authors.rake +30 -0
- data/tasks/release.rake +48 -9
- data/tasks/ycov.rake +84 -0
- metadata +21 -13
- data/lib/innate/core_compatibility/basic_object.rb +0 -10
- data/lib/innate/core_compatibility/string.rb +0 -3
- data/lib/innate/state/fiber.rb +0 -74
- data/lib/innate/state/thread.rb +0 -47
- data/spec/innate/state/fiber.rb +0 -58
- data/spec/innate/state/thread.rb +0 -40
data/AUTHORS
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
Following persons have contributed to innate.
|
2
|
+
(Sorted by number of submitted patches, then alphabetically)
|
3
|
+
|
4
|
+
699 Michael Fellinger <m.fellinger@gmail.com>
|
5
|
+
31 Tadahiko Uehara <kikofx@gmail.com>
|
6
|
+
6 Pistos <gitsomegrace.5.pistos@geoshell.com>
|
7
|
+
4 Ryan Grove <ryan@wonko.com>
|
8
|
+
2 Andreas Karlsson <andreas@proxel.se>
|
9
|
+
2 TJ Vanderpoel <bougy.man@gmail.com>
|
10
|
+
1 Sam Carr <samcarr@gmail.com>
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,363 @@
|
|
1
|
+
[5138050 | Wed May 06 15:38:00 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
2
|
+
|
3
|
+
* Version 2009.05
|
4
|
+
|
5
|
+
[9486b35 | Wed May 06 15:37:19 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
6
|
+
|
7
|
+
* VERSION=xxx rake release:xxx
|
8
|
+
|
9
|
+
[14feedf | Wed May 06 15:33:48 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
10
|
+
|
11
|
+
* Bring rakefile up to date
|
12
|
+
|
13
|
+
[2252c28 | Wed May 06 15:20:19 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
14
|
+
|
15
|
+
* Last minute changes to tasks
|
16
|
+
|
17
|
+
[ddc4560 | Wed May 06 15:14:56 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
18
|
+
|
19
|
+
* Add some ycov tasks, not all that tested yet
|
20
|
+
|
21
|
+
[146e349 | Wed May 06 12:56:27 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
22
|
+
|
23
|
+
* raise a more meaningful error when trying to assign to a non-existent option
|
24
|
+
|
25
|
+
[21bbd9b | Tue May 05 06:08:06 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
26
|
+
|
27
|
+
* Remove some (c)
|
28
|
+
|
29
|
+
[8fd62a3 | Tue May 05 04:48:32 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
30
|
+
|
31
|
+
* Make Session compatible with the Rack spec, prepare to make it a middleware
|
32
|
+
|
33
|
+
[a73a54e | Tue May 05 04:37:25 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
34
|
+
|
35
|
+
* Tell people that using YAML/Marshal cache is a bad idea in some cases
|
36
|
+
|
37
|
+
[fff4e2a | Tue May 05 04:30:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
38
|
+
|
39
|
+
* Some docs fixes
|
40
|
+
|
41
|
+
[d90138c | Mon May 04 11:19:35 UTC 2009] Ryan Grove <ryan@wonko.com>
|
42
|
+
|
43
|
+
* Add a read_cache option (off by default) to control caching of template files on read
|
44
|
+
|
45
|
+
[aaa9b96 | Sun May 03 04:04:18 UTC 2009] Ryan Grove <ryan@wonko.com>
|
46
|
+
|
47
|
+
* When the view cache is enabled and Innate is in :live mode, cache view files after the first read to prevent unnecessary filesystem reads in the future.
|
48
|
+
|
49
|
+
[06c224f | Mon May 04 16:49:15 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
50
|
+
|
51
|
+
* Fix update_mapping_shared, it would try to walk files and was buggy
|
52
|
+
|
53
|
+
[e3ad651 | Mon May 04 03:28:49 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
54
|
+
|
55
|
+
* remove specs for state
|
56
|
+
|
57
|
+
[f69716d | Sun May 03 17:37:06 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
58
|
+
|
59
|
+
* Implement caching of traits
|
60
|
+
|
61
|
+
[0434785 | Sat May 02 15:56:05 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
62
|
+
|
63
|
+
* Remove useless token from Etanni
|
64
|
+
|
65
|
+
[d0356c6 | Sat May 02 06:05:42 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
66
|
+
|
67
|
+
* Use clearer syntax for the option in view
|
68
|
+
|
69
|
+
[2c3c1ca | Sat May 02 05:40:54 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
70
|
+
|
71
|
+
* Elaborate what +filename+ means
|
72
|
+
|
73
|
+
[12d3666 | Sat May 02 05:40:40 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
74
|
+
|
75
|
+
* Only emit warning when the action is really invalid
|
76
|
+
|
77
|
+
[5cb9b41 | Sat May 02 05:37:25 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
78
|
+
|
79
|
+
* Put the require of find into innate.rb
|
80
|
+
|
81
|
+
[89d5858 | Sat May 02 14:24:30 UTC 2009] Andreas Karlsson <andreas@proxel.se>
|
82
|
+
|
83
|
+
* Simplify copy_variables by not using eval.
|
84
|
+
|
85
|
+
Copying to an instance instead of a binding simplifies
|
86
|
+
the code while also giving a minor performance enhancement
|
87
|
+
as a bonus.
|
88
|
+
|
89
|
+
Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
|
90
|
+
|
91
|
+
[d1fe1f4 | Sat May 02 14:38:28 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
92
|
+
|
93
|
+
* copy thread variables in Innate::defer
|
94
|
+
|
95
|
+
[83d0a93 | Sat May 02 13:59:52 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
96
|
+
|
97
|
+
* Remove Innate::STATE
|
98
|
+
|
99
|
+
[f9ff691 | Fri May 01 20:04:20 UTC 2009] Andreas Karlsson <andreas@proxel.se>
|
100
|
+
|
101
|
+
* Move require due to profiling results.
|
102
|
+
|
103
|
+
When profiling with ruby-prof it was reveiled to me that a
|
104
|
+
major part of the time was spent inside require. Benchmarking
|
105
|
+
with a simple hello world application revealed it to be about
|
106
|
+
25 percent faster without this require.
|
107
|
+
|
108
|
+
Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
|
109
|
+
|
110
|
+
[4155ea9 | Fri May 01 15:51:53 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
111
|
+
|
112
|
+
* Only warn if we encounter an invalid action in render_custom, try to render still
|
113
|
+
|
114
|
+
[b4a9e70 | Fri May 01 15:46:49 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
115
|
+
|
116
|
+
* Be compatible with rack-test
|
117
|
+
|
118
|
+
[3db47bc | Fri May 01 15:46:38 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
119
|
+
|
120
|
+
* Be compatible with 1.8
|
121
|
+
|
122
|
+
[b3fb7be | Fri May 01 14:07:10 UTC 2009] Pistos <gitsomegrace.5.pistos@geoshell.com>
|
123
|
+
|
124
|
+
* In render helper: render_template -> render_file . Changed relevant specs, too.
|
125
|
+
|
126
|
+
Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
|
127
|
+
|
128
|
+
[f3491f7 | Thu Apr 30 04:59:16 UTC 2009] Tadahiko Uehara <kikofx@gmail.com>
|
129
|
+
|
130
|
+
* Skip template/view/layout lookup if the given path doesn't exist.
|
131
|
+
|
132
|
+
|
133
|
+
Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
|
134
|
+
|
135
|
+
[e4b5388 | Fri May 01 08:30:31 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
136
|
+
|
137
|
+
* We don't want to call Innate::setup_dependencies for rendering...
|
138
|
+
|
139
|
+
[7c90ec0 | Fri May 01 07:22:29 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
140
|
+
|
141
|
+
* Default layout mapping to '/'
|
142
|
+
|
143
|
+
[64517b3 | Fri May 01 07:20:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
144
|
+
|
145
|
+
* Add some example invocations to the Helper::Render methods
|
146
|
+
|
147
|
+
[d531f58 | Fri May 01 07:19:39 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
148
|
+
|
149
|
+
* Adding Helper::Render#render_template due to popular demand
|
150
|
+
|
151
|
+
[59229dc | Fri May 01 06:18:39 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
152
|
+
|
153
|
+
* Speed up and simplify Etanni a little bit more
|
154
|
+
|
155
|
+
[d8c3ca5 | Thu Apr 30 09:07:12 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
156
|
+
|
157
|
+
* Add option to switch caching of compiled templates
|
158
|
+
|
159
|
+
[21c4dfd | Thu Apr 30 08:19:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
160
|
+
|
161
|
+
* Make Etanni a little bit more compact
|
162
|
+
|
163
|
+
[43f6d76 | Thu Apr 30 08:19:07 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
164
|
+
|
165
|
+
* First cut of template compilation, it's dumb, but it should speed things up a little
|
166
|
+
|
167
|
+
[cca6d4d | Wed Apr 29 14:34:45 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
168
|
+
|
169
|
+
* Improve the ColorFormatter, output background as well
|
170
|
+
|
171
|
+
[abda94c | Wed Apr 29 11:04:43 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
172
|
+
|
173
|
+
* Only add :trigger to options if there is one
|
174
|
+
|
175
|
+
[559e711 | Wed Apr 29 07:51:58 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
176
|
+
|
177
|
+
* Spec cookie setting before redirect. Closes #1
|
178
|
+
|
179
|
+
[9c85a49 | Tue Apr 28 13:05:33 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
180
|
+
|
181
|
+
* Make the template lookup work without globs, hopefully that works on GAE now
|
182
|
+
|
183
|
+
[a0b1f4a | Tue Apr 28 12:41:40 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
184
|
+
|
185
|
+
* Make helper lookup work without glob
|
186
|
+
|
187
|
+
[49ed57b | Tue Apr 28 12:41:28 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
188
|
+
|
189
|
+
* Tell people that routing static files doesn't work
|
190
|
+
|
191
|
+
[ff310ab | Thu Apr 23 15:30:05 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
192
|
+
|
193
|
+
* Avoid issues with symbol comparision on 1.8
|
194
|
+
|
195
|
+
[fce62b9 | Sun Apr 26 16:30:44 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
196
|
+
|
197
|
+
* Support setting multiple AOP hooks at once in before/after/wrap
|
198
|
+
|
199
|
+
[ffd8edd | Sat Apr 25 14:59:47 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
200
|
+
|
201
|
+
* Give innate a rubyforge project
|
202
|
+
|
203
|
+
[cf62a9c | Sat Apr 25 14:59:20 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
204
|
+
|
205
|
+
* Version 2009.04
|
206
|
+
|
207
|
+
[0ec2012 | Thu Apr 23 06:21:17 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
208
|
+
|
209
|
+
* Allow deletion of mapped apps in DynaMap
|
210
|
+
|
211
|
+
[cbedd9c | Thu Apr 23 05:04:04 UTC 2009] Ryan Grove <ryan@wonko.com>
|
212
|
+
|
213
|
+
* Add path and full_path to Innate::Action
|
214
|
+
|
215
|
+
Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
|
216
|
+
|
217
|
+
[b9a0d4b | Mon Apr 20 05:12:29 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
218
|
+
|
219
|
+
* Make the u and h aliases for the CGI helper module_functions too
|
220
|
+
|
221
|
+
[b68aad4 | Mon Apr 20 05:12:10 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
222
|
+
|
223
|
+
* Allow further modification of the Action in the render_* methods via block
|
224
|
+
|
225
|
+
[dca3531 | Sun Apr 19 23:38:06 UTC 2009] Ryan Grove <ryan@wonko.com>
|
226
|
+
|
227
|
+
* Preserve response headers when redirecting. Closes #1
|
228
|
+
|
229
|
+
Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
|
230
|
+
|
231
|
+
[d465ca3 | Sat Apr 18 02:46:09 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
232
|
+
|
233
|
+
* Version 2009.04.18
|
234
|
+
|
235
|
+
[987c5d7 | Sat Apr 18 02:44:26 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
236
|
+
|
237
|
+
* Update the release tasks
|
238
|
+
|
239
|
+
[f927c9d | Fri Apr 17 11:51:35 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
240
|
+
|
241
|
+
* Add Content-Disposition support to send_file
|
242
|
+
|
243
|
+
[888318c | Fri Apr 17 10:43:10 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
244
|
+
|
245
|
+
* Better English in render_custom error
|
246
|
+
|
247
|
+
[15078e6 | Wed Apr 15 16:49:04 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
248
|
+
|
249
|
+
* Add comment about planned deprecation of SendFile helper's default status
|
250
|
+
|
251
|
+
[4b487aa | Wed Apr 15 16:48:09 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
252
|
+
|
253
|
+
* Remove the length from Response, Rack provides that
|
254
|
+
|
255
|
+
[1634391 | Wed Apr 15 11:02:11 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
256
|
+
|
257
|
+
* Don't camel-case the helper module name, simply remove underscores, we do case-insensitive lookup anyway
|
258
|
+
|
259
|
+
[f97e8d7 | Wed Apr 15 10:58:35 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
260
|
+
|
261
|
+
* Remove core_extensions, we don't need String#each or BasicObject anymore
|
262
|
+
|
263
|
+
[0b33546 | Wed Apr 15 09:16:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
264
|
+
|
265
|
+
* Action may be invalid if the node requires a method and view
|
266
|
+
|
267
|
+
[39dd843 | Wed Apr 15 09:15:30 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
268
|
+
|
269
|
+
* Escape non-hash arguments to Helper::Link#route (ryan grove)
|
270
|
+
|
271
|
+
[22ee4df | Wed Apr 15 07:25:02 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
272
|
+
|
273
|
+
* Raise if the Render helper cannot obtain an Action
|
274
|
+
|
275
|
+
[e229299 | Mon Apr 13 12:48:05 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
276
|
+
|
277
|
+
* Allow Action#call even if we are outside Current#wrap
|
278
|
+
|
279
|
+
[b6e9558 | Mon Apr 13 04:37:42 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
280
|
+
|
281
|
+
* Remove Action#exts member and use better terms
|
282
|
+
|
283
|
+
[46d2a5e | Sun Apr 12 05:03:58 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
284
|
+
|
285
|
+
* FileBased caches have access to @filename now
|
286
|
+
|
287
|
+
[f84f18f | Sun Apr 12 05:03:39 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
288
|
+
|
289
|
+
* Set a PROJECT_README for some rake tasks
|
290
|
+
|
291
|
+
[8920482 | Sun Apr 12 05:03:21 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
292
|
+
|
293
|
+
* Improvment and spec for provide example
|
294
|
+
|
295
|
+
[a892dea | Sun Apr 12 05:02:50 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
296
|
+
|
297
|
+
* Minor improvment and spec for retro games example
|
298
|
+
|
299
|
+
[b3aeb97 | Fri Apr 10 12:30:08 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
300
|
+
|
301
|
+
* Allow overriding of middleware mode for specs
|
302
|
+
|
303
|
+
[7d65255 | Fri Apr 10 12:07:15 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
304
|
+
|
305
|
+
* Compact code
|
306
|
+
|
307
|
+
[cde9366 | Fri Apr 10 10:51:03 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
308
|
+
|
309
|
+
* Simplify specs and make them pass using rack-test
|
310
|
+
|
311
|
+
[f4c9572 | Fri Apr 10 10:50:34 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
312
|
+
|
313
|
+
* Don't forget to specify an app for rack-test
|
314
|
+
|
315
|
+
[41b1955 | Fri Apr 10 10:17:42 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
316
|
+
|
317
|
+
* Remove spec for render_template
|
318
|
+
|
319
|
+
[a3b73ca | Fri Apr 10 10:17:27 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
320
|
+
|
321
|
+
* Add `rake setup` task to comply to convention. I will put up the corresponding gems ASAP
|
322
|
+
|
323
|
+
[c648bf7 | Fri Apr 10 10:16:12 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
324
|
+
|
325
|
+
* Switch to using rack-test for our specs, needs rack-test from the master branch head
|
326
|
+
|
327
|
+
[5c08e25 | Thu Apr 09 17:52:28 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
328
|
+
|
329
|
+
* Use ContentLength middleware
|
330
|
+
|
331
|
+
[0dc50d4 | Thu Apr 09 16:10:51 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
332
|
+
|
333
|
+
* Fix template caching... was using html instead of the wish the glob was for
|
334
|
+
|
335
|
+
[622bbe3 | Thu Apr 09 16:01:08 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
336
|
+
|
337
|
+
* Fix example apps
|
338
|
+
|
339
|
+
[6e9e843 | Tue Apr 07 09:56:56 UTC 2009] Sam Carr <samcarr@gmail.com>
|
340
|
+
|
341
|
+
* Minor tidy-ups to fix comments, add missing requires, add comments etc.
|
342
|
+
|
343
|
+
Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
|
344
|
+
|
345
|
+
[8f9af98 | Tue Apr 07 18:42:35 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
346
|
+
|
347
|
+
* Set default interval for reloader to 2 seconds
|
348
|
+
|
349
|
+
[9f7e749 | Tue Apr 07 18:42:14 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
350
|
+
|
351
|
+
* Never assign $0, bad mojo
|
352
|
+
|
353
|
+
[281501e | Tue Apr 07 17:53:08 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
354
|
+
|
355
|
+
* Don't assign a directory to $0
|
356
|
+
|
357
|
+
[8a2ddc7 | Tue Apr 07 17:16:37 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
358
|
+
|
359
|
+
* Version 2009.04.08
|
360
|
+
|
1
361
|
[89ab244 | Tue Apr 07 16:17:07 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
2
362
|
|
3
363
|
* bring the retro_games example up to date
|
data/MANIFEST
CHANGED
@@ -1,13 +1,14 @@
|
|
1
|
+
AUTHORS
|
1
2
|
CHANGELOG
|
2
3
|
COPYING
|
3
4
|
MANIFEST
|
4
5
|
README.md
|
5
6
|
Rakefile
|
6
7
|
example/app/retro_games.rb
|
7
|
-
example/app/todo/layout/default.
|
8
|
+
example/app/todo/layout/default.xhtml
|
8
9
|
example/app/todo/spec/todo.rb
|
9
10
|
example/app/todo/start.rb
|
10
|
-
example/app/todo/view/index.
|
11
|
+
example/app/todo/view/index.xhtml
|
11
12
|
example/app/whywiki_erb/layout/wiki.html.erb
|
12
13
|
example/app/whywiki_erb/spec/wiki.rb
|
13
14
|
example/app/whywiki_erb/start.rb
|
@@ -30,8 +31,6 @@ lib/innate/cache/file_based.rb
|
|
30
31
|
lib/innate/cache/marshal.rb
|
31
32
|
lib/innate/cache/memory.rb
|
32
33
|
lib/innate/cache/yaml.rb
|
33
|
-
lib/innate/core_compatibility/basic_object.rb
|
34
|
-
lib/innate/core_compatibility/string.rb
|
35
34
|
lib/innate/current.rb
|
36
35
|
lib/innate/dynamap.rb
|
37
36
|
lib/innate/helper.rb
|
@@ -59,8 +58,6 @@ lib/innate/session/flash.rb
|
|
59
58
|
lib/innate/spec.rb
|
60
59
|
lib/innate/state.rb
|
61
60
|
lib/innate/state/accessor.rb
|
62
|
-
lib/innate/state/fiber.rb
|
63
|
-
lib/innate/state/thread.rb
|
64
61
|
lib/innate/traited.rb
|
65
62
|
lib/innate/trinity.rb
|
66
63
|
lib/innate/version.rb
|
@@ -68,8 +65,10 @@ lib/innate/view.rb
|
|
68
65
|
lib/innate/view/erb.rb
|
69
66
|
lib/innate/view/etanni.rb
|
70
67
|
lib/innate/view/none.rb
|
68
|
+
spec/example/app/retro_games.rb
|
71
69
|
spec/example/hello.rb
|
72
70
|
spec/example/link.rb
|
71
|
+
spec/example/provides.rb
|
73
72
|
spec/example/session.rb
|
74
73
|
spec/helper.rb
|
75
74
|
spec/innate/action/layout.rb
|
@@ -111,9 +110,8 @@ spec/innate/provides/list.txt.xhtml
|
|
111
110
|
spec/innate/request.rb
|
112
111
|
spec/innate/route.rb
|
113
112
|
spec/innate/session.rb
|
114
|
-
spec/innate/state/fiber.rb
|
115
|
-
spec/innate/state/thread.rb
|
116
113
|
spec/innate/traited.rb
|
114
|
+
tasks/authors.rake
|
117
115
|
tasks/bacon.rake
|
118
116
|
tasks/changelog.rake
|
119
117
|
tasks/gem.rake
|
@@ -124,3 +122,5 @@ tasks/manifest.rake
|
|
124
122
|
tasks/rcov.rake
|
125
123
|
tasks/release.rake
|
126
124
|
tasks/reversion.rake
|
125
|
+
tasks/setup.rake
|
126
|
+
tasks/ycov.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
|
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
|
|
@@ -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
|
|