ramaze 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. data/Rakefile +52 -19
  2. data/bin/ramaze +19 -6
  3. data/doc/CHANGELOG +33 -0
  4. data/doc/COPYING +1 -1
  5. data/doc/FAQ +92 -0
  6. data/doc/GPL +340 -0
  7. data/doc/INSTALL +34 -0
  8. data/doc/ProjectInfo +53 -0
  9. data/doc/README +187 -110
  10. data/doc/readme_chunks/appendix.txt +13 -0
  11. data/doc/readme_chunks/examples.txt +38 -0
  12. data/doc/readme_chunks/features.txt +82 -0
  13. data/doc/readme_chunks/getting_help.txt +5 -0
  14. data/doc/readme_chunks/getting_started.txt +18 -0
  15. data/doc/readme_chunks/installing.txt +41 -0
  16. data/doc/readme_chunks/introduction.txt +18 -0
  17. data/doc/readme_chunks/principles.txt +41 -0
  18. data/doc/readme_chunks/thanks.txt +59 -0
  19. data/doc/tutorial/todolist.txt +546 -0
  20. data/examples/blog/main.rb +1 -1
  21. data/examples/blog/src/controller.rb +13 -11
  22. data/examples/blog/src/element.rb +11 -6
  23. data/examples/blog/src/model.rb +8 -23
  24. data/examples/blog/template/edit.xhtml +3 -1
  25. data/examples/blog/template/index.xhtml +4 -4
  26. data/examples/caching.rb +4 -4
  27. data/examples/element.rb +10 -7
  28. data/examples/hello.rb +3 -4
  29. data/examples/simple.rb +5 -3
  30. data/examples/templates/template/external.amrita +19 -0
  31. data/examples/templates/template/{external.rmze → external.zmr} +2 -2
  32. data/examples/templates/template_amrita2.rb +48 -0
  33. data/examples/templates/template_erubis.rb +5 -2
  34. data/examples/templates/{template_ramaze.rb → template_ezamar.rb} +13 -7
  35. data/examples/templates/template_haml.rb +4 -1
  36. data/examples/templates/template_liquid.rb +2 -1
  37. data/examples/templates/template_markaby.rb +2 -1
  38. data/examples/todolist/conf/benchmark.yaml +35 -0
  39. data/examples/todolist/conf/debug.yaml +34 -0
  40. data/examples/todolist/conf/live.yaml +33 -0
  41. data/examples/todolist/conf/silent.yaml +31 -0
  42. data/examples/todolist/conf/stage.yaml +33 -0
  43. data/examples/todolist/main.rb +18 -0
  44. data/examples/todolist/public/404.jpg +0 -0
  45. data/examples/todolist/public/css/coderay.css +105 -0
  46. data/examples/todolist/public/css/ramaze_error.css +42 -0
  47. data/{lib/proto → examples/todolist}/public/error.xhtml +0 -0
  48. data/examples/todolist/public/favicon.ico +0 -0
  49. data/examples/todolist/public/js/jquery.js +1923 -0
  50. data/examples/todolist/public/ramaze.png +0 -0
  51. data/examples/todolist/src/controller/main.rb +56 -0
  52. data/examples/todolist/src/element/page.rb +26 -0
  53. data/examples/todolist/src/model.rb +14 -0
  54. data/examples/todolist/template/index.xhtml +17 -0
  55. data/examples/todolist/template/new.xhtml +7 -0
  56. data/examples/todolist/todolist.db +9 -0
  57. data/examples/whywiki/main.rb +3 -8
  58. data/examples/whywiki/template/show.xhtml +4 -0
  59. data/lib/proto/public/error.zmr +77 -0
  60. data/lib/proto/src/controller/main.rb +2 -1
  61. data/lib/proto/src/element/page.rb +2 -1
  62. data/lib/proto/src/model.rb +3 -2
  63. data/lib/ramaze.rb +7 -9
  64. data/lib/ramaze/adapter.rb +51 -0
  65. data/lib/ramaze/adapter/cgi.rb +23 -0
  66. data/lib/ramaze/adapter/fcgi.rb +22 -0
  67. data/lib/ramaze/adapter/mongrel.rb +7 -86
  68. data/lib/ramaze/adapter/webrick.rb +14 -133
  69. data/lib/ramaze/cache/memcached.rb +6 -0
  70. data/lib/ramaze/cache/yaml_store.rb +3 -1
  71. data/lib/ramaze/controller.rb +292 -2
  72. data/lib/ramaze/dispatcher.rb +85 -213
  73. data/lib/ramaze/error.rb +10 -0
  74. data/lib/ramaze/global.rb +8 -0
  75. data/lib/ramaze/helper/aspect.rb +30 -7
  76. data/lib/ramaze/helper/auth.rb +16 -9
  77. data/lib/ramaze/helper/cache.rb +40 -35
  78. data/lib/ramaze/helper/feed.rb +1 -1
  79. data/lib/ramaze/helper/flash.rb +34 -0
  80. data/lib/ramaze/helper/link.rb +8 -2
  81. data/lib/ramaze/helper/openid.rb +63 -0
  82. data/lib/ramaze/helper/redirect.rb +12 -11
  83. data/lib/ramaze/helper/stack.rb +5 -7
  84. data/lib/ramaze/inform.rb +12 -1
  85. data/lib/ramaze/snippets/kernel/aquire.rb +1 -1
  86. data/lib/ramaze/snippets/kernel/{self_method.rb → method.rb} +3 -18
  87. data/lib/ramaze/snippets/kernel/{rescue_require.rb → pretty_inspect.rb} +7 -6
  88. data/lib/ramaze/snippets/method/name.rb +22 -0
  89. data/lib/ramaze/snippets/{kernel → ramaze}/autoreload.rb +0 -0
  90. data/lib/ramaze/snippets/ramaze/caller_info.rb +14 -0
  91. data/lib/ramaze/snippets/{kernel → ramaze}/caller_lines.rb +3 -10
  92. data/lib/ramaze/snippets/rdoc/usage_no_exit.rb +49 -23
  93. data/lib/ramaze/snippets/string/DIVIDE.rb +0 -1
  94. data/lib/ramaze/store/default.rb +58 -2
  95. data/lib/ramaze/store/yaml.rb +161 -0
  96. data/lib/ramaze/template.rb +27 -86
  97. data/lib/ramaze/template/amrita2.rb +14 -19
  98. data/lib/ramaze/template/erubis.rb +15 -38
  99. data/lib/ramaze/template/ezamar.rb +100 -0
  100. data/lib/ramaze/template/ezamar/element.rb +166 -0
  101. data/lib/ramaze/template/ezamar/engine.rb +124 -0
  102. data/lib/ramaze/template/ezamar/morpher.rb +155 -0
  103. data/lib/ramaze/template/haml.rb +16 -43
  104. data/lib/ramaze/template/liquid.rb +11 -51
  105. data/lib/ramaze/template/markaby.rb +44 -42
  106. data/lib/ramaze/tool/mime.rb +18 -0
  107. data/lib/ramaze/tool/mime_types.yaml +615 -0
  108. data/lib/ramaze/trinity/request.rb +20 -196
  109. data/lib/ramaze/trinity/response.rb +4 -33
  110. data/lib/ramaze/trinity/session.rb +150 -72
  111. data/lib/ramaze/version.rb +1 -1
  112. data/spec/adapter_spec.rb +20 -0
  113. data/spec/public/favicon.ico +0 -0
  114. data/spec/public/ramaze.png +0 -0
  115. data/spec/public/test_download.css +141 -0
  116. data/spec/{tc_request.rb → request_tc_helper.rb} +45 -21
  117. data/spec/spec_all.rb +77 -34
  118. data/spec/spec_helper.rb +8 -157
  119. data/spec/spec_helper_context.rb +72 -0
  120. data/spec/spec_helper_requester.rb +52 -0
  121. data/spec/spec_helper_simple_http.rb +433 -0
  122. data/spec/tc_adapter_mongrel.rb +3 -15
  123. data/spec/tc_adapter_webrick.rb +4 -14
  124. data/spec/tc_cache.rb +3 -5
  125. data/spec/tc_controller.rb +22 -12
  126. data/spec/tc_dependencies.rb +13 -0
  127. data/spec/tc_element.rb +8 -7
  128. data/spec/tc_error.rb +13 -7
  129. data/spec/tc_global.rb +16 -18
  130. data/spec/tc_helper_aspect.rb +2 -4
  131. data/spec/tc_helper_auth.rb +15 -14
  132. data/spec/tc_helper_cache.rb +5 -7
  133. data/spec/tc_helper_feed.rb +0 -2
  134. data/spec/tc_helper_flash.rb +103 -0
  135. data/spec/tc_helper_form.rb +4 -6
  136. data/spec/tc_helper_link.rb +1 -3
  137. data/spec/tc_helper_redirect.rb +23 -8
  138. data/spec/tc_helper_stack.rb +31 -15
  139. data/spec/tc_morpher.rb +1 -3
  140. data/spec/tc_params.rb +48 -7
  141. data/spec/tc_request_mongrel.rb +9 -0
  142. data/spec/tc_request_webrick.rb +5 -0
  143. data/spec/tc_session.rb +41 -25
  144. data/spec/tc_store.rb +55 -6
  145. data/spec/tc_store_yaml.rb +71 -0
  146. data/spec/tc_template_amrita2.rb +3 -3
  147. data/spec/tc_template_erubis.rb +2 -3
  148. data/spec/{tc_template_ramaze.rb → tc_template_ezamar.rb} +15 -5
  149. data/spec/tc_template_haml.rb +4 -3
  150. data/spec/tc_template_liquid.rb +3 -4
  151. data/spec/tc_template_markaby.rb +4 -6
  152. data/spec/tc_tidy.rb +1 -3
  153. data/spec/template/amrita2/{data.html → data.amrita} +0 -0
  154. data/spec/template/amrita2/{index.html → index.amrita} +0 -0
  155. data/spec/template/amrita2/{sum.html → sum.amrita} +0 -0
  156. data/spec/template/ezamar/another/long/action.zmr +1 -0
  157. data/spec/template/ezamar/combined.zmr +1 -0
  158. data/spec/template/{ramaze/file_only.rmze → ezamar/file_only.zmr} +0 -0
  159. data/spec/template/{ramaze/index.rmze → ezamar/index.zmr} +0 -0
  160. data/spec/template/{ramaze/nested.rmze → ezamar/nested.zmr} +0 -0
  161. data/spec/template/ezamar/some__long__action.zmr +1 -0
  162. data/spec/template/{ramaze/sum.rmze → ezamar/sum.zmr} +0 -0
  163. metadata +181 -123
  164. data/doc/allison/LICENSE +0 -184
  165. data/doc/allison/README +0 -37
  166. data/doc/allison/allison.css +0 -300
  167. data/doc/allison/allison.gif +0 -0
  168. data/doc/allison/allison.js +0 -307
  169. data/doc/allison/allison.rb +0 -287
  170. data/doc/allison/cache/BODY +0 -588
  171. data/doc/allison/cache/CLASS_INDEX +0 -4
  172. data/doc/allison/cache/CLASS_PAGE +0 -1
  173. data/doc/allison/cache/FILE_INDEX +0 -4
  174. data/doc/allison/cache/FILE_PAGE +0 -1
  175. data/doc/allison/cache/FONTS +0 -1
  176. data/doc/allison/cache/FR_INDEX_BODY +0 -1
  177. data/doc/allison/cache/IMGPATH +0 -1
  178. data/doc/allison/cache/INDEX +0 -1
  179. data/doc/allison/cache/JAVASCRIPT +0 -307
  180. data/doc/allison/cache/METHOD_INDEX +0 -4
  181. data/doc/allison/cache/METHOD_LIST +0 -1
  182. data/doc/allison/cache/SRC_PAGE +0 -1
  183. data/doc/allison/cache/STYLE +0 -322
  184. data/doc/allison/cache/URL +0 -1
  185. data/doc/changes.txt +0 -2021
  186. data/doc/changes.xml +0 -2024
  187. data/lib/ramaze/snippets/kernel/silently.rb +0 -13
  188. data/lib/ramaze/snippets/thread/deadQUESTIONMARK.rb +0 -11
  189. data/lib/ramaze/template/haml/actionview_stub.rb +0 -20
  190. data/lib/ramaze/template/ramaze.rb +0 -177
  191. data/lib/ramaze/template/ramaze/element.rb +0 -166
  192. data/lib/ramaze/template/ramaze/morpher.rb +0 -156
  193. data/spec/tc_test.rb +0 -17
@@ -0,0 +1,71 @@
1
+ # Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com
2
+ # All files in this distribution are subject to the terms of the Ruby license.
3
+
4
+ require 'spec/spec_helper'
5
+ require 'ramaze/store/yaml'
6
+
7
+ context "Store::YAML" do
8
+ def new_store name
9
+ Ramaze::Store::YAML.new(name, :destroy => true)
10
+ end
11
+
12
+ specify "model" do
13
+ article_class = new_store :article
14
+ article_class.entities.should_not == nil
15
+ end
16
+
17
+ specify "store and retrieve" do
18
+ article_class = new_store :article
19
+ article = article_class.new
20
+ article.title = 'the article'
21
+ article.text = 'the articles text'
22
+ article.eid.should == nil
23
+ article.save
24
+
25
+ article.eid.should == 'a'
26
+
27
+ old_article = article_class[article.eid]
28
+ old_article.title.should == article.title
29
+ old_article.text.should == article.text
30
+ end
31
+
32
+ specify "convenience" do
33
+ article_class = new_store :article
34
+ article_class.all.should.be.empty
35
+ article = article_class.new
36
+ article.name = 'the article'
37
+ article.save
38
+
39
+ article_class.keys.should == [:a]
40
+ article_class.all.should_not.be.empty
41
+ end
42
+
43
+ specify "relations" do
44
+ article_class = new_store :article
45
+ author_class = new_store :author
46
+
47
+ author = author_class.new
48
+ author.name = 'manveru'
49
+
50
+ article = article_class.new
51
+ article.name = 'the article'
52
+ article.author = author
53
+ article.save
54
+
55
+ article = article_class[article.eid]
56
+ article.author.name.should == author.name
57
+ author.article.name.should == article.name
58
+ end
59
+
60
+ specify "delete" do
61
+ article_class = new_store :article
62
+
63
+ article = article_class['foo'] = {
64
+ :bar => :one
65
+ }
66
+
67
+ article_class['foo'].should == {:bar => :one}
68
+ article_class.delete 'foo'
69
+ article_class['foo'].should == nil
70
+ end
71
+ end
@@ -5,10 +5,10 @@ require 'spec/spec_helper'
5
5
 
6
6
  testcase_requires 'amrita2'
7
7
 
8
- include Ramaze
9
-
10
- class TCTemplateAmritaController < Template::Amrita2
8
+ class TCTemplateAmritaController < Ramaze::Controller
11
9
  trait :template_root => 'spec/template/amrita2/'
10
+ trait :engine => Ramaze::Template::Amrita2
11
+ trait :actionless => true
12
12
 
13
13
  def title
14
14
  "hello world"
@@ -5,10 +5,9 @@ require 'spec/spec_helper'
5
5
 
6
6
  testcase_requires 'erubis'
7
7
 
8
- include Ramaze
9
-
10
- class TCTemplateErubisController < Template::Erubis
8
+ class TCTemplateErubisController < Ramaze::Controller
11
9
  trait :template_root => 'spec/template/erubis/'
10
+ trait :engine => Ramaze::Template::Erubis
12
11
 
13
12
  def index
14
13
  'Erubis Index'
@@ -3,10 +3,9 @@
3
3
 
4
4
  require 'spec/spec_helper'
5
5
 
6
- include Ramaze
7
-
8
- class TCTemplateController < Template::Ramaze
9
- trait :template_root => 'spec/template/ramaze'
6
+ class TCTemplateController < Ramaze::Controller
7
+ trait :template_root => 'spec/template/ezamar'
8
+ trait :engine => Ramaze::Template::Ezamar
10
9
 
11
10
  def index text
12
11
  @text = text
@@ -24,10 +23,15 @@ class TCTemplateController < Template::Ramaze
24
23
  @args = args
25
24
  '<?r i = 2 ?>#{i * i} #{@args.inspect} on the table'
26
25
  end
26
+
27
+ def combined
28
+ @a = 'boo'
29
+ nil
30
+ end
27
31
  end
28
32
 
29
33
 
30
- context "Ramaze" do
34
+ context "Ezamar" do
31
35
  ramaze(:mapping => {'/' => TCTemplateController})
32
36
 
33
37
  specify "hello world" do
@@ -51,4 +55,10 @@ context "Ramaze" do
51
55
  specify "without method" do
52
56
  get('/file_only').should == "This is only the file"
53
57
  end
58
+
59
+ specify "combined" do
60
+ 100.times do
61
+ get('/combined').should == 'boo'
62
+ end
63
+ end
54
64
  end
@@ -5,10 +5,11 @@ require 'spec/spec_helper'
5
5
 
6
6
  testcase_requires 'ramaze/template/haml'
7
7
 
8
- include Ramaze
9
-
10
- class TCTemplateHamlController < Template::Haml
8
+ class TCTemplateHamlController < Ramaze::Controller
11
9
  trait :template_root => 'spec/template/haml/'
10
+ trait :engine => Ramaze::Template::Haml
11
+
12
+ helper :link
12
13
 
13
14
  def index
14
15
  end
@@ -5,8 +5,6 @@ require 'spec/spec_helper'
5
5
 
6
6
  testcase_requires 'liquid'
7
7
 
8
- include Ramaze
9
-
10
8
  module ProductsFilter
11
9
  def price(integer)
12
10
  sprintf("$%.2d USD", integer / 100.0)
@@ -26,8 +24,9 @@ module ProductsFilter
26
24
  end
27
25
 
28
26
 
29
- class TCTemplateLiquidController < Template::Liquid
30
- trait :template_root => 'spec/template/liquid/'
27
+ class TCTemplateLiquidController < Ramaze::Controller
28
+ trait :template_root => 'spec/template/liquid/'
29
+ trait :engine => Ramaze::Template::Liquid
31
30
  trait :liquid_options => { :filters => ProductsFilter }
32
31
 
33
32
  def index
@@ -5,10 +5,9 @@ require 'spec/spec_helper'
5
5
 
6
6
  testcase_requires 'markaby'
7
7
 
8
- include Ramaze
9
-
10
- class TCTemplateMarkabyController < Template::Markaby
8
+ class TCTemplateMarkabyController < Ramaze::Controller
11
9
  trait :template_root => 'spec/template/markaby/'
10
+ trait :engine => Ramaze::Template::Markaby
12
11
 
13
12
  def index
14
13
  mab { h1 "Markaby Index" }
@@ -24,10 +23,9 @@ end
24
23
 
25
24
  context "Markaby" do
26
25
  ramaze(:mapping => {'/' => TCTemplateMarkabyController})
26
+ trait :engine => Ramaze::Template::Markaby
27
27
 
28
- def mab(&block)
29
- TCTemplateMarkabyController.new.send(:mab, &block)
30
- end
28
+ include Ramaze::Template::MarkabyMixin
31
29
 
32
30
  specify "index" do
33
31
  get('/').should == '<h1>Markaby Index</h1>'
@@ -5,10 +5,8 @@ require 'spec/spec_helper'
5
5
 
6
6
  testcase_requires 'tidy', 'ramaze/tool/tidy'
7
7
 
8
- include Ramaze::Tool::Tidy
9
-
10
8
  context "testing tidy" do
11
9
  specify "tidy some simple html" do
12
- tidy("<html></html>").should =~ %r{<html>\s+<head>\s+<meta name="generator" content="HTML Tidy (.*?)" />\s+<title></title>\s+</head>\s+<body></body>\s+</html>}
10
+ Ramaze::Tool::Tidy.tidy("<html></html>").should =~ %r{<html>\s+<head>\s+<meta name="generator" content="HTML Tidy (.*?)" />\s+<title></title>\s+</head>\s+<body></body>\s+</html>}
13
11
  end
14
12
  end
@@ -0,0 +1 @@
1
+ another long action
@@ -0,0 +1 @@
1
+ #{@a}
@@ -0,0 +1 @@
1
+ some long action
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: ramaze
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.7
7
- date: 2007-02-08 00:00:00 +09:00
6
+ version: 0.0.8
7
+ date: 2007-03-20 00:00:00 +09:00
8
8
  summary: Ramaze tries to be a very simple Webframework without the voodoo
9
9
  require_paths:
10
10
  - lib
@@ -35,238 +35,286 @@ post_install_message: |-
35
35
  ramaze --create yourproject
36
36
 
37
37
  * Browse and try the Examples in
38
- /usr/lib/ruby/gems/1.8/gems/ramaze-0.0.7/examples
38
+ /usr/lib/ruby/gems/1.8/gems/ramaze-0.0.8/examples
39
39
 
40
40
  ============================================================
41
41
  authors:
42
42
  - manveru
43
43
  files:
44
- - doc/COPYING
45
- - doc/TODO
44
+ - lib
45
+ - doc
46
46
  - doc/README
47
+ - doc/FAQ
47
48
  - doc/CHANGELOG
48
49
  - Rakefile
49
50
  - examples/blog
50
- - examples/caching.rb
51
- - examples/element.rb
52
- - examples/simple.rb
53
- - examples/whywiki
54
- - examples/hello.rb
55
- - examples/templates
56
51
  - examples/blog/src
57
- - examples/blog/test
58
- - examples/blog/template
59
- - examples/blog/main.rb
60
- - examples/blog/public
61
52
  - examples/blog/src/model.rb
62
53
  - examples/blog/src/controller.rb
63
54
  - examples/blog/src/element.rb
55
+ - examples/blog/test
64
56
  - examples/blog/test/tc_entry.rb
57
+ - examples/blog/template
65
58
  - examples/blog/template/new.xhtml
66
59
  - examples/blog/template/view.xhtml
67
60
  - examples/blog/template/edit.xhtml
68
61
  - examples/blog/template/index.xhtml
62
+ - examples/blog/main.rb
63
+ - examples/blog/public
69
64
  - examples/blog/public/screen.css
65
+ - examples/caching.rb
66
+ - examples/todolist
67
+ - examples/todolist/src
68
+ - examples/todolist/src/element
69
+ - examples/todolist/src/element/page.rb
70
+ - examples/todolist/src/model.rb
71
+ - examples/todolist/src/controller
72
+ - examples/todolist/src/controller/main.rb
73
+ - examples/todolist/conf
74
+ - examples/todolist/conf/stage.yaml
75
+ - examples/todolist/conf/benchmark.yaml
76
+ - examples/todolist/conf/live.yaml
77
+ - examples/todolist/conf/silent.yaml
78
+ - examples/todolist/conf/debug.yaml
79
+ - examples/todolist/todolist.db
80
+ - examples/todolist/template
81
+ - examples/todolist/template/new.xhtml
82
+ - examples/todolist/template/index.xhtml
83
+ - examples/todolist/main.rb
84
+ - examples/todolist/public
85
+ - examples/todolist/public/js
86
+ - examples/todolist/public/js/jquery.js
87
+ - examples/todolist/public/css
88
+ - examples/todolist/public/css/ramaze_error.css
89
+ - examples/todolist/public/css/coderay.css
90
+ - examples/todolist/public/favicon.ico
91
+ - examples/todolist/public/ramaze.png
92
+ - examples/todolist/public/error.xhtml
93
+ - examples/todolist/public/404.jpg
94
+ - examples/element.rb
95
+ - examples/simple.rb
96
+ - examples/whywiki
70
97
  - examples/whywiki/template
71
- - examples/whywiki/main.rb
72
98
  - examples/whywiki/template/show.xhtml
73
99
  - examples/whywiki/template/edit.xhtml
100
+ - examples/whywiki/main.rb
101
+ - examples/hello.rb
102
+ - examples/templates
103
+ - examples/templates/template_ezamar.rb
74
104
  - examples/templates/template_erubis.rb
75
- - examples/templates/template_ramaze.rb
76
105
  - examples/templates/template_liquid.rb
77
106
  - examples/templates/template
78
- - examples/templates/template_haml.rb
79
- - examples/templates/template_markaby.rb
80
107
  - examples/templates/template/external.mab
108
+ - examples/templates/template/external.zmr
109
+ - examples/templates/template/external.amrita
81
110
  - examples/templates/template/external.liquid
82
111
  - examples/templates/template/external.rhtml
83
112
  - examples/templates/template/external.haml
84
- - examples/templates/template/external.rmze
113
+ - examples/templates/template_amrita2.rb
114
+ - examples/templates/template_haml.rb
115
+ - examples/templates/template_markaby.rb
85
116
  - bin/ramaze
117
+ - doc/GPL
118
+ - doc/TODO
119
+ - doc/readme_chunks
120
+ - doc/readme_chunks/appendix.txt
121
+ - doc/readme_chunks/thanks.txt
122
+ - doc/readme_chunks/principles.txt
123
+ - doc/readme_chunks/introduction.txt
124
+ - doc/readme_chunks/getting_started.txt
125
+ - doc/readme_chunks/examples.txt
126
+ - doc/readme_chunks/installing.txt
127
+ - doc/readme_chunks/features.txt
128
+ - doc/readme_chunks/getting_help.txt
86
129
  - doc/COPYING.ja
87
- - doc/allison
88
- - doc/changes.txt
89
- - doc/changes.xml
90
- - doc/allison/LICENSE
91
- - doc/allison/cache
92
- - doc/allison/README
93
- - doc/allison/allison.js
94
- - doc/allison/allison.rb
95
- - doc/allison/allison.css
96
- - doc/allison/allison.gif
97
- - doc/allison/cache/URL
98
- - doc/allison/cache/BODY
99
- - doc/allison/cache/SRC_PAGE
100
- - doc/allison/cache/CLASS_PAGE
101
- - doc/allison/cache/FONTS
102
- - doc/allison/cache/INDEX
103
- - doc/allison/cache/STYLE
104
- - doc/allison/cache/FILE_PAGE
105
- - doc/allison/cache/METHOD_INDEX
106
- - doc/allison/cache/FR_INDEX_BODY
107
- - doc/allison/cache/JAVASCRIPT
108
- - doc/allison/cache/IMGPATH
109
- - doc/allison/cache/FILE_INDEX
110
- - doc/allison/cache/METHOD_LIST
111
- - doc/allison/cache/CLASS_INDEX
130
+ - doc/tutorial
131
+ - doc/tutorial/todolist.txt
132
+ - doc/INSTALL
133
+ - doc/COPYING
134
+ - doc/ProjectInfo
112
135
  - spec/tc_helper_cache.rb
113
- - spec/tc_request.rb
114
136
  - spec/tc_store.rb
115
137
  - spec/tc_template_markaby.rb
138
+ - spec/request_tc_helper.rb
116
139
  - spec/tc_helper_link.rb
140
+ - spec/tc_dependencies.rb
117
141
  - spec/tc_helper_feed.rb
142
+ - spec/tc_request_webrick.rb
118
143
  - spec/tc_gestalt.rb
119
144
  - spec/spec_all.rb
120
145
  - spec/tc_session.rb
121
146
  - spec/tc_element.rb
122
147
  - spec/tc_morpher.rb
123
148
  - spec/template
149
+ - spec/template/haml
150
+ - spec/template/haml/index.haml
151
+ - spec/template/haml/with_vars.haml
152
+ - spec/template/markaby
153
+ - spec/template/markaby/external.mab
154
+ - spec/template/markaby/sum.mab
155
+ - spec/template/erubis
156
+ - spec/template/erubis/sum.rhtml
157
+ - spec/template/ezamar
158
+ - spec/template/ezamar/sum.zmr
159
+ - spec/template/ezamar/nested.zmr
160
+ - spec/template/ezamar/combined.zmr
161
+ - spec/template/ezamar/index.zmr
162
+ - spec/template/ezamar/some__long__action.zmr
163
+ - spec/template/ezamar/file_only.zmr
164
+ - spec/template/ezamar/another
165
+ - spec/template/ezamar/another/long
166
+ - spec/template/ezamar/another/long/action.zmr
167
+ - spec/template/liquid
168
+ - spec/template/liquid/index.liquid
169
+ - spec/template/liquid/products.liquid
170
+ - spec/template/amrita2
171
+ - spec/template/amrita2/sum.amrita
172
+ - spec/template/amrita2/index.amrita
173
+ - spec/template/amrita2/data.amrita
124
174
  - spec/tc_helper_form.rb
125
175
  - spec/tc_global.rb
126
176
  - spec/tc_adapter_mongrel.rb
127
177
  - spec/spec_helper.rb
128
178
  - spec/tc_error.rb
179
+ - spec/spec_helper_simple_http.rb
180
+ - spec/tc_store_yaml.rb
181
+ - spec/spec_helper_context.rb
129
182
  - spec/tc_params.rb
183
+ - spec/tc_helper_flash.rb
130
184
  - spec/tc_helper_stack.rb
131
185
  - spec/tc_cache.rb
132
186
  - spec/tc_adapter_webrick.rb
187
+ - spec/adapter_spec.rb
133
188
  - spec/tc_controller.rb
134
189
  - spec/tc_template_haml.rb
135
190
  - spec/tc_helper_auth.rb
191
+ - spec/public
192
+ - spec/public/favicon.ico
193
+ - spec/public/ramaze.png
194
+ - spec/public/test_download.css
136
195
  - spec/tc_helper_aspect.rb
196
+ - spec/spec_helper_requester.rb
197
+ - spec/tc_template_ezamar.rb
137
198
  - spec/tc_template_erubis.rb
138
199
  - spec/tc_template_amrita2.rb
139
- - spec/tc_template_ramaze.rb
140
200
  - spec/tc_helper_redirect.rb
141
- - spec/tc_test.rb
142
201
  - spec/tc_tidy.rb
143
202
  - spec/tc_template_liquid.rb
144
- - spec/template/haml
145
- - spec/template/markaby
146
- - spec/template/erubis
147
- - spec/template/liquid
148
- - spec/template/ramaze
149
- - spec/template/amrita2
150
- - spec/template/haml/index.haml
151
- - spec/template/haml/with_vars.haml
152
- - spec/template/markaby/external.mab
153
- - spec/template/markaby/sum.mab
154
- - spec/template/erubis/sum.rhtml
155
- - spec/template/liquid/index.liquid
156
- - spec/template/liquid/products.liquid
157
- - spec/template/ramaze/index.rmze
158
- - spec/template/ramaze/file_only.rmze
159
- - spec/template/ramaze/sum.rmze
160
- - spec/template/ramaze/nested.rmze
161
- - spec/template/amrita2/data.html
162
- - spec/template/amrita2/index.html
163
- - spec/template/amrita2/sum.html
203
+ - spec/tc_request_mongrel.rb
164
204
  - lib/proto
165
- - lib/ramaze.rb
166
- - lib/ramaze
167
205
  - lib/proto/doc
168
206
  - lib/proto/log
169
207
  - lib/proto/src
170
- - lib/proto/conf
171
- - lib/proto/test
172
- - lib/proto/template
173
- - lib/proto/main.rb
174
- - lib/proto/public
175
208
  - lib/proto/src/element
209
+ - lib/proto/src/element/page.rb
176
210
  - lib/proto/src/model.rb
177
211
  - lib/proto/src/controller
178
- - lib/proto/src/element/page.rb
179
212
  - lib/proto/src/controller/main.rb
213
+ - lib/proto/conf
180
214
  - lib/proto/conf/stage.yaml
181
215
  - lib/proto/conf/benchmark.yaml
182
216
  - lib/proto/conf/live.yaml
183
217
  - lib/proto/conf/silent.yaml
184
218
  - lib/proto/conf/debug.yaml
219
+ - lib/proto/test
220
+ - lib/proto/template
185
221
  - lib/proto/template/index.xhtml
222
+ - lib/proto/main.rb
223
+ - lib/proto/public
186
224
  - lib/proto/public/js
225
+ - lib/proto/public/js/jquery.js
187
226
  - lib/proto/public/css
227
+ - lib/proto/public/css/ramaze_error.css
228
+ - lib/proto/public/css/coderay.css
188
229
  - lib/proto/public/favicon.ico
189
230
  - lib/proto/public/ramaze.png
190
- - lib/proto/public/error.xhtml
191
231
  - lib/proto/public/404.jpg
192
- - lib/proto/public/js/jquery.js
193
- - lib/proto/public/css/ramaze_error.css
194
- - lib/proto/public/css/coderay.css
232
+ - lib/proto/public/error.zmr
233
+ - lib/ramaze.rb
234
+ - lib/ramaze
195
235
  - lib/ramaze/tool
196
- - lib/ramaze/cache
197
- - lib/ramaze/store
198
- - lib/ramaze/error.rb
199
- - lib/ramaze/template
200
- - lib/ramaze/cache.rb
201
- - lib/ramaze/snippets.rb
202
- - lib/ramaze/template.rb
203
- - lib/ramaze/helper
204
- - lib/ramaze/trinity
205
- - lib/ramaze/adapter
206
- - lib/ramaze/controller.rb
207
- - lib/ramaze/dispatcher.rb
208
- - lib/ramaze/trinity.rb
209
- - lib/ramaze/gestalt.rb
210
- - lib/ramaze/global.rb
211
- - lib/ramaze/http_status.rb
212
- - lib/ramaze/helper.rb
213
- - lib/ramaze/snippets
214
- - lib/ramaze/version.rb
215
- - lib/ramaze/inform.rb
236
+ - lib/ramaze/tool/mime_types.yaml
237
+ - lib/ramaze/tool/mime.rb
216
238
  - lib/ramaze/tool/tidy.rb
217
239
  - lib/ramaze/tool/create.rb
240
+ - lib/ramaze/cache
218
241
  - lib/ramaze/cache/yaml_store.rb
219
242
  - lib/ramaze/cache/memcached.rb
220
243
  - lib/ramaze/cache/memory.rb
244
+ - lib/ramaze/store
245
+ - lib/ramaze/store/yaml.rb
221
246
  - lib/ramaze/store/default.rb
222
- - lib/ramaze/template/haml
247
+ - lib/ramaze/error.rb
248
+ - lib/ramaze/template
223
249
  - lib/ramaze/template/markaby.rb
250
+ - lib/ramaze/template/ezamar.rb
224
251
  - lib/ramaze/template/erubis.rb
225
- - lib/ramaze/template/ramaze.rb
226
252
  - lib/ramaze/template/liquid.rb
253
+ - lib/ramaze/template/ezamar
254
+ - lib/ramaze/template/ezamar/engine.rb
255
+ - lib/ramaze/template/ezamar/element.rb
256
+ - lib/ramaze/template/ezamar/morpher.rb
227
257
  - lib/ramaze/template/haml.rb
228
- - lib/ramaze/template/ramaze
229
258
  - lib/ramaze/template/amrita2.rb
230
- - lib/ramaze/template/haml/actionview_stub.rb
231
- - lib/ramaze/template/ramaze/element.rb
232
- - lib/ramaze/template/ramaze/morpher.rb
259
+ - lib/ramaze/cache.rb
260
+ - lib/ramaze/snippets.rb
261
+ - lib/ramaze/template.rb
262
+ - lib/ramaze/helper
233
263
  - lib/ramaze/helper/link.rb
234
264
  - lib/ramaze/helper/cache.rb
235
265
  - lib/ramaze/helper/feed.rb
236
266
  - lib/ramaze/helper/redirect.rb
237
267
  - lib/ramaze/helper/form.rb
268
+ - lib/ramaze/helper/openid.rb
269
+ - lib/ramaze/helper/flash.rb
238
270
  - lib/ramaze/helper/stack.rb
239
271
  - lib/ramaze/helper/auth.rb
240
272
  - lib/ramaze/helper/aspect.rb
273
+ - lib/ramaze/adapter.rb
274
+ - lib/ramaze/trinity
241
275
  - lib/ramaze/trinity/response.rb
242
276
  - lib/ramaze/trinity/request.rb
243
277
  - lib/ramaze/trinity/session.rb
278
+ - lib/ramaze/adapter
244
279
  - lib/ramaze/adapter/mongrel.rb
280
+ - lib/ramaze/adapter/fcgi.rb
245
281
  - lib/ramaze/adapter/webrick.rb
282
+ - lib/ramaze/adapter/cgi.rb
283
+ - lib/ramaze/controller.rb
284
+ - lib/ramaze/dispatcher.rb
285
+ - lib/ramaze/trinity.rb
286
+ - lib/ramaze/gestalt.rb
287
+ - lib/ramaze/global.rb
288
+ - lib/ramaze/http_status.rb
289
+ - lib/ramaze/helper.rb
290
+ - lib/ramaze/snippets
246
291
  - lib/ramaze/snippets/hash
247
- - lib/ramaze/snippets/openstruct
248
- - lib/ramaze/snippets/rdoc
249
- - lib/ramaze/snippets/kernel
250
- - lib/ramaze/snippets/object
251
- - lib/ramaze/snippets/thread
252
- - lib/ramaze/snippets/string
253
- - lib/ramaze/snippets/symbol
254
292
  - lib/ramaze/snippets/hash/keys_to_sym.rb
293
+ - lib/ramaze/snippets/openstruct
255
294
  - lib/ramaze/snippets/openstruct/temp.rb
295
+ - lib/ramaze/snippets/rdoc
256
296
  - lib/ramaze/snippets/rdoc/usage_no_exit.rb
297
+ - lib/ramaze/snippets/kernel
257
298
  - lib/ramaze/snippets/kernel/constant.rb
258
- - lib/ramaze/snippets/kernel/autoreload.rb
259
- - lib/ramaze/snippets/kernel/caller_lines.rb
260
299
  - lib/ramaze/snippets/kernel/aquire.rb
261
- - lib/ramaze/snippets/kernel/self_method.rb
262
- - lib/ramaze/snippets/kernel/rescue_require.rb
263
- - lib/ramaze/snippets/kernel/silently.rb
300
+ - lib/ramaze/snippets/kernel/pretty_inspect.rb
301
+ - lib/ramaze/snippets/kernel/method.rb
302
+ - lib/ramaze/snippets/method
303
+ - lib/ramaze/snippets/method/name.rb
304
+ - lib/ramaze/snippets/object
264
305
  - lib/ramaze/snippets/object/traits.rb
265
- - lib/ramaze/snippets/thread/deadQUESTIONMARK.rb
306
+ - lib/ramaze/snippets/ramaze
307
+ - lib/ramaze/snippets/ramaze/autoreload.rb
308
+ - lib/ramaze/snippets/ramaze/caller_lines.rb
309
+ - lib/ramaze/snippets/ramaze/caller_info.rb
310
+ - lib/ramaze/snippets/string
266
311
  - lib/ramaze/snippets/string/DIVIDE.rb
267
312
  - lib/ramaze/snippets/string/camel_case.rb
268
313
  - lib/ramaze/snippets/string/snake_case.rb
314
+ - lib/ramaze/snippets/symbol
269
315
  - lib/ramaze/snippets/symbol/to_proc.rb
316
+ - lib/ramaze/version.rb
317
+ - lib/ramaze/inform.rb
270
318
  test_files: []
271
319
 
272
320
  rdoc_options:
@@ -277,12 +325,11 @@ rdoc_options:
277
325
  - --line-numbers
278
326
  - --inline-source
279
327
  - --main
280
- - "\"doc/README\""
328
+ - doc/README
281
329
  - --opname
282
330
  - index.html
283
331
  - --title
284
- - "\"Ramaze"
285
- - documentation"
332
+ - "\"Ramaze documentation\""
286
333
  - --exclude
287
334
  - "\"^(_darcs|spec|examples|bin|pkg)/\""
288
335
  - --exclude
@@ -292,8 +339,10 @@ rdoc_options:
292
339
  - --accessor
293
340
  - "\"trait\""
294
341
  extra_rdoc_files:
295
- - doc/TODO
342
+ - lib
343
+ - doc
296
344
  - doc/README
345
+ - doc/FAQ
297
346
  - doc/CHANGELOG
298
347
  executables:
299
348
  - ramaze
@@ -320,3 +369,12 @@ dependencies:
320
369
  - !ruby/object:Gem::Version
321
370
  version: 0.7.5.1
322
371
  version:
372
+ - !ruby/object:Gem::Dependency
373
+ name: rack
374
+ version_requirement:
375
+ version_requirements: !ruby/object:Gem::Version::Requirement
376
+ requirements:
377
+ - - ">="
378
+ - !ruby/object:Gem::Version
379
+ version: 0.1.0
380
+ version: