rack-blogengine 1.0.8 → 1.0.9
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.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/MANIFEST +4 -35
- data/README.md +10 -20
- data/bin/rack-blogengine +2 -2
- data/checksum/rack-blogengine-1.0.6.gem.sha512 +1 -0
- data/checksum/rack-blogengine-1.0.7.gem.sha512 +1 -0
- data/lib/rack/blogengine/command_line_interface.rb +26 -31
- data/lib/rack/blogengine/document_parser.rb +1 -16
- data/lib/rack/blogengine/version.rb +1 -1
- data/rack-blogengine.gemspec +9 -6
- metadata +53 -54
- checksums.yaml.gz.sig +0 -2
- data/.yardopts +0 -1
- data/LICENSE.txt +0 -22
- data/doc/Operator.html +0 -236
- data/doc/Rack/Blogengine/Application.html +0 -278
- data/doc/Rack/Blogengine/ApplicationRouter.html +0 -413
- data/doc/Rack/Blogengine/CommandLineInterface.html +0 -991
- data/doc/Rack/Blogengine/Document.html +0 -680
- data/doc/Rack/Blogengine/DocumentParser.html +0 -1708
- data/doc/Rack/Blogengine.html +0 -419
- data/doc/Rack.html +0 -117
- data/doc/_index.html +0 -197
- data/doc/class_list.html +0 -54
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -57
- data/doc/css/style.css +0 -339
- data/doc/file.README.html +0 -237
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -26
- data/doc/index.html +0 -237
- data/doc/js/app.js +0 -219
- data/doc/js/full_list.js +0 -178
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -263
- data/doc/top-level-namespace.html +0 -114
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
data/doc/Operator.html
DELETED
@@ -1,236 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: Operator
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.4
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
hasFrames = window.top.frames.main ? true : false;
|
19
|
-
relpath = '';
|
20
|
-
framesUrl = "frames.html#!Operator.html";
|
21
|
-
</script>
|
22
|
-
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
27
|
-
|
28
|
-
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="header">
|
32
|
-
<div id="menu">
|
33
|
-
|
34
|
-
<a href="_index.html">Index (O)</a> »
|
35
|
-
|
36
|
-
|
37
|
-
<span class="title">Operator</span>
|
38
|
-
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="search">
|
44
|
-
|
45
|
-
<a class="full_list_link" id="class_list_link"
|
46
|
-
href="class_list.html">
|
47
|
-
Class List
|
48
|
-
</a>
|
49
|
-
|
50
|
-
<a class="full_list_link" id="method_list_link"
|
51
|
-
href="method_list.html">
|
52
|
-
Method List
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="file_list.html">
|
57
|
-
File List
|
58
|
-
</a>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
<div class="clear"></div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: Operator
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
73
|
-
|
74
|
-
<dt class="r1">Inherits:</dt>
|
75
|
-
<dd class="r1">
|
76
|
-
<span class="inheritName">Object</span>
|
77
|
-
|
78
|
-
<ul class="fullTree">
|
79
|
-
<li>Object</li>
|
80
|
-
|
81
|
-
<li class="next">Operator</li>
|
82
|
-
|
83
|
-
</ul>
|
84
|
-
<a href="#" class="inheritanceTree">show all</a>
|
85
|
-
|
86
|
-
</dd>
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<dt class="r2 last">Defined in:</dt>
|
97
|
-
<dd class="r2 last">lib/rack/blogengine/operator.rb</dd>
|
98
|
-
|
99
|
-
</dl>
|
100
|
-
<div class="clear"></div>
|
101
|
-
|
102
|
-
<h2>Overview</h2><div class="docstring">
|
103
|
-
<div class="discussion">
|
104
|
-
|
105
|
-
<p>Operator Class loads in UserOperators on initialize Methods defined in this
|
106
|
-
Class are “Default Operators”</p>
|
107
|
-
|
108
|
-
|
109
|
-
</div>
|
110
|
-
</div>
|
111
|
-
<div class="tags">
|
112
|
-
|
113
|
-
<p class="tag_title">Author:</p>
|
114
|
-
<ul class="author">
|
115
|
-
|
116
|
-
<li>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
<div class='inline'><dl class="rdoc-list label-list"><dt>benny
|
123
|
-
<dd></dd></dl>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
</li>
|
127
|
-
|
128
|
-
</ul>
|
129
|
-
|
130
|
-
</div>
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
<h2>
|
139
|
-
Instance Method Summary
|
140
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
141
|
-
</h2>
|
142
|
-
|
143
|
-
<ul class="summary">
|
144
|
-
|
145
|
-
<li class="public ">
|
146
|
-
<span class="summary_signature">
|
147
|
-
|
148
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Operator) <strong>initialize</strong>(target) </a>
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
</span>
|
153
|
-
|
154
|
-
|
155
|
-
<span class="note title constructor">constructor</span>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
<span class="summary_desc"><div class='inline'>
|
165
|
-
<p>A new instance of Operator.</p>
|
166
|
-
</div></span>
|
167
|
-
|
168
|
-
</li>
|
169
|
-
|
170
|
-
|
171
|
-
</ul>
|
172
|
-
|
173
|
-
|
174
|
-
<div id="constructor_details" class="method_details_list">
|
175
|
-
<h2>Constructor Details</h2>
|
176
|
-
|
177
|
-
<div class="method_details first">
|
178
|
-
<h3 class="signature first" id="initialize-instance_method">
|
179
|
-
|
180
|
-
- (<tt><span class='object_link'><a href="" title="Operator (class)">Operator</a></span></tt>) <strong>initialize</strong>(target)
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
</h3><div class="docstring">
|
187
|
-
<div class="discussion">
|
188
|
-
|
189
|
-
<p>Returns a new instance of Operator</p>
|
190
|
-
|
191
|
-
|
192
|
-
</div>
|
193
|
-
</div>
|
194
|
-
<div class="tags">
|
195
|
-
|
196
|
-
|
197
|
-
</div><table class="source_code">
|
198
|
-
<tr>
|
199
|
-
<td>
|
200
|
-
<pre class="lines">
|
201
|
-
|
202
|
-
|
203
|
-
8
|
204
|
-
9
|
205
|
-
10
|
206
|
-
11
|
207
|
-
12
|
208
|
-
13</pre>
|
209
|
-
</td>
|
210
|
-
<td>
|
211
|
-
<pre class="code"><span class="info file"># File 'lib/rack/blogengine/operator.rb', line 8</span>
|
212
|
-
|
213
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_target'>target</span><span class='rparen'>)</span>
|
214
|
-
<span class='id identifier rubyid_target'>target</span> <span class='op'>=</span> <span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_target'>target</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_realpath'>realpath</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
215
|
-
<span class='const'>Dir</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_target'>target</span><span class='embexpr_end'>}</span><span class='tstring_content'>/operator/*.rb</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_file'>file</span><span class='op'>|</span> <span class='id identifier rubyid_require'>require</span> <span class='id identifier rubyid_file'>file</span> <span class='rbrace'>}</span>
|
216
|
-
|
217
|
-
<span class='id identifier rubyid_extend'>extend</span> <span class='const'>UserOperator</span> <span class='comment'># load user operators
|
218
|
-
</span><span class='kw'>end</span></pre>
|
219
|
-
</td>
|
220
|
-
</tr>
|
221
|
-
</table>
|
222
|
-
</div>
|
223
|
-
|
224
|
-
</div>
|
225
|
-
|
226
|
-
|
227
|
-
</div>
|
228
|
-
|
229
|
-
<div id="footer">
|
230
|
-
Generated on Mon Apr 21 22:58:51 2014 by
|
231
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
232
|
-
0.8.7.4 (ruby-2.1.1).
|
233
|
-
</div>
|
234
|
-
|
235
|
-
</body>
|
236
|
-
</html>
|
@@ -1,278 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: Rack::Blogengine::Application
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.4
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
hasFrames = window.top.frames.main ? true : false;
|
19
|
-
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Rack/Blogengine/Application.html";
|
21
|
-
</script>
|
22
|
-
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
27
|
-
|
28
|
-
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="header">
|
32
|
-
<div id="menu">
|
33
|
-
|
34
|
-
<a href="../../_index.html">Index (A)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../../Rack.html" title="Rack (module)">Rack</a></span></span> » <span class='title'><span class='object_link'><a href="../Blogengine.html" title="Rack::Blogengine (module)">Blogengine</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">Application</span>
|
38
|
-
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="search">
|
44
|
-
|
45
|
-
<a class="full_list_link" id="class_list_link"
|
46
|
-
href="../../class_list.html">
|
47
|
-
Class List
|
48
|
-
</a>
|
49
|
-
|
50
|
-
<a class="full_list_link" id="method_list_link"
|
51
|
-
href="../../method_list.html">
|
52
|
-
Method List
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
58
|
-
</a>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
<div class="clear"></div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: Rack::Blogengine::Application
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
73
|
-
|
74
|
-
<dt class="r1">Inherits:</dt>
|
75
|
-
<dd class="r1">
|
76
|
-
<span class="inheritName">Object</span>
|
77
|
-
|
78
|
-
<ul class="fullTree">
|
79
|
-
<li>Object</li>
|
80
|
-
|
81
|
-
<li class="next">Rack::Blogengine::Application</li>
|
82
|
-
|
83
|
-
</ul>
|
84
|
-
<a href="#" class="inheritanceTree">show all</a>
|
85
|
-
|
86
|
-
</dd>
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<dt class="r2 last">Defined in:</dt>
|
97
|
-
<dd class="r2 last">lib/rack/blogengine/application.rb</dd>
|
98
|
-
|
99
|
-
</dl>
|
100
|
-
<div class="clear"></div>
|
101
|
-
|
102
|
-
<h2>Overview</h2><div class="docstring">
|
103
|
-
<div class="discussion">
|
104
|
-
|
105
|
-
<p>Application is the callable middleware class run
|
106
|
-
Rack::Blogengine::Application</p>
|
107
|
-
|
108
|
-
|
109
|
-
</div>
|
110
|
-
</div>
|
111
|
-
<div class="tags">
|
112
|
-
|
113
|
-
<p class="tag_title">Author:</p>
|
114
|
-
<ul class="author">
|
115
|
-
|
116
|
-
<li>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
<div class='inline'><dl class="rdoc-list label-list"><dt>benny
|
123
|
-
<dd></dd></dl>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
</li>
|
127
|
-
|
128
|
-
</ul>
|
129
|
-
|
130
|
-
</div>
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
<h2>
|
139
|
-
Instance Method Summary
|
140
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
141
|
-
</h2>
|
142
|
-
|
143
|
-
<ul class="summary">
|
144
|
-
|
145
|
-
<li class="public ">
|
146
|
-
<span class="summary_signature">
|
147
|
-
|
148
|
-
<a href="#call-instance_method" title="#call (instance method)">- (Rack::Response) <strong>call</strong>(env) </a>
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
</span>
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
<span class="summary_desc"><div class='inline'>
|
163
|
-
<p>Call Method for run this method as Rack Middleware.</p>
|
164
|
-
</div></span>
|
165
|
-
|
166
|
-
</li>
|
167
|
-
|
168
|
-
|
169
|
-
</ul>
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
<div id="instance_method_details" class="method_details_list">
|
175
|
-
<h2>Instance Method Details</h2>
|
176
|
-
|
177
|
-
|
178
|
-
<div class="method_details first">
|
179
|
-
<h3 class="signature first" id="call-instance_method">
|
180
|
-
|
181
|
-
- (<tt>Rack::Response</tt>) <strong>call</strong>(env)
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
</h3><div class="docstring">
|
188
|
-
<div class="discussion">
|
189
|
-
|
190
|
-
<p>Call Method for run this method as Rack Middleware.</p>
|
191
|
-
|
192
|
-
|
193
|
-
</div>
|
194
|
-
</div>
|
195
|
-
<div class="tags">
|
196
|
-
<p class="tag_title">Parameters:</p>
|
197
|
-
<ul class="param">
|
198
|
-
|
199
|
-
<li>
|
200
|
-
|
201
|
-
<span class='name'>env</span>
|
202
|
-
|
203
|
-
|
204
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
—
|
209
|
-
<div class='inline'><dl class="rdoc-list label-list"><dt>Environment contains information such as path, headers etc…
|
210
|
-
<dd></dd></dl>
|
211
|
-
</div>
|
212
|
-
|
213
|
-
</li>
|
214
|
-
|
215
|
-
</ul>
|
216
|
-
|
217
|
-
<p class="tag_title">Returns:</p>
|
218
|
-
<ul class="return">
|
219
|
-
|
220
|
-
<li>
|
221
|
-
|
222
|
-
|
223
|
-
<span class='type'>(<tt>Rack::Response</tt>)</span>
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
—
|
228
|
-
<div class='inline'>
|
229
|
-
<p>Rack Response</p>
|
230
|
-
</div>
|
231
|
-
|
232
|
-
</li>
|
233
|
-
|
234
|
-
</ul>
|
235
|
-
|
236
|
-
</div><table class="source_code">
|
237
|
-
<tr>
|
238
|
-
<td>
|
239
|
-
<pre class="lines">
|
240
|
-
|
241
|
-
|
242
|
-
13
|
243
|
-
14
|
244
|
-
15
|
245
|
-
16
|
246
|
-
17
|
247
|
-
18
|
248
|
-
19
|
249
|
-
20</pre>
|
250
|
-
</td>
|
251
|
-
<td>
|
252
|
-
<pre class="code"><span class="info file"># File 'lib/rack/blogengine/application.rb', line 13</span>
|
253
|
-
|
254
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_env'>env</span><span class='rparen'>)</span>
|
255
|
-
<span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Rack</span><span class='op'>::</span><span class='const'>Request</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_env'>env</span><span class='rparen'>)</span>
|
256
|
-
|
257
|
-
<span class='comment'># Router for map docs to routes
|
258
|
-
</span> <span class='id identifier rubyid_route'>route</span> <span class='op'>=</span> <span class='const'>ApplicationRouter</span><span class='period'>.</span><span class='id identifier rubyid_map_route'>map_route</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='comma'>,</span> <span class='const'>Rack</span><span class='op'>::</span><span class='const'>Blogengine</span><span class='period'>.</span><span class='id identifier rubyid_documents'>documents</span><span class='rparen'>)</span>
|
259
|
-
|
260
|
-
<span class='id identifier rubyid_route'>route</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>response</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_finish'>finish</span>
|
261
|
-
<span class='kw'>end</span></pre>
|
262
|
-
</td>
|
263
|
-
</tr>
|
264
|
-
</table>
|
265
|
-
</div>
|
266
|
-
|
267
|
-
</div>
|
268
|
-
|
269
|
-
</div>
|
270
|
-
|
271
|
-
<div id="footer">
|
272
|
-
Generated on Mon Apr 21 22:58:51 2014 by
|
273
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
274
|
-
0.8.7.4 (ruby-2.1.1).
|
275
|
-
</div>
|
276
|
-
|
277
|
-
</body>
|
278
|
-
</html>
|