ramaze 2011.01.30 → 2011.07.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (229) hide show
  1. data/.gitignore +2 -1
  2. data/.mailmap +2 -0
  3. data/.rvmrc +1 -0
  4. data/README.md +119 -197
  5. data/Rakefile +14 -97
  6. data/bin/ramaze +6 -14
  7. data/doc/AUTHORS +8 -4
  8. data/doc/CHANGELOG +3784 -3339
  9. data/examples/app/chat/start.rb +2 -2
  10. data/lib/proto/app.rb +2 -3
  11. data/lib/proto/config.ru +4 -5
  12. data/lib/proto/controller/init.rb +11 -4
  13. data/lib/proto/controller/main.rb +12 -7
  14. data/lib/proto/layout/default.xhtml +56 -23
  15. data/lib/proto/model/init.rb +3 -1
  16. data/lib/proto/public/css/grid.css +107 -0
  17. data/lib/proto/public/css/layout.css +81 -0
  18. data/lib/proto/public/css/reset.css +123 -0
  19. data/lib/proto/public/css/text.css +109 -0
  20. data/lib/proto/public/images/bg.png +0 -0
  21. data/lib/proto/spec/main.rb +2 -2
  22. data/lib/proto/start.rb +11 -1
  23. data/lib/proto/view/index.xhtml +27 -23
  24. data/lib/ramaze.rb +0 -1
  25. data/lib/ramaze/app.rb +85 -12
  26. data/lib/ramaze/app_graph.rb +107 -0
  27. data/lib/ramaze/bin/console.rb +87 -0
  28. data/lib/ramaze/bin/create.rb +94 -0
  29. data/lib/ramaze/bin/helper.rb +107 -0
  30. data/lib/ramaze/bin/restart.rb +95 -0
  31. data/lib/ramaze/bin/runner.rb +141 -0
  32. data/lib/ramaze/bin/start.rb +206 -0
  33. data/lib/ramaze/bin/status.rb +152 -0
  34. data/lib/ramaze/bin/stop.rb +112 -0
  35. data/lib/ramaze/cache.rb +9 -4
  36. data/lib/ramaze/cache/localmemcache.rb +10 -13
  37. data/lib/ramaze/cache/lru.rb +49 -7
  38. data/lib/ramaze/cache/memcache.rb +170 -92
  39. data/lib/ramaze/cache/sequel.rb +301 -118
  40. data/lib/ramaze/controller.rb +108 -9
  41. data/lib/ramaze/controller/default.rb +15 -2
  42. data/lib/ramaze/current.rb +14 -2
  43. data/lib/ramaze/dependencies.rb +46 -0
  44. data/lib/ramaze/files.rb +38 -3
  45. data/lib/ramaze/gestalt.rb +12 -12
  46. data/lib/ramaze/helper.rb +0 -2
  47. data/lib/ramaze/helper/auth.rb +30 -23
  48. data/lib/ramaze/helper/blue_form.rb +175 -126
  49. data/lib/ramaze/helper/csrf.rb +76 -91
  50. data/lib/ramaze/helper/email.rb +105 -0
  51. data/lib/ramaze/helper/erector.rb +16 -15
  52. data/lib/ramaze/helper/gestalt.rb +2 -2
  53. data/lib/ramaze/helper/layout.rb +89 -73
  54. data/lib/ramaze/helper/link.rb +7 -6
  55. data/lib/ramaze/helper/localize.rb +6 -5
  56. data/lib/ramaze/helper/markaby.rb +25 -23
  57. data/lib/ramaze/helper/maruku.rb +3 -3
  58. data/lib/ramaze/helper/paginate.rb +19 -27
  59. data/lib/ramaze/helper/remarkably.rb +3 -3
  60. data/lib/ramaze/helper/request_accessor.rb +3 -3
  61. data/lib/ramaze/helper/send_file.rb +12 -8
  62. data/lib/ramaze/helper/simple_captcha.rb +5 -6
  63. data/lib/ramaze/helper/stack.rb +7 -4
  64. data/lib/ramaze/helper/tagz.rb +10 -11
  65. data/lib/ramaze/helper/thread.rb +19 -16
  66. data/lib/ramaze/helper/ultraviolet.rb +7 -4
  67. data/lib/ramaze/helper/user.rb +40 -21
  68. data/lib/ramaze/helper/xhtml.rb +29 -20
  69. data/lib/ramaze/log.rb +3 -11
  70. data/lib/ramaze/log/analogger.rb +5 -4
  71. data/lib/ramaze/log/growl.rb +9 -7
  72. data/lib/ramaze/log/hub.rb +3 -5
  73. data/lib/ramaze/log/informer.rb +15 -12
  74. data/lib/ramaze/log/knotify.rb +3 -5
  75. data/lib/ramaze/log/logger.rb +3 -5
  76. data/lib/ramaze/log/logging.rb +6 -8
  77. data/lib/ramaze/log/rotatinginformer.rb +27 -17
  78. data/lib/ramaze/log/syslog.rb +7 -7
  79. data/lib/ramaze/log/xosd.rb +3 -5
  80. data/lib/ramaze/middleware_compiler.rb +27 -4
  81. data/lib/ramaze/reloader.rb +50 -12
  82. data/lib/ramaze/reloader/watch_inotify.rb +4 -5
  83. data/lib/ramaze/reloader/watch_stat.rb +3 -3
  84. data/lib/ramaze/request.rb +18 -8
  85. data/lib/ramaze/response.rb +38 -7
  86. data/lib/ramaze/rest.rb +36 -0
  87. data/lib/ramaze/setup.rb +101 -31
  88. data/lib/ramaze/spec.rb +1 -1
  89. data/lib/ramaze/spec/bacon.rb +6 -3
  90. data/lib/ramaze/spec/helper/bacon.rb +0 -1
  91. data/lib/ramaze/version.rb +1 -1
  92. data/lib/ramaze/view.rb +2 -11
  93. data/lib/ramaze/view/erector.rb +46 -31
  94. data/lib/ramaze/view/erubis.rb +7 -3
  95. data/lib/ramaze/view/ezamar.rb +7 -3
  96. data/lib/ramaze/view/gestalt.rb +9 -3
  97. data/lib/ramaze/view/haml.rb +7 -3
  98. data/lib/ramaze/view/liquid.rb +3 -3
  99. data/lib/ramaze/view/lokar.rb +7 -3
  100. data/lib/ramaze/view/mustache.rb +11 -5
  101. data/lib/ramaze/view/nagoro.rb +3 -3
  102. data/lib/ramaze/view/sass.rb +1 -1
  103. data/lib/ramaze/view/slippers.rb +40 -13
  104. data/lib/ramaze/view/tagz.rb +9 -5
  105. data/ramaze.gemspec +23 -128
  106. data/spec/helper.rb +5 -0
  107. data/spec/ramaze/bin/app/config.ru +11 -0
  108. data/spec/ramaze/bin/create.rb +28 -0
  109. data/spec/ramaze/bin/runner.rb +30 -0
  110. data/spec/ramaze/bin/start.rb +38 -0
  111. data/spec/ramaze/cache/memcache.rb +10 -3
  112. data/spec/ramaze/cache/sequel.rb +7 -0
  113. data/spec/ramaze/controller/provide_inheritance.rb +0 -10
  114. data/spec/ramaze/dispatcher/file.rb +19 -15
  115. data/spec/ramaze/helper/auth.rb +10 -9
  116. data/spec/ramaze/helper/blue_form.rb +121 -68
  117. data/spec/ramaze/helper/email.rb +69 -0
  118. data/spec/ramaze/helper/layout.rb +12 -15
  119. data/spec/ramaze/helper/layout/alternative.xhtml +5 -0
  120. data/spec/ramaze/helper/user.rb +2 -0
  121. data/spec/ramaze/log/growl.rb +14 -1
  122. data/spec/{contrib → ramaze}/rest.rb +1 -1
  123. data/spec/ramaze/session/memcache.rb +2 -2
  124. data/spec/ramaze/view/sass.rb +1 -1
  125. data/tasks/bacon.rake +3 -3
  126. data/tasks/gem.rake +17 -18
  127. data/tasks/rcov.rake +2 -3
  128. data/tasks/release.rake +8 -65
  129. data/tasks/setup.rake +10 -8
  130. data/tasks/todo.rake +9 -5
  131. data/tasks/yard.rake +3 -2
  132. metadata +105 -397
  133. data/MANIFEST +0 -532
  134. data/TODO.md +0 -19
  135. data/benchmark/bench_templates/bench.rb +0 -67
  136. data/benchmark/bench_templates/view/large.erb +0 -79
  137. data/benchmark/bench_templates/view/large.haml +0 -41
  138. data/benchmark/bench_templates/view/large.lok +0 -79
  139. data/benchmark/bench_templates/view/large.xhtml +0 -79
  140. data/benchmark/bench_templates/view/small.erb +0 -21
  141. data/benchmark/bench_templates/view/small.haml +0 -12
  142. data/benchmark/bench_templates/view/small.lok +0 -21
  143. data/benchmark/bench_templates/view/small.xhtml +0 -21
  144. data/benchmark/results.txt +0 -131
  145. data/benchmark/run.rb +0 -355
  146. data/benchmark/suite/minimal.rb +0 -11
  147. data/benchmark/suite/no_informer.rb +0 -7
  148. data/benchmark/suite/no_sessions.rb +0 -9
  149. data/benchmark/suite/no_template.rb +0 -7
  150. data/benchmark/suite/simple.rb +0 -5
  151. data/benchmark/suite/template_erubis.rb +0 -8
  152. data/benchmark/suite/template_etanni.rb +0 -8
  153. data/benchmark/suite/template_ezamar.rb +0 -8
  154. data/benchmark/suite/template_haml.rb +0 -13
  155. data/benchmark/suite/template_liquid.rb +0 -11
  156. data/benchmark/suite/template_markaby.rb +0 -9
  157. data/benchmark/suite/template_nagoro.rb +0 -8
  158. data/benchmark/suite/template_redcloth.rb +0 -13
  159. data/benchmark/suite/template_tenjin.rb +0 -8
  160. data/benchmark/test.rb +0 -35
  161. data/doc/FAQ +0 -92
  162. data/doc/INSTALL +0 -92
  163. data/doc/TODO +0 -29
  164. data/doc/meta/announcement.txt +0 -119
  165. data/doc/meta/configuration.txt +0 -163
  166. data/doc/meta/internals.txt +0 -278
  167. data/doc/meta/users.kml +0 -64
  168. data/doc/tutorial/todolist.html +0 -1512
  169. data/doc/tutorial/todolist.txt +0 -920
  170. data/examples/app/sourceview/public/coderay.css +0 -104
  171. data/examples/app/sourceview/public/images/file.gif +0 -0
  172. data/examples/app/sourceview/public/images/folder.gif +0 -0
  173. data/examples/app/sourceview/public/images/tv-collapsable-last.gif +0 -0
  174. data/examples/app/sourceview/public/images/tv-collapsable.gif +0 -0
  175. data/examples/app/sourceview/public/images/tv-expandable-last.gif +0 -0
  176. data/examples/app/sourceview/public/images/tv-expandable.gif +0 -0
  177. data/examples/app/sourceview/public/images/tv-item-last.gif +0 -0
  178. data/examples/app/sourceview/public/images/tv-item.gif +0 -0
  179. data/examples/app/sourceview/public/jquery.js +0 -11
  180. data/examples/app/sourceview/public/jquery.treeview.css +0 -48
  181. data/examples/app/sourceview/public/jquery.treeview.js +0 -223
  182. data/examples/app/sourceview/public/sourceview.js +0 -52
  183. data/examples/app/sourceview/start.rb +0 -79
  184. data/examples/app/sourceview/view/index.haml +0 -59
  185. data/examples/helpers/httpdigest.rb +0 -107
  186. data/lib/proto/public/css/screen.css +0 -30
  187. data/lib/proto/public/js/jquery.js +0 -7179
  188. data/lib/ramaze/contrib/addressable_route.rb +0 -56
  189. data/lib/ramaze/contrib/app_graph.rb +0 -64
  190. data/lib/ramaze/contrib/email.rb +0 -88
  191. data/lib/ramaze/contrib/facebook.rb +0 -23
  192. data/lib/ramaze/contrib/facebook/facebook.rb +0 -171
  193. data/lib/ramaze/contrib/gettext.rb +0 -113
  194. data/lib/ramaze/contrib/gettext/mo.rb +0 -155
  195. data/lib/ramaze/contrib/gettext/parser.rb +0 -46
  196. data/lib/ramaze/contrib/gettext/po.rb +0 -109
  197. data/lib/ramaze/contrib/gzip_filter.rb +0 -1
  198. data/lib/ramaze/contrib/maruku_uv.rb +0 -59
  199. data/lib/ramaze/contrib/profiling.rb +0 -36
  200. data/lib/ramaze/contrib/rest.rb +0 -23
  201. data/lib/ramaze/contrib/sequel/create_join.rb +0 -26
  202. data/lib/ramaze/contrib/sequel/form_field.rb +0 -129
  203. data/lib/ramaze/contrib/sequel/image.rb +0 -196
  204. data/lib/ramaze/contrib/sequel/relation.rb +0 -98
  205. data/lib/ramaze/helper/httpdigest.rb +0 -96
  206. data/lib/ramaze/tool/bin.rb +0 -340
  207. data/lib/ramaze/tool/create.rb +0 -48
  208. data/lib/ramaze/tool/project_creator.rb +0 -120
  209. data/lib/ramaze/view/less.rb +0 -12
  210. data/lib/ramaze/view/maruku.rb +0 -15
  211. data/lib/ramaze/view/redcloth.rb +0 -21
  212. data/spec/contrib/addressable_route.rb +0 -30
  213. data/spec/examples/helpers/httpdigest.rb +0 -64
  214. data/spec/examples/templates/template_redcloth.rb +0 -13
  215. data/spec/ramaze/bin/ramaze.rb +0 -96
  216. data/spec/ramaze/helper/httpdigest.rb +0 -176
  217. data/spec/ramaze/view/less.rb +0 -60
  218. data/spec/ramaze/view/less/file.css.less +0 -8
  219. data/spec/ramaze/view/redcloth.rb +0 -66
  220. data/spec/ramaze/view/redcloth/external.redcloth +0 -8
  221. data/tasks/copyright.rake +0 -21
  222. data/tasks/gem_setup.rake +0 -112
  223. data/tasks/git.rake +0 -46
  224. data/tasks/grancher.rake +0 -12
  225. data/tasks/jquery.rake +0 -15
  226. data/tasks/manifest.rake +0 -4
  227. data/tasks/metric_changes.rake +0 -24
  228. data/tasks/reversion.rake +0 -8
  229. data/tasks/traits.rake +0 -21
data/TODO.md DELETED
@@ -1,19 +0,0 @@
1
- # Todo
2
-
3
- ## Specifications
4
-
5
- There are quite a few specifications that are still failing, examples of these
6
- specs are the HTTP Digest, the Ramaze command, file dispatches and a few others.
7
-
8
- ## Documentation
9
-
10
- It would be nice if Ramaze would be just as well documented as Innate.
11
- Currently YARD indicates that about 50% is documented, let's see if we can get that to somewhere around 80% - 90%.
12
-
13
- ## Examples
14
-
15
- Perhaps the examples could use a little update, some of the code is quite old (although might still work).
16
-
17
- ## Rake tasks
18
-
19
- There are a few Rake tasks that are somewhat redundant such as rake release:github. Perhaps these should be removed.
@@ -1,67 +0,0 @@
1
- require 'ramaze'
2
-
3
- class BenchCore < Ramaze::Controller
4
- map '/'
5
- end
6
-
7
- Ramaze.start(:started => true)
8
-
9
- Innate::Log.loggers.clear
10
-
11
- require 'benchmark'
12
-
13
- Benchmark.bmbm(20) do |b|
14
- n = 500
15
- urls = ['/small', '/large']
16
- engines = %w[Etanni Haml ERB Lokar]
17
-
18
- urls.each do |url|
19
- engines.each do |engine|
20
- b.report("Unached %10s %p:" % [engine, url]) do
21
- BenchCore.provide(:html, :engine => engine)
22
- Innate::View.options.cache = false
23
- n.times{ Innate::Mock.get(url) }
24
- end
25
-
26
- b.report("Cached %11s %p:" % [engine, url]) do
27
- BenchCore.provide(:html, :engine => engine)
28
- Innate::Cache.view.clear
29
- Innate::View.options.cache = true
30
- n.times{ Innate::Mock.get(url) }
31
- end
32
- end
33
- end
34
- end
35
-
36
- __END__
37
- This benchmark is from Sat May 2 14:58:14 JST 2009
38
- n = 500
39
-
40
- Rehearsal ----------------------------------------------------------------
41
- Unached Etanni "/small": 6.560000 0.490000 7.050000 ( 7.138829)
42
- Cached Etanni "/small": 6.370000 0.420000 6.790000 ( 6.859946)
43
- Unached Haml "/small": 8.680000 0.600000 9.280000 ( 9.379500)
44
- Cached Haml "/small": 6.830000 0.370000 7.200000 ( 7.239311)
45
- Unached ERB "/small": 8.980000 0.540000 9.520000 ( 9.585725)
46
- Cached ERB "/small": 6.470000 0.450000 6.920000 ( 6.961339)
47
- Unached Etanni "/large": 7.800000 0.490000 8.290000 ( 8.338521)
48
- Cached Etanni "/large": 7.480000 0.400000 7.880000 ( 7.927069)
49
- Unached Haml "/large": 11.970000 0.620000 12.590000 ( 12.645620)
50
- Cached Haml "/large": 6.760000 0.490000 7.250000 ( 7.296633)
51
- Unached ERB "/large": 20.700000 1.000000 21.700000 ( 21.752810)
52
- Cached ERB "/large": 7.590000 0.430000 8.020000 ( 8.079993)
53
- ----------------------------------------------------- total: 112.490000sec
54
-
55
- user system total real
56
- Unached Etanni "/small": 6.450000 0.420000 6.870000 ( 6.869656)
57
- Cached Etanni "/small": 6.280000 0.420000 6.700000 ( 6.702520)
58
- Unached Haml "/small": 8.810000 0.510000 9.320000 ( 9.343563)
59
- Cached Haml "/small": 6.670000 0.450000 7.120000 ( 7.125798)
60
- Unached ERB "/small": 8.890000 0.540000 9.430000 ( 9.450362)
61
- Cached ERB "/small": 6.530000 0.400000 6.930000 ( 6.942688)
62
- Unached Etanni "/large": 7.830000 0.500000 8.330000 ( 8.348678)
63
- Cached Etanni "/large": 7.320000 0.470000 7.790000 ( 7.798482)
64
- Unached Haml "/large": 11.880000 0.630000 12.510000 ( 12.531796)
65
- Cached Haml "/large": 6.870000 0.410000 7.280000 ( 7.298600)
66
- Unached ERB "/large": 20.570000 0.930000 21.500000 ( 21.523399)
67
- Cached ERB "/large": 7.560000 0.430000 7.990000 ( 7.999896)
@@ -1,79 +0,0 @@
1
- <html>
2
- <head>
3
- <title>
4
- <% if @title %>
5
- <%= @title %>
6
- <% end %>
7
- </title>
8
- </head>
9
- <body>
10
- <h1>
11
- <% if @h1 %>
12
- <%= @h1 %>
13
- <% end %>
14
- </h1>
15
- <div>
16
- <% if @v1 %>
17
- <% if @v2 %>
18
- <% if @v3 %>
19
- <% if @v4 %>
20
- <% if @v5 %>
21
- <% if @v6 %>
22
- <% if @v7 %>
23
- <% if @v8 %>
24
- <% if @v9 %>
25
- <% if @v10 %>
26
- <% if @v11 %>
27
- <% if @v12 %>
28
- <% if @v13 %>
29
- <% if @v14 %>
30
- <% if @v15 %>
31
- <% if @v16 %>
32
- <% if @v17 %>
33
- <% if @v18 %>
34
- <% if @v19 %>
35
- <% if @v20 %>
36
- <% if @v21 %>
37
- <% if @v22 %>
38
- <% if @v23 %>
39
- <% if @v24 %>
40
- <% if @v25 %>
41
- <% if @v26 %>
42
- <% if @v27 %>
43
- <% if @v28 %>
44
- <% if @v29 %>
45
- <% if @v30 %>
46
- <%= stuff %>
47
- <% end %>
48
- <% end %>
49
- <% end %>
50
- <% end %>
51
- <% end %>
52
- <% end %>
53
- <% end %>
54
- <% end %>
55
- <% end %>
56
- <% end %>
57
- <% end %>
58
- <% end %>
59
- <% end %>
60
- <% end %>
61
- <% end %>
62
- <% end %>
63
- <% end %>
64
- <% end %>
65
- <% end %>
66
- <% end %>
67
- <% end %>
68
- <% end %>
69
- <% end %>
70
- <% end %>
71
- <% end %>
72
- <% end %>
73
- <% end %>
74
- <% end %>
75
- <% end %>
76
- <% end %>
77
- </div>
78
- </body>
79
- </html>
@@ -1,41 +0,0 @@
1
- %html
2
- %head
3
- %title
4
- - if @title
5
- = @title
6
- %body
7
- %h1
8
- - if @h1
9
- = @h1
10
- %div
11
- - if @v1
12
- - if @v2
13
- - if @v3
14
- - if @v4
15
- - if @v5
16
- - if @v6
17
- - if @v7
18
- - if @v8
19
- - if @v9
20
- - if @v10
21
- - if @v11
22
- - if @v12
23
- - if @v13
24
- - if @v14
25
- - if @v15
26
- - if @v16
27
- - if @v17
28
- - if @v18
29
- - if @v19
30
- - if @v20
31
- - if @v21
32
- - if @v22
33
- - if @v23
34
- - if @v24
35
- - if @v25
36
- - if @v26
37
- - if @v27
38
- - if @v28
39
- - if @v29
40
- - if @v30
41
- = stuff
@@ -1,79 +0,0 @@
1
- <html>
2
- <head>
3
- <title>
4
- <?r if @title ?>
5
- #{@title}
6
- <?r end ?>
7
- </title>
8
- </head>
9
- <body>
10
- <h1>
11
- <?r if @h1 ?>
12
- #{@h1}
13
- <?r end ?>
14
- </h1>
15
- <div>
16
- <?r if @v1 ?>
17
- <?r if @v2 ?>
18
- <?r if @v3 ?>
19
- <?r if @v4 ?>
20
- <?r if @v5 ?>
21
- <?r if @v6 ?>
22
- <?r if @v7 ?>
23
- <?r if @v8 ?>
24
- <?r if @v9 ?>
25
- <?r if @v10 ?>
26
- <?r if @v11 ?>
27
- <?r if @v12 ?>
28
- <?r if @v13 ?>
29
- <?r if @v14 ?>
30
- <?r if @v15 ?>
31
- <?r if @v16 ?>
32
- <?r if @v17 ?>
33
- <?r if @v18 ?>
34
- <?r if @v19 ?>
35
- <?r if @v20 ?>
36
- <?r if @v21 ?>
37
- <?r if @v22 ?>
38
- <?r if @v23 ?>
39
- <?r if @v24 ?>
40
- <?r if @v25 ?>
41
- <?r if @v26 ?>
42
- <?r if @v27 ?>
43
- <?r if @v28 ?>
44
- <?r if @v29 ?>
45
- <?r if @v30 ?>
46
- #{stuff}
47
- <?r end ?>
48
- <?r end ?>
49
- <?r end ?>
50
- <?r end ?>
51
- <?r end ?>
52
- <?r end ?>
53
- <?r end ?>
54
- <?r end ?>
55
- <?r end ?>
56
- <?r end ?>
57
- <?r end ?>
58
- <?r end ?>
59
- <?r end ?>
60
- <?r end ?>
61
- <?r end ?>
62
- <?r end ?>
63
- <?r end ?>
64
- <?r end ?>
65
- <?r end ?>
66
- <?r end ?>
67
- <?r end ?>
68
- <?r end ?>
69
- <?r end ?>
70
- <?r end ?>
71
- <?r end ?>
72
- <?r end ?>
73
- <?r end ?>
74
- <?r end ?>
75
- <?r end ?>
76
- <?r end ?>
77
- </div>
78
- </body>
79
- </html>
@@ -1,79 +0,0 @@
1
- <html>
2
- <head>
3
- <title>
4
- <?r if @title ?>
5
- #{@title}
6
- <?r end ?>
7
- </title>
8
- </head>
9
- <body>
10
- <h1>
11
- <?r if @h1 ?>
12
- #{@h1}
13
- <?r end ?>
14
- </h1>
15
- <div>
16
- <?r if @v1 ?>
17
- <?r if @v2 ?>
18
- <?r if @v3 ?>
19
- <?r if @v4 ?>
20
- <?r if @v5 ?>
21
- <?r if @v6 ?>
22
- <?r if @v7 ?>
23
- <?r if @v8 ?>
24
- <?r if @v9 ?>
25
- <?r if @v10 ?>
26
- <?r if @v11 ?>
27
- <?r if @v12 ?>
28
- <?r if @v13 ?>
29
- <?r if @v14 ?>
30
- <?r if @v15 ?>
31
- <?r if @v16 ?>
32
- <?r if @v17 ?>
33
- <?r if @v18 ?>
34
- <?r if @v19 ?>
35
- <?r if @v20 ?>
36
- <?r if @v21 ?>
37
- <?r if @v22 ?>
38
- <?r if @v23 ?>
39
- <?r if @v24 ?>
40
- <?r if @v25 ?>
41
- <?r if @v26 ?>
42
- <?r if @v27 ?>
43
- <?r if @v28 ?>
44
- <?r if @v29 ?>
45
- <?r if @v30 ?>
46
- #{stuff}
47
- <?r end ?>
48
- <?r end ?>
49
- <?r end ?>
50
- <?r end ?>
51
- <?r end ?>
52
- <?r end ?>
53
- <?r end ?>
54
- <?r end ?>
55
- <?r end ?>
56
- <?r end ?>
57
- <?r end ?>
58
- <?r end ?>
59
- <?r end ?>
60
- <?r end ?>
61
- <?r end ?>
62
- <?r end ?>
63
- <?r end ?>
64
- <?r end ?>
65
- <?r end ?>
66
- <?r end ?>
67
- <?r end ?>
68
- <?r end ?>
69
- <?r end ?>
70
- <?r end ?>
71
- <?r end ?>
72
- <?r end ?>
73
- <?r end ?>
74
- <?r end ?>
75
- <?r end ?>
76
- <?r end ?>
77
- </div>
78
- </body>
79
- </html>
@@ -1,21 +0,0 @@
1
- <html>
2
- <head>
3
- <title>
4
- <% if @title %>
5
- <%= @title %>
6
- <% end %>
7
- </title>
8
- </head>
9
- <body>
10
- <h1>
11
- <% if @h1 %>
12
- <%= @h1 %>
13
- <% end %>
14
- </h1>
15
- <div>
16
- <% if @div %>
17
- <%= @div %>
18
- <% end %>
19
- </div>
20
- </body>
21
- </html>
@@ -1,12 +0,0 @@
1
- %html
2
- %head
3
- %title
4
- - if @title
5
- = @title
6
- %body
7
- %h1
8
- - if @h1
9
- = @h1
10
- %div
11
- - if @div
12
- = @div
@@ -1,21 +0,0 @@
1
- <html>
2
- <head>
3
- <title>
4
- <?r if @title ?>
5
- #{@title}
6
- <?r end ?>
7
- </title>
8
- </head>
9
- <body>
10
- <h1>
11
- <?r if @h1 ?>
12
- #{@h1}
13
- <?r end ?>
14
- </h1>
15
- <div>
16
- <?r if @div ?>
17
- #{@div}
18
- <?r end ?>
19
- </div>
20
- </body>
21
- </html>
@@ -1,21 +0,0 @@
1
- <html>
2
- <head>
3
- <title>
4
- <?r if @title ?>
5
- #{@title}
6
- <?r end ?>
7
- </title>
8
- </head>
9
- <body>
10
- <h1>
11
- <?r if @h1 ?>
12
- #{@h1}
13
- <?r end ?>
14
- </h1>
15
- <div>
16
- <?r if @div ?>
17
- #{@div}
18
- <?r end ?>
19
- </div>
20
- </body>
21
- </html>