timeline_setter 0.2.0 → 0.3.0
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 +11 -2
- data/config/assets.yml +9 -0
- data/doc/doc.markdown +65 -17
- data/doc/templates.html +3 -0
- data/doc/timeline-setter.html +327 -238
- data/doc/timeline-setter.min.html +3 -0
- data/documentation/TimelineSetter/CLI.html +77 -52
- data/documentation/TimelineSetter/Parser.html +40 -39
- data/documentation/TimelineSetter/Timeline.html +132 -83
- data/documentation/TimelineSetter.html +27 -12
- data/documentation/_index.html +23 -12
- data/documentation/class_list.html +20 -9
- data/documentation/css/style.css +7 -5
- data/documentation/file.README.html +33 -23
- data/documentation/file_list.html +20 -9
- data/documentation/frames.html +1 -1
- data/documentation/index.html +33 -23
- data/documentation/js/app.js +16 -14
- data/documentation/js/full_list.js +7 -6
- data/documentation/js/jquery.js +3 -3
- data/documentation/method_list.html +42 -23
- data/documentation/top-level-namespace.html +26 -11
- data/index.html +100 -19
- data/lib/timeline_setter/cli.rb +2 -0
- data/lib/timeline_setter/timeline.rb +6 -3
- data/lib/timeline_setter/version.rb +1 -1
- data/lib/timeline_setter.rb +0 -7
- data/public/javascripts/templates/card.jst +21 -0
- data/public/javascripts/templates/notch.jst +1 -0
- data/public/javascripts/templates/series_legend.jst +3 -0
- data/public/javascripts/templates/timeline.jst +20 -0
- data/public/javascripts/templates/year_notch.jst +3 -0
- data/public/javascripts/templates.js +1 -0
- data/public/javascripts/timeline-setter.js +303 -167
- data/public/javascripts/timeline-setter.min.js +1 -0
- data/public/stylesheets/timeline-setter.css +5 -5
- data/spec/timeline_setter_spec.rb +2 -2
- data/templates/timeline-markup.erb +5 -59
- data/timeline_setter.gemspec +15 -5
- metadata +15 -5
@@ -3,16 +3,26 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
|
8
|
-
|
6
|
+
<title>
|
7
|
+
Class: TimelineSetter::Timeline
|
8
|
+
|
9
|
+
— Documentation by YARD 0.7.2
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
16
|
|
10
17
|
<script type="text/javascript" charset="utf-8">
|
11
18
|
relpath = '..';
|
12
19
|
if (relpath != '') relpath += '/';
|
13
20
|
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../js/
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
25
|
+
|
16
26
|
|
17
27
|
</head>
|
18
28
|
<body>
|
@@ -33,11 +43,14 @@
|
|
33
43
|
</div>
|
34
44
|
|
35
45
|
<div id="search">
|
36
|
-
|
37
|
-
|
38
|
-
|
46
|
+
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
48
|
+
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
50
|
+
|
51
|
+
<a id="file_list_link" href="#">File List</a>
|
52
|
+
|
39
53
|
</div>
|
40
|
-
|
41
54
|
<div class="clear"></div>
|
42
55
|
</div>
|
43
56
|
|
@@ -103,10 +116,7 @@
|
|
103
116
|
|
104
117
|
|
105
118
|
|
106
|
-
<span class="summary_desc"><div class='inline'
|
107
|
-
Create timeline HTML by interpolating events hash into an ERB template.
|
108
|
-
</p>
|
109
|
-
</div></span>
|
119
|
+
<span class="summary_desc"><div class='inline'>Create timeline HTML by interpolating events hash into an ERB template.</div></span>
|
110
120
|
|
111
121
|
</li>
|
112
122
|
|
@@ -114,6 +124,8 @@ Create timeline HTML by interpolating events hash into an ERB template.
|
|
114
124
|
</ul>
|
115
125
|
|
116
126
|
|
127
|
+
|
128
|
+
|
117
129
|
|
118
130
|
<h2>
|
119
131
|
Instance Method Summary
|
@@ -125,7 +137,28 @@ Create timeline HTML by interpolating events hash into an ERB template.
|
|
125
137
|
<li class="public ">
|
126
138
|
<span class="summary_signature">
|
127
139
|
|
128
|
-
<a href="#
|
140
|
+
<a href="#config_json-instance_method" title="#config_json (instance method)">- (Object) <strong>config_json</strong> </a>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
</span>
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
154
|
+
|
155
|
+
</li>
|
156
|
+
|
157
|
+
|
158
|
+
<li class="public ">
|
159
|
+
<span class="summary_signature">
|
160
|
+
|
161
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Timeline) <strong>initialize</strong>(opts = {}) </a>
|
129
162
|
|
130
163
|
|
131
164
|
|
@@ -140,11 +173,8 @@ Create timeline HTML by interpolating events hash into an ERB template.
|
|
140
173
|
|
141
174
|
|
142
175
|
|
143
|
-
<span class="summary_desc"><div class='inline'
|
144
|
-
|
145
|
-
Parser#initialize.
|
146
|
-
</p>
|
147
|
-
</div></span>
|
176
|
+
<span class="summary_desc"><div class='inline'>Instantiate a new timeline from an events
|
177
|
+
array created in Parser#initialize.</div></span>
|
148
178
|
|
149
179
|
</li>
|
150
180
|
|
@@ -186,11 +216,8 @@ Parser#initialize.
|
|
186
216
|
|
187
217
|
|
188
218
|
|
189
|
-
<span class="summary_desc"><div class='inline'
|
190
|
-
|
191
|
-
and embedding all assets into our ERB template.
|
192
|
-
</p>
|
193
|
-
</div></span>
|
219
|
+
<span class="summary_desc"><div class='inline'>Create a minified one-page version of a timeline by minifying CSS and JS and embedding all assets
|
220
|
+
into our ERB template.</div></span>
|
194
221
|
|
195
222
|
</li>
|
196
223
|
|
@@ -232,11 +259,8 @@ and embedding all assets into our ERB template.
|
|
232
259
|
|
233
260
|
|
234
261
|
|
235
|
-
<span class="summary_desc"><div class='inline'
|
236
|
-
|
237
|
-
the events hash to JSON to stick into our HTML.
|
238
|
-
</p>
|
239
|
-
</div></span>
|
262
|
+
<span class="summary_desc"><div class='inline'>Convert human dates to timestamps, sort the hash by timestamp, and
|
263
|
+
convert the events hash to JSON to stick into our HTML.</div></span>
|
240
264
|
|
241
265
|
</li>
|
242
266
|
|
@@ -250,17 +274,14 @@ the events hash to JSON to stick into our HTML.
|
|
250
274
|
<div class="method_details first">
|
251
275
|
<p class="signature first" id="initialize-instance_method">
|
252
276
|
|
253
|
-
- (<tt><span class='object_link'><a href="" title="TimelineSetter::Timeline (class)">Timeline</a></span></tt>) <strong>initialize</strong>(
|
277
|
+
- (<tt><span class='object_link'><a href="" title="TimelineSetter::Timeline (class)">Timeline</a></span></tt>) <strong>initialize</strong>(opts = {})
|
254
278
|
|
255
279
|
|
256
280
|
|
257
281
|
</p><div class="docstring">
|
258
282
|
<div class="discussion">
|
259
|
-
|
260
|
-
|
261
|
-
Parser#initialize
|
262
|
-
</p>
|
263
|
-
|
283
|
+
Instantiate a new timeline from an events
|
284
|
+
array created in Parser#initialize
|
264
285
|
|
265
286
|
</div>
|
266
287
|
</div>
|
@@ -274,13 +295,15 @@ Parser#initialize
|
|
274
295
|
|
275
296
|
6
|
276
297
|
7
|
277
|
-
8
|
298
|
+
8
|
299
|
+
9</pre>
|
278
300
|
</td>
|
279
301
|
<td>
|
280
302
|
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 6</span>
|
281
303
|
|
282
|
-
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='
|
283
|
-
<span class='@events ivar id'>@events</span>
|
304
|
+
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='opts identifier id'>opts</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
305
|
+
<span class='@events ivar id'>@events</span> <span class='assign token'>=</span> <span class='opts identifier id'>opts</span><span class='lbrack token'>[</span><span class='symbol val'>:events</span><span class='rbrack token'>]</span>
|
306
|
+
<span class='@interval ivar id'>@interval</span> <span class='assign token'>=</span> <span class='opts identifier id'>opts</span><span class='lbrack token'>[</span><span class='symbol val'>:interval</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='string val'>''</span>
|
284
307
|
<span class='end end kw'>end</span>
|
285
308
|
</pre>
|
286
309
|
</td>
|
@@ -305,12 +328,9 @@ Parser#initialize
|
|
305
328
|
|
306
329
|
</p><div class="docstring">
|
307
330
|
<div class="discussion">
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
preserves external links to CSS and JS.
|
312
|
-
</p>
|
313
|
-
|
331
|
+
Create timeline HTML by interpolating events hash into an ERB template.
|
332
|
+
Re-template timeline by editing ../templates/timeline.erb
|
333
|
+
This version preserves external links to CSS and JS.
|
314
334
|
|
315
335
|
</div>
|
316
336
|
</div>
|
@@ -322,12 +342,12 @@ preserves external links to CSS and JS.
|
|
322
342
|
<pre class="lines">
|
323
343
|
|
324
344
|
|
325
|
-
|
326
|
-
|
327
|
-
|
345
|
+
32
|
346
|
+
33
|
347
|
+
34</pre>
|
328
348
|
</td>
|
329
349
|
<td>
|
330
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line
|
350
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 32</span>
|
331
351
|
|
332
352
|
<span class='def def kw'>def</span> <span class='timeline identifier id'>timeline</span>
|
333
353
|
<span class='@timeline ivar id'>@timeline</span> <span class='assign token'>=</span> <span class='tmpl identifier id'>tmpl</span><span class='lparen token'>(</span><span class='string val'>"timeline.erb"</span><span class='rparen token'>)</span>
|
@@ -346,9 +366,9 @@ preserves external links to CSS and JS.
|
|
346
366
|
|
347
367
|
|
348
368
|
<div class="method_details first">
|
349
|
-
<p class="signature first" id="
|
369
|
+
<p class="signature first" id="config_json-instance_method">
|
350
370
|
|
351
|
-
- (<tt>Object</tt>) <strong>
|
371
|
+
- (<tt>Object</tt>) <strong>config_json</strong>
|
352
372
|
|
353
373
|
|
354
374
|
|
@@ -358,12 +378,47 @@ preserves external links to CSS and JS.
|
|
358
378
|
<pre class="lines">
|
359
379
|
|
360
380
|
|
361
|
-
17
|
362
381
|
18
|
363
|
-
19
|
382
|
+
19
|
383
|
+
20
|
384
|
+
21
|
385
|
+
22
|
386
|
+
23</pre>
|
364
387
|
</td>
|
365
388
|
<td>
|
366
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line
|
389
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 18</span>
|
390
|
+
|
391
|
+
<span class='def def kw'>def</span> <span class='config_json identifier id'>config_json</span>
|
392
|
+
<span class='lbrace token'>{</span>
|
393
|
+
<span class='string val'>"interval"</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='dstring node'>"#{@interval}"</span><span class='comma token'>,</span>
|
394
|
+
<span class='string val'>"container"</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='string val'>"#timeline"</span>
|
395
|
+
<span class='rbrace token'>}</span><span class='dot token'>.</span><span class='to_json identifier id'>to_json</span>
|
396
|
+
<span class='end end kw'>end</span>
|
397
|
+
</pre>
|
398
|
+
</td>
|
399
|
+
</tr>
|
400
|
+
</table>
|
401
|
+
</div>
|
402
|
+
|
403
|
+
<div class="method_details ">
|
404
|
+
<p class="signature " id="timeline_markup-instance_method">
|
405
|
+
|
406
|
+
- (<tt>Object</tt>) <strong>timeline_markup</strong>
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
</p><table class="source_code">
|
411
|
+
<tr>
|
412
|
+
<td>
|
413
|
+
<pre class="lines">
|
414
|
+
|
415
|
+
|
416
|
+
25
|
417
|
+
26
|
418
|
+
27</pre>
|
419
|
+
</td>
|
420
|
+
<td>
|
421
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 25</span>
|
367
422
|
|
368
423
|
<span class='def def kw'>def</span> <span class='timeline_markup identifier id'>timeline_markup</span>
|
369
424
|
<span class='tmpl identifier id'>tmpl</span><span class='lparen token'>(</span><span class='string val'>"timeline-markup.erb"</span><span class='rparen token'>)</span>
|
@@ -383,11 +438,8 @@ preserves external links to CSS and JS.
|
|
383
438
|
|
384
439
|
</p><div class="docstring">
|
385
440
|
<div class="discussion">
|
386
|
-
|
387
|
-
|
388
|
-
and embedding all assets into our ERB template.
|
389
|
-
</p>
|
390
|
-
|
441
|
+
Create a minified one-page version of a timeline by minifying CSS and JS and embedding all assets
|
442
|
+
into our ERB template.
|
391
443
|
|
392
444
|
</div>
|
393
445
|
</div>
|
@@ -399,18 +451,18 @@ and embedding all assets into our ERB template.
|
|
399
451
|
<pre class="lines">
|
400
452
|
|
401
453
|
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
454
|
+
38
|
455
|
+
39
|
456
|
+
40
|
457
|
+
41
|
458
|
+
42
|
459
|
+
43
|
460
|
+
44
|
461
|
+
45
|
462
|
+
46</pre>
|
411
463
|
</td>
|
412
464
|
<td>
|
413
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line
|
465
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 38</span>
|
414
466
|
|
415
467
|
<span class='def def kw'>def</span> <span class='timeline_min identifier id'>timeline_min</span>
|
416
468
|
<span class='@js ivar id'>@js</span> <span class='assign token'>=</span> <span class='string val'>""</span>
|
@@ -418,7 +470,7 @@ and embedding all assets into our ERB template.
|
|
418
470
|
<span class='libs identifier id'>libs</span> <span class='assign token'>=</span> <span class='Dir constant id'>Dir</span><span class='dot token'>.</span><span class='glob identifier id'>glob</span><span class='lparen token'>(</span><span class='dstring node'>"#{TimelineSetter::ROOT}/public/javascripts/vendor/**"</span><span class='rparen token'>)</span>
|
419
471
|
<span class='libs identifier id'>libs</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='lib identifier id'>lib</span><span class='bitor op'>|</span> <span class='@js ivar id'>@js</span> <span class='lshft op'><<</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='lib identifier id'>lib</span><span class='comma token'>,</span><span class='string val'>'r'</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='read identifier id'>read</span> <span class='rbrace token'>}</span>
|
420
472
|
<span class='@min_html ivar id'>@min_html</span> <span class='assign token'>=</span> <span class='Kompress constant id'>Kompress</span><span class='colon2 op'>::</span><span class='HTML constant id'>HTML</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='timeline_markup identifier id'>timeline_markup</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='html identifier id'>html</span>
|
421
|
-
<span class='@js ivar id'>@js</span> <span class='lshft op'><<</span> <span class='
|
473
|
+
<span class='@js ivar id'>@js</span> <span class='lshft op'><<</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='dstring node'>"#{TimelineSetter::ROOT}/public/javascripts/timeline-setter.min.js"</span><span class='comma token'>,</span> <span class='string val'>'r'</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='read identifier id'>read</span>
|
422
474
|
<span class='@timeline ivar id'>@timeline</span> <span class='assign token'>=</span> <span class='tmpl identifier id'>tmpl</span><span class='lparen token'>(</span><span class='string val'>"timeline-min.erb"</span><span class='rparen token'>)</span>
|
423
475
|
<span class='end end kw'>end</span>
|
424
476
|
</pre>
|
@@ -440,12 +492,12 @@ and embedding all assets into our ERB template.
|
|
440
492
|
<pre class="lines">
|
441
493
|
|
442
494
|
|
443
|
-
|
444
|
-
|
445
|
-
|
495
|
+
48
|
496
|
+
49
|
497
|
+
50</pre>
|
446
498
|
</td>
|
447
499
|
<td>
|
448
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line
|
500
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 48</span>
|
449
501
|
|
450
502
|
<span class='def def kw'>def</span> <span class='tmpl identifier id'>tmpl</span><span class='lparen token'>(</span><span class='tmpl_file identifier id'>tmpl_file</span><span class='rparen token'>)</span>
|
451
503
|
<span class='ERB constant id'>ERB</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='File constant id'>File</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='dstring node'>"#{TimelineSetter::ROOT}/templates/#{tmpl_file}"</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='read identifier id'>read</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='result identifier id'>result</span><span class='lparen token'>(</span><span class='binding identifier id'>binding</span><span class='rparen token'>)</span>
|
@@ -465,11 +517,8 @@ and embedding all assets into our ERB template.
|
|
465
517
|
|
466
518
|
</p><div class="docstring">
|
467
519
|
<div class="discussion">
|
468
|
-
|
469
|
-
|
470
|
-
the events hash to JSON to stick into our HTML.
|
471
|
-
</p>
|
472
|
-
|
520
|
+
Convert human dates to timestamps, sort the hash by timestamp, and
|
521
|
+
convert the events hash to JSON to stick into our HTML.
|
473
522
|
|
474
523
|
</div>
|
475
524
|
</div>
|
@@ -481,13 +530,13 @@ the events hash to JSON to stick into our HTML.
|
|
481
530
|
<pre class="lines">
|
482
531
|
|
483
532
|
|
484
|
-
12
|
485
533
|
13
|
486
534
|
14
|
487
|
-
15
|
535
|
+
15
|
536
|
+
16</pre>
|
488
537
|
</td>
|
489
538
|
<td>
|
490
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line
|
539
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 13</span>
|
491
540
|
|
492
541
|
<span class='def def kw'>def</span> <span class='to_json identifier id'>to_json</span>
|
493
542
|
<span class='@events ivar id'>@events</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='r identifier id'>r</span><span class='bitor op'>|</span> <span class='r identifier id'>r</span><span class='lbrack token'>[</span><span class='symbol val'>:timestamp</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='parse identifier id'>parse</span><span class='lparen token'>(</span><span class='r identifier id'>r</span><span class='lbrack token'>[</span><span class='symbol val'>:date</span><span class='rbrack token'>]</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='to_i identifier id'>to_i</span> <span class='mult op'>*</span> <span class='integer val'>1000</span> <span class='rbrace token'>}</span>
|
@@ -504,9 +553,9 @@ the events hash to JSON to stick into our HTML.
|
|
504
553
|
</div>
|
505
554
|
|
506
555
|
<div id="footer">
|
507
|
-
Generated on
|
556
|
+
Generated on Wed Nov 2 15:20:07 2011 by
|
508
557
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
509
|
-
0.
|
558
|
+
0.7.2 (ruby-1.8.7).
|
510
559
|
</div>
|
511
560
|
|
512
561
|
</body>
|
@@ -3,16 +3,26 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
|
8
|
-
|
6
|
+
<title>
|
7
|
+
Module: TimelineSetter
|
8
|
+
|
9
|
+
— Documentation by YARD 0.7.2
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
16
|
|
10
17
|
<script type="text/javascript" charset="utf-8">
|
11
18
|
relpath = '';
|
12
19
|
if (relpath != '') relpath += '/';
|
13
20
|
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="js/
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
25
|
+
|
16
26
|
|
17
27
|
</head>
|
18
28
|
<body>
|
@@ -33,11 +43,14 @@
|
|
33
43
|
</div>
|
34
44
|
|
35
45
|
<div id="search">
|
36
|
-
|
37
|
-
|
38
|
-
|
46
|
+
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
48
|
+
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
50
|
+
|
51
|
+
<a id="file_list_link" href="#">File List</a>
|
52
|
+
|
39
53
|
</div>
|
40
|
-
|
41
54
|
<div class="clear"></div>
|
42
55
|
</div>
|
43
56
|
|
@@ -90,7 +103,7 @@
|
|
90
103
|
<dt id="VERSION-constant" class="">VERSION =
|
91
104
|
|
92
105
|
</dt>
|
93
|
-
<dd><pre class="code"><span class='string val'>"0.
|
106
|
+
<dd><pre class="code"><span class='string val'>"0.3.0"</span>
|
94
107
|
</pre></dd>
|
95
108
|
|
96
109
|
</dl>
|
@@ -100,12 +113,14 @@
|
|
100
113
|
|
101
114
|
|
102
115
|
|
116
|
+
|
117
|
+
|
103
118
|
</div>
|
104
119
|
|
105
120
|
<div id="footer">
|
106
|
-
Generated on
|
121
|
+
Generated on Wed Nov 2 15:20:07 2011 by
|
107
122
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
|
-
0.
|
123
|
+
0.7.2 (ruby-1.8.7).
|
109
124
|
</div>
|
110
125
|
|
111
126
|
</body>
|
data/documentation/_index.html
CHANGED
@@ -3,16 +3,24 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
|
8
|
-
|
6
|
+
<title>
|
7
|
+
Documentation by YARD 0.7.2
|
8
|
+
|
9
|
+
</title>
|
10
|
+
|
11
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
14
|
|
10
15
|
<script type="text/javascript" charset="utf-8">
|
11
16
|
relpath = '';
|
12
17
|
if (relpath != '') relpath += '/';
|
13
18
|
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="js/
|
19
|
+
|
20
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
23
|
+
|
16
24
|
|
17
25
|
</head>
|
18
26
|
<body>
|
@@ -31,17 +39,20 @@
|
|
31
39
|
</div>
|
32
40
|
|
33
41
|
<div id="search">
|
34
|
-
|
35
|
-
|
36
|
-
|
42
|
+
|
43
|
+
<a id="class_list_link" href="#">Class List</a>
|
44
|
+
|
45
|
+
<a id="method_list_link" href="#">Method List</a>
|
46
|
+
|
47
|
+
<a id="file_list_link" href="#">File List</a>
|
48
|
+
|
37
49
|
</div>
|
38
|
-
|
39
50
|
<div class="clear"></div>
|
40
51
|
</div>
|
41
52
|
|
42
53
|
<iframe id="search_frame"></iframe>
|
43
54
|
|
44
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.
|
55
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.7.2</h1>
|
45
56
|
<div id="listing">
|
46
57
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
47
58
|
|
@@ -123,9 +134,9 @@
|
|
123
134
|
</div>
|
124
135
|
|
125
136
|
<div id="footer">
|
126
|
-
Generated on
|
137
|
+
Generated on Wed Nov 2 15:20:07 2011 by
|
127
138
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
128
|
-
0.
|
139
|
+
0.7.2 (ruby-1.8.7).
|
129
140
|
</div>
|
130
141
|
|
131
142
|
</body>
|
@@ -2,11 +2,19 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
|
7
|
+
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
|
9
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
|
16
|
+
|
17
|
+
|
10
18
|
<base id="base_target" target="_parent" />
|
11
19
|
</head>
|
12
20
|
<body>
|
@@ -19,9 +27,13 @@
|
|
19
27
|
<div id="content">
|
20
28
|
<h1 id="full_list_header">Class List</h1>
|
21
29
|
<div id="nav">
|
22
|
-
|
23
|
-
|
24
|
-
|
30
|
+
|
31
|
+
<a target="_self" href="class_list.html">Classes</a>
|
32
|
+
|
33
|
+
<a target="_self" href="method_list.html">Methods</a>
|
34
|
+
|
35
|
+
<a target="_self" href="file_list.html">Files</a>
|
36
|
+
|
25
37
|
</div>
|
26
38
|
<div id="search">Search: <input type="text" /></div>
|
27
39
|
|
@@ -33,4 +45,3 @@
|
|
33
45
|
</div>
|
34
46
|
</body>
|
35
47
|
</html>
|
36
|
-
|
data/documentation/css/style.css
CHANGED
@@ -70,23 +70,25 @@ p.inherited {
|
|
70
70
|
margin-left: 25px;
|
71
71
|
}
|
72
72
|
|
73
|
-
dl.box {
|
73
|
+
#filecontents dl.box, dl.box {
|
74
|
+
border: 0;
|
74
75
|
width: 520px;
|
75
76
|
font-size: 1em;
|
76
77
|
}
|
77
|
-
dl.box dt {
|
78
|
+
#filecontents dl.box dt, dl.box dt {
|
78
79
|
float: left;
|
79
80
|
display: block;
|
80
81
|
width: 100px;
|
81
82
|
margin: 0;
|
82
83
|
text-align: right;
|
83
84
|
font-weight: bold;
|
85
|
+
background: transparent;
|
84
86
|
border: 1px solid #aaa;
|
85
87
|
border-width: 1px 0px 0px 1px;
|
86
88
|
padding: 6px 0;
|
87
89
|
padding-right: 10px;
|
88
90
|
}
|
89
|
-
dl.box dd {
|
91
|
+
#filecontents dl.box dd, dl.box dd {
|
90
92
|
float: left;
|
91
93
|
display: block;
|
92
94
|
width: 380px;
|
@@ -96,10 +98,10 @@ dl.box dd {
|
|
96
98
|
border: 1px solid #aaa;
|
97
99
|
border-width: 1px 1px 0 0;
|
98
100
|
}
|
99
|
-
dl.box .last {
|
101
|
+
#filecontents dl.box .last, dl.box .last {
|
100
102
|
border-bottom: 1px solid #aaa;
|
101
103
|
}
|
102
|
-
dl.box .r1 { background: #eee; }
|
104
|
+
#filecontents dl.box .r1, dl.box .r1 { background: #eee; }
|
103
105
|
|
104
106
|
ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
|
105
107
|
#files { padding-left: 15px; font-size: 1.1em; }
|