timeline_setter 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +4 -4
- data/doc/doc.markdown +50 -27
- data/doc/timeline-setter.html +170 -119
- data/doc/twitter-demo.html +4 -57
- data/documentation/TimelineSetter/CLI.html +87 -78
- data/documentation/TimelineSetter/Parser.html +45 -31
- data/documentation/TimelineSetter/Timeline.html +70 -48
- data/documentation/TimelineSetter.html +6 -4
- data/documentation/_index.html +4 -4
- data/documentation/css/full_list.css +2 -0
- data/documentation/css/style.css +12 -10
- data/documentation/file.README.html +22 -18
- data/documentation/frames.html +1 -1
- data/documentation/index.html +22 -18
- data/documentation/js/app.js +4 -4
- data/documentation/js/full_list.js +29 -6
- data/documentation/method_list.html +19 -19
- data/documentation/top-level-namespace.html +5 -3
- data/index.html +42 -15
- data/lib/timeline_setter/cli.rb +2 -1
- data/lib/timeline_setter/timeline.rb +1 -1
- data/lib/timeline_setter/version.rb +1 -1
- data/public/javascripts/timeline-setter.js +117 -57
- data/public/javascripts/vendor/jquery-min.js +4 -16
- data/public/javascripts/vendor/jquery.js +9404 -0
- data/public/javascripts/vendor/underscore-min.js +26 -21
- data/public/javascripts/vendor/underscore.js +999 -0
- data/spec/test_data.csv +3 -3
- data/spec/timeline-debug.html +19 -0
- data/templates/timeline-markup.erb +25 -1
- data/timeline_setter.gemspec +11 -10
- metadata +9 -8
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: TimelineSetter::Timeline
|
8
8
|
|
9
|
-
— Documentation by YARD 0.7.
|
9
|
+
— Documentation by YARD 0.7.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -94,6 +94,8 @@
|
|
94
94
|
|
95
95
|
|
96
96
|
|
97
|
+
|
98
|
+
|
97
99
|
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
98
100
|
<ul class="summary">
|
99
101
|
|
@@ -116,7 +118,9 @@
|
|
116
118
|
|
117
119
|
|
118
120
|
|
119
|
-
<span class="summary_desc"><div class='inline'>
|
121
|
+
<span class="summary_desc"><div class='inline'>
|
122
|
+
<p>Create timeline HTML by interpolating events hash into an ERB template.</p>
|
123
|
+
</div></span>
|
120
124
|
|
121
125
|
</li>
|
122
126
|
|
@@ -173,8 +177,10 @@
|
|
173
177
|
|
174
178
|
|
175
179
|
|
176
|
-
<span class="summary_desc"><div class='inline'>
|
177
|
-
array created in
|
180
|
+
<span class="summary_desc"><div class='inline'>
|
181
|
+
<p>Instantiate a new timeline from an events array created in
|
182
|
+
Parser#initialize.</p>
|
183
|
+
</div></span>
|
178
184
|
|
179
185
|
</li>
|
180
186
|
|
@@ -216,8 +222,10 @@ array created in Parser#initialize.</div></span>
|
|
216
222
|
|
217
223
|
|
218
224
|
|
219
|
-
<span class="summary_desc"><div class='inline'>
|
220
|
-
|
225
|
+
<span class="summary_desc"><div class='inline'>
|
226
|
+
<p>Create a minified one-page version of a timeline by minifying CSS and JS
|
227
|
+
and embedding all assets into our ERB template.</p>
|
228
|
+
</div></span>
|
221
229
|
|
222
230
|
</li>
|
223
231
|
|
@@ -259,8 +267,10 @@ into our ERB template.</div></span>
|
|
259
267
|
|
260
268
|
|
261
269
|
|
262
|
-
<span class="summary_desc"><div class='inline'>
|
263
|
-
|
270
|
+
<span class="summary_desc"><div class='inline'>
|
271
|
+
<p>Convert human dates to timestamps, sort the hash by timestamp, and convert
|
272
|
+
the events hash to JSON to stick into our HTML.</p>
|
273
|
+
</div></span>
|
264
274
|
|
265
275
|
</li>
|
266
276
|
|
@@ -280,13 +290,16 @@ convert the events hash to JSON to stick into our HTML.</div></span>
|
|
280
290
|
|
281
291
|
</p><div class="docstring">
|
282
292
|
<div class="discussion">
|
283
|
-
|
284
|
-
array created in
|
293
|
+
|
294
|
+
<p>Instantiate a new timeline from an events array created in
|
295
|
+
Parser#initialize</p>
|
296
|
+
|
285
297
|
|
286
298
|
</div>
|
287
299
|
</div>
|
288
300
|
<div class="tags">
|
289
301
|
|
302
|
+
|
290
303
|
</div><table class="source_code">
|
291
304
|
<tr>
|
292
305
|
<td>
|
@@ -301,10 +314,10 @@ array created in Parser#initialize
|
|
301
314
|
<td>
|
302
315
|
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 6</span>
|
303
316
|
|
304
|
-
<span class='
|
305
|
-
<span class='@events ivar id'>@events</span> <span class='assign token'>=</span> <span class='
|
306
|
-
<span class='@interval ivar id'>@interval</span> <span class='assign token'>=</span> <span class='
|
307
|
-
<span class='
|
317
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_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>
|
318
|
+
<span class='rubyid_@events ivar id'>@events</span> <span class='assign token'>=</span> <span class='rubyid_opts identifier id'>opts</span><span class='lbrack token'>[</span><span class='symbol val'>:events</span><span class='rbrack token'>]</span>
|
319
|
+
<span class='rubyid_@interval ivar id'>@interval</span> <span class='assign token'>=</span> <span class='rubyid_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>
|
320
|
+
<span class='rubyid_end end kw'>end</span>
|
308
321
|
</pre>
|
309
322
|
</td>
|
310
323
|
</tr>
|
@@ -328,14 +341,17 @@ array created in Parser#initialize
|
|
328
341
|
|
329
342
|
</p><div class="docstring">
|
330
343
|
<div class="discussion">
|
331
|
-
|
332
|
-
|
333
|
-
|
344
|
+
|
345
|
+
<p>Create timeline HTML by interpolating events hash into an ERB template.
|
346
|
+
Re-template timeline by editing ../templates/timeline.erb This version
|
347
|
+
preserves external links to CSS and JS.</p>
|
348
|
+
|
334
349
|
|
335
350
|
</div>
|
336
351
|
</div>
|
337
352
|
<div class="tags">
|
338
353
|
|
354
|
+
|
339
355
|
</div><table class="source_code">
|
340
356
|
<tr>
|
341
357
|
<td>
|
@@ -349,9 +365,9 @@ This version preserves external links to CSS and JS.
|
|
349
365
|
<td>
|
350
366
|
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 32</span>
|
351
367
|
|
352
|
-
<span class='
|
353
|
-
<span class='@timeline ivar id'>@timeline</span> <span class='assign token'>=</span> <span class='
|
354
|
-
<span class='
|
368
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_timeline identifier id'>timeline</span>
|
369
|
+
<span class='rubyid_@timeline ivar id'>@timeline</span> <span class='assign token'>=</span> <span class='rubyid_tmpl identifier id'>tmpl</span><span class='lparen token'>(</span><span class='string val'>"timeline.erb"</span><span class='rparen token'>)</span>
|
370
|
+
<span class='rubyid_end end kw'>end</span>
|
355
371
|
</pre>
|
356
372
|
</td>
|
357
373
|
</tr>
|
@@ -388,12 +404,12 @@ This version preserves external links to CSS and JS.
|
|
388
404
|
<td>
|
389
405
|
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 18</span>
|
390
406
|
|
391
|
-
<span class='
|
407
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_config_json identifier id'>config_json</span>
|
392
408
|
<span class='lbrace token'>{</span>
|
393
409
|
<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
410
|
<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='
|
396
|
-
<span class='
|
411
|
+
<span class='rbrace token'>}</span><span class='dot token'>.</span><span class='rubyid_to_json identifier id'>to_json</span>
|
412
|
+
<span class='rubyid_end end kw'>end</span>
|
397
413
|
</pre>
|
398
414
|
</td>
|
399
415
|
</tr>
|
@@ -420,9 +436,9 @@ This version preserves external links to CSS and JS.
|
|
420
436
|
<td>
|
421
437
|
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 25</span>
|
422
438
|
|
423
|
-
<span class='
|
424
|
-
<span class='
|
425
|
-
<span class='
|
439
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_timeline_markup identifier id'>timeline_markup</span>
|
440
|
+
<span class='rubyid_tmpl identifier id'>tmpl</span><span class='lparen token'>(</span><span class='string val'>"timeline-markup.erb"</span><span class='rparen token'>)</span>
|
441
|
+
<span class='rubyid_end end kw'>end</span>
|
426
442
|
</pre>
|
427
443
|
</td>
|
428
444
|
</tr>
|
@@ -438,13 +454,16 @@ This version preserves external links to CSS and JS.
|
|
438
454
|
|
439
455
|
</p><div class="docstring">
|
440
456
|
<div class="discussion">
|
441
|
-
|
442
|
-
|
457
|
+
|
458
|
+
<p>Create a minified one-page version of a timeline by minifying CSS and JS
|
459
|
+
and embedding all assets into our ERB template.</p>
|
460
|
+
|
443
461
|
|
444
462
|
</div>
|
445
463
|
</div>
|
446
464
|
<div class="tags">
|
447
465
|
|
466
|
+
|
448
467
|
</div><table class="source_code">
|
449
468
|
<tr>
|
450
469
|
<td>
|
@@ -464,15 +483,15 @@ into our ERB template.
|
|
464
483
|
<td>
|
465
484
|
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 38</span>
|
466
485
|
|
467
|
-
<span class='
|
468
|
-
<span class='@js ivar id'>@js</span> <span class='assign token'>=</span> <span class='string val'>""</span>
|
469
|
-
<span class='@css ivar id'>@css</span> <span class='assign token'>=</span> <span class='
|
470
|
-
<span class='
|
471
|
-
<span class='
|
472
|
-
<span class='@min_html ivar id'>@min_html</span> <span class='assign token'>=</span> <span class='
|
473
|
-
<span class='@js ivar id'>@js</span> <span class='lshft op'><<</span> <span class='
|
474
|
-
<span class='@timeline ivar id'>@timeline</span> <span class='assign token'>=</span> <span class='
|
475
|
-
<span class='
|
486
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_timeline_min identifier id'>timeline_min</span>
|
487
|
+
<span class='rubyid_@js ivar id'>@js</span> <span class='assign token'>=</span> <span class='string val'>""</span>
|
488
|
+
<span class='rubyid_@css ivar id'>@css</span> <span class='assign token'>=</span> <span class='rubyid_Kompress constant id'>Kompress</span><span class='colon2 op'>::</span><span class='rubyid_CSS constant id'>CSS</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</span><span class='lparen token'>(</span><span class='rubyid_File constant id'>File</span><span class='dot token'>.</span><span class='rubyid_open identifier id'>open</span><span class='lparen token'>(</span><span class='dstring node'>"#{TimelineSetter::ROOT}/public/stylesheets/timeline-setter.css"</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_read identifier id'>read</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_css identifier id'>css</span>
|
489
|
+
<span class='rubyid_libs identifier id'>libs</span> <span class='assign token'>=</span> <span class='rubyid_Dir constant id'>Dir</span><span class='dot token'>.</span><span class='rubyid_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>
|
490
|
+
<span class='rubyid_libs identifier id'>libs</span><span class='dot token'>.</span><span class='rubyid_each identifier id'>each</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='rubyid_lib identifier id'>lib</span><span class='bitor op'>|</span> <span class='rubyid_@js ivar id'>@js</span> <span class='lshft op'><<</span> <span class='rubyid_File constant id'>File</span><span class='dot token'>.</span><span class='rubyid_open identifier id'>open</span><span class='lparen token'>(</span><span class='rubyid_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='rubyid_read identifier id'>read</span> <span class='rbrace token'>}</span>
|
491
|
+
<span class='rubyid_@min_html ivar id'>@min_html</span> <span class='assign token'>=</span> <span class='rubyid_Kompress constant id'>Kompress</span><span class='colon2 op'>::</span><span class='rubyid_HTML constant id'>HTML</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</span><span class='lparen token'>(</span><span class='rubyid_timeline_markup identifier id'>timeline_markup</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_html identifier id'>html</span>
|
492
|
+
<span class='rubyid_@js ivar id'>@js</span> <span class='lshft op'><<</span> <span class='rubyid_File constant id'>File</span><span class='dot token'>.</span><span class='rubyid_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='rubyid_read identifier id'>read</span>
|
493
|
+
<span class='rubyid_@timeline ivar id'>@timeline</span> <span class='assign token'>=</span> <span class='rubyid_tmpl identifier id'>tmpl</span><span class='lparen token'>(</span><span class='string val'>"timeline-min.erb"</span><span class='rparen token'>)</span>
|
494
|
+
<span class='rubyid_end end kw'>end</span>
|
476
495
|
</pre>
|
477
496
|
</td>
|
478
497
|
</tr>
|
@@ -499,9 +518,9 @@ into our ERB template.
|
|
499
518
|
<td>
|
500
519
|
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 48</span>
|
501
520
|
|
502
|
-
<span class='
|
503
|
-
<span class='
|
504
|
-
<span class='
|
521
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_tmpl identifier id'>tmpl</span><span class='lparen token'>(</span><span class='rubyid_tmpl_file identifier id'>tmpl_file</span><span class='rparen token'>)</span>
|
522
|
+
<span class='rubyid_ERB constant id'>ERB</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</span><span class='lparen token'>(</span><span class='rubyid_File constant id'>File</span><span class='dot token'>.</span><span class='rubyid_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='rubyid_read identifier id'>read</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_result identifier id'>result</span><span class='lparen token'>(</span><span class='rubyid_binding identifier id'>binding</span><span class='rparen token'>)</span>
|
523
|
+
<span class='rubyid_end end kw'>end</span>
|
505
524
|
</pre>
|
506
525
|
</td>
|
507
526
|
</tr>
|
@@ -517,13 +536,16 @@ into our ERB template.
|
|
517
536
|
|
518
537
|
</p><div class="docstring">
|
519
538
|
<div class="discussion">
|
520
|
-
|
521
|
-
|
539
|
+
|
540
|
+
<p>Convert human dates to timestamps, sort the hash by timestamp, and convert
|
541
|
+
the events hash to JSON to stick into our HTML.</p>
|
542
|
+
|
522
543
|
|
523
544
|
</div>
|
524
545
|
</div>
|
525
546
|
<div class="tags">
|
526
547
|
|
548
|
+
|
527
549
|
</div><table class="source_code">
|
528
550
|
<tr>
|
529
551
|
<td>
|
@@ -538,10 +560,10 @@ convert the events hash to JSON to stick into our HTML.
|
|
538
560
|
<td>
|
539
561
|
<pre class="code"><span class="info file"># File 'lib/timeline_setter/timeline.rb', line 13</span>
|
540
562
|
|
541
|
-
<span class='
|
542
|
-
<span class='@events ivar id'>@events</span><span class='dot token'>.</span><span class='
|
543
|
-
<span class='@events ivar id'>@events</span><span class='dot token'>.</span><span class='
|
544
|
-
<span class='
|
563
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_to_json identifier id'>to_json</span>
|
564
|
+
<span class='rubyid_@events ivar id'>@events</span><span class='dot token'>.</span><span class='rubyid_each identifier id'>each</span> <span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='rubyid_r identifier id'>r</span><span class='bitor op'>|</span> <span class='rubyid_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='rubyid_Time constant id'>Time</span><span class='dot token'>.</span><span class='rubyid_parse identifier id'>parse</span><span class='lparen token'>(</span><span class='rubyid_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='rubyid_to_i identifier id'>to_i</span> <span class='mult op'>*</span> <span class='integer val'>1000</span> <span class='rbrace token'>}</span>
|
565
|
+
<span class='rubyid_@events ivar id'>@events</span><span class='dot token'>.</span><span class='rubyid_to_json identifier id'>to_json</span>
|
566
|
+
<span class='rubyid_end end kw'>end</span>
|
545
567
|
</pre>
|
546
568
|
</td>
|
547
569
|
</tr>
|
@@ -553,9 +575,9 @@ convert the events hash to JSON to stick into our HTML.
|
|
553
575
|
</div>
|
554
576
|
|
555
577
|
<div id="footer">
|
556
|
-
Generated on
|
578
|
+
Generated on Mon Mar 12 11:02:59 2012 by
|
557
579
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
558
|
-
0.7.
|
580
|
+
0.7.5 (ruby-1.8.7).
|
559
581
|
</div>
|
560
582
|
|
561
583
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: TimelineSetter
|
8
8
|
|
9
|
-
— Documentation by YARD 0.7.
|
9
|
+
— Documentation by YARD 0.7.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -97,7 +97,7 @@
|
|
97
97
|
<dt id="ROOT-constant" class="">ROOT =
|
98
98
|
|
99
99
|
</dt>
|
100
|
-
<dd><pre class="code"><span class='
|
100
|
+
<dd><pre class="code"><span class='rubyid_File constant id'>File</span><span class='dot token'>.</span><span class='rubyid_expand_path identifier id'>expand_path</span> <span class='dstring node'>"#{File.dirname __FILE__}/.."</span>
|
101
101
|
</pre></dd>
|
102
102
|
|
103
103
|
<dt id="VERSION-constant" class="">VERSION =
|
@@ -115,12 +115,14 @@
|
|
115
115
|
|
116
116
|
|
117
117
|
|
118
|
+
|
119
|
+
|
118
120
|
</div>
|
119
121
|
|
120
122
|
<div id="footer">
|
121
|
-
Generated on
|
123
|
+
Generated on Mon Mar 12 11:02:58 2012 by
|
122
124
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
123
|
-
0.7.
|
125
|
+
0.7.5 (ruby-1.8.7).
|
124
126
|
</div>
|
125
127
|
|
126
128
|
</body>
|
data/documentation/_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
|
-
Documentation by YARD 0.7.
|
7
|
+
Documentation by YARD 0.7.5
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -52,7 +52,7 @@
|
|
52
52
|
|
53
53
|
<iframe id="search_frame"></iframe>
|
54
54
|
|
55
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.7.
|
55
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.7.5</h1>
|
56
56
|
<div id="listing">
|
57
57
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
58
58
|
|
@@ -134,9 +134,9 @@
|
|
134
134
|
</div>
|
135
135
|
|
136
136
|
<div id="footer">
|
137
|
-
Generated on
|
137
|
+
Generated on Mon Mar 12 11:02:58 2012 by
|
138
138
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
139
|
-
0.7.
|
139
|
+
0.7.5 (ruby-1.8.7).
|
140
140
|
</div>
|
141
141
|
|
142
142
|
</body>
|
@@ -16,6 +16,8 @@ h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
|
|
16
16
|
#noresults { padding: 7px 12px; }
|
17
17
|
#content.insearch #noresults { margin-left: 7px; }
|
18
18
|
ul.collapsed ul, ul.collapsed li { display: none; }
|
19
|
+
ul.collapsed.search_uncollapsed { display: block; }
|
20
|
+
ul.collapsed.search_uncollapsed li { display: list-item; }
|
19
21
|
li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
|
20
22
|
li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
|
21
23
|
li { color: #888; cursor: pointer; }
|
data/documentation/css/style.css
CHANGED
@@ -24,6 +24,8 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
|
|
24
24
|
.docstring h2 { font-size: 1.1em; }
|
25
25
|
.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
|
26
26
|
.summary_desc .object_link, .docstring .object_link { font-family: monospace; }
|
27
|
+
.rdoc-term { padding-right: 25px; font-weight: bold; }
|
28
|
+
.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
|
27
29
|
|
28
30
|
/* style for <ul> */
|
29
31
|
#filecontents li > p, .docstring li > p { margin: 0px; }
|
@@ -161,7 +163,7 @@ p.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace;
|
|
161
163
|
|
162
164
|
#content a:link, #content a:visited { text-decoration: none; color: #05a; }
|
163
165
|
#content a:hover { background: #ffffa5; }
|
164
|
-
.docstring { margin-right: 6em; }
|
166
|
+
div.docstring, p.docstring { margin-right: 6em; }
|
165
167
|
|
166
168
|
ul.summary {
|
167
169
|
list-style: none;
|
@@ -292,7 +294,7 @@ li.r2 { background: #fafafa; }
|
|
292
294
|
#filecontents pre.code, .docstring pre.code { display: block; }
|
293
295
|
.source_code .lines { padding-right: 12px; color: #555; text-align: right; }
|
294
296
|
#filecontents pre.code, .docstring pre.code,
|
295
|
-
.tags .example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
|
297
|
+
.tags pre.example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
|
296
298
|
pre.code { color: #000; }
|
297
299
|
pre.code .info.file { color: #555; }
|
298
300
|
pre.code .val { color: #036A07; }
|
@@ -300,21 +302,21 @@ pre.code .tstring_content,
|
|
300
302
|
pre.code .heredoc_beg, pre.code .heredoc_end,
|
301
303
|
pre.code .qwords_beg, pre.code .qwords_end,
|
302
304
|
pre.code .tstring, pre.code .dstring { color: #036A07; }
|
303
|
-
pre.code .fid, pre.code .
|
304
|
-
pre.code .
|
305
|
+
pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
|
306
|
+
pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
|
305
307
|
pre.code .dot + pre.code .id,
|
306
|
-
pre.code .
|
308
|
+
pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
|
307
309
|
pre.code .comment { color: #0066FF; }
|
308
310
|
pre.code .const, pre.code .constant { color: #585CF6; }
|
309
311
|
pre.code .symbol { color: #C5060B; }
|
310
312
|
pre.code .kw,
|
311
313
|
pre.code .label,
|
312
|
-
pre.code .
|
313
|
-
pre.code .
|
314
|
-
pre.code .
|
314
|
+
pre.code .rubyid_require,
|
315
|
+
pre.code .rubyid_extend,
|
316
|
+
pre.code .rubyid_include { color: #0000FF; }
|
315
317
|
pre.code .ivar { color: #318495; }
|
316
318
|
pre.code .gvar,
|
317
|
-
pre.code .
|
318
|
-
pre.code .
|
319
|
+
pre.code .rubyid_backref,
|
320
|
+
pre.code .rubyid_nth_ref { color: #6D79DE; }
|
319
321
|
pre.code .regexp, .dregexp { color: #036A07; }
|
320
322
|
pre.code a { border-bottom: 1px dotted #bbf; }
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.7.
|
9
|
+
— Documentation by YARD 0.7.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -54,26 +54,30 @@
|
|
54
54
|
|
55
55
|
<iframe id="search_frame"></iframe>
|
56
56
|
|
57
|
-
<div id="content"><div id='filecontents'
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
/
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
57
|
+
<div id="content"><div id='filecontents'>
|
58
|
+
<h1 id="label-"></h1>
|
59
|
+
|
60
|
+
<pre class="code ruby"><code><span class='string val'>'
|
61
|
+
_______ ___ _____ __ __
|
62
|
+
/_ __(_)___ ___ ___ / (_)___ ___ / ___/___ / /_/ /____ _____
|
63
|
+
/ / / / __ `__ \/ _ \/ / / __ \/ _ \\__ \/ _ \/ __/ __/ _ \/ ___/
|
64
|
+
/ / / / / / / / / __/ / / / / / __/__/ / __/ /_/ /_/ __/ /
|
65
|
+
/_/ /_/_/ /_/ /_/\___/_/_/_/ /_/\___/____/\___/\__/\__/\___/_/
|
66
|
+
|
67
|
+
TimelineSetter is a tool to create HTML timelines from spreadsheets of events.
|
68
|
+
|
69
|
+
For usage and installation instructions, see:
|
70
|
+
http://propublica.github.com/timeline-setter/
|
71
|
+
|
72
|
+
To report a bug or suggest a feature:
|
73
|
+
http://github.com/propublica/timeline-setter/issues
|
74
|
+
</span></code></pre>
|
75
|
+
</div></div>
|
72
76
|
|
73
77
|
<div id="footer">
|
74
|
-
Generated on
|
78
|
+
Generated on Mon Mar 12 11:02:58 2012 by
|
75
79
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
76
|
-
0.7.
|
80
|
+
0.7.5 (ruby-1.8.7).
|
77
81
|
</div>
|
78
82
|
|
79
83
|
</body>
|
data/documentation/frames.html
CHANGED
@@ -4,7 +4,7 @@
|
|
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>Documentation by YARD 0.7.
|
7
|
+
<title>Documentation by YARD 0.7.5</title>
|
8
8
|
</head>
|
9
9
|
<frameset cols="20%,*">
|
10
10
|
<frame name="list" src="class_list.html" />
|
data/documentation/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.7.
|
9
|
+
— Documentation by YARD 0.7.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -54,26 +54,30 @@
|
|
54
54
|
|
55
55
|
<iframe id="search_frame"></iframe>
|
56
56
|
|
57
|
-
<div id="content"><div id='filecontents'
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
/
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
57
|
+
<div id="content"><div id='filecontents'>
|
58
|
+
<h1 id="label-"></h1>
|
59
|
+
|
60
|
+
<pre class="code ruby"><code><span class='string val'>'
|
61
|
+
_______ ___ _____ __ __
|
62
|
+
/_ __(_)___ ___ ___ / (_)___ ___ / ___/___ / /_/ /____ _____
|
63
|
+
/ / / / __ `__ \/ _ \/ / / __ \/ _ \\__ \/ _ \/ __/ __/ _ \/ ___/
|
64
|
+
/ / / / / / / / / __/ / / / / / __/__/ / __/ /_/ /_/ __/ /
|
65
|
+
/_/ /_/_/ /_/ /_/\___/_/_/_/ /_/\___/____/\___/\__/\__/\___/_/
|
66
|
+
|
67
|
+
TimelineSetter is a tool to create HTML timelines from spreadsheets of events.
|
68
|
+
|
69
|
+
For usage and installation instructions, see:
|
70
|
+
http://propublica.github.com/timeline-setter/
|
71
|
+
|
72
|
+
To report a bug or suggest a feature:
|
73
|
+
http://github.com/propublica/timeline-setter/issues
|
74
|
+
</span></code></pre>
|
75
|
+
</div></div>
|
72
76
|
|
73
77
|
<div id="footer">
|
74
|
-
Generated on
|
78
|
+
Generated on Mon Mar 12 11:02:58 2012 by
|
75
79
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
76
|
-
0.7.
|
80
|
+
0.7.5 (ruby-1.8.7).
|
77
81
|
</div>
|
78
82
|
|
79
83
|
</body>
|
data/documentation/js/app.js
CHANGED
@@ -2,11 +2,11 @@ function createSourceLinks() {
|
|
2
2
|
$('.method_details_list .source_code').
|
3
3
|
before("<span class='showSource'>[<a href='#' class='toggleSource'>View source</a>]</span>");
|
4
4
|
$('.toggleSource').toggle(function() {
|
5
|
-
$(this).parent().
|
5
|
+
$(this).parent().nextAll('.source_code').slideDown(100);
|
6
6
|
$(this).text("Hide source");
|
7
7
|
},
|
8
8
|
function() {
|
9
|
-
$(this).parent().
|
9
|
+
$(this).parent().nextAll('.source_code').slideUp(100);
|
10
10
|
$(this).text("View source");
|
11
11
|
});
|
12
12
|
}
|
@@ -109,10 +109,10 @@ function summaryToggle() {
|
|
109
109
|
$('.summary_toggle').click(function() {
|
110
110
|
localStorage.summaryCollapsed = $(this).text();
|
111
111
|
$(this).text($(this).text() == "collapse" ? "expand" : "collapse");
|
112
|
-
var next = $(this).parent().parent().
|
112
|
+
var next = $(this).parent().parent().nextAll('ul.summary').first();
|
113
113
|
if (next.hasClass('compact')) {
|
114
114
|
next.toggle();
|
115
|
-
next.
|
115
|
+
next.nextAll('ul.summary').first().toggle();
|
116
116
|
}
|
117
117
|
else if (next.hasClass('summary')) {
|
118
118
|
var list = $('<ul class="summary compact" />');
|