ramaze 0.0.6
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.
- data/Rakefile +360 -0
- data/bin/ramaze +152 -0
- data/doc/CHANGELOG +2021 -0
- data/doc/COPYING +56 -0
- data/doc/COPYING.ja +51 -0
- data/doc/README +275 -0
- data/doc/TODO +33 -0
- data/doc/allison/LICENSE +184 -0
- data/doc/allison/README +37 -0
- data/doc/allison/allison.css +300 -0
- data/doc/allison/allison.gif +0 -0
- data/doc/allison/allison.js +307 -0
- data/doc/allison/allison.rb +287 -0
- data/doc/allison/cache/BODY +588 -0
- data/doc/allison/cache/CLASS_INDEX +4 -0
- data/doc/allison/cache/CLASS_PAGE +1 -0
- data/doc/allison/cache/FILE_INDEX +4 -0
- data/doc/allison/cache/FILE_PAGE +1 -0
- data/doc/allison/cache/FONTS +1 -0
- data/doc/allison/cache/FR_INDEX_BODY +1 -0
- data/doc/allison/cache/IMGPATH +1 -0
- data/doc/allison/cache/INDEX +1 -0
- data/doc/allison/cache/JAVASCRIPT +307 -0
- data/doc/allison/cache/METHOD_INDEX +4 -0
- data/doc/allison/cache/METHOD_LIST +1 -0
- data/doc/allison/cache/SRC_PAGE +1 -0
- data/doc/allison/cache/STYLE +322 -0
- data/doc/allison/cache/URL +1 -0
- data/examples/blog/main.rb +16 -0
- data/examples/blog/public/screen.css +106 -0
- data/examples/blog/src/controller.rb +50 -0
- data/examples/blog/src/element.rb +53 -0
- data/examples/blog/src/model.rb +29 -0
- data/examples/blog/template/edit.xhtml +6 -0
- data/examples/blog/template/index.xhtml +24 -0
- data/examples/blog/template/new.xhtml +5 -0
- data/examples/blog/template/view.xhtml +15 -0
- data/examples/blog/test/tc_entry.rb +18 -0
- data/examples/caching.rb +23 -0
- data/examples/element.rb +40 -0
- data/examples/hello.rb +23 -0
- data/examples/simple.rb +60 -0
- data/examples/templates/template/external.haml +21 -0
- data/examples/templates/template/external.liquid +28 -0
- data/examples/templates/template/external.mab +27 -0
- data/examples/templates/template/external.rhtml +29 -0
- data/examples/templates/template/external.rmze +24 -0
- data/examples/templates/template_erubis.rb +50 -0
- data/examples/templates/template_haml.rb +48 -0
- data/examples/templates/template_liquid.rb +64 -0
- data/examples/templates/template_markaby.rb +52 -0
- data/examples/templates/template_ramaze.rb +49 -0
- data/examples/whywiki/main.rb +56 -0
- data/examples/whywiki/template/edit.xhtml +14 -0
- data/examples/whywiki/template/show.xhtml +17 -0
- data/lib/proto/conf/benchmark.yaml +35 -0
- data/lib/proto/conf/debug.yaml +34 -0
- data/lib/proto/conf/live.yaml +33 -0
- data/lib/proto/conf/silent.yaml +31 -0
- data/lib/proto/conf/stage.yaml +33 -0
- data/lib/proto/main.rb +18 -0
- data/lib/proto/public/404.jpg +0 -0
- data/lib/proto/public/css/coderay.css +105 -0
- data/lib/proto/public/css/ramaze_error.css +42 -0
- data/lib/proto/public/error.xhtml +74 -0
- data/lib/proto/public/favicon.ico +0 -0
- data/lib/proto/public/js/jquery.js +1923 -0
- data/lib/proto/public/ramaze.png +0 -0
- data/lib/proto/src/controller/main.rb +7 -0
- data/lib/proto/src/element/page.rb +16 -0
- data/lib/proto/src/model.rb +5 -0
- data/lib/proto/template/index.xhtml +6 -0
- data/lib/ramaze.rb +317 -0
- data/lib/ramaze/adapter/mongrel.rb +111 -0
- data/lib/ramaze/adapter/webrick.rb +161 -0
- data/lib/ramaze/cache.rb +11 -0
- data/lib/ramaze/cache/memcached.rb +52 -0
- data/lib/ramaze/cache/memory.rb +6 -0
- data/lib/ramaze/cache/yaml_store.rb +37 -0
- data/lib/ramaze/controller.rb +10 -0
- data/lib/ramaze/dispatcher.rb +315 -0
- data/lib/ramaze/error.rb +11 -0
- data/lib/ramaze/gestalt.rb +108 -0
- data/lib/ramaze/global.rb +120 -0
- data/lib/ramaze/helper.rb +32 -0
- data/lib/ramaze/helper/aspect.rb +189 -0
- data/lib/ramaze/helper/auth.rb +120 -0
- data/lib/ramaze/helper/cache.rb +52 -0
- data/lib/ramaze/helper/feed.rb +135 -0
- data/lib/ramaze/helper/form.rb +204 -0
- data/lib/ramaze/helper/link.rb +80 -0
- data/lib/ramaze/helper/redirect.rb +48 -0
- data/lib/ramaze/helper/stack.rb +67 -0
- data/lib/ramaze/http_status.rb +66 -0
- data/lib/ramaze/inform.rb +166 -0
- data/lib/ramaze/snippets.rb +5 -0
- data/lib/ramaze/snippets/hash/keys_to_sym.rb +19 -0
- data/lib/ramaze/snippets/kernel/aquire.rb +22 -0
- data/lib/ramaze/snippets/kernel/autoreload.rb +79 -0
- data/lib/ramaze/snippets/kernel/caller_lines.rb +58 -0
- data/lib/ramaze/snippets/kernel/constant.rb +24 -0
- data/lib/ramaze/snippets/kernel/rescue_require.rb +12 -0
- data/lib/ramaze/snippets/kernel/self_method.rb +41 -0
- data/lib/ramaze/snippets/kernel/silently.rb +13 -0
- data/lib/ramaze/snippets/object/traits.rb +60 -0
- data/lib/ramaze/snippets/openstruct/temp.rb +10 -0
- data/lib/ramaze/snippets/string/DIVIDE.rb +16 -0
- data/lib/ramaze/snippets/string/camel_case.rb +14 -0
- data/lib/ramaze/snippets/string/snake_case.rb +12 -0
- data/lib/ramaze/snippets/symbol/to_proc.rb +14 -0
- data/lib/ramaze/snippets/thread/deadQUESTIONMARK.rb +11 -0
- data/lib/ramaze/store/default.rb +48 -0
- data/lib/ramaze/template.rb +102 -0
- data/lib/ramaze/template/amrita2.rb +40 -0
- data/lib/ramaze/template/erubis.rb +58 -0
- data/lib/ramaze/template/haml.rb +65 -0
- data/lib/ramaze/template/haml/actionview_stub.rb +20 -0
- data/lib/ramaze/template/liquid.rb +74 -0
- data/lib/ramaze/template/markaby.rb +68 -0
- data/lib/ramaze/template/ramaze.rb +177 -0
- data/lib/ramaze/template/ramaze/element.rb +166 -0
- data/lib/ramaze/template/ramaze/morpher.rb +156 -0
- data/lib/ramaze/tool/create.rb +70 -0
- data/lib/ramaze/tool/tidy.rb +71 -0
- data/lib/ramaze/trinity.rb +38 -0
- data/lib/ramaze/trinity/request.rb +244 -0
- data/lib/ramaze/trinity/response.rb +41 -0
- data/lib/ramaze/trinity/session.rb +129 -0
- data/lib/ramaze/version.rb +14 -0
- data/spec/spec_all.rb +73 -0
- data/spec/spec_helper.rb +215 -0
- data/spec/tc_adapter_mongrel.rb +24 -0
- data/spec/tc_adapter_webrick.rb +22 -0
- data/spec/tc_cache.rb +79 -0
- data/spec/tc_controller.rb +39 -0
- data/spec/tc_element.rb +100 -0
- data/spec/tc_error.rb +23 -0
- data/spec/tc_gestalt.rb +90 -0
- data/spec/tc_global.rb +46 -0
- data/spec/tc_helper_aspect.rb +65 -0
- data/spec/tc_helper_auth.rb +61 -0
- data/spec/tc_helper_cache.rb +81 -0
- data/spec/tc_helper_feed.rb +129 -0
- data/spec/tc_helper_form.rb +146 -0
- data/spec/tc_helper_link.rb +58 -0
- data/spec/tc_helper_redirect.rb +51 -0
- data/spec/tc_helper_stack.rb +55 -0
- data/spec/tc_morpher.rb +90 -0
- data/spec/tc_params.rb +84 -0
- data/spec/tc_request.rb +111 -0
- data/spec/tc_session.rb +56 -0
- data/spec/tc_store.rb +25 -0
- data/spec/tc_template_amrita2.rb +34 -0
- data/spec/tc_template_erubis.rb +41 -0
- data/spec/tc_template_haml.rb +44 -0
- data/spec/tc_template_liquid.rb +98 -0
- data/spec/tc_template_markaby.rb +74 -0
- data/spec/tc_template_ramaze.rb +54 -0
- data/spec/tc_tidy.rb +14 -0
- data/spec/template/amrita2/data.html +6 -0
- data/spec/template/amrita2/index.html +1 -0
- data/spec/template/amrita2/sum.html +1 -0
- data/spec/template/erubis/sum.rhtml +1 -0
- data/spec/template/haml/index.haml +5 -0
- data/spec/template/haml/with_vars.haml +4 -0
- data/spec/template/liquid/index.liquid +1 -0
- data/spec/template/liquid/products.liquid +45 -0
- data/spec/template/markaby/external.mab +8 -0
- data/spec/template/markaby/sum.mab +1 -0
- data/spec/template/ramaze/file_only.rmze +1 -0
- data/spec/template/ramaze/index.rmze +1 -0
- data/spec/template/ramaze/nested.rmze +1 -0
- data/spec/template/ramaze/sum.rmze +1 -0
- metadata +317 -0
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
|
|
6
|
+
testcase_requires 'markaby'
|
|
7
|
+
|
|
8
|
+
include Ramaze
|
|
9
|
+
|
|
10
|
+
class TCTemplateMarkabyController < Template::Markaby
|
|
11
|
+
trait :template_root => 'spec/template/markaby/'
|
|
12
|
+
|
|
13
|
+
def index
|
|
14
|
+
mab { h1 "Markaby Index" }
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def external
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def sum num1, num2
|
|
21
|
+
@num1, @num2 = num1.to_i, num2.to_i
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
context "Markaby" do
|
|
26
|
+
ramaze(:mapping => {'/' => TCTemplateMarkabyController})
|
|
27
|
+
|
|
28
|
+
def mab(&block)
|
|
29
|
+
TCTemplateMarkabyController.new.send(:mab, &block)
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
specify "index" do
|
|
33
|
+
get('/').should == '<h1>Markaby Index</h1>'
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
specify "sum" do
|
|
37
|
+
get('/sum/1/2').should == '<div>3</div>'
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
specify "external" do
|
|
41
|
+
get('/external').should == "<html><head><meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\"/><title>Markaby Test</title></head><body><h1>Markaby Template</h1></body></html>"
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
specify "should not respond to mab" do
|
|
45
|
+
lambda{get('/mab')}.should_raise
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
specify "simple" do
|
|
49
|
+
mab{ hr }.should == "<hr/>"
|
|
50
|
+
mab{ p 'foo' }.should == "<p>foo</p>"
|
|
51
|
+
mab{ p { 'foo' } }.should == "<p>foo</p>"
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
specify "classes and ids" do
|
|
55
|
+
mab{ div.one '' }.should == "<div class=\"one\"></div>"
|
|
56
|
+
mab{ div.one.two '' }.should == "<div class=\"one two\"></div>"
|
|
57
|
+
mab{ div.three! '' }.should == %{<div id="three"></div>}
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
specify "escaping" do
|
|
61
|
+
mab{ h1 'Apples & Oranges' }.should == "<h1>Apples & Oranges</h1>"
|
|
62
|
+
mab{ h1 { 'Apples & Oranges' } }.should == "<h1>Apples & Oranges</h1>"
|
|
63
|
+
mab{ h1 'Apples', :class => 'fruits&floots' }.should == "<h1 class=\"fruits&floots\">Apples</h1>"
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
specify "capturing" do
|
|
67
|
+
builder = Markaby::Builder.new
|
|
68
|
+
builder.to_s.should_be.empty
|
|
69
|
+
builder.capture { h1 'TEST' }.should == mab{ h1 "TEST" }
|
|
70
|
+
builder.to_s.should_be.empty
|
|
71
|
+
mab{ capture { h1 'hello world' }; nil }.should_be.empty
|
|
72
|
+
mab{ div { capture { h1 'TEST' } } }.should == mab { div { h1 'TEST' } }
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
|
|
6
|
+
include Ramaze
|
|
7
|
+
|
|
8
|
+
class TCTemplateController < Template::Ramaze
|
|
9
|
+
trait :template_root => 'spec/template/ramaze'
|
|
10
|
+
|
|
11
|
+
def index text
|
|
12
|
+
@text = text
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def sum num1, num2
|
|
16
|
+
@num1, @num2 = num1.to_i, num2.to_i
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def nested key, value
|
|
20
|
+
@hash = {key => value}
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def internal *args
|
|
24
|
+
@args = args
|
|
25
|
+
'<?r i = 2 ?>#{i * i} #{@args.inspect} on the table'
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
context "Ramaze" do
|
|
31
|
+
ramaze(:mapping => {'/' => TCTemplateController})
|
|
32
|
+
|
|
33
|
+
specify "hello world" do
|
|
34
|
+
get('/World').should == 'Hello, World!'
|
|
35
|
+
get('/You').should == 'Hello, You!'
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
specify "summing" do
|
|
39
|
+
get('/sum/1/2').should == '3'
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
specify "nasty nested stuff" do
|
|
43
|
+
get('/nested/foo/bar').should == 'bar'
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
specify "template inside controller" do
|
|
47
|
+
get('/internal').should == '4 [] on the table'
|
|
48
|
+
get('/internal/foo').should == '4 ["foo"] on the table'
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
specify "without method" do
|
|
52
|
+
get('/file_only').should == "This is only the file"
|
|
53
|
+
end
|
|
54
|
+
end
|
data/spec/tc_tidy.rb
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
|
|
6
|
+
testcase_requires 'tidy', 'ramaze/tool/tidy'
|
|
7
|
+
|
|
8
|
+
include Ramaze::Tool::Tidy
|
|
9
|
+
|
|
10
|
+
context "testing tidy" do
|
|
11
|
+
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>}
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<div id="index" />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<div id="sum" />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<%= @num1 + @num2 %>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hi {{name}}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
5
|
+
<head>
|
|
6
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
|
7
|
+
<meta http-equiv="Content-Language" content="en-us" />
|
|
8
|
+
|
|
9
|
+
<title>products</title>
|
|
10
|
+
|
|
11
|
+
<meta name="ROBOTS" content="ALL" />
|
|
12
|
+
<meta http-equiv="imagetoolbar" content="no" />
|
|
13
|
+
<meta name="MSSmartTagsPreventParsing" content="true" />
|
|
14
|
+
<meta name="Copyright" content="(c) 2005 Copyright content: Copyright design: Tobias Luetke" />
|
|
15
|
+
<!-- (c) Copyright 2005 by Tobias Luetke All Rights Reserved. -->
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body>
|
|
19
|
+
|
|
20
|
+
<h1>There are currently {{products | count}} products in the {{section}} catalog</h1>
|
|
21
|
+
|
|
22
|
+
{% if cool_products %}
|
|
23
|
+
Cool products :)
|
|
24
|
+
{% else %}
|
|
25
|
+
Uncool products :(
|
|
26
|
+
{% endif %}
|
|
27
|
+
|
|
28
|
+
<ul id="products">
|
|
29
|
+
|
|
30
|
+
{% for product in products %}
|
|
31
|
+
<li>
|
|
32
|
+
<h2>{{product.name}}</h2>
|
|
33
|
+
Only {{product.price | price }}
|
|
34
|
+
|
|
35
|
+
{{product.description | prettyprint | paragraph }}
|
|
36
|
+
|
|
37
|
+
{{ 'it rocks!' | paragraph }}
|
|
38
|
+
|
|
39
|
+
</li>
|
|
40
|
+
{% endfor %}
|
|
41
|
+
|
|
42
|
+
</ul>
|
|
43
|
+
|
|
44
|
+
</body>
|
|
45
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div (@num1 + @num2).to_s
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This is only the file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Hello, #{@text}!
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#{@hash['foo']}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#{@num1 + @num2}
|
metadata
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
rubygems_version: 0.9.2
|
|
3
|
+
specification_version: 1
|
|
4
|
+
name: ramaze
|
|
5
|
+
version: !ruby/object:Gem::Version
|
|
6
|
+
version: 0.0.6
|
|
7
|
+
date: 2007-02-08 00:00:00 +09:00
|
|
8
|
+
summary: Ramaze tries to be a very simple Webframework without the voodoo
|
|
9
|
+
require_paths:
|
|
10
|
+
- lib
|
|
11
|
+
email: m.fellinger@gmail.com
|
|
12
|
+
homepage: http://ramaze.rubyforge.org
|
|
13
|
+
rubyforge_project:
|
|
14
|
+
description: Ramaze tries to be a very simple Webframework without the voodoo
|
|
15
|
+
autorequire:
|
|
16
|
+
default_executable:
|
|
17
|
+
bindir: bin
|
|
18
|
+
has_rdoc: true
|
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">"
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 0.0.0
|
|
24
|
+
version:
|
|
25
|
+
platform: ruby
|
|
26
|
+
signing_key:
|
|
27
|
+
cert_chain:
|
|
28
|
+
post_install_message: |-
|
|
29
|
+
============================================================
|
|
30
|
+
|
|
31
|
+
Thank you for installing Ramaze!
|
|
32
|
+
You can now do following:
|
|
33
|
+
|
|
34
|
+
* Create a new project using the `ramaze' command:
|
|
35
|
+
ramaze --create yourproject
|
|
36
|
+
|
|
37
|
+
* Browse and try the Examples in
|
|
38
|
+
/usr/lib/ruby/gems/1.8/gems/ramaze-0.0.6/examples
|
|
39
|
+
|
|
40
|
+
============================================================
|
|
41
|
+
authors:
|
|
42
|
+
- manveru
|
|
43
|
+
files:
|
|
44
|
+
- doc/COPYING
|
|
45
|
+
- doc/TODO
|
|
46
|
+
- doc/README
|
|
47
|
+
- doc/CHANGELOG
|
|
48
|
+
- Rakefile
|
|
49
|
+
- 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
|
+
- examples/blog/src
|
|
57
|
+
- examples/blog/test
|
|
58
|
+
- examples/blog/template
|
|
59
|
+
- examples/blog/main.rb
|
|
60
|
+
- examples/blog/public
|
|
61
|
+
- examples/blog/src/model.rb
|
|
62
|
+
- examples/blog/src/controller.rb
|
|
63
|
+
- examples/blog/src/element.rb
|
|
64
|
+
- examples/blog/test/tc_entry.rb
|
|
65
|
+
- examples/blog/template/new.xhtml
|
|
66
|
+
- examples/blog/template/view.xhtml
|
|
67
|
+
- examples/blog/template/edit.xhtml
|
|
68
|
+
- examples/blog/template/index.xhtml
|
|
69
|
+
- examples/blog/public/screen.css
|
|
70
|
+
- examples/whywiki/template
|
|
71
|
+
- examples/whywiki/main.rb
|
|
72
|
+
- examples/whywiki/template/show.xhtml
|
|
73
|
+
- examples/whywiki/template/edit.xhtml
|
|
74
|
+
- examples/templates/template_erubis.rb
|
|
75
|
+
- examples/templates/template_ramaze.rb
|
|
76
|
+
- examples/templates/template_liquid.rb
|
|
77
|
+
- examples/templates/template
|
|
78
|
+
- examples/templates/template_haml.rb
|
|
79
|
+
- examples/templates/template_markaby.rb
|
|
80
|
+
- examples/templates/template/external.mab
|
|
81
|
+
- examples/templates/template/external.liquid
|
|
82
|
+
- examples/templates/template/external.rhtml
|
|
83
|
+
- examples/templates/template/external.haml
|
|
84
|
+
- examples/templates/template/external.rmze
|
|
85
|
+
- bin/ramaze
|
|
86
|
+
- doc/COPYING.ja
|
|
87
|
+
- doc/allison
|
|
88
|
+
- doc/allison/LICENSE
|
|
89
|
+
- doc/allison/cache
|
|
90
|
+
- doc/allison/README
|
|
91
|
+
- doc/allison/allison.js
|
|
92
|
+
- doc/allison/allison.rb
|
|
93
|
+
- doc/allison/allison.css
|
|
94
|
+
- doc/allison/allison.gif
|
|
95
|
+
- doc/allison/cache/URL
|
|
96
|
+
- doc/allison/cache/BODY
|
|
97
|
+
- doc/allison/cache/SRC_PAGE
|
|
98
|
+
- doc/allison/cache/CLASS_PAGE
|
|
99
|
+
- doc/allison/cache/FONTS
|
|
100
|
+
- doc/allison/cache/INDEX
|
|
101
|
+
- doc/allison/cache/STYLE
|
|
102
|
+
- doc/allison/cache/FILE_PAGE
|
|
103
|
+
- doc/allison/cache/METHOD_INDEX
|
|
104
|
+
- doc/allison/cache/FR_INDEX_BODY
|
|
105
|
+
- doc/allison/cache/JAVASCRIPT
|
|
106
|
+
- doc/allison/cache/IMGPATH
|
|
107
|
+
- doc/allison/cache/FILE_INDEX
|
|
108
|
+
- doc/allison/cache/METHOD_LIST
|
|
109
|
+
- doc/allison/cache/CLASS_INDEX
|
|
110
|
+
- spec/tc_helper_cache.rb
|
|
111
|
+
- spec/tc_request.rb
|
|
112
|
+
- spec/tc_store.rb
|
|
113
|
+
- spec/tc_template_markaby.rb
|
|
114
|
+
- spec/tc_helper_link.rb
|
|
115
|
+
- spec/tc_helper_feed.rb
|
|
116
|
+
- spec/tc_gestalt.rb
|
|
117
|
+
- spec/spec_all.rb
|
|
118
|
+
- spec/tc_session.rb
|
|
119
|
+
- spec/tc_element.rb
|
|
120
|
+
- spec/tc_morpher.rb
|
|
121
|
+
- spec/template
|
|
122
|
+
- spec/tc_helper_form.rb
|
|
123
|
+
- spec/tc_global.rb
|
|
124
|
+
- spec/tc_adapter_mongrel.rb
|
|
125
|
+
- spec/spec_helper.rb
|
|
126
|
+
- spec/tc_error.rb
|
|
127
|
+
- spec/tc_params.rb
|
|
128
|
+
- spec/tc_helper_stack.rb
|
|
129
|
+
- spec/tc_cache.rb
|
|
130
|
+
- spec/tc_adapter_webrick.rb
|
|
131
|
+
- spec/tc_controller.rb
|
|
132
|
+
- spec/tc_template_haml.rb
|
|
133
|
+
- spec/tc_helper_auth.rb
|
|
134
|
+
- spec/tc_helper_aspect.rb
|
|
135
|
+
- spec/tc_template_erubis.rb
|
|
136
|
+
- spec/tc_template_amrita2.rb
|
|
137
|
+
- spec/tc_template_ramaze.rb
|
|
138
|
+
- spec/tc_helper_redirect.rb
|
|
139
|
+
- spec/tc_tidy.rb
|
|
140
|
+
- spec/tc_template_liquid.rb
|
|
141
|
+
- spec/template/haml
|
|
142
|
+
- spec/template/markaby
|
|
143
|
+
- spec/template/erubis
|
|
144
|
+
- spec/template/liquid
|
|
145
|
+
- spec/template/ramaze
|
|
146
|
+
- spec/template/amrita2
|
|
147
|
+
- spec/template/haml/index.haml
|
|
148
|
+
- spec/template/haml/with_vars.haml
|
|
149
|
+
- spec/template/markaby/external.mab
|
|
150
|
+
- spec/template/markaby/sum.mab
|
|
151
|
+
- spec/template/erubis/sum.rhtml
|
|
152
|
+
- spec/template/liquid/index.liquid
|
|
153
|
+
- spec/template/liquid/products.liquid
|
|
154
|
+
- spec/template/ramaze/index.rmze
|
|
155
|
+
- spec/template/ramaze/file_only.rmze
|
|
156
|
+
- spec/template/ramaze/sum.rmze
|
|
157
|
+
- spec/template/ramaze/nested.rmze
|
|
158
|
+
- spec/template/amrita2/data.html
|
|
159
|
+
- spec/template/amrita2/index.html
|
|
160
|
+
- spec/template/amrita2/sum.html
|
|
161
|
+
- lib/proto
|
|
162
|
+
- lib/ramaze.rb
|
|
163
|
+
- lib/ramaze
|
|
164
|
+
- lib/proto/doc
|
|
165
|
+
- lib/proto/log
|
|
166
|
+
- lib/proto/src
|
|
167
|
+
- lib/proto/conf
|
|
168
|
+
- lib/proto/test
|
|
169
|
+
- lib/proto/template
|
|
170
|
+
- lib/proto/main.rb
|
|
171
|
+
- lib/proto/public
|
|
172
|
+
- lib/proto/src/element
|
|
173
|
+
- lib/proto/src/model.rb
|
|
174
|
+
- lib/proto/src/controller
|
|
175
|
+
- lib/proto/src/element/page.rb
|
|
176
|
+
- lib/proto/src/controller/main.rb
|
|
177
|
+
- lib/proto/conf/stage.yaml
|
|
178
|
+
- lib/proto/conf/benchmark.yaml
|
|
179
|
+
- lib/proto/conf/live.yaml
|
|
180
|
+
- lib/proto/conf/silent.yaml
|
|
181
|
+
- lib/proto/conf/debug.yaml
|
|
182
|
+
- lib/proto/template/index.xhtml
|
|
183
|
+
- lib/proto/public/js
|
|
184
|
+
- lib/proto/public/css
|
|
185
|
+
- lib/proto/public/favicon.ico
|
|
186
|
+
- lib/proto/public/ramaze.png
|
|
187
|
+
- lib/proto/public/error.xhtml
|
|
188
|
+
- lib/proto/public/404.jpg
|
|
189
|
+
- lib/proto/public/js/jquery.js
|
|
190
|
+
- lib/proto/public/css/ramaze_error.css
|
|
191
|
+
- lib/proto/public/css/coderay.css
|
|
192
|
+
- lib/ramaze/tool
|
|
193
|
+
- lib/ramaze/cache
|
|
194
|
+
- lib/ramaze/store
|
|
195
|
+
- lib/ramaze/error.rb
|
|
196
|
+
- lib/ramaze/template
|
|
197
|
+
- lib/ramaze/cache.rb
|
|
198
|
+
- lib/ramaze/snippets.rb
|
|
199
|
+
- lib/ramaze/template.rb
|
|
200
|
+
- lib/ramaze/helper
|
|
201
|
+
- lib/ramaze/trinity
|
|
202
|
+
- lib/ramaze/adapter
|
|
203
|
+
- lib/ramaze/controller.rb
|
|
204
|
+
- lib/ramaze/dispatcher.rb
|
|
205
|
+
- lib/ramaze/trinity.rb
|
|
206
|
+
- lib/ramaze/gestalt.rb
|
|
207
|
+
- lib/ramaze/global.rb
|
|
208
|
+
- lib/ramaze/http_status.rb
|
|
209
|
+
- lib/ramaze/helper.rb
|
|
210
|
+
- lib/ramaze/snippets
|
|
211
|
+
- lib/ramaze/version.rb
|
|
212
|
+
- lib/ramaze/inform.rb
|
|
213
|
+
- lib/ramaze/tool/tidy.rb
|
|
214
|
+
- lib/ramaze/tool/create.rb
|
|
215
|
+
- lib/ramaze/cache/yaml_store.rb
|
|
216
|
+
- lib/ramaze/cache/memcached.rb
|
|
217
|
+
- lib/ramaze/cache/memory.rb
|
|
218
|
+
- lib/ramaze/store/default.rb
|
|
219
|
+
- lib/ramaze/template/haml
|
|
220
|
+
- lib/ramaze/template/markaby.rb
|
|
221
|
+
- lib/ramaze/template/erubis.rb
|
|
222
|
+
- lib/ramaze/template/ramaze.rb
|
|
223
|
+
- lib/ramaze/template/liquid.rb
|
|
224
|
+
- lib/ramaze/template/haml.rb
|
|
225
|
+
- lib/ramaze/template/ramaze
|
|
226
|
+
- lib/ramaze/template/amrita2.rb
|
|
227
|
+
- lib/ramaze/template/haml/actionview_stub.rb
|
|
228
|
+
- lib/ramaze/template/ramaze/element.rb
|
|
229
|
+
- lib/ramaze/template/ramaze/morpher.rb
|
|
230
|
+
- lib/ramaze/helper/link.rb
|
|
231
|
+
- lib/ramaze/helper/cache.rb
|
|
232
|
+
- lib/ramaze/helper/feed.rb
|
|
233
|
+
- lib/ramaze/helper/redirect.rb
|
|
234
|
+
- lib/ramaze/helper/form.rb
|
|
235
|
+
- lib/ramaze/helper/stack.rb
|
|
236
|
+
- lib/ramaze/helper/auth.rb
|
|
237
|
+
- lib/ramaze/helper/aspect.rb
|
|
238
|
+
- lib/ramaze/trinity/response.rb
|
|
239
|
+
- lib/ramaze/trinity/request.rb
|
|
240
|
+
- lib/ramaze/trinity/session.rb
|
|
241
|
+
- lib/ramaze/adapter/mongrel.rb
|
|
242
|
+
- lib/ramaze/adapter/webrick.rb
|
|
243
|
+
- lib/ramaze/snippets/hash
|
|
244
|
+
- lib/ramaze/snippets/openstruct
|
|
245
|
+
- lib/ramaze/snippets/kernel
|
|
246
|
+
- lib/ramaze/snippets/object
|
|
247
|
+
- lib/ramaze/snippets/thread
|
|
248
|
+
- lib/ramaze/snippets/string
|
|
249
|
+
- lib/ramaze/snippets/symbol
|
|
250
|
+
- lib/ramaze/snippets/hash/keys_to_sym.rb
|
|
251
|
+
- lib/ramaze/snippets/openstruct/temp.rb
|
|
252
|
+
- lib/ramaze/snippets/kernel/constant.rb
|
|
253
|
+
- lib/ramaze/snippets/kernel/autoreload.rb
|
|
254
|
+
- lib/ramaze/snippets/kernel/caller_lines.rb
|
|
255
|
+
- lib/ramaze/snippets/kernel/aquire.rb
|
|
256
|
+
- lib/ramaze/snippets/kernel/self_method.rb
|
|
257
|
+
- lib/ramaze/snippets/kernel/rescue_require.rb
|
|
258
|
+
- lib/ramaze/snippets/kernel/silently.rb
|
|
259
|
+
- lib/ramaze/snippets/object/traits.rb
|
|
260
|
+
- lib/ramaze/snippets/thread/deadQUESTIONMARK.rb
|
|
261
|
+
- lib/ramaze/snippets/string/DIVIDE.rb
|
|
262
|
+
- lib/ramaze/snippets/string/camel_case.rb
|
|
263
|
+
- lib/ramaze/snippets/string/snake_case.rb
|
|
264
|
+
- lib/ramaze/snippets/symbol/to_proc.rb
|
|
265
|
+
test_files: []
|
|
266
|
+
|
|
267
|
+
rdoc_options:
|
|
268
|
+
- --all
|
|
269
|
+
- --quiet
|
|
270
|
+
- --op
|
|
271
|
+
- rdoc
|
|
272
|
+
- --line-numbers
|
|
273
|
+
- --inline-source
|
|
274
|
+
- --main
|
|
275
|
+
- "\"doc/README\""
|
|
276
|
+
- --opname
|
|
277
|
+
- index.html
|
|
278
|
+
- --title
|
|
279
|
+
- "\"Ramaze"
|
|
280
|
+
- documentation"
|
|
281
|
+
- --exclude
|
|
282
|
+
- "\"^(_darcs|spec|examples|bin|pkg)/\""
|
|
283
|
+
- --exclude
|
|
284
|
+
- "\"lib/proto\""
|
|
285
|
+
- --include
|
|
286
|
+
- "\"doc\""
|
|
287
|
+
- --accessor
|
|
288
|
+
- "\"trait\""
|
|
289
|
+
extra_rdoc_files:
|
|
290
|
+
- doc/TODO
|
|
291
|
+
- doc/README
|
|
292
|
+
- doc/CHANGELOG
|
|
293
|
+
executables:
|
|
294
|
+
- ramaze
|
|
295
|
+
extensions: []
|
|
296
|
+
|
|
297
|
+
requirements: []
|
|
298
|
+
|
|
299
|
+
dependencies:
|
|
300
|
+
- !ruby/object:Gem::Dependency
|
|
301
|
+
name: rake
|
|
302
|
+
version_requirement:
|
|
303
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
304
|
+
requirements:
|
|
305
|
+
- - ">="
|
|
306
|
+
- !ruby/object:Gem::Version
|
|
307
|
+
version: 0.7.1
|
|
308
|
+
version:
|
|
309
|
+
- !ruby/object:Gem::Dependency
|
|
310
|
+
name: rspec
|
|
311
|
+
version_requirement:
|
|
312
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
313
|
+
requirements:
|
|
314
|
+
- - ">="
|
|
315
|
+
- !ruby/object:Gem::Version
|
|
316
|
+
version: 0.7.5.1
|
|
317
|
+
version:
|