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
@@ -1,201 +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.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>README.html</h1>
|
47
|
-
<table class="header-table">
|
48
|
-
<tr class="top-aligned-row">
|
49
|
-
<td><strong>Path:</strong></td>
|
50
|
-
<td>doc/files/README.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:36 -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>File: README [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="fileHeader">
|
117
|
-
<h1>README</h1>
|
118
|
-
<table class="header-table">
|
119
|
-
<tr class="top-aligned-row">
|
120
|
-
<td><strong>Path:</strong></td>
|
121
|
-
<td>README
|
122
|
-
|
123
|
-
</td>
|
124
|
-
</tr>
|
125
|
-
<tr class="top-aligned-row">
|
126
|
-
<td><strong>Last Update:</strong></td>
|
127
|
-
<td>2009-05-13 23:23:51 -0500</td>
|
128
|
-
</tr>
|
129
|
-
</table>
|
130
|
-
</div>
|
131
|
-
<!-- banner header -->
|
132
|
-
|
133
|
-
<div id="bodyContent">
|
134
|
-
|
135
|
-
<div id="contextContent">
|
136
|
-
|
137
|
-
<div id="description">
|
138
|
-
<p>
|
139
|
-
</pre>
|
140
|
-
<p>
|
141
|
-
<a href=”../classes/Milk.html“>Milk</a> is a rack based cms
|
142
|
-
system built for ease of use and simplicity. <a
|
143
|
-
href=”../classes/Milk.html“>Milk</a> tastes great with and
|
144
|
-
without cookies. The public facing aspect is static html files, and the
|
145
|
-
admin side is super easy to use. </p>
|
146
|
-
</p>
|
147
|
-
<pre>
|
148
|
-
</div>
|
149
|
-
|
150
|
-
</div>
|
151
|
-
|
152
|
-
</div>
|
153
|
-
|
154
|
-
<!-- if includes -->
|
155
|
-
|
156
|
-
<div id="section">
|
157
|
-
|
158
|
-
<!-- if method_list -->
|
159
|
-
|
160
|
-
</div>
|
161
|
-
</pre>
|
162
|
-
<p>
|
163
|
-
<div id=“validator-badges”>
|
164
|
-
</p>
|
165
|
-
<pre>
|
166
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
167
|
-
</pre>
|
168
|
-
<p>
|
169
|
-
</div>
|
170
|
-
</p>
|
171
|
-
<p>
|
172
|
-
</body> </html>
|
173
|
-
</p>
|
174
|
-
|
175
|
-
</div>
|
176
|
-
|
177
|
-
</div>
|
178
|
-
|
179
|
-
|
180
|
-
</div>
|
181
|
-
|
182
|
-
<!-- if includes -->
|
183
|
-
|
184
|
-
<div id="section">
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
<!-- if method_list -->
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
</div>
|
195
|
-
|
196
|
-
<div id="validator-badges">
|
197
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
198
|
-
</div>
|
199
|
-
|
200
|
-
</body>
|
201
|
-
</html>
|
@@ -1,221 +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.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>Rakefile.html</h1>
|
47
|
-
<table class="header-table">
|
48
|
-
<tr class="top-aligned-row">
|
49
|
-
<td><strong>Path:</strong></td>
|
50
|
-
<td>doc/files/Rakefile.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:36 -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>File: Rakefile [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="fileHeader">
|
117
|
-
<h1>Rakefile</h1>
|
118
|
-
<table class="header-table">
|
119
|
-
<tr class="top-aligned-row">
|
120
|
-
<td><strong>Path:</strong></td>
|
121
|
-
<td>Rakefile
|
122
|
-
|
123
|
-
</td>
|
124
|
-
</tr>
|
125
|
-
<tr class="top-aligned-row">
|
126
|
-
<td><strong>Last Update:</strong></td>
|
127
|
-
<td>2009-05-13 23:14:53 -0500</td>
|
128
|
-
</tr>
|
129
|
-
</table>
|
130
|
-
</div>
|
131
|
-
<!-- banner header -->
|
132
|
-
|
133
|
-
<div id="bodyContent">
|
134
|
-
|
135
|
-
<div id="contextContent">
|
136
|
-
|
137
|
-
<div id="description">
|
138
|
-
<p>
|
139
|
-
</pre>
|
140
|
-
<p>
|
141
|
-
require &8216;rake/gempackagetask&8217; spec =
|
142
|
-
Gem::Specification.new do |s| </p> <pre>
|
143
|
-
</p>
|
144
|
-
<pre>
|
145
|
-
s.rubyforge_project = &quot;milk&quot;
|
146
|
-
s.name = &quot;milk&quot;
|
147
|
-
s.summary = &quot;Find anagrams of words supplied on the command line&quot;
|
148
|
-
s.description= File.read(File.join(File.dirname(__FILE__), 'README'))
|
149
|
-
s.requirements &lt;&lt; 'none'
|
150
|
-
s.version = &quot;0.0.1&quot;
|
151
|
-
s.author = &quot;Tim Caswell&quot;
|
152
|
-
s.email = &quot;tim@creationix.com&quot;
|
153
|
-
s.homepage = &quot;http://creationix.com/Services#milk&quot;
|
154
|
-
s.platform = Gem::Platform::RUBY
|
155
|
-
s.required_ruby_version = '&gt;=1.9'
|
156
|
-
s.files = Dir['**/**']
|
157
|
-
s.executables = [ 'milk' ]
|
158
|
-
s.add_dependency('thin', '&gt;= 1.2.1')
|
159
|
-
s.add_dependency('maruku', '&gt;= 0.6.0')
|
160
|
-
s.add_dependency('haml', '&gt;= 2.0.9')
|
161
|
-
s.test_files = Dir[&quot;test/test*.rb&quot;]
|
162
|
-
s.has_rdoc = false
|
163
|
-
</pre>
|
164
|
-
<p>
|
165
|
-
</pre> <p> end Rake::GemPackageTask.new(spec).define </p>
|
166
|
-
</p>
|
167
|
-
<pre>
|
168
|
-
</div>
|
169
|
-
|
170
|
-
</div>
|
171
|
-
|
172
|
-
</div>
|
173
|
-
|
174
|
-
<!-- if includes -->
|
175
|
-
|
176
|
-
<div id="section">
|
177
|
-
|
178
|
-
<!-- if method_list -->
|
179
|
-
|
180
|
-
</div>
|
181
|
-
</pre>
|
182
|
-
<p>
|
183
|
-
<div id=“validator-badges”>
|
184
|
-
</p>
|
185
|
-
<pre>
|
186
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
187
|
-
</pre>
|
188
|
-
<p>
|
189
|
-
</div>
|
190
|
-
</p>
|
191
|
-
<p>
|
192
|
-
</body> </html>
|
193
|
-
</p>
|
194
|
-
|
195
|
-
</div>
|
196
|
-
|
197
|
-
</div>
|
198
|
-
|
199
|
-
|
200
|
-
</div>
|
201
|
-
|
202
|
-
<!-- if includes -->
|
203
|
-
|
204
|
-
<div id="section">
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
<!-- if method_list -->
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
</div>
|
215
|
-
|
216
|
-
<div id="validator-badges">
|
217
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
218
|
-
</div>
|
219
|
-
|
220
|
-
</body>
|
221
|
-
</html>
|
@@ -1,198 +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.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>milk.html</h1>
|
47
|
-
<table class="header-table">
|
48
|
-
<tr class="top-aligned-row">
|
49
|
-
<td><strong>Path:</strong></td>
|
50
|
-
<td>doc/files/bin/milk.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:36 -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>File: milk [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="fileHeader">
|
117
|
-
<h1>milk</h1>
|
118
|
-
<table class="header-table">
|
119
|
-
<tr class="top-aligned-row">
|
120
|
-
<td><strong>Path:</strong></td>
|
121
|
-
<td>bin/milk
|
122
|
-
|
123
|
-
</td>
|
124
|
-
</tr>
|
125
|
-
<tr class="top-aligned-row">
|
126
|
-
<td><strong>Last Update:</strong></td>
|
127
|
-
<td>2009-05-13 23:12:47 -0500</td>
|
128
|
-
</tr>
|
129
|
-
</table>
|
130
|
-
</div>
|
131
|
-
<!-- banner header -->
|
132
|
-
|
133
|
-
<div id="bodyContent">
|
134
|
-
|
135
|
-
<div id="contextContent">
|
136
|
-
|
137
|
-
<div id="requires-list">
|
138
|
-
<h3 class="section-bar">Required files</h3>
|
139
|
-
|
140
|
-
<div class="name-list">
|
141
|
-
|
142
|
-
milk&nbsp;&nbsp;
|
143
|
-
|
144
|
-
</div>
|
145
|
-
</div>
|
146
|
-
|
147
|
-
</div>
|
148
|
-
|
149
|
-
</div>
|
150
|
-
|
151
|
-
<!-- if includes -->
|
152
|
-
|
153
|
-
<div id="section">
|
154
|
-
|
155
|
-
<!-- if method_list -->
|
156
|
-
|
157
|
-
</div>
|
158
|
-
</pre>
|
159
|
-
<p>
|
160
|
-
<div id=“validator-badges”>
|
161
|
-
</p>
|
162
|
-
<pre>
|
163
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
164
|
-
</pre>
|
165
|
-
<p>
|
166
|
-
</div>
|
167
|
-
</p>
|
168
|
-
<p>
|
169
|
-
</body> </html>
|
170
|
-
</p>
|
171
|
-
|
172
|
-
</div>
|
173
|
-
|
174
|
-
</div>
|
175
|
-
|
176
|
-
|
177
|
-
</div>
|
178
|
-
|
179
|
-
<!-- if includes -->
|
180
|
-
|
181
|
-
<div id="section">
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
<!-- if method_list -->
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
</div>
|
192
|
-
|
193
|
-
<div id="validator-badges">
|
194
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
195
|
-
</div>
|
196
|
-
|
197
|
-
</body>
|
198
|
-
</html>
|