milk 0.0.1 → 0.0.2
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 +1 -1
- data/lib/milk.rb +13 -0
- data/lib/milk/application.rb +14 -0
- data/lib/milk/component.rb +67 -40
- data/lib/milk/field.rb +46 -2
- data/lib/milk/fields/component.haml +8 -0
- data/lib/milk/fields/component_array.haml +3 -0
- data/lib/milk/fields/component_view.haml +2 -0
- data/lib/milk/fields/image_chooser.haml +7 -0
- data/lib/milk/fields/image_chooser.rb +22 -0
- data/lib/milk/fields/markdown_field.haml +1 -0
- data/lib/milk/fields/page_chooser.haml +3 -0
- data/lib/milk/fields/page_chooser.rb +13 -0
- data/lib/milk/fields/sprite_chooser.haml +6 -0
- data/lib/milk/fields/sprite_chooser.rb +15 -0
- data/lib/milk/fields/text_field.haml +1 -0
- data/lib/milk/fields/xhtml.haml +253 -2
- data/lib/milk/page.rb +56 -14
- metadata +11 -174
- data/doc/classes/Milk.html +0 -198
- data/doc/classes/Milk.src/M000005.html +0 -17
- data/doc/classes/Milk/Application.html +0 -209
- data/doc/classes/Milk/Application.src/M000007.html +0 -69
- data/doc/classes/Milk/Application.src/M000008.html +0 -38
- data/doc/classes/Milk/Component.html +0 -397
- data/doc/classes/Milk/Component.src/M000014.html +0 -19
- data/doc/classes/Milk/Component.src/M000015.html +0 -16
- data/doc/classes/Milk/Component.src/M000016.html +0 -15
- data/doc/classes/Milk/Component.src/M000017.html +0 -15
- data/doc/classes/Milk/Component.src/M000018.html +0 -15
- data/doc/classes/Milk/Component.src/M000019.html +0 -15
- data/doc/classes/Milk/Component.src/M000020.html +0 -15
- data/doc/classes/Milk/Component.src/M000021.html +0 -15
- data/doc/classes/Milk/Component.src/M000022.html +0 -18
- data/doc/classes/Milk/Component.src/M000023.html +0 -21
- data/doc/classes/Milk/Component.src/M000024.html +0 -15
- data/doc/classes/Milk/Component.src/M000025.html +0 -22
- data/doc/classes/Milk/ExternalCompilerError.html +0 -117
- data/doc/classes/Milk/Field.html +0 -114
- data/doc/classes/Milk/Fields.html +0 -173
- data/doc/classes/Milk/Fields/ComponentArray.html +0 -114
- data/doc/classes/Milk/Fields/ImageChooser.html +0 -114
- data/doc/classes/Milk/Fields/MarkdownField.html +0 -114
- data/doc/classes/Milk/Fields/PageChooser.html +0 -114
- data/doc/classes/Milk/Fields/SpriteChooser.html +0 -114
- data/doc/classes/Milk/Fields/TextField.html +0 -114
- data/doc/classes/Milk/Haxe.html +0 -208
- data/doc/classes/Milk/Haxe.src/M000005.html +0 -40
- data/doc/classes/Milk/Haxe.src/M000006.html +0 -15
- data/doc/classes/Milk/Page.html +0 -243
- data/doc/classes/Milk/Page.src/M000009.html +0 -17
- data/doc/classes/Milk/Page.src/M000010.html +0 -17
- data/doc/classes/Milk/Page.src/M000011.html +0 -18
- data/doc/classes/Milk/Page.src/M000012.html +0 -20
- data/doc/classes/Milk/Page.src/M000013.html +0 -21
- data/doc/classes/Milk/PageNotFoundError.html +0 -110
- data/doc/classes/Object.html +0 -237
- data/doc/classes/Object.src/M000001.html +0 -13
- data/doc/classes/Object.src/M000002.html +0 -13
- data/doc/classes/Object.src/M000003.html +0 -15
- data/doc/classes/Object.src/M000004.html +0 -15
- data/doc/created.rid +0 -1
- data/doc/files/INSTALL.html +0 -106
- data/doc/files/LICENSE.html +0 -126
- data/doc/files/README.html +0 -100
- data/doc/files/Rakefile.html +0 -121
- data/doc/files/bin/milk.html +0 -100
- data/doc/files/doc/classes/Milk/Application_html.html +0 -302
- data/doc/files/doc/classes/Milk/Application_src/M000007_html.html +0 -173
- data/doc/files/doc/classes/Milk/Application_src/M000008_html.html +0 -142
- data/doc/files/doc/classes/Milk/Component_html.html +0 -477
- data/doc/files/doc/classes/Milk/Component_src/M000014_html.html +0 -123
- data/doc/files/doc/classes/Milk/Component_src/M000015_html.html +0 -120
- data/doc/files/doc/classes/Milk/Component_src/M000016_html.html +0 -119
- data/doc/files/doc/classes/Milk/Component_src/M000017_html.html +0 -119
- data/doc/files/doc/classes/Milk/Component_src/M000018_html.html +0 -119
- data/doc/files/doc/classes/Milk/Component_src/M000019_html.html +0 -119
- data/doc/files/doc/classes/Milk/Component_src/M000020_html.html +0 -119
- data/doc/files/doc/classes/Milk/Component_src/M000021_html.html +0 -119
- data/doc/files/doc/classes/Milk/Component_src/M000022_html.html +0 -122
- data/doc/files/doc/classes/Milk/Component_src/M000023_html.html +0 -125
- data/doc/files/doc/classes/Milk/Component_src/M000024_html.html +0 -119
- data/doc/files/doc/classes/Milk/Component_src/M000025_html.html +0 -126
- data/doc/files/doc/classes/Milk/ExternalCompilerError_html.html +0 -214
- data/doc/files/doc/classes/Milk/Field_html.html +0 -209
- data/doc/files/doc/classes/Milk/Fields/ComponentArray_html.html +0 -209
- data/doc/files/doc/classes/Milk/Fields/ImageChooser_html.html +0 -209
- data/doc/files/doc/classes/Milk/Fields/MarkdownField_html.html +0 -209
- data/doc/files/doc/classes/Milk/Fields/PageChooser_html.html +0 -209
- data/doc/files/doc/classes/Milk/Fields/SpriteChooser_html.html +0 -209
- data/doc/files/doc/classes/Milk/Fields/TextField_html.html +0 -209
- data/doc/files/doc/classes/Milk/Fields_html.html +0 -264
- data/doc/files/doc/classes/Milk/Haxe_html.html +0 -298
- data/doc/files/doc/classes/Milk/Haxe_src/M000005_html.html +0 -144
- data/doc/files/doc/classes/Milk/Haxe_src/M000006_html.html +0 -119
- data/doc/files/doc/classes/Milk/PageNotFoundError_html.html +0 -205
- data/doc/files/doc/classes/Milk/Page_html.html +0 -330
- data/doc/files/doc/classes/Milk/Page_src/M000009_html.html +0 -121
- data/doc/files/doc/classes/Milk/Page_src/M000010_html.html +0 -121
- data/doc/files/doc/classes/Milk/Page_src/M000011_html.html +0 -122
- data/doc/files/doc/classes/Milk/Page_src/M000012_html.html +0 -124
- data/doc/files/doc/classes/Milk/Page_src/M000013_html.html +0 -125
- data/doc/files/doc/classes/Milk_html.html +0 -321
- data/doc/files/doc/classes/Object_html.html +0 -334
- data/doc/files/doc/classes/Object_src/M000001_html.html +0 -117
- data/doc/files/doc/classes/Object_src/M000002_html.html +0 -117
- data/doc/files/doc/classes/Object_src/M000003_html.html +0 -119
- data/doc/files/doc/classes/Object_src/M000004_html.html +0 -119
- data/doc/files/doc/created_rid.html +0 -97
- data/doc/files/doc/files/INSTALL_html.html +0 -206
- data/doc/files/doc/files/LICENSE_html.html +0 -226
- data/doc/files/doc/files/README_html.html +0 -201
- data/doc/files/doc/files/Rakefile_html.html +0 -221
- data/doc/files/doc/files/bin/milk_html.html +0 -198
- data/doc/files/doc/files/lib/milk/application_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/component_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/field_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/fields/component_array_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/fields/image_chooser_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/fields/markdown_field_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/fields/page_chooser_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/fields/sprite_chooser_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/fields/text_field_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/fields/xhtml_haml_html.html +0 -211
- data/doc/files/doc/files/lib/milk/haxe_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/page_rb_html.html +0 -188
- data/doc/files/doc/files/lib/milk/tasks_rb_html.html +0 -202
- data/doc/files/doc/files/lib/milk/templates/bzrignore_html.html +0 -197
- data/doc/files/doc/files/lib/milk/templates/rackup_html.html +0 -217
- data/doc/files/doc/files/lib/milk/templates/rakefile_html.html +0 -198
- data/doc/files/doc/files/lib/milk/templates/restart_html.html +0 -197
- data/doc/files/doc/files/lib/milk_rb_html.html +0 -197
- data/doc/files/doc/fr_class_index_html.html +0 -160
- data/doc/files/doc/fr_file_index_html.html +0 -174
- data/doc/files/doc/fr_method_index_html.html +0 -178
- data/doc/files/doc/index_html.html +0 -128
- data/doc/files/doc/rdoc-style_css.html +0 -665
- data/doc/files/lib/milk/application_rb.html +0 -90
- data/doc/files/lib/milk/component_rb.html +0 -90
- data/doc/files/lib/milk/field_rb.html +0 -90
- data/doc/files/lib/milk/fields/component_array_rb.html +0 -90
- data/doc/files/lib/milk/fields/image_chooser_rb.html +0 -90
- data/doc/files/lib/milk/fields/markdown_field_rb.html +0 -90
- data/doc/files/lib/milk/fields/page_chooser_rb.html +0 -90
- data/doc/files/lib/milk/fields/sprite_chooser_rb.html +0 -90
- data/doc/files/lib/milk/fields/text_field_rb.html +0 -90
- data/doc/files/lib/milk/fields/xhtml_haml.html +0 -107
- data/doc/files/lib/milk/haxe_rb.html +0 -90
- data/doc/files/lib/milk/page_rb.html +0 -90
- data/doc/files/lib/milk/tasks_rb.html +0 -104
- data/doc/files/lib/milk/templates/bzrignore.html +0 -97
- data/doc/files/lib/milk/templates/rackup.html +0 -119
- data/doc/files/lib/milk/templates/rakefile.html +0 -98
- data/doc/files/lib/milk/templates/restart.html +0 -97
- data/doc/files/lib/milk_rb.html +0 -97
- data/doc/fr_class_index.html +0 -27
- data/doc/fr_file_index.html +0 -169
- data/doc/fr_method_index.html +0 -33
- data/doc/index.html +0 -21
- data/doc/rdoc-style.css +0 -299
data/doc/files/README.html
DELETED
@@ -1,100 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>File: README [RDoc Documentation]</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
8
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
9
|
-
<script type="text/javascript">
|
10
|
-
// <![CDATA[
|
11
|
-
|
12
|
-
function popupCode( url ) {
|
13
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
14
|
-
}
|
15
|
-
|
16
|
-
function toggleCode( id ) {
|
17
|
-
if ( document.getElementById )
|
18
|
-
elem = document.getElementById( id );
|
19
|
-
else if ( document.all )
|
20
|
-
elem = eval( "document.all." + id );
|
21
|
-
else
|
22
|
-
return false;
|
23
|
-
|
24
|
-
elemStyle = elem.style;
|
25
|
-
|
26
|
-
if ( elemStyle.display != "block" ) {
|
27
|
-
elemStyle.display = "block"
|
28
|
-
} else {
|
29
|
-
elemStyle.display = "none"
|
30
|
-
}
|
31
|
-
|
32
|
-
return true;
|
33
|
-
}
|
34
|
-
|
35
|
-
// Make codeblocks hidden by default
|
36
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
|
37
|
-
|
38
|
-
// ]]>
|
39
|
-
</script>
|
40
|
-
|
41
|
-
</head>
|
42
|
-
<body>
|
43
|
-
|
44
|
-
|
45
|
-
<div id="fileHeader">
|
46
|
-
<h1>README</h1>
|
47
|
-
<table class="header-table">
|
48
|
-
<tr class="top-aligned-row">
|
49
|
-
<td><strong>Path:</strong></td>
|
50
|
-
<td>README
|
51
|
-
|
52
|
-
</td>
|
53
|
-
</tr>
|
54
|
-
<tr class="top-aligned-row">
|
55
|
-
<td><strong>Last Update:</strong></td>
|
56
|
-
<td>2009-05-13 23:23:51 -0500</td>
|
57
|
-
</tr>
|
58
|
-
</table>
|
59
|
-
</div>
|
60
|
-
<!-- banner header -->
|
61
|
-
|
62
|
-
<div id="bodyContent">
|
63
|
-
|
64
|
-
<div id="contextContent">
|
65
|
-
|
66
|
-
<div id="description">
|
67
|
-
<p>
|
68
|
-
<a href="../classes/Milk.html">Milk</a> is a rack based cms system built
|
69
|
-
for ease of use and simplicity. <a href="../classes/Milk.html">Milk</a>
|
70
|
-
tastes great with and without cookies. The public facing aspect is static
|
71
|
-
html files, and the admin side is super easy to use.
|
72
|
-
</p>
|
73
|
-
|
74
|
-
</div>
|
75
|
-
|
76
|
-
</div>
|
77
|
-
|
78
|
-
|
79
|
-
</div>
|
80
|
-
|
81
|
-
<!-- if includes -->
|
82
|
-
|
83
|
-
<div id="section">
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
<!-- if method_list -->
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
<div id="validator-badges">
|
96
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
97
|
-
</div>
|
98
|
-
|
99
|
-
</body>
|
100
|
-
</html>
|
data/doc/files/Rakefile.html
DELETED
@@ -1,121 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>File: Rakefile [RDoc Documentation]</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
8
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
9
|
-
<script type="text/javascript">
|
10
|
-
// <![CDATA[
|
11
|
-
|
12
|
-
function popupCode( url ) {
|
13
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
14
|
-
}
|
15
|
-
|
16
|
-
function toggleCode( id ) {
|
17
|
-
if ( document.getElementById )
|
18
|
-
elem = document.getElementById( id );
|
19
|
-
else if ( document.all )
|
20
|
-
elem = eval( "document.all." + id );
|
21
|
-
else
|
22
|
-
return false;
|
23
|
-
|
24
|
-
elemStyle = elem.style;
|
25
|
-
|
26
|
-
if ( elemStyle.display != "block" ) {
|
27
|
-
elemStyle.display = "block"
|
28
|
-
} else {
|
29
|
-
elemStyle.display = "none"
|
30
|
-
}
|
31
|
-
|
32
|
-
return true;
|
33
|
-
}
|
34
|
-
|
35
|
-
// Make codeblocks hidden by default
|
36
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
|
37
|
-
|
38
|
-
// ]]>
|
39
|
-
</script>
|
40
|
-
|
41
|
-
</head>
|
42
|
-
<body>
|
43
|
-
|
44
|
-
|
45
|
-
<div id="fileHeader">
|
46
|
-
<h1>Rakefile</h1>
|
47
|
-
<table class="header-table">
|
48
|
-
<tr class="top-aligned-row">
|
49
|
-
<td><strong>Path:</strong></td>
|
50
|
-
<td>Rakefile
|
51
|
-
|
52
|
-
</td>
|
53
|
-
</tr>
|
54
|
-
<tr class="top-aligned-row">
|
55
|
-
<td><strong>Last Update:</strong></td>
|
56
|
-
<td>2009-05-14 12:59:28 -0500</td>
|
57
|
-
</tr>
|
58
|
-
</table>
|
59
|
-
</div>
|
60
|
-
<!-- banner header -->
|
61
|
-
|
62
|
-
<div id="bodyContent">
|
63
|
-
|
64
|
-
<div id="contextContent">
|
65
|
-
|
66
|
-
<div id="description">
|
67
|
-
<p>
|
68
|
-
require ‘rake/gempackagetask’ spec = Gem::Specification.new do
|
69
|
-
|s|
|
70
|
-
</p>
|
71
|
-
<pre>
|
72
|
-
s.rubyforge_project = "milk"
|
73
|
-
s.name = "milk"
|
74
|
-
s.summary = "Milk is a rack based content management system built for ease of use and simplicity. Milk tastes great with and without cookies."
|
75
|
-
s.description= File.read(File.join(File.dirname(__FILE__), 'README'))
|
76
|
-
s.requirements << 'none'
|
77
|
-
s.version = "0.0.1"
|
78
|
-
s.author = "Tim Caswell"
|
79
|
-
s.email = "tim@creationix.com"
|
80
|
-
s.homepage = "http://milk.rubyforge.org"
|
81
|
-
s.platform = Gem::Platform::RUBY
|
82
|
-
s.required_ruby_version = '>=1.9'
|
83
|
-
s.files = Dir['**/**']
|
84
|
-
s.executables = [ 'milk' ]
|
85
|
-
s.add_dependency('rack', '>= 1.0.0')
|
86
|
-
s.add_dependency('maruku', '>= 0.6.0')
|
87
|
-
s.add_dependency('haml', '>= 2.0.9')
|
88
|
-
s.test_files = Dir["test/test*.rb"]
|
89
|
-
s.has_rdoc = false
|
90
|
-
</pre>
|
91
|
-
<p>
|
92
|
-
end Rake::GemPackageTask.new(spec).define
|
93
|
-
</p>
|
94
|
-
|
95
|
-
</div>
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
|
100
|
-
</div>
|
101
|
-
|
102
|
-
<!-- if includes -->
|
103
|
-
|
104
|
-
<div id="section">
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<!-- if method_list -->
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
</div>
|
115
|
-
|
116
|
-
<div id="validator-badges">
|
117
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
118
|
-
</div>
|
119
|
-
|
120
|
-
</body>
|
121
|
-
</html>
|
data/doc/files/bin/milk.html
DELETED
@@ -1,100 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>File: milk [RDoc Documentation]</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
8
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
9
|
-
<script type="text/javascript">
|
10
|
-
// <![CDATA[
|
11
|
-
|
12
|
-
function popupCode( url ) {
|
13
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
14
|
-
}
|
15
|
-
|
16
|
-
function toggleCode( id ) {
|
17
|
-
if ( document.getElementById )
|
18
|
-
elem = document.getElementById( id );
|
19
|
-
else if ( document.all )
|
20
|
-
elem = eval( "document.all." + id );
|
21
|
-
else
|
22
|
-
return false;
|
23
|
-
|
24
|
-
elemStyle = elem.style;
|
25
|
-
|
26
|
-
if ( elemStyle.display != "block" ) {
|
27
|
-
elemStyle.display = "block"
|
28
|
-
} else {
|
29
|
-
elemStyle.display = "none"
|
30
|
-
}
|
31
|
-
|
32
|
-
return true;
|
33
|
-
}
|
34
|
-
|
35
|
-
// Make codeblocks hidden by default
|
36
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
|
37
|
-
|
38
|
-
// ]]>
|
39
|
-
</script>
|
40
|
-
|
41
|
-
</head>
|
42
|
-
<body>
|
43
|
-
|
44
|
-
|
45
|
-
<div id="fileHeader">
|
46
|
-
<h1>milk</h1>
|
47
|
-
<table class="header-table">
|
48
|
-
<tr class="top-aligned-row">
|
49
|
-
<td><strong>Path:</strong></td>
|
50
|
-
<td>bin/milk
|
51
|
-
|
52
|
-
</td>
|
53
|
-
</tr>
|
54
|
-
<tr class="top-aligned-row">
|
55
|
-
<td><strong>Last Update:</strong></td>
|
56
|
-
<td>2009-05-13 23:12:47 -0500</td>
|
57
|
-
</tr>
|
58
|
-
</table>
|
59
|
-
</div>
|
60
|
-
<!-- banner header -->
|
61
|
-
|
62
|
-
<div id="bodyContent">
|
63
|
-
|
64
|
-
<div id="contextContent">
|
65
|
-
|
66
|
-
<div id="requires-list">
|
67
|
-
<h3 class="section-bar">Required files</h3>
|
68
|
-
|
69
|
-
<div class="name-list">
|
70
|
-
|
71
|
-
milk
|
72
|
-
|
73
|
-
</div>
|
74
|
-
</div>
|
75
|
-
|
76
|
-
</div>
|
77
|
-
|
78
|
-
|
79
|
-
</div>
|
80
|
-
|
81
|
-
<!-- if includes -->
|
82
|
-
|
83
|
-
<div id="section">
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
<!-- if method_list -->
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
<div id="validator-badges">
|
96
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
97
|
-
</div>
|
98
|
-
|
99
|
-
</body>
|
100
|
-
</html>
|
@@ -1,302 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>File: Application.html [RDoc Documentation]</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
8
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
9
|
-
<script type="text/javascript">
|
10
|
-
// <![CDATA[
|
11
|
-
|
12
|
-
function popupCode( url ) {
|
13
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
14
|
-
}
|
15
|
-
|
16
|
-
function toggleCode( id ) {
|
17
|
-
if ( document.getElementById )
|
18
|
-
elem = document.getElementById( id );
|
19
|
-
else if ( document.all )
|
20
|
-
elem = eval( "document.all." + id );
|
21
|
-
else
|
22
|
-
return false;
|
23
|
-
|
24
|
-
elemStyle = elem.style;
|
25
|
-
|
26
|
-
if ( elemStyle.display != "block" ) {
|
27
|
-
elemStyle.display = "block"
|
28
|
-
} else {
|
29
|
-
elemStyle.display = "none"
|
30
|
-
}
|
31
|
-
|
32
|
-
return true;
|
33
|
-
}
|
34
|
-
|
35
|
-
// Make codeblocks hidden by default
|
36
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
|
37
|
-
|
38
|
-
// ]]>
|
39
|
-
</script>
|
40
|
-
|
41
|
-
</head>
|
42
|
-
<body>
|
43
|
-
|
44
|
-
|
45
|
-
<div id="fileHeader">
|
46
|
-
<h1>Application.html</h1>
|
47
|
-
<table class="header-table">
|
48
|
-
<tr class="top-aligned-row">
|
49
|
-
<td><strong>Path:</strong></td>
|
50
|
-
<td>doc/classes/Milk/Application.html
|
51
|
-
|
52
|
-
</td>
|
53
|
-
</tr>
|
54
|
-
<tr class="top-aligned-row">
|
55
|
-
<td><strong>Last Update:</strong></td>
|
56
|
-
<td>2009-05-13 23:25:37 -0500</td>
|
57
|
-
</tr>
|
58
|
-
</table>
|
59
|
-
</div>
|
60
|
-
<!-- banner header -->
|
61
|
-
|
62
|
-
<div id="bodyContent">
|
63
|
-
|
64
|
-
<div id="contextContent">
|
65
|
-
|
66
|
-
<div id="description">
|
67
|
-
<p>
|
68
|
-
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN“
|
69
|
-
“<a
|
70
|
-
href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>“>
|
71
|
-
<html xmlns=“<a
|
72
|
-
href="http://www.w3.org/1999/xhtml">www.w3.org/1999/xhtml</a>“
|
73
|
-
xml:lang=“en” lang=“en”> <head>
|
74
|
-
</p>
|
75
|
-
<pre>
|
76
|
-
<title>Class: Milk::Application [RDoc Documentation]</title>
|
77
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
78
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
79
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
80
|
-
<script type="text/javascript">
|
81
|
-
// <![CDATA[
|
82
|
-
|
83
|
-
function popupCode( url ) {
|
84
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
85
|
-
}
|
86
|
-
|
87
|
-
function toggleCode( id ) {
|
88
|
-
if ( document.getElementById )
|
89
|
-
elem = document.getElementById( id );
|
90
|
-
else if ( document.all )
|
91
|
-
elem = eval( "document.all." + id );
|
92
|
-
else
|
93
|
-
return false;
|
94
|
-
|
95
|
-
elemStyle = elem.style;
|
96
|
-
|
97
|
-
if ( elemStyle.display != "block" ) {
|
98
|
-
elemStyle.display = "block"
|
99
|
-
} else {
|
100
|
-
elemStyle.display = "none"
|
101
|
-
}
|
102
|
-
|
103
|
-
return true;
|
104
|
-
}
|
105
|
-
|
106
|
-
// Make codeblocks hidden by default
|
107
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
|
108
|
-
|
109
|
-
// ]]>
|
110
|
-
</script>
|
111
|
-
</pre>
|
112
|
-
<p>
|
113
|
-
</head> <body>
|
114
|
-
</p>
|
115
|
-
<pre>
|
116
|
-
<div id="classHeader">
|
117
|
-
<table class="header-table">
|
118
|
-
<tr class="top-aligned-row">
|
119
|
-
<td><strong>Class</strong></td>
|
120
|
-
<td class="class-name-in-header">Milk::Application</td>
|
121
|
-
</tr>
|
122
|
-
<tr class="top-aligned-row">
|
123
|
-
<td><strong>In:</strong></td>
|
124
|
-
<td>
|
125
|
-
|
126
|
-
<a href="../../files/lib/milk/application_rb.html">
|
127
|
-
|
128
|
-
lib/milk/application.rb
|
129
|
-
|
130
|
-
</a>
|
131
|
-
|
132
|
-
<br />
|
133
|
-
|
134
|
-
</td>
|
135
|
-
</tr>
|
136
|
-
|
137
|
-
<tr class="top-aligned-row">
|
138
|
-
<td><strong>Parent:</strong></td>
|
139
|
-
<td>
|
140
|
-
|
141
|
-
<a href="../Object.html">
|
142
|
-
|
143
|
-
Object
|
144
|
-
|
145
|
-
</a>
|
146
|
-
|
147
|
-
</td>
|
148
|
-
</tr>
|
149
|
-
|
150
|
-
</table>
|
151
|
-
</div>
|
152
|
-
<!-- banner header -->
|
153
|
-
|
154
|
-
<div id="bodyContent">
|
155
|
-
|
156
|
-
<div id="contextContent">
|
157
|
-
|
158
|
-
</div>
|
159
|
-
|
160
|
-
<div id="method-list">
|
161
|
-
<h3 class="section-bar">Methods</h3>
|
162
|
-
|
163
|
-
<div class="name-list">
|
164
|
-
|
165
|
-
<a href="#M000008">call</a>&nbsp;&nbsp;
|
166
|
-
|
167
|
-
<a href="#M000007">route</a>&nbsp;&nbsp;
|
168
|
-
|
169
|
-
</div>
|
170
|
-
</div>
|
171
|
-
|
172
|
-
</div>
|
173
|
-
|
174
|
-
<!-- if includes -->
|
175
|
-
|
176
|
-
<div id="section">
|
177
|
-
|
178
|
-
<div id="constants-list">
|
179
|
-
<h3 class="section-bar">Constants</h3>
|
180
|
-
|
181
|
-
<div class="name-list">
|
182
|
-
<table summary="Constants">
|
183
|
-
|
184
|
-
<tr class="top-aligned-row context-row">
|
185
|
-
<td class="context-item-name">PAGE_PATH_REGEX</td>
|
186
|
-
<td>=</td>
|
187
|
-
<td class="context-item-value">/^\/([A-Z][a-zA-Z]+(\/[A-Z][a-zA-Z]+)*)+\/*$/</td>
|
188
|
-
|
189
|
-
</tr>
|
190
|
-
|
191
|
-
<tr class="top-aligned-row context-row">
|
192
|
-
<td class="context-item-name">EDIT_PATH_REGEX</td>
|
193
|
-
<td>=</td>
|
194
|
-
<td class="context-item-value">/^\/([A-Z][a-zA-Z]+(\/[A-Z][a-zA-Z]+)*)+\/edit\/*$/</td>
|
195
|
-
|
196
|
-
</tr>
|
197
|
-
|
198
|
-
<tr class="top-aligned-row context-row">
|
199
|
-
<td class="context-item-name">HAXE_PATH_REGEX</td>
|
200
|
-
<td>=</td>
|
201
|
-
<td class="context-item-value">/^\/(.*).hx$/</td>
|
202
|
-
|
203
|
-
</tr>
|
204
|
-
|
205
|
-
</table>
|
206
|
-
</div>
|
207
|
-
</div>
|
208
|
-
|
209
|
-
<!-- if method_list -->
|
210
|
-
|
211
|
-
<div id="methods">
|
212
|
-
|
213
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
214
|
-
|
215
|
-
<div id="method-M000008" class="method-detail">
|
216
|
-
<a name="M000008"></a>
|
217
|
-
|
218
|
-
<div class="method-heading">
|
219
|
-
|
220
|
-
<a href="Application.src/M000008.html" target="Code" class="method-signature"
|
221
|
-
onclick="popupCode('Application.src/M000008.html');return false;">
|
222
|
-
|
223
|
-
<span class="method-name">call</span><span class="method-args">(env)</span>
|
224
|
-
|
225
|
-
</a>
|
226
|
-
|
227
|
-
</div>
|
228
|
-
|
229
|
-
<div class="method-description">
|
230
|
-
|
231
|
-
<p>
|
232
|
-
</pre>
|
233
|
-
<p>
|
234
|
-
Rack call interface </p>
|
235
|
-
</p>
|
236
|
-
<pre>
|
237
|
-
</div>
|
238
|
-
</div>
|
239
|
-
|
240
|
-
<div id="method-M000007" class="method-detail">
|
241
|
-
<a name="M000007"></a>
|
242
|
-
|
243
|
-
<div class="method-heading">
|
244
|
-
|
245
|
-
<a href="Application.src/M000007.html" target="Code" class="method-signature"
|
246
|
-
onclick="popupCode('Application.src/M000007.html');return false;">
|
247
|
-
|
248
|
-
<span class="method-name">route</span><span class="method-args">(req)</span>
|
249
|
-
|
250
|
-
</a>
|
251
|
-
|
252
|
-
</div>
|
253
|
-
|
254
|
-
<div class="method-description">
|
255
|
-
|
256
|
-
</div>
|
257
|
-
</div>
|
258
|
-
|
259
|
-
</div>
|
260
|
-
|
261
|
-
</div>
|
262
|
-
</pre>
|
263
|
-
<p>
|
264
|
-
<div id=“validator-badges”>
|
265
|
-
</p>
|
266
|
-
<pre>
|
267
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
268
|
-
</pre>
|
269
|
-
<p>
|
270
|
-
</div>
|
271
|
-
</p>
|
272
|
-
<p>
|
273
|
-
</body> </html>
|
274
|
-
</p>
|
275
|
-
|
276
|
-
</div>
|
277
|
-
|
278
|
-
</div>
|
279
|
-
|
280
|
-
|
281
|
-
</div>
|
282
|
-
|
283
|
-
<!-- if includes -->
|
284
|
-
|
285
|
-
<div id="section">
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
<!-- if method_list -->
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
</div>
|
296
|
-
|
297
|
-
<div id="validator-badges">
|
298
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
299
|
-
</div>
|
300
|
-
|
301
|
-
</body>
|
302
|
-
</html>
|