rack-blogengine 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +0 -0
- data/MANIFEST +33 -19
- data/README.md +5 -4
- data/doc/Operator.html +236 -0
- data/doc/Rack.html +117 -0
- data/doc/Rack/Blogengine.html +419 -0
- data/doc/Rack/Blogengine/Application.html +278 -0
- data/doc/Rack/Blogengine/ApplicationRouter.html +413 -0
- data/doc/Rack/Blogengine/CommandLineInterface.html +991 -0
- data/doc/Rack/Blogengine/Document.html +680 -0
- data/doc/Rack/Blogengine/DocumentParser.html +1708 -0
- data/doc/_index.html +197 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +237 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +237 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +263 -0
- data/doc/top-level-namespace.html +114 -0
- data/lib/rack/blogengine/command_line_interface.rb +2 -2
- data/lib/rack/blogengine/version.rb +1 -1
- data/rack-blogengine.gemspec +2 -2
- metadata +48 -21
- metadata.gz.sig +0 -0
- data/.gitignore +0 -20
- data/.rubocop.yml +0 -2
- data/.travis.yml +0 -22
- data/Gemfile +0 -4
- data/Rakefile +0 -8
- data/checksum/rack-blogengine-1.0.6.gem.sha512 +0 -1
- data/task/build.rake +0 -4
- data/task/checksum.rake +0 -15
- data/task/default.rake +0 -5
- data/task/floodtest.rake +0 -33
- data/task/manifest.rake +0 -8
- data/task/test.rake +0 -19
- data/task/travis.rake +0 -5
- data/test/rack/blogengine/application_router_test.rb +0 -49
- data/test/rack/blogengine/application_test.rb +0 -41
- data/test/rack/blogengine/command_line_interface_test.rb +0 -70
- data/test/rack/blogengine/document_parser_test.rb +0 -70
- data/test/test_helper.rb +0 -68
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bd293d266516598d85303dc4b00d1aea85fcc4c
|
4
|
+
data.tar.gz: 404807f9a5d6d18cddc9a78ce81c34f9aef4f56c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e521f154cb37e4f6671a7ca5cd564dcd4a3ac36fb41e529b812b9b6fedeeca13ec351ecf07e2e30a56760595a5463af530a11ca58a0e28064a11960f4cd4f48d
|
7
|
+
data.tar.gz: 18241f9add9f99d8a83cfe3d3d1f918b7888b84582eabd119e5fca8ea5cc7b1aa52e5a7fc2e022c75441b3a2dc099b9205f42951baf0330e9ba02cc491492225
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
ADDED
Binary file
|
data/MANIFEST
CHANGED
@@ -1,25 +1,51 @@
|
|
1
|
-
.gitignore
|
2
|
-
.rubocop.yml
|
3
|
-
.travis.yml
|
4
1
|
.yardopts
|
5
|
-
Gemfile
|
6
2
|
LICENSE.txt
|
7
3
|
MANIFEST
|
8
4
|
README.md
|
9
|
-
Rakefile
|
10
5
|
assets/Gemfile
|
11
6
|
assets/config.yml
|
7
|
+
assets/config.yml
|
8
|
+
assets/content_error.content
|
12
9
|
assets/content_error.content
|
13
10
|
assets/date_error.content
|
11
|
+
assets/date_error.content
|
14
12
|
assets/date_test.content
|
13
|
+
assets/date_test.content
|
14
|
+
assets/index.content
|
15
15
|
assets/index.content
|
16
16
|
assets/layout.html
|
17
|
+
assets/layout.html
|
18
|
+
assets/operator.content
|
17
19
|
assets/operator.content
|
18
20
|
assets/operator.rb
|
21
|
+
assets/operator.rb
|
19
22
|
assets/pygment.content
|
23
|
+
assets/pygment.content
|
24
|
+
assets/title_error.content
|
20
25
|
assets/title_error.content
|
21
26
|
bin/rack-blogengine
|
22
|
-
|
27
|
+
doc/Operator.html
|
28
|
+
doc/Rack.html
|
29
|
+
doc/Rack/Blogengine.html
|
30
|
+
doc/Rack/Blogengine/Application.html
|
31
|
+
doc/Rack/Blogengine/ApplicationRouter.html
|
32
|
+
doc/Rack/Blogengine/CommandLineInterface.html
|
33
|
+
doc/Rack/Blogengine/Document.html
|
34
|
+
doc/Rack/Blogengine/DocumentParser.html
|
35
|
+
doc/_index.html
|
36
|
+
doc/class_list.html
|
37
|
+
doc/css/common.css
|
38
|
+
doc/css/full_list.css
|
39
|
+
doc/css/style.css
|
40
|
+
doc/file.README.html
|
41
|
+
doc/file_list.html
|
42
|
+
doc/frames.html
|
43
|
+
doc/index.html
|
44
|
+
doc/js/app.js
|
45
|
+
doc/js/full_list.js
|
46
|
+
doc/js/jquery.js
|
47
|
+
doc/method_list.html
|
48
|
+
doc/top-level-namespace.html
|
23
49
|
lib/rack/blogengine.rb
|
24
50
|
lib/rack/blogengine/application.rb
|
25
51
|
lib/rack/blogengine/application_router.rb
|
@@ -28,16 +54,4 @@ lib/rack/blogengine/document.rb
|
|
28
54
|
lib/rack/blogengine/document_parser.rb
|
29
55
|
lib/rack/blogengine/operator.rb
|
30
56
|
lib/rack/blogengine/version.rb
|
31
|
-
rack-blogengine.gemspec
|
32
|
-
task/build.rake
|
33
|
-
task/checksum.rake
|
34
|
-
task/default.rake
|
35
|
-
task/floodtest.rake
|
36
|
-
task/manifest.rake
|
37
|
-
task/test.rake
|
38
|
-
task/travis.rake
|
39
|
-
test/rack/blogengine/application_router_test.rb
|
40
|
-
test/rack/blogengine/application_test.rb
|
41
|
-
test/rack/blogengine/command_line_interface_test.rb
|
42
|
-
test/rack/blogengine/document_parser_test.rb
|
43
|
-
test/test_helper.rb
|
57
|
+
rack-blogengine.gemspec
|
data/README.md
CHANGED
@@ -14,10 +14,10 @@ Rack Middleware to serve a simple blog
|
|
14
14
|
|
15
15
|
## Supported Ruby Versions & Platforms
|
16
16
|
|
17
|
-
- rbx 2.2
|
18
|
-
- ruby 2
|
19
|
-
- ruby
|
20
|
-
|
17
|
+
- rbx 2.2.*
|
18
|
+
- ruby 2.*
|
19
|
+
- ruby 1.9.*
|
20
|
+
|
21
21
|
|
22
22
|
|
23
23
|
## Installation
|
@@ -162,3 +162,4 @@ Implement pygments without nokogiri html parser (maybe use oga as alternative -
|
|
162
162
|
|
163
163
|
|
164
164
|
|
165
|
+
|
data/doc/Operator.html
ADDED
@@ -0,0 +1,236 @@
|
|
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>
|
data/doc/Rack.html
ADDED
@@ -0,0 +1,117 @@
|
|
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
|
+
Module: Rack
|
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.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 (R)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">Rack</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>Module: Rack
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<dt class="r1 last">Defined in:</dt>
|
82
|
+
<dd class="r1 last">lib/rack/blogengine.rb<span class="defines">,<br />
|
83
|
+
lib/rack/blogengine/version.rb,<br /> lib/rack/blogengine/document.rb,<br /> lib/rack/blogengine/application.rb,<br /> lib/rack/blogengine/document_parser.rb,<br /> lib/rack/blogengine/application_router.rb,<br /> lib/rack/blogengine/command_line_interface.rb</span>
|
84
|
+
</dd>
|
85
|
+
|
86
|
+
</dl>
|
87
|
+
<div class="clear"></div>
|
88
|
+
|
89
|
+
<h2>Defined Under Namespace</h2>
|
90
|
+
<p class="children">
|
91
|
+
|
92
|
+
|
93
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Rack/Blogengine.html" title="Rack::Blogengine (module)">Blogengine</a></span>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
</p>
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
<div id="footer">
|
111
|
+
Generated on Mon Apr 21 22:58:50 2014 by
|
112
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
113
|
+
0.8.7.4 (ruby-2.1.1).
|
114
|
+
</div>
|
115
|
+
|
116
|
+
</body>
|
117
|
+
</html>
|