manveru-ramaze 2009.04 → 2009.04.01

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. data/CHANGELOG +0 -405
  2. data/MANIFEST +16 -16
  3. data/Rakefile +4 -24
  4. data/bin/ramaze +52 -275
  5. data/doc/tutorial/todolist.html +5 -83
  6. data/doc/tutorial/todolist.txt +33 -85
  7. data/examples/app/auth/layout/{auth.xhtml → auth.nag} +0 -0
  8. data/examples/app/auth/view/{index.xhtml → index.nag} +0 -0
  9. data/examples/app/auth/view/{login.xhtml → login.nag} +0 -0
  10. data/examples/app/auth/view/{secret.xhtml → secret.nag} +0 -0
  11. data/examples/app/blog/app.rb +1 -1
  12. data/examples/app/blog/controller/comment.rb +1 -1
  13. data/examples/app/blog/controller/entry.rb +3 -12
  14. data/examples/app/blog/model/init.rb +0 -5
  15. data/examples/app/blog/model/tag.rb +2 -2
  16. data/examples/app/blog/start.rb +1 -1
  17. data/examples/app/blog/view/entry/index.nag +3 -3
  18. data/examples/app/blog/view/feed.atom.nag +1 -1
  19. data/examples/app/blog/view/feed.rss.nag +1 -1
  20. data/examples/app/blog/view/index.nag +1 -1
  21. data/examples/app/blog/view/tag/index.nag +1 -1
  22. data/examples/app/todolist/model/init.rb +0 -3
  23. data/examples/app/wikore/spec/wikore.rb +6 -4
  24. data/examples/app/wikore/src/controller.rb +11 -9
  25. data/examples/app/wikore/src/model.rb +10 -7
  26. data/examples/app/wikore/start.rb +1 -1
  27. data/examples/app/wikore/{view → template}/index.xhtml +0 -0
  28. data/examples/helpers/provide.rb +23 -0
  29. data/examples/misc/rapp.rb +17 -28
  30. data/examples/templates/template_redcloth.rb +2 -2
  31. data/examples/templates/template_xslt.rb +48 -0
  32. data/examples/templates/view/external.xsl +57 -0
  33. data/lib/proto/config.ru +5 -4
  34. data/lib/proto/controller/init.rb +2 -2
  35. data/lib/proto/layout/{default.xhtml → default.nag} +0 -0
  36. data/lib/proto/spec/main.rb +8 -7
  37. data/lib/proto/start.rb +10 -6
  38. data/lib/proto/view/{index.xhtml → index.nag} +0 -0
  39. data/lib/proto/view/page.nag +27 -0
  40. data/lib/ramaze/app.rb +5 -5
  41. data/lib/ramaze/cache.rb +2 -3
  42. data/lib/ramaze/contrib/email.rb +0 -2
  43. data/lib/ramaze/contrib/sequel/create_join.rb +0 -1
  44. data/lib/ramaze/contrib/sequel/fill.rb +12 -0
  45. data/lib/ramaze/contrib/sequel/form_field.rb +4 -4
  46. data/lib/ramaze/contrib/sequel/image.rb +11 -9
  47. data/lib/ramaze/contrib/sequel/relation.rb +3 -17
  48. data/lib/ramaze/controller/default.rb +0 -5
  49. data/lib/ramaze/helper/cache.rb +8 -22
  50. data/lib/ramaze/helper/formatting.rb +0 -2
  51. data/lib/ramaze/helper/httpdigest.rb +1 -1
  52. data/lib/ramaze/helper/link.rb +5 -2
  53. data/lib/ramaze/helper/localize.rb +3 -13
  54. data/lib/ramaze/helper/paginate.rb +0 -1
  55. data/lib/ramaze/helper/partial.rb +10 -85
  56. data/lib/ramaze/helper.rb +16 -6
  57. data/lib/ramaze/request.rb +1 -22
  58. data/lib/ramaze/snippets/ramaze/deprecated.rb +1 -0
  59. data/lib/ramaze/snippets/string/each.rb +19 -0
  60. data/lib/ramaze/spec.rb +2 -9
  61. data/lib/ramaze/version.rb +1 -1
  62. data/lib/ramaze/view/haml.rb +0 -1
  63. data/lib/ramaze/view/liquid.rb +11 -45
  64. data/lib/ramaze/view/nagoro/render_partial.rb +9 -9
  65. data/lib/ramaze/view.rb +0 -4
  66. data/lib/ramaze.rb +0 -2
  67. data/ramaze.gemspec +12 -12
  68. data/spec/contrib/sequel/fill.rb +47 -0
  69. data/spec/examples/helpers/httpdigest.rb +67 -42
  70. data/spec/examples/templates/template_markaby.rb +1 -1
  71. data/spec/examples/templates/template_xslt.rb +10 -0
  72. data/spec/ramaze/dispatcher/file.rb +20 -22
  73. data/spec/ramaze/error.rb +1 -1
  74. data/spec/ramaze/helper/auth.rb +40 -29
  75. data/spec/ramaze/helper/cache.rb +3 -43
  76. data/spec/ramaze/helper/flash.rb +14 -10
  77. data/spec/ramaze/helper/httpdigest.rb +65 -47
  78. data/spec/ramaze/helper/localize.rb +9 -9
  79. data/spec/ramaze/helper/partial.rb +40 -0
  80. data/spec/ramaze/helper/sequel_form.rb +1 -1
  81. data/spec/ramaze/helper/simple_captcha.rb +13 -9
  82. data/spec/ramaze/helper/stack.rb +39 -31
  83. data/spec/ramaze/helper/user.rb +13 -15
  84. data/spec/ramaze/request.rb +0 -12
  85. data/tasks/bacon.rake +21 -38
  86. data/tasks/release.rake +22 -4
  87. metadata +24 -22
  88. data/lib/proto/app.rb +0 -15
  89. data/lib/ramaze/cache/localmemcache.rb +0 -56
  90. data/lib/ramaze/contrib/app_graph.rb +0 -64
  91. data/lib/ramaze/tool/create.rb +0 -48
  92. data/lib/ramaze/tool/project_creator.rb +0 -111
  93. data/spec/ramaze/cache/localmemcache.rb +0 -49
  94. data/tasks/setup.rake +0 -24
data/CHANGELOG CHANGED
@@ -1,408 +1,3 @@
1
- [8a0c6ac | Sat Apr 25 14:31:04 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
2
-
3
- * Update dependencies
4
-
5
- [1da636d | Thu Apr 23 07:14:51 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
6
-
7
- * Fixes for bin/ramaze on Win32
8
-
9
- * Added #rackup_path for finding the location of
10
- the rackup binary
11
- * Added #is_windows? for a standard platform check
12
- * Added new exec formats for Win32
13
-
14
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
15
-
16
- [b734de6 | Fri Apr 24 02:52:28 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
17
-
18
- * Remove ancient example
19
-
20
- [156f355 | Thu Apr 23 15:56:34 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
21
-
22
- * Make all text in config.ru ASCII
23
-
24
- [b8fff75 | Wed Apr 22 14:31:15 UTC 2009] Ryan Grove <ryan@wonko.com>
25
-
26
- * Action cache now uses the full path (including params) as the cache key, preserves the Content-Type, and catches :respond
27
-
28
- [410576f | Tue Apr 21 12:32:01 UTC 2009] Ryan Grove <ryan@wonko.com>
29
-
30
- * Evaluate cache key blocks in the scope of the node instance for the current action
31
-
32
- [41746b9 | Tue Apr 21 16:12:48 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
33
-
34
- * Version 2009.04.22
35
-
36
- [711c5df | Tue Apr 21 16:11:37 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
37
-
38
- * strip some whitespace
39
-
40
- [f65b9a6 | Mon Apr 20 15:25:27 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
41
-
42
- * Relax Liquid input
43
-
44
- [e81a073 | Mon Apr 20 15:25:09 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
45
-
46
- * Allow access to Ramaze::View::get
47
-
48
- [d18060d | Mon Apr 20 15:24:55 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
49
-
50
- * Make methods of Helper::Formatting module-functions
51
-
52
- [ea15f87 | Sun Apr 19 14:02:43 UTC 2009] Ryan Grove <ryan@wonko.com>
53
-
54
- * Fix collisions when caching methods with the same name across multiple controllers and add support for a block parameter that returns a key value to make cache_action work as expected.
55
-
56
- [9bf2985 | Mon Apr 20 05:13:15 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
57
-
58
- * Require sequel/extensions/inflector to get rid of silly warning
59
-
60
- [81e6bdb | Mon Apr 20 05:11:26 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
61
-
62
- * Show unhelpful comment for the blog trackback until someone shows me how it's done
63
-
64
- [648acce | Mon Apr 20 05:02:17 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
65
-
66
- * We shouldn't use partial_content, use render_partial instead
67
-
68
- [0ef8bb7 | Mon Apr 20 04:59:40 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
69
-
70
- * Minor improvments and some comments for Liquid engine
71
-
72
- [15a6c75 | Mon Apr 20 04:59:19 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
73
-
74
- * Bring blog example up to date
75
-
76
- [986ae27 | Sun Apr 19 15:24:08 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
77
-
78
- * Fix wikore example, i wonder whether this is worth keeping
79
-
80
- [7f478c3 | Sun Apr 19 02:17:01 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
81
-
82
- * Fix auth example
83
-
84
- [48adcf6 | Sat Apr 18 02:44:03 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
85
-
86
- * It should be `ramaze create` now
87
-
88
- [3951076 | Sat Apr 18 02:29:13 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
89
-
90
- * Version 2009.04.18
91
-
92
- [afb3336 | Sat Apr 18 02:28:37 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
93
-
94
- * Improve tasks a bit
95
-
96
- [a4bbc31 | Fri Apr 17 02:37:14 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
97
-
98
- * Only use /proc in bin/ramaze if possible, otherwise fall back to ps
99
-
100
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
101
-
102
- [35bf7c2 | Fri Apr 17 01:36:28 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
103
-
104
- * Added status command and moved IRB.start inline instead of exec.
105
-
106
- * Status needs testing on WIN32 and OSX
107
-
108
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
109
-
110
- [df495ae | Fri Apr 17 07:48:58 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
111
-
112
- * Specify correct behaviour of Request#accept_language_with_weight
113
-
114
- [7cee203 | Fri Apr 17 11:52:23 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
115
-
116
- * Bring various Sequel specific stuff up to date
117
-
118
- [21e2c4d | Thu Apr 16 03:01:32 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
119
-
120
- * Defaults to webrick on port 7000 when starting now
121
-
122
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
123
-
124
- [bc09190 | Thu Apr 16 02:51:38 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
125
-
126
- * Fixed "ramaze start" so it doesn't try and start a new instance
127
-
128
- * added is_running? and check_running? as helpers
129
- * refactored #stop to pass it's given pid to find_pid
130
-
131
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
132
-
133
- [c29043d | Thu Apr 16 12:47:02 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
134
-
135
- * Adding app.rb to proto, explain new convention
136
-
137
- [2e0d0ba | Thu Apr 16 03:33:16 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
138
-
139
- * Make sure proto spec runs in right directory
140
-
141
- [1a8c518 | Thu Apr 16 03:17:58 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
142
-
143
- * Proto should use Etanni as well
144
-
145
- [146a4d6 | Thu Apr 16 03:05:43 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
146
-
147
- * Remove old layout from proto
148
-
149
- [95e4e98 | Wed Apr 15 10:59:47 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
150
-
151
- * Fix nagoro/render_partial, sorry for the mess
152
-
153
- [9eb1cf0 | Wed Apr 15 10:59:10 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
154
-
155
- * Remove String#each, we are compatible with Rack spec
156
-
157
- [f95cdae | Wed Apr 15 02:12:02 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
158
-
159
- * Use the render helper for nagoro/render_partial
160
-
161
- [730b17f | Mon Apr 13 14:35:18 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
162
-
163
- * Try to please the github syntax highlighter
164
-
165
- [152aad6 | Mon Apr 13 04:58:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
166
-
167
- * Rename Request#to_ivs to Request#to_instance_variables and add to_ivs alias for it
168
-
169
- [425e8ff | Sat Apr 11 04:18:39 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
170
-
171
- * Make Rapp example run
172
-
173
- [518ab37 | Fri Apr 10 12:30:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
174
-
175
- * Port specs to rack-test
176
-
177
- * This breaks the spec for httpdigest helper since rack assumes that
178
- plaintext auth consits of ['user:pass'].pack('m*') and we consider
179
- plaintext auth as MD5 digest auth which includes the realm.
180
-
181
- [18fabfc | Fri Apr 10 10:31:17 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
182
-
183
- * Add a `rake setup` task that takes care of installing dependencies
184
-
185
- [9567c23 | Thu Apr 09 11:00:33 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
186
-
187
- * More improvments and fixes to the localize helper
188
-
189
- [e0d48c3 | Thu Apr 09 11:00:03 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
190
-
191
- * This should fix the contrib EmailHelper
192
-
193
- [ed05392 | Wed Apr 08 09:19:29 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
194
-
195
- * run Ramaze instead of Innate, just for better look
196
-
197
- [97b1bd8 | Thu Apr 09 17:52:05 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
198
-
199
- * Add ContentLength middleware
200
-
201
- [591f1c0 | Tue Apr 07 17:15:59 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
202
-
203
- * Version 2009.04.08
204
-
205
- [e2a87c9 | Mon Apr 06 02:27:14 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
206
-
207
- * changed path search to use request.request_uri instead of request.fullpath, to handle fastcgi, mod_rack, and any other method where rack strips part of fullpath to derive request_uri
208
-
209
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
210
-
211
- [69c3bf4 | Tue Apr 07 11:12:40 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
212
-
213
- * Only MainController is automapped to '/'
214
-
215
- [de89b67 | Tue Apr 07 10:41:50 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
216
-
217
- * Update tutorial HTML
218
-
219
- [e43fa1b | Tue Apr 07 13:38:18 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
220
-
221
- * render_template is really deprecated, no replacements
222
-
223
- [5922f3c | Tue Apr 07 02:21:18 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
224
-
225
- * Fix link to book.ramaze.net
226
-
227
- [30fec68 | Mon Apr 06 10:41:41 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
228
-
229
- * Add information about, and usage of: Sequel::Model.plugin(:schema)
230
-
231
- [83d41e0 | Mon Apr 06 10:32:18 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
232
-
233
- * Add some info about configuration to tutorial
234
-
235
- [7467ff6 | Mon Apr 06 03:35:06 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
236
-
237
- * Fix Flash and Link helpers
238
-
239
- [b6297da | Mon Apr 06 02:43:40 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
240
-
241
- * Add some lobster
242
-
243
- [eabb559 | Mon Apr 06 01:33:30 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
244
-
245
- * Change ext to reflect new default templating engine
246
-
247
- [36431f7 | Sun Apr 05 23:57:58 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
248
-
249
- * nitpicking
250
-
251
- [983cede | Sun Apr 05 23:57:48 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
252
-
253
- * Simplify Helper with options
254
-
255
- [5a31740 | Sun Apr 05 23:57:13 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
256
-
257
- * Take over the Partial helper from Innate, please use the Render helper instead
258
-
259
- [9797116 | Sun Apr 05 17:38:19 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
260
-
261
- * Adding Cache::LocalMemCache, see http://github.com/sck/localmemcache
262
-
263
- [d725385 | Sun Apr 05 14:26:10 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
264
-
265
- * Add methods removed from Innate::Request
266
-
267
- [ad0ce13 | Sun Apr 05 09:01:57 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
268
-
269
- * Adding contrib/app_graph, which shows all your sites apps, controllers, mappings and actions
270
-
271
- [61f621a | Sat Apr 04 02:33:23 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
272
-
273
- * Removed ramaze dependencies from binary where not needed
274
-
275
- * Allows including of custom library paths with standard ruby -I
276
- functionality.
277
- * Now passing ARGV along to irb with console command.
278
-
279
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
280
-
281
- [38f1b77 | Sat Apr 04 01:29:18 UTC 2009] bougyman <bougyman@falcon.(none)>
282
-
283
- * Remove version and help message from bin/ramaze
284
-
285
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
286
-
287
- [4cf3d4a | Sat Apr 04 14:17:35 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
288
-
289
- * Remove trailing newlines from bin/ramaze
290
-
291
- [6d912c9 | Sat Apr 04 00:53:48 UTC 2009] bougyman <bougyman@falcon.(none)>
292
-
293
- * Added more help and --version
294
-
295
- * Create command exits and prints error if no PROJECT given
296
- * Added more verbose description of each command
297
- * Now defaults to printing help instead of starting an application
298
-
299
- TODO:
300
-
301
- * Add ability to merge application options. Perhaps ENV setting.
302
-
303
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
304
-
305
- [aed1603 | Sat Apr 04 06:26:53 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
306
-
307
- * Remove contrib/sequel/fill, was quite useless anyway
308
-
309
- [02cd6ec | Sat Apr 04 06:25:59 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
310
-
311
- * Improve bacon task so specs can fail on dependencies without messing up all the output
312
-
313
- [de5e21f | Sat Apr 04 04:05:21 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
314
-
315
- * Use method instead of iv for App#url_map
316
-
317
- [597ec8c | Sat Apr 04 04:04:08 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
318
-
319
- * Add integration with rack/test, eventually we should port specs to that
320
-
321
- [59d3083 | Sat Apr 04 04:02:53 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
322
-
323
- * Run specs in spec/contrib as well
324
-
325
- [49dd9d6 | Sat Apr 04 04:02:37 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
326
-
327
- * Add commented list of development dependencies for release
328
-
329
- [a4c080f | Sat Apr 04 03:43:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
330
-
331
- * Improve bacon task
332
-
333
- [729ce2d | Fri Apr 03 04:06:22 UTC 2009] bougyman <bougyman@falcon.(none)>
334
-
335
- * Added better help output and lowered debug output
336
-
337
- * Pass along rackup --help options when requesting --help
338
- * Removed debug output from default_pidfile
339
-
340
- TODO:
341
- * Make ramaze --console work as expected
342
- * Design a methodology to pass the ramaze application itself arguments, instead of just to rack(up)
343
-
344
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
345
-
346
- [686a38d | Fri Apr 03 02:15:53 UTC 2009] bougyman <bougyman@falcon.(none)>
347
-
348
- * Added --force and --amend support to ramaze create. Also updated Ramaze::Tool::Create to use ROOT instead of Ramaze::BaseDir
349
-
350
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
351
-
352
- [b1ae885 | Fri Apr 03 01:58:37 UTC 2009] bougyman <bougyman@falcon.(none)>
353
-
354
- * Rewrite of bin/ramaze
355
-
356
- * Simple optparser for start|stop|restart|create
357
- * Passing all other args on to config.ru
358
- * Used old ramaze tool/create for creation from prototype
359
-
360
- TODO:
361
- * Enable --force and --amend to ramaze create
362
- * Recognize app.rb and rackup's options to display in --help
363
-
364
- Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
365
-
366
- [ea434b1 | Fri Apr 03 10:14:51 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
367
-
368
- * Provide access to App#url_map
369
-
370
- [aa99126 | Fri Apr 03 09:54:05 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
371
-
372
- * Fix link to sqlite
373
-
374
- [54f7ce0 | Fri Apr 03 09:49:13 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
375
-
376
- * Remove the rack/innate dependencies until rack is out
377
-
378
- [e5af4e5 | Fri Apr 03 09:48:16 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
379
-
380
- * Fix for redcloth spec
381
-
382
- [11118df | Fri Apr 03 09:28:26 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
383
-
384
- * Fix the sequel_form spec
385
-
386
- [cf18430 | Fri Apr 03 09:26:53 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
387
-
388
- * Remove the XSLT example and spec
389
-
390
- [0395321 | Tue Mar 31 16:53:40 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
391
-
392
- * Change dependency to innate-manveru, there's no rubyforge gem for it anyway... but that will cause trouble for local rake install
393
-
394
- [eb7d389 | Tue Mar 31 16:34:33 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
395
-
396
- * Fix Optinoal reference in blog example
397
-
398
- [5f210cc | Tue Mar 31 16:33:49 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
399
-
400
- * Innate::Optional is now Innate::Optioned
401
-
402
- [851e1bd | Tue Mar 31 16:21:56 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
403
-
404
- * Version 2009.04.01
405
-
406
1
  [9033500 | Tue Mar 31 06:12:46 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
407
2
 
408
3
  * Use html syntax instead of xhtml for pdf generation
data/MANIFEST CHANGED
@@ -1,6 +1,4 @@
1
1
  .mailmap
2
- CHANGELOG
3
- MANIFEST
4
2
  README.markdown
5
3
  Rakefile
6
4
  benchmark/results.txt
@@ -36,11 +34,11 @@ doc/meta/users.kml
36
34
  doc/tutorial/todolist.html
37
35
  doc/tutorial/todolist.mkd
38
36
  doc/tutorial/todolist.txt
39
- examples/app/auth/layout/auth.xhtml
37
+ examples/app/auth/layout/auth.nag
40
38
  examples/app/auth/start.rb
41
- examples/app/auth/view/index.xhtml
42
- examples/app/auth/view/login.xhtml
43
- examples/app/auth/view/secret.xhtml
39
+ examples/app/auth/view/index.nag
40
+ examples/app/auth/view/login.nag
41
+ examples/app/auth/view/secret.nag
44
42
  examples/app/blog/README
45
43
  examples/app/blog/app.rb
46
44
  examples/app/blog/config.ru
@@ -113,7 +111,7 @@ examples/app/wikore/spec/wikore.rb
113
111
  examples/app/wikore/src/controller.rb
114
112
  examples/app/wikore/src/model.rb
115
113
  examples/app/wikore/start.rb
116
- examples/app/wikore/view/index.xhtml
114
+ examples/app/wikore/template/index.xhtml
117
115
  examples/app/wiktacular/README
118
116
  examples/app/wiktacular/mkd/link/2007-07-20_19-45-51.mkd
119
117
  examples/app/wiktacular/mkd/link/current.mkd
@@ -153,6 +151,7 @@ examples/helpers/httpdigest.rb
153
151
  examples/helpers/identity.rb
154
152
  examples/helpers/nitro_form.rb
155
153
  examples/helpers/paginate.rb
154
+ examples/helpers/provide.rb
156
155
  examples/helpers/rest.rb
157
156
  examples/helpers/simple_captcha.rb
158
157
  examples/misc/css.rb
@@ -172,6 +171,7 @@ examples/templates/template_nagoro.rb
172
171
  examples/templates/template_redcloth.rb
173
172
  examples/templates/template_remarkably.rb
174
173
  examples/templates/template_tenjin.rb
174
+ examples/templates/template_xslt.rb
175
175
  examples/templates/view/external.haml
176
176
  examples/templates/view/external.liquid
177
177
  examples/templates/view/external.mab
@@ -180,12 +180,12 @@ examples/templates/view/external.redcloth
180
180
  examples/templates/view/external.rem
181
181
  examples/templates/view/external.rhtml
182
182
  examples/templates/view/external.tenjin
183
+ examples/templates/view/external.xsl
183
184
  examples/templates/view/external.zmr
184
- lib/proto/app.rb
185
185
  lib/proto/config.ru
186
186
  lib/proto/controller/init.rb
187
187
  lib/proto/controller/main.rb
188
- lib/proto/layout/default.xhtml
188
+ lib/proto/layout/default.nag
189
189
  lib/proto/model/init.rb
190
190
  lib/proto/public/.htaccess
191
191
  lib/proto/public/css/screen.css
@@ -195,14 +195,13 @@ lib/proto/public/js/jquery.js
195
195
  lib/proto/public/ramaze.png
196
196
  lib/proto/spec/main.rb
197
197
  lib/proto/start.rb
198
- lib/proto/view/index.xhtml
198
+ lib/proto/view/index.nag
199
+ lib/proto/view/page.nag
199
200
  lib/ramaze.rb
200
201
  lib/ramaze/app.rb
201
202
  lib/ramaze/cache.rb
202
- lib/ramaze/cache/localmemcache.rb
203
203
  lib/ramaze/cache/memcache.rb
204
204
  lib/ramaze/cache/sequel.rb
205
- lib/ramaze/contrib/app_graph.rb
206
205
  lib/ramaze/contrib/email.rb
207
206
  lib/ramaze/contrib/facebook.rb
208
207
  lib/ramaze/contrib/facebook/facebook.rb
@@ -215,6 +214,7 @@ lib/ramaze/contrib/maruku_uv.rb
215
214
  lib/ramaze/contrib/profiling.rb
216
215
  lib/ramaze/contrib/rest.rb
217
216
  lib/ramaze/contrib/sequel/create_join.rb
217
+ lib/ramaze/contrib/sequel/fill.rb
218
218
  lib/ramaze/contrib/sequel/form_field.rb
219
219
  lib/ramaze/contrib/sequel/image.rb
220
220
  lib/ramaze/contrib/sequel/relation.rb
@@ -298,6 +298,7 @@ lib/ramaze/snippets/ramaze/fiber.rb
298
298
  lib/ramaze/snippets/ramaze/struct.rb
299
299
  lib/ramaze/snippets/string/camel_case.rb
300
300
  lib/ramaze/snippets/string/color.rb
301
+ lib/ramaze/snippets/string/each.rb
301
302
  lib/ramaze/snippets/string/end_with.rb
302
303
  lib/ramaze/snippets/string/esc.rb
303
304
  lib/ramaze/snippets/string/ord.rb
@@ -310,8 +311,6 @@ lib/ramaze/spec/helper/bacon.rb
310
311
  lib/ramaze/spec/helper/pretty_output.rb
311
312
  lib/ramaze/spec/helper/snippets.rb
312
313
  lib/ramaze/spec/helper/template_examples.rb
313
- lib/ramaze/tool/create.rb
314
- lib/ramaze/tool/project_creator.rb
315
314
  lib/ramaze/version.rb
316
315
  lib/ramaze/view.rb
317
316
  lib/ramaze/view/erubis.rb
@@ -330,6 +329,7 @@ lib/vendor/etag.rb
330
329
  lib/vendor/route_exceptions.rb
331
330
  ramaze.gemspec
332
331
  spec/contrib/rest.rb
332
+ spec/contrib/sequel/fill.rb
333
333
  spec/examples/caching.rb
334
334
  spec/examples/css.rb
335
335
  spec/examples/element.rb
@@ -346,6 +346,7 @@ spec/examples/templates/template_nagoro.rb
346
346
  spec/examples/templates/template_redcloth.rb
347
347
  spec/examples/templates/template_remarkably.rb
348
348
  spec/examples/templates/template_tenjin.rb
349
+ spec/examples/templates/template_xslt.rb
349
350
  spec/helper.rb
350
351
  spec/ramaze/action/render.rb
351
352
  spec/ramaze/action/view/bar.xhtml
@@ -356,7 +357,6 @@ spec/ramaze/action/view/single_wrapper.xhtml
356
357
  spec/ramaze/action/view/sub/sub_wrapper.erb
357
358
  spec/ramaze/action/view/sub/sub_wrapper.xhtml
358
359
  spec/ramaze/app.rb
359
- spec/ramaze/cache/localmemcache.rb
360
360
  spec/ramaze/cache/memcache.rb
361
361
  spec/ramaze/cache/sequel.rb
362
362
  spec/ramaze/controller/actionless_templates.rb
@@ -395,6 +395,7 @@ spec/ramaze/helper/localize.rb
395
395
  spec/ramaze/helper/maruku.rb
396
396
  spec/ramaze/helper/pager.rb
397
397
  spec/ramaze/helper/paginate.rb
398
+ spec/ramaze/helper/partial.rb
398
399
  spec/ramaze/helper/request_accessor.rb
399
400
  spec/ramaze/helper/sequel_form.rb
400
401
  spec/ramaze/helper/simple_captcha.rb
@@ -479,7 +480,6 @@ tasks/metric_changes.rake
479
480
  tasks/rcov.rake
480
481
  tasks/release.rake
481
482
  tasks/reversion.rake
482
- tasks/setup.rake
483
483
  tasks/todo.rake
484
484
  tasks/traits.rake
485
485
  tasks/yard.rake
data/Rakefile CHANGED
@@ -6,11 +6,7 @@ require 'rake/gempackagetask'
6
6
  require 'time'
7
7
  require 'date'
8
8
 
9
- PROJECT_SPECS = FileList[
10
- 'spec/{contrib,examples,ramaze,snippets}/**/*.rb',
11
- 'lib/proto/spec/*.rb'
12
- ]
13
-
9
+ PROJECT_SPECS = Dir['spec/{examples,ramaze,snippets}/**/*.rb']
14
10
  PROJECT_MODULE = 'Ramaze'
15
11
  PROJECT_JQUERY_FILE = 'lib/proto/public/js/jquery.js'
16
12
  PROJECT_README = 'README.markdown'
@@ -38,30 +34,14 @@ GEMSPEC = Gem::Specification.new{|s|
38
34
  s.bindir = "bin"
39
35
  s.executables = ["ramaze"]
40
36
  s.rubyforge_project = "ramaze"
41
-
42
- s.add_dependency('rack', '= 1.0.0')
43
- s.add_dependency('innate', '= 2009.04')
44
-
45
- # s.add_development_dependency('rack-test', '>=0.1.0')
46
- # s.add_development_dependency('json', '>=1.1.3')
47
- # s.add_development_dependency('erubis', '>=2.6.4')
48
- # s.add_development_dependency('ezamar')
49
- # s.add_development_dependency('haml', '~>2.0.9')
50
- # s.add_development_dependency('hpricot', '>=0.7')
51
- # s.add_development_dependency('liquid', '~>2.0.0')
52
- # s.add_development_dependency('memcache', '~>1.7.0')
53
- # s.add_development_dependency('nagoro')
54
- # s.add_development_dependency('Remarkably', '~>0.5.2')
55
- # s.add_development_dependency('sequel', '>=2.11.0')
56
- # s.add_development_dependency('tagz', '>=5.0.1')
57
- # s.add_development_dependency('tenjin', '~>0.6.1')
58
-
37
+ s.add_dependency('rack', '>= 0.9.9') # lies!
38
+ s.add_dependency('manveru-innate', '>= 2009.04')
59
39
  s.post_install_message = <<MESSAGE.strip
60
40
  ============================================================
61
41
 
62
42
  Thank you for installing Ramaze!
63
43
  You can now do create a new project:
64
- # ramaze create yourproject
44
+ # ramaze --create yourproject
65
45
 
66
46
  ============================================================
67
47
  MESSAGE