code_zauker 0.0.7 → 0.0.8
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/bin/czindexer +12 -1
- data/bin/czsearch +31 -8
- data/bin/mczindexer +1 -1
- data/devel.org +10 -0
- data/doc/CodeZauker/CliUtil.html +451 -0
- data/doc/CodeZauker/FileScanner.html +357 -190
- data/doc/CodeZauker/IndexManager.html +331 -0
- data/doc/CodeZauker/Util.html +65 -46
- data/doc/CodeZauker.html +58 -25
- data/doc/Grep.html +29 -19
- data/doc/_index.html +49 -23
- data/doc/class_list.html +12 -6
- data/doc/css/full_list.css +4 -2
- data/doc/css/style.css +50 -44
- data/doc/file_list.html +12 -6
- data/doc/frames.html +20 -5
- data/doc/index.html +49 -23
- data/doc/js/app.js +29 -26
- data/doc/js/full_list.js +9 -9
- data/doc/js/jquery.js +4 -16
- data/doc/method_list.html +66 -12
- data/doc/top-level-namespace.html +40 -18
- data/etc/redis.conf +3 -3
- data/lib/code_zauker/cli.rb +16 -1
- data/lib/code_zauker/constants.rb +7 -1
- data/lib/code_zauker/version.rb +2 -1
- data/lib/code_zauker.rb +85 -3
- data/readme.org +19 -22
- data/test/fixture/wildtest.txt +1 -0
- data/test/test_wild_search.rb +39 -0
- metadata +20 -16
data/doc/css/style.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
body {
|
1
|
+
body {
|
2
2
|
padding: 0 20px;
|
3
|
-
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
3
|
+
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
4
4
|
font-size: 13px;
|
5
5
|
}
|
6
6
|
body.frames { padding: 0 5px; }
|
@@ -8,7 +8,7 @@ h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dot
|
|
8
8
|
h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
|
9
9
|
h1.title { margin-bottom: 10px; }
|
10
10
|
h1.alphaindex { margin-top: 0; font-size: 22px; }
|
11
|
-
h2 {
|
11
|
+
h2 {
|
12
12
|
padding: 0;
|
13
13
|
padding-bottom: 3px;
|
14
14
|
border-bottom: 1px #aaa solid;
|
@@ -36,9 +36,9 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
|
|
36
36
|
#filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
|
37
37
|
#filecontents dd > p, .docstring dd > p { margin: 0px; }
|
38
38
|
|
39
|
-
.note {
|
39
|
+
.note {
|
40
40
|
color: #222;
|
41
|
-
-moz-border-radius: 3px; -webkit-border-radius: 3px;
|
41
|
+
-moz-border-radius: 3px; -webkit-border-radius: 3px;
|
42
42
|
background: #e3e4e3; border: 1px solid #d5d5d5; padding: 7px 10px;
|
43
43
|
display: block;
|
44
44
|
}
|
@@ -46,13 +46,14 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
|
|
46
46
|
.note.returns_void { background: #efefef; }
|
47
47
|
.note.deprecated { background: #ffe5e5; border-color: #e9dada; }
|
48
48
|
.note.private { background: #ffffc5; border-color: #ececaa; }
|
49
|
-
.note.title {
|
49
|
+
.note.title { padding: 1px 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
|
50
50
|
.summary_signature + .note.title { margin-left: 7px; }
|
51
51
|
h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
|
52
|
-
.note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
53
|
-
.note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
|
54
|
-
.note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
52
|
+
.note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
53
|
+
.note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
|
54
|
+
.note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
55
55
|
.note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
|
56
|
+
.note.title.not_defined_here { background: transparent; border: none; font-style: italic; }
|
56
57
|
.discussion .note { margin-top: 6px; }
|
57
58
|
.discussion .note:first-child { margin-top: 0; }
|
58
59
|
|
@@ -106,10 +107,8 @@ p.inherited {
|
|
106
107
|
#filecontents dl.box .r1, dl.box .r1 { background: #eee; }
|
107
108
|
|
108
109
|
ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
|
109
|
-
|
110
|
-
|
111
|
-
#files { padding: 0; }
|
112
|
-
#files li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
|
110
|
+
.index_inline_list { padding-left: 0; font-size: 1.1em; }
|
111
|
+
.index_inline_list li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
|
113
112
|
|
114
113
|
dl.constants { margin-left: 40px; }
|
115
114
|
dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
|
@@ -125,29 +124,36 @@ dl.constants .discussion *:last-child { margin-bottom: 0; }
|
|
125
124
|
|
126
125
|
.method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
|
127
126
|
.method_details.first { border: 0; }
|
128
|
-
p.signature {
|
129
|
-
font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
|
130
|
-
padding: 6px 10px; margin-top: 18px;
|
127
|
+
p.signature, h3.signature {
|
128
|
+
font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
|
129
|
+
padding: 6px 10px; margin-top: 18px;
|
131
130
|
background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
|
132
131
|
}
|
133
|
-
p.signature tt
|
134
|
-
|
135
|
-
p.signature .
|
136
|
-
|
137
|
-
p.signature .
|
132
|
+
p.signature tt,
|
133
|
+
h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
|
134
|
+
p.signature .overload,
|
135
|
+
h3.signature .overload { display: block; }
|
136
|
+
p.signature .extras,
|
137
|
+
h3.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
|
138
|
+
p.signature .not_defined_here,
|
139
|
+
h3.signature .not_defined_here,
|
140
|
+
p.signature .aliases,
|
141
|
+
h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
|
142
|
+
p.signature .aliases .names,
|
143
|
+
h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
|
138
144
|
|
139
|
-
.tags
|
145
|
+
.tags .tag_title { font-size: 1em; margin-bottom: 0; font-weight: bold; }
|
140
146
|
.tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
|
141
147
|
.tags ul li { margin-bottom: 3px; }
|
142
148
|
.tags ul .name { font-family: monospace; font-weight: bold; }
|
143
149
|
.tags ul .note { padding: 3px 6px; }
|
144
150
|
.tags { margin-bottom: 12px; }
|
145
151
|
|
146
|
-
.tags .examples
|
147
|
-
.tags .examples
|
152
|
+
.tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
|
153
|
+
.tags .examples .inline p { padding: 0; margin: 0; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
|
148
154
|
|
149
155
|
.tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
|
150
|
-
.tags .overload .overload_item .signature {
|
156
|
+
.tags .overload .overload_item .signature {
|
151
157
|
padding: 2px 8px;
|
152
158
|
background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
|
153
159
|
}
|
@@ -171,19 +177,19 @@ ul.summary {
|
|
171
177
|
font-size: 1em;
|
172
178
|
line-height: 1.5em;
|
173
179
|
}
|
174
|
-
ul.summary a:link, ul.summary a:visited {
|
180
|
+
ul.summary a:link, ul.summary a:visited {
|
175
181
|
text-decoration: none; font-size: 1.1em;
|
176
182
|
}
|
177
183
|
ul.summary li { margin-bottom: 5px; }
|
178
|
-
.summary .summary_signature {
|
184
|
+
.summary .summary_signature {
|
179
185
|
padding: 1px 10px;
|
180
186
|
background: #eaeaff; border: 1px solid #dfdfe5;
|
181
|
-
-moz-border-radius: 3px; -webkit-border-radius: 3px;
|
187
|
+
-moz-border-radius: 3px; -webkit-border-radius: 3px;
|
182
188
|
}
|
183
189
|
.summary_signature:hover { background: #eeeeff; cursor: pointer; }
|
184
190
|
ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
|
185
191
|
ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
|
186
|
-
#content .summary_signature:hover a:link,
|
192
|
+
#content .summary_signature:hover a:link,
|
187
193
|
#content .summary_signature:hover a:visited {
|
188
194
|
background: transparent;
|
189
195
|
color: #48f;
|
@@ -206,18 +212,18 @@ ul.fullTree li:last-child { padding-bottom: 0; }
|
|
206
212
|
.showAll .inheritName { display: none; }
|
207
213
|
|
208
214
|
#search { position: absolute; right: 14px; top: 0px; }
|
209
|
-
#search a:link, #search a:visited {
|
215
|
+
#search a:link, #search a:visited {
|
210
216
|
display: block; float: left; margin-right: 4px;
|
211
217
|
padding: 8px 10px; text-decoration: none; color: #05a;
|
212
218
|
border: 1px solid #d8d8e5;
|
213
|
-
-moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
|
219
|
+
-moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
|
214
220
|
-webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px;
|
215
221
|
background: #eaf0ff;
|
216
222
|
-webkit-box-shadow: -1px 1px 3px #ddd;
|
217
223
|
}
|
218
224
|
#search a:hover { background: #f5faff; color: #06b; }
|
219
|
-
#search a.active {
|
220
|
-
background: #568; padding-bottom: 20px; color: #fff; border: 1px solid #457;
|
225
|
+
#search a.active {
|
226
|
+
background: #568; padding-bottom: 20px; color: #fff; border: 1px solid #457;
|
221
227
|
-moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
|
222
228
|
-webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
|
223
229
|
}
|
@@ -231,7 +237,7 @@ ul.fullTree li:last-child { padding-bottom: 0; }
|
|
231
237
|
#menu .title { color: #555; }
|
232
238
|
#menu a:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
|
233
239
|
#menu a:hover { color: #05a; }
|
234
|
-
#menu .noframes { display:
|
240
|
+
#menu .noframes { display: inline; }
|
235
241
|
.frames #menu .noframes { display: inline; float: right; }
|
236
242
|
|
237
243
|
#footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
|
@@ -251,8 +257,8 @@ li.r2 { background: #fafafa; }
|
|
251
257
|
z-index: 9999;
|
252
258
|
background: #fff;
|
253
259
|
display: none;
|
254
|
-
position: absolute;
|
255
|
-
top: 36px;
|
260
|
+
position: absolute;
|
261
|
+
top: 36px;
|
256
262
|
right: 18px;
|
257
263
|
width: 500px;
|
258
264
|
height: 80%;
|
@@ -268,7 +274,7 @@ li.r2 { background: #fafafa; }
|
|
268
274
|
#content ul.summary li.deprecated .summary_signature a:link,
|
269
275
|
#content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
|
270
276
|
|
271
|
-
#toc {
|
277
|
+
#toc {
|
272
278
|
padding: 20px; padding-right: 30px; border: 1px solid #ddd; float: right; background: #fff; margin-left: 20px; margin-bottom: 20px;
|
273
279
|
max-width: 300px;
|
274
280
|
-webkit-box-shadow: -2px 2px 6px #bbb;
|
@@ -293,7 +299,7 @@ li.r2 { background: #fafafa; }
|
|
293
299
|
#filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
|
294
300
|
#filecontents pre.code, .docstring pre.code { display: block; }
|
295
301
|
.source_code .lines { padding-right: 12px; color: #555; text-align: right; }
|
296
|
-
#filecontents pre.code, .docstring pre.code,
|
302
|
+
#filecontents pre.code, .docstring pre.code,
|
297
303
|
.tags pre.example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
|
298
304
|
pre.code { color: #000; }
|
299
305
|
pre.code .info.file { color: #555; }
|
@@ -302,21 +308,21 @@ pre.code .tstring_content,
|
|
302
308
|
pre.code .heredoc_beg, pre.code .heredoc_end,
|
303
309
|
pre.code .qwords_beg, pre.code .qwords_end,
|
304
310
|
pre.code .tstring, pre.code .dstring { color: #036A07; }
|
305
|
-
pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
|
306
|
-
pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
|
311
|
+
pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
|
312
|
+
pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
|
307
313
|
pre.code .dot + pre.code .id,
|
308
314
|
pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
|
309
315
|
pre.code .comment { color: #0066FF; }
|
310
316
|
pre.code .const, pre.code .constant { color: #585CF6; }
|
311
317
|
pre.code .symbol { color: #C5060B; }
|
312
|
-
pre.code .kw,
|
318
|
+
pre.code .kw,
|
313
319
|
pre.code .label,
|
314
|
-
pre.code .rubyid_require,
|
320
|
+
pre.code .rubyid_require,
|
315
321
|
pre.code .rubyid_extend,
|
316
322
|
pre.code .rubyid_include { color: #0000FF; }
|
317
323
|
pre.code .ivar { color: #318495; }
|
318
|
-
pre.code .gvar,
|
319
|
-
pre.code .rubyid_backref,
|
324
|
+
pre.code .gvar,
|
325
|
+
pre.code .rubyid_backref,
|
320
326
|
pre.code .rubyid_nth_ref { color: #6D79DE; }
|
321
327
|
pre.code .regexp, .dregexp { color: #036A07; }
|
322
328
|
pre.code a { border-bottom: 1px dotted #bbf; }
|
data/doc/file_list.html
CHANGED
@@ -8,13 +8,13 @@
|
|
8
8
|
|
9
9
|
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
10
10
|
|
11
|
-
|
11
|
+
|
12
12
|
|
13
13
|
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
14
14
|
|
15
15
|
<script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
|
16
16
|
|
17
|
-
|
17
|
+
|
18
18
|
<base id="base_target" target="_parent" />
|
19
19
|
</head>
|
20
20
|
<body>
|
@@ -28,16 +28,22 @@
|
|
28
28
|
<h1 id="full_list_header">File List</h1>
|
29
29
|
<div id="nav">
|
30
30
|
|
31
|
-
<a target="_self" href="class_list.html">
|
31
|
+
<span><a target="_self" href="class_list.html">
|
32
|
+
Classes
|
33
|
+
</a></span>
|
32
34
|
|
33
|
-
<a target="_self" href="method_list.html">
|
35
|
+
<span><a target="_self" href="method_list.html">
|
36
|
+
Methods
|
37
|
+
</a></span>
|
34
38
|
|
35
|
-
<a target="_self" href="file_list.html">
|
39
|
+
<span><a target="_self" href="file_list.html">
|
40
|
+
Files
|
41
|
+
</a></span>
|
36
42
|
|
37
43
|
</div>
|
38
44
|
<div id="search">Search: <input type="text" /></div>
|
39
45
|
|
40
|
-
<ul id="full_list" class="
|
46
|
+
<ul id="full_list" class="file">
|
41
47
|
|
42
48
|
|
43
49
|
</ul>
|
data/doc/frames.html
CHANGED
@@ -4,10 +4,25 @@
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
5
|
<head>
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
7
|
-
<title>Code Zauker 0.0.
|
7
|
+
<title>Code Zauker 0.0.8 Documentation</title>
|
8
8
|
</head>
|
9
|
-
<
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
<script type="text/javascript" charset="utf-8">
|
10
|
+
window.onload = function() {
|
11
|
+
var match = window.location.hash.match(/^#!(.+)/);
|
12
|
+
var name = 'index.html';
|
13
|
+
if (match) {
|
14
|
+
name = unescape(match[1]);
|
15
|
+
}
|
16
|
+
document.writeln('<frameset cols="20%,*">' +
|
17
|
+
'<frame name="list" src="class_list.html" />' +
|
18
|
+
'<frame name="main" src="' + name + '" />' +
|
19
|
+
'</frameset>');
|
20
|
+
}
|
21
|
+
</script>
|
22
|
+
<noscript>
|
23
|
+
<frameset cols="20%,*">
|
24
|
+
<frame name="list" src="class_list.html" />
|
25
|
+
<frame name="main" src="index.html" />
|
26
|
+
</frameset>
|
27
|
+
</noscript>
|
13
28
|
</html>
|
data/doc/index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
6
|
<title>
|
7
|
-
Code Zauker 0.0.
|
7
|
+
Code Zauker 0.0.8 Documentation
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -13,10 +13,12 @@
|
|
13
13
|
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
14
14
|
|
15
15
|
<script type="text/javascript" charset="utf-8">
|
16
|
+
hasFrames = window.top.frames.main ? true : false;
|
16
17
|
relpath = '';
|
17
|
-
|
18
|
+
framesUrl = "frames.html#!" + escape(window.location.href);
|
18
19
|
</script>
|
19
20
|
|
21
|
+
|
20
22
|
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
21
23
|
|
22
24
|
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
@@ -24,35 +26,37 @@
|
|
24
26
|
|
25
27
|
</head>
|
26
28
|
<body>
|
27
|
-
<script type="text/javascript" charset="utf-8">
|
28
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
29
|
-
</script>
|
30
|
-
|
31
29
|
<div id="header">
|
32
30
|
<div id="menu">
|
33
31
|
|
34
|
-
|
35
|
-
<span class="title"></span>
|
36
|
-
|
37
|
-
|
32
|
+
|
38
33
|
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
39
34
|
</div>
|
40
35
|
|
41
36
|
<div id="search">
|
42
37
|
|
43
|
-
<a
|
38
|
+
<a class="full_list_link" id="class_list_link"
|
39
|
+
href="class_list.html">
|
40
|
+
Class List
|
41
|
+
</a>
|
44
42
|
|
45
|
-
<a
|
43
|
+
<a class="full_list_link" id="method_list_link"
|
44
|
+
href="method_list.html">
|
45
|
+
Method List
|
46
|
+
</a>
|
46
47
|
|
47
|
-
<a
|
48
|
+
<a class="full_list_link" id="file_list_link"
|
49
|
+
href="file_list.html">
|
50
|
+
File List
|
51
|
+
</a>
|
48
52
|
|
49
53
|
</div>
|
50
54
|
<div class="clear"></div>
|
51
55
|
</div>
|
52
|
-
|
56
|
+
|
53
57
|
<iframe id="search_frame"></iframe>
|
54
|
-
|
55
|
-
<div id="content"><h1 class="noborder title">Code Zauker 0.0.
|
58
|
+
|
59
|
+
<div id="content"><h1 class="noborder title">Code Zauker 0.0.8 Documentation</h1>
|
56
60
|
<div id="listing">
|
57
61
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
58
62
|
|
@@ -72,7 +76,14 @@
|
|
72
76
|
<ul>
|
73
77
|
|
74
78
|
<li>
|
75
|
-
<span class='object_link'><a href="CodeZauker.html" title="CodeZauker (
|
79
|
+
<span class='object_link'><a href="CodeZauker/CliUtil.html" title="CodeZauker::CliUtil (class)">CliUtil</a></span>
|
80
|
+
|
81
|
+
<small>(CodeZauker)</small>
|
82
|
+
|
83
|
+
</li>
|
84
|
+
|
85
|
+
<li>
|
86
|
+
<span class='object_link'><a href="CodeZauker.html" title="CodeZauker (module)">CodeZauker</a></span>
|
76
87
|
|
77
88
|
</li>
|
78
89
|
|
@@ -85,7 +96,7 @@
|
|
85
96
|
<ul>
|
86
97
|
|
87
98
|
<li>
|
88
|
-
<span class='object_link'><a href="CodeZauker/FileScanner.html" title="CodeZauker::FileScanner (class)">FileScanner</a></span>
|
99
|
+
<span class='object_link'><a href="CodeZauker/FileScanner.html" title="CodeZauker::FileScanner (class)">FileScanner</a></span>
|
89
100
|
|
90
101
|
<small>(CodeZauker)</small>
|
91
102
|
|
@@ -100,7 +111,22 @@
|
|
100
111
|
<ul>
|
101
112
|
|
102
113
|
<li>
|
103
|
-
<span class='object_link'><a href="Grep.html" title="Grep (module)">Grep</a></span>
|
114
|
+
<span class='object_link'><a href="Grep.html" title="Grep (module)">Grep</a></span>
|
115
|
+
|
116
|
+
</li>
|
117
|
+
|
118
|
+
</ul>
|
119
|
+
</ul>
|
120
|
+
|
121
|
+
|
122
|
+
<ul id="alpha_I" class="alpha">
|
123
|
+
<li class="letter">I</li>
|
124
|
+
<ul>
|
125
|
+
|
126
|
+
<li>
|
127
|
+
<span class='object_link'><a href="CodeZauker/IndexManager.html" title="CodeZauker::IndexManager (class)">IndexManager</a></span>
|
128
|
+
|
129
|
+
<small>(CodeZauker)</small>
|
104
130
|
|
105
131
|
</li>
|
106
132
|
|
@@ -113,7 +139,7 @@
|
|
113
139
|
<ul>
|
114
140
|
|
115
141
|
<li>
|
116
|
-
<span class='object_link'><a href="CodeZauker/Util.html" title="CodeZauker::Util (class)">Util</a></span>
|
142
|
+
<span class='object_link'><a href="CodeZauker/Util.html" title="CodeZauker::Util (class)">Util</a></span>
|
117
143
|
|
118
144
|
<small>(CodeZauker)</small>
|
119
145
|
|
@@ -129,11 +155,11 @@
|
|
129
155
|
</div>
|
130
156
|
|
131
157
|
</div>
|
132
|
-
|
158
|
+
|
133
159
|
<div id="footer">
|
134
|
-
Generated on
|
160
|
+
Generated on Wed May 16 17:14:53 2012 by
|
135
161
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
136
|
-
0.
|
162
|
+
0.8.1 (ruby-1.9.3).
|
137
163
|
</div>
|
138
164
|
|
139
165
|
</body>
|
data/doc/js/app.js
CHANGED
@@ -44,21 +44,14 @@ function createFullTreeLinks() {
|
|
44
44
|
|
45
45
|
function fixBoxInfoHeights() {
|
46
46
|
$('dl.box dd.r1, dl.box dd.r2').each(function() {
|
47
|
-
$(this).prev().height($(this).height());
|
47
|
+
$(this).prev().height($(this).height());
|
48
48
|
});
|
49
49
|
}
|
50
50
|
|
51
51
|
function searchFrameLinks() {
|
52
|
-
$('
|
53
|
-
toggleSearchFrame(this,
|
54
|
-
|
55
|
-
|
56
|
-
$('#class_list_link').click(function() {
|
57
|
-
toggleSearchFrame(this, relpath + 'class_list.html');
|
58
|
-
});
|
59
|
-
|
60
|
-
$('#file_list_link').click(function() {
|
61
|
-
toggleSearchFrame(this, relpath + 'file_list.html');
|
52
|
+
$('.full_list_link').click(function() {
|
53
|
+
toggleSearchFrame(this, $(this).attr('href'));
|
54
|
+
return false;
|
62
55
|
});
|
63
56
|
}
|
64
57
|
|
@@ -82,10 +75,13 @@ function linkSummaries() {
|
|
82
75
|
}
|
83
76
|
|
84
77
|
function framesInit() {
|
85
|
-
if (
|
78
|
+
if (hasFrames) {
|
86
79
|
document.body.className = 'frames';
|
87
80
|
$('#menu .noframes a').attr('href', document.location);
|
88
|
-
|
81
|
+
window.top.document.title = $('html head title').text();
|
82
|
+
}
|
83
|
+
else {
|
84
|
+
$('#menu .noframes a').text('frames').attr('href', framesUrl);
|
89
85
|
}
|
90
86
|
}
|
91
87
|
|
@@ -113,7 +109,7 @@ function summaryToggle() {
|
|
113
109
|
if (next.hasClass('compact')) {
|
114
110
|
next.toggle();
|
115
111
|
next.nextAll('ul.summary').first().toggle();
|
116
|
-
}
|
112
|
+
}
|
117
113
|
else if (next.hasClass('summary')) {
|
118
114
|
var list = $('<ul class="summary compact" />');
|
119
115
|
list.html(next.html());
|
@@ -151,30 +147,37 @@ function generateTOC() {
|
|
151
147
|
for (i = 0; i < tags.length; i++) { tags[i] = '#filecontents ' + tags[i]; }
|
152
148
|
var lastTag = parseInt(tags[0][1], 10);
|
153
149
|
$(tags.join(', ')).each(function() {
|
150
|
+
if ($(this).parents('.method_details .docstring').length != 0) return;
|
154
151
|
if (this.id == "filecontents") return;
|
155
152
|
show = true;
|
156
153
|
var thisTag = parseInt(this.tagName[1], 10);
|
157
154
|
if (this.id.length === 0) {
|
158
|
-
var proposedId = $(this).
|
159
|
-
if (
|
160
|
-
|
155
|
+
var proposedId = $(this).attr('toc-id');
|
156
|
+
if (typeof(proposedId) != "undefined") this.id = proposedId;
|
157
|
+
else {
|
158
|
+
var proposedId = $(this).text().replace(/[^a-z0-9-]/ig, '_');
|
159
|
+
if ($('#' + proposedId).length > 0) { proposedId += counter; counter++; }
|
160
|
+
this.id = proposedId;
|
161
|
+
}
|
161
162
|
}
|
162
|
-
if (thisTag > lastTag) {
|
163
|
-
for (i = 0; i < thisTag - lastTag; i++) {
|
164
|
-
var tmp = $('<ol/>'); toc.append(tmp); toc = tmp;
|
165
|
-
}
|
163
|
+
if (thisTag > lastTag) {
|
164
|
+
for (i = 0; i < thisTag - lastTag; i++) {
|
165
|
+
var tmp = $('<ol/>'); toc.append(tmp); toc = tmp;
|
166
|
+
}
|
166
167
|
}
|
167
|
-
if (thisTag < lastTag) {
|
168
|
-
for (i = 0; i < lastTag - thisTag; i++) toc = toc.parent();
|
168
|
+
if (thisTag < lastTag) {
|
169
|
+
for (i = 0; i < lastTag - thisTag; i++) toc = toc.parent();
|
169
170
|
}
|
170
|
-
|
171
|
+
var title = $(this).attr('toc-title');
|
172
|
+
if (typeof(title) == "undefined") title = $(this).text();
|
173
|
+
toc.append('<li><a href="#' + this.id + '">' + title + '</a></li>');
|
171
174
|
lastTag = thisTag;
|
172
175
|
});
|
173
176
|
if (!show) return;
|
174
177
|
html = '<div id="toc"><p class="title"><a class="hide_toc" href="#"><strong>Table of Contents</strong></a> <small>(<a href="#" class="float_toc">left</a>)</small></p></div>';
|
175
178
|
$('#content').prepend(html);
|
176
179
|
$('#toc').append(_toc);
|
177
|
-
$('#toc .hide_toc').toggle(function() {
|
180
|
+
$('#toc .hide_toc').toggle(function() {
|
178
181
|
$('#toc .top').slideUp('fast');
|
179
182
|
$('#toc').toggleClass('hidden');
|
180
183
|
$('#toc .title small').toggle();
|
@@ -183,7 +186,7 @@ function generateTOC() {
|
|
183
186
|
$('#toc').toggleClass('hidden');
|
184
187
|
$('#toc .title small').toggle();
|
185
188
|
});
|
186
|
-
$('#toc .float_toc').toggle(function() {
|
189
|
+
$('#toc .float_toc').toggle(function() {
|
187
190
|
$(this).text('float');
|
188
191
|
$('#toc').toggleClass('nofloat');
|
189
192
|
}, function() {
|
data/doc/js/full_list.js
CHANGED
@@ -20,16 +20,16 @@ function fullListSearch() {
|
|
20
20
|
var fullName = link.attr('title').split(' ')[0];
|
21
21
|
searchCache.push({name:link.text(), fullName:fullName, node:$(this), link:link});
|
22
22
|
});
|
23
|
-
|
24
|
-
$('#search input').keyup(function() {
|
25
|
-
if ((event.keyCode > ignoreKeyCodeMin && event.keyCode < ignoreKeyCodeMax)
|
23
|
+
|
24
|
+
$('#search input').keyup(function(event) {
|
25
|
+
if ((event.keyCode > ignoreKeyCodeMin && event.keyCode < ignoreKeyCodeMax)
|
26
26
|
|| event.keyCode == commandKey)
|
27
27
|
return;
|
28
28
|
searchString = this.value;
|
29
29
|
caseSensitiveMatch = searchString.match(/[A-Z]/) != null;
|
30
30
|
regexSearchString = RegExp.escape(searchString);
|
31
31
|
if (caseSensitiveMatch) {
|
32
|
-
regexSearchString += "|" +
|
32
|
+
regexSearchString += "|" +
|
33
33
|
$.map(searchString.split(''), function(e) { return RegExp.escape(e); }).
|
34
34
|
join('.+?');
|
35
35
|
}
|
@@ -39,9 +39,9 @@ function fullListSearch() {
|
|
39
39
|
$('ul .search_uncollapsed').removeClass('search_uncollapsed');
|
40
40
|
$('#full_list, #content').removeClass('insearch');
|
41
41
|
$('#full_list li').removeClass('found').each(function() {
|
42
|
-
|
42
|
+
|
43
43
|
var link = $(this).find('.object_link a');
|
44
|
-
link.text(link.text());
|
44
|
+
link.text(link.text());
|
45
45
|
});
|
46
46
|
if (clicked) {
|
47
47
|
clicked.parents('ul').each(function() {
|
@@ -59,7 +59,7 @@ function fullListSearch() {
|
|
59
59
|
searchItem();
|
60
60
|
}
|
61
61
|
});
|
62
|
-
|
62
|
+
|
63
63
|
$('#search input').focus();
|
64
64
|
$('#full_list').after("<div id='noresults'></div>");
|
65
65
|
}
|
@@ -133,10 +133,10 @@ function linkList() {
|
|
133
133
|
|
134
134
|
function collapse() {
|
135
135
|
if (!$('#full_list').hasClass('class')) return;
|
136
|
-
$('#full_list.class a.toggle').click(function() {
|
136
|
+
$('#full_list.class a.toggle').click(function() {
|
137
137
|
$(this).parent().toggleClass('collapsed').next().toggleClass('collapsed');
|
138
138
|
highlight();
|
139
|
-
return false;
|
139
|
+
return false;
|
140
140
|
});
|
141
141
|
$('#full_list.class ul').each(function() {
|
142
142
|
$(this).addClass('collapsed').prev().addClass('collapsed');
|