stacked 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/.document +5 -0
  2. data/.gitignore +6 -0
  3. data/Gemfile +1 -0
  4. data/LICENSE +20 -0
  5. data/README.markdown +37 -0
  6. data/README.rdoc +18 -0
  7. data/Rakefile +51 -0
  8. data/VERSION +1 -0
  9. data/cleaner.rb +29 -0
  10. data/doc/Stacked.html +155 -0
  11. data/doc/Stacked/Answer.html +1394 -0
  12. data/doc/Stacked/Badge.html +480 -0
  13. data/doc/Stacked/Base.html +1124 -0
  14. data/doc/Stacked/Comment.html +1037 -0
  15. data/doc/Stacked/NotImplemented.html +162 -0
  16. data/doc/Stacked/Posttimeline.html +543 -0
  17. data/doc/Stacked/Question.html +1763 -0
  18. data/doc/Stacked/Reputation.html +606 -0
  19. data/doc/Stacked/Tag.html +267 -0
  20. data/doc/Stacked/User.html +2787 -0
  21. data/doc/Stacked/Usertimeline.html +630 -0
  22. data/doc/_index.html +246 -0
  23. data/doc/file.README.html +54 -0
  24. data/doc/index.html +54 -0
  25. data/doc/method_list.html +1203 -0
  26. data/doc/top-level-namespace.html +87 -0
  27. data/genddoc.sh +12 -0
  28. data/lib/stacked.rb +46 -0
  29. data/lib/stacked/answer.rb +43 -0
  30. data/lib/stacked/badge.rb +18 -0
  31. data/lib/stacked/base.rb +159 -0
  32. data/lib/stacked/comment.rb +37 -0
  33. data/lib/stacked/posttimeline.rb +10 -0
  34. data/lib/stacked/question.rb +85 -0
  35. data/lib/stacked/reputation.rb +15 -0
  36. data/lib/stacked/tag.rb +9 -0
  37. data/lib/stacked/user.rb +195 -0
  38. data/lib/stacked/usertimeline.rb +14 -0
  39. data/spec/sorted_by_spec.rb +24 -0
  40. data/spec/spec_helper.rb +16 -0
  41. data/spec/stacked/answer_spec.rb +31 -0
  42. data/spec/stacked/badge_spec.rb +17 -0
  43. data/spec/stacked/base_spec.rb +27 -0
  44. data/spec/stacked/comment_spec.rb +41 -0
  45. data/spec/stacked/question_spec.rb +110 -0
  46. data/spec/stacked/reputation_spec.rb +18 -0
  47. data/spec/stacked/tag_spec.rb +21 -0
  48. data/spec/stacked/user_spec.rb +187 -0
  49. data/spec/stacked/usertimeline_spec.rb +5 -0
  50. data/spec/support/aliases.rb +7 -0
  51. data/spec/support/sorted_by.rb +31 -0
  52. data/spec/support/within.rb +24 -0
  53. data/spec/within_spec.rb +19 -0
  54. data/stacked.gemspec +115 -0
  55. data/stylesheet.css +41 -0
  56. metadata +157 -0
@@ -0,0 +1,630 @@
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 name="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Class: Stacked::Usertimeline</title>
7
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+ <a href="../_index.html">Index (U)</a> &raquo;
27
+ <span class='title'><a href="../Stacked.html" title="Stacked (module)">Stacked</a></span>
28
+ &raquo;
29
+ <span class="title">Usertimeline</span>
30
+
31
+
32
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ </div>
34
+
35
+ <div id="search">
36
+ <a id="class_list_link" href="#">Class List</a>
37
+ <a id="method_list_link" href="#">Method List</a>
38
+ <a id ="file_list_link" href="#">File List</a>
39
+ </div>
40
+
41
+ <div class="clear"></div>
42
+ </div>
43
+
44
+ <iframe id="search_frame"></iframe>
45
+
46
+ <div id="content"><h1>Class: Stacked::Usertimeline
47
+
48
+
49
+ </h1>
50
+
51
+ <dl class="box">
52
+
53
+ <dt class="r1">Inherits:</dt>
54
+ <dd class="r1">
55
+ <span class="inheritName"><a href="Base.html" title="Stacked::Base (class)">Base</a></span>
56
+
57
+ <ul class="fullTree">
58
+ <li>Object</li>
59
+
60
+ <li class="next"><a href="Base.html" title="Stacked::Base (class)">Base</a></li>
61
+
62
+ <li class="next">Stacked::Usertimeline</li>
63
+
64
+ </ul>
65
+ <a href="#" class="inheritanceTree">show all</a>
66
+
67
+ </dd>
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ <dt class="r2 last">Defined in:</dt>
78
+ <dd class="r2 last">lib/stacked/usertimeline.rb</dd>
79
+
80
+ </dl>
81
+ <div class="clear"></div>
82
+
83
+ <h2>Overview</h2><div class="docstring">
84
+ <div class="discussion">
85
+ <p>
86
+ I would really <b>love</b> to call this UserTimeline but alas, the API
87
+ fails me.
88
+ </p>
89
+
90
+
91
+ </div>
92
+ </div>
93
+ <div class="tags">
94
+
95
+ </div>
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <h2>Instance Attribute Summary</h2>
103
+ <ul class="summary">
104
+
105
+ <li class="public ">
106
+ <span class="summary_signature">
107
+
108
+ <a href="#action-instance_method" title="#action (instance method)">- (Object) <strong>action</strong> </a>
109
+
110
+
111
+
112
+ </span>
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ <span class="summary_desc"><div class='inline'><p>
124
+ Returns the value of attribute action.
125
+ </p>
126
+ </div></span>
127
+
128
+ </li>
129
+
130
+
131
+ <li class="public ">
132
+ <span class="summary_signature">
133
+
134
+ <a href="#comment_id-instance_method" title="#comment_id (instance method)">- (Object) <strong>comment_id</strong> </a>
135
+
136
+
137
+
138
+ </span>
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+ <span class="summary_desc"><div class='inline'><p>
150
+ Returns the value of attribute comment_id.
151
+ </p>
152
+ </div></span>
153
+
154
+ </li>
155
+
156
+
157
+ <li class="public ">
158
+ <span class="summary_signature">
159
+
160
+ <a href="#creation_date-instance_method" title="#creation_date (instance method)">- (Object) <strong>creation_date</strong> </a>
161
+
162
+
163
+
164
+ (also: #created_at)
165
+
166
+ </span>
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+ <span class="summary_desc"><div class='inline'><p>
178
+ Returns the value of attribute creation_date.
179
+ </p>
180
+ </div></span>
181
+
182
+ </li>
183
+
184
+
185
+ <li class="public ">
186
+ <span class="summary_signature">
187
+
188
+ <a href="#description-instance_method" title="#description (instance method)">- (Object) <strong>description</strong> </a>
189
+
190
+
191
+
192
+ </span>
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+ <span class="summary_desc"><div class='inline'><p>
204
+ Returns the value of attribute description.
205
+ </p>
206
+ </div></span>
207
+
208
+ </li>
209
+
210
+
211
+ <li class="public ">
212
+ <span class="summary_signature">
213
+
214
+ <a href="#detail-instance_method" title="#detail (instance method)">- (Object) <strong>detail</strong> </a>
215
+
216
+
217
+
218
+ </span>
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+ <span class="summary_desc"><div class='inline'><p>
230
+ Returns the value of attribute detail.
231
+ </p>
232
+ </div></span>
233
+
234
+ </li>
235
+
236
+
237
+ <li class="public ">
238
+ <span class="summary_signature">
239
+
240
+ <a href="#post_id-instance_method" title="#post_id (instance method)">- (Object) <strong>post_id</strong> </a>
241
+
242
+
243
+
244
+ </span>
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+ <span class="summary_desc"><div class='inline'><p>
256
+ Returns the value of attribute post_id.
257
+ </p>
258
+ </div></span>
259
+
260
+ </li>
261
+
262
+
263
+ <li class="public ">
264
+ <span class="summary_signature">
265
+
266
+ <a href="#timeline_type-instance_method" title="#timeline_type (instance method)">- (Object) <strong>timeline_type</strong> </a>
267
+
268
+
269
+
270
+ </span>
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+ <span class="summary_desc"><div class='inline'><p>
282
+ Returns the value of attribute timeline_type.
283
+ </p>
284
+ </div></span>
285
+
286
+ </li>
287
+
288
+
289
+ </ul>
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+ <h2>Method Summary</h2>
299
+
300
+ <h3 class="inherited">Methods inherited from <a href="Base.html" title="Stacked::Base (class)">Base</a></h3>
301
+ <p class="inherited"><a href="Base.html#all-class_method" title="Stacked::Base.all (method)">all</a>, <a href="Base.html#association-class_method" title="Stacked::Base.association (method)">association</a>, <a href="Base.html#collection-class_method" title="Stacked::Base.collection (method)">collection</a>, <a href="Base.html#find-class_method" title="Stacked::Base.find (method)">find</a>, <a href="Base.html#initialize-instance_method" title="Stacked::Base#initialize (method)">#initialize</a>, <a href="Base.html#parse_answers-instance_method" title="Stacked::Base#parse_answers (method)">#parse_answers</a>, <a href="Base.html#parse_badges-instance_method" title="Stacked::Base#parse_badges (method)">#parse_badges</a>, <a href="Base.html#parse_comments-instance_method" title="Stacked::Base#parse_comments (method)">#parse_comments</a>, <a href="Base.html#parse_post_timeline-instance_method" title="Stacked::Base#parse_post_timeline (method)">#parse_post_timeline</a>, <a href="Base.html#parse_questions-instance_method" title="Stacked::Base#parse_questions (method)">#parse_questions</a>, <a href="Base.html#parse_reputations-instance_method" title="Stacked::Base#parse_reputations (method)">#parse_reputations</a>, <a href="Base.html#parse_tags-instance_method" title="Stacked::Base#parse_tags (method)">#parse_tags</a>, <a href="Base.html#parse_type-instance_method" title="Stacked::Base#parse_type (method)">#parse_type</a>, <a href="Base.html#parse_user_timeline-instance_method" title="Stacked::Base#parse_user_timeline (method)">#parse_user_timeline</a>, <a href="Base.html#post-instance_method" title="Stacked::Base#post (method)">#post</a>, <a href="Base.html#records-class_method" title="Stacked::Base.records (method)">records</a>, <a href="Base.html#request-class_method" title="Stacked::Base.request (method)">request</a>, <a href="Base.html#singular-class_method" title="Stacked::Base.singular (method)">singular</a>, <a href="Base.html#stats-class_method" title="Stacked::Base.stats (method)">stats</a></p>
302
+
303
+ <div id="constructor_details" class="method_details_list">
304
+ <h2>Constructor Details</h2>
305
+
306
+ <p class="notice">This class inherits a constructor from <a href="Base.html#initialize-instance_method" title="Stacked::Base#initialize (method)">Stacked::Base</a></p>
307
+
308
+ </div>
309
+
310
+ <div id="instance_attr_details" class="attr_details">
311
+ <h2>Instance Attribute Details</h2>
312
+
313
+
314
+ <span id="action=-instance_method"></span>
315
+ <span id="action-instance_method"></span>
316
+ <div class="method_details first">
317
+ <p class="signature first" id="action-instance_method">
318
+
319
+ - (<tt>Object</tt>) <strong>action</strong>
320
+
321
+
322
+
323
+ </p><div class="docstring">
324
+ <div class="discussion">
325
+ <p>
326
+ Returns the value of attribute action
327
+ </p>
328
+
329
+
330
+ </div>
331
+ </div>
332
+ <div class="tags">
333
+
334
+ </div><table class="source_code">
335
+ <tr>
336
+ <td>
337
+ <pre class="lines">
338
+
339
+
340
+ 4
341
+ 5
342
+ 6</pre>
343
+ </td>
344
+ <td>
345
+ <pre class="code"><span class="info file"># File 'lib/stacked/usertimeline.rb', line 4</span>
346
+
347
+ <span class='def def kw'>def</span> <span class='action identifier id'>action</span>
348
+ <span class='@action ivar id'>@action</span>
349
+ <span class='end end kw'>end</span>
350
+ </pre>
351
+ </td>
352
+ </tr>
353
+ </table>
354
+ </div>
355
+
356
+
357
+ <span id="comment_id=-instance_method"></span>
358
+ <span id="comment_id-instance_method"></span>
359
+ <div class="method_details ">
360
+ <p class="signature " id="comment_id-instance_method">
361
+
362
+ - (<tt>Object</tt>) <strong>comment_id</strong>
363
+
364
+
365
+
366
+ </p><div class="docstring">
367
+ <div class="discussion">
368
+ <p>
369
+ Returns the value of attribute comment_id
370
+ </p>
371
+
372
+
373
+ </div>
374
+ </div>
375
+ <div class="tags">
376
+
377
+ </div><table class="source_code">
378
+ <tr>
379
+ <td>
380
+ <pre class="lines">
381
+
382
+
383
+ 4
384
+ 5
385
+ 6</pre>
386
+ </td>
387
+ <td>
388
+ <pre class="code"><span class="info file"># File 'lib/stacked/usertimeline.rb', line 4</span>
389
+
390
+ <span class='def def kw'>def</span> <span class='comment_id identifier id'>comment_id</span>
391
+ <span class='@comment_id ivar id'>@comment_id</span>
392
+ <span class='end end kw'>end</span>
393
+ </pre>
394
+ </td>
395
+ </tr>
396
+ </table>
397
+ </div>
398
+
399
+
400
+ <span id="creation_date=-instance_method"></span>
401
+ <span id="creation_date-instance_method"></span>
402
+ <div class="method_details ">
403
+ <p class="signature " id="creation_date-instance_method">
404
+
405
+ - (<tt>Object</tt>) <strong>creation_date</strong>
406
+
407
+
408
+
409
+ <span class="aliases">Also known as:
410
+ <span class="names"><span id='created_at-instance_method'>created_at</span></span>
411
+ </span>
412
+
413
+ </p><div class="docstring">
414
+ <div class="discussion">
415
+ <p>
416
+ Returns the value of attribute creation_date
417
+ </p>
418
+
419
+
420
+ </div>
421
+ </div>
422
+ <div class="tags">
423
+
424
+ </div><table class="source_code">
425
+ <tr>
426
+ <td>
427
+ <pre class="lines">
428
+
429
+
430
+ 4
431
+ 5
432
+ 6</pre>
433
+ </td>
434
+ <td>
435
+ <pre class="code"><span class="info file"># File 'lib/stacked/usertimeline.rb', line 4</span>
436
+
437
+ <span class='def def kw'>def</span> <span class='creation_date identifier id'>creation_date</span>
438
+ <span class='@creation_date ivar id'>@creation_date</span>
439
+ <span class='end end kw'>end</span>
440
+ </pre>
441
+ </td>
442
+ </tr>
443
+ </table>
444
+ </div>
445
+
446
+
447
+ <span id="description=-instance_method"></span>
448
+ <span id="description-instance_method"></span>
449
+ <div class="method_details ">
450
+ <p class="signature " id="description-instance_method">
451
+
452
+ - (<tt>Object</tt>) <strong>description</strong>
453
+
454
+
455
+
456
+ </p><div class="docstring">
457
+ <div class="discussion">
458
+ <p>
459
+ Returns the value of attribute description
460
+ </p>
461
+
462
+
463
+ </div>
464
+ </div>
465
+ <div class="tags">
466
+
467
+ </div><table class="source_code">
468
+ <tr>
469
+ <td>
470
+ <pre class="lines">
471
+
472
+
473
+ 4
474
+ 5
475
+ 6</pre>
476
+ </td>
477
+ <td>
478
+ <pre class="code"><span class="info file"># File 'lib/stacked/usertimeline.rb', line 4</span>
479
+
480
+ <span class='def def kw'>def</span> <span class='description identifier id'>description</span>
481
+ <span class='@description ivar id'>@description</span>
482
+ <span class='end end kw'>end</span>
483
+ </pre>
484
+ </td>
485
+ </tr>
486
+ </table>
487
+ </div>
488
+
489
+
490
+ <span id="detail=-instance_method"></span>
491
+ <span id="detail-instance_method"></span>
492
+ <div class="method_details ">
493
+ <p class="signature " id="detail-instance_method">
494
+
495
+ - (<tt>Object</tt>) <strong>detail</strong>
496
+
497
+
498
+
499
+ </p><div class="docstring">
500
+ <div class="discussion">
501
+ <p>
502
+ Returns the value of attribute detail
503
+ </p>
504
+
505
+
506
+ </div>
507
+ </div>
508
+ <div class="tags">
509
+
510
+ </div><table class="source_code">
511
+ <tr>
512
+ <td>
513
+ <pre class="lines">
514
+
515
+
516
+ 4
517
+ 5
518
+ 6</pre>
519
+ </td>
520
+ <td>
521
+ <pre class="code"><span class="info file"># File 'lib/stacked/usertimeline.rb', line 4</span>
522
+
523
+ <span class='def def kw'>def</span> <span class='detail identifier id'>detail</span>
524
+ <span class='@detail ivar id'>@detail</span>
525
+ <span class='end end kw'>end</span>
526
+ </pre>
527
+ </td>
528
+ </tr>
529
+ </table>
530
+ </div>
531
+
532
+
533
+ <span id="post_id=-instance_method"></span>
534
+ <span id="post_id-instance_method"></span>
535
+ <div class="method_details ">
536
+ <p class="signature " id="post_id-instance_method">
537
+
538
+ - (<tt>Object</tt>) <strong>post_id</strong>
539
+
540
+
541
+
542
+ </p><div class="docstring">
543
+ <div class="discussion">
544
+ <p>
545
+ Returns the value of attribute post_id
546
+ </p>
547
+
548
+
549
+ </div>
550
+ </div>
551
+ <div class="tags">
552
+
553
+ </div><table class="source_code">
554
+ <tr>
555
+ <td>
556
+ <pre class="lines">
557
+
558
+
559
+ 4
560
+ 5
561
+ 6</pre>
562
+ </td>
563
+ <td>
564
+ <pre class="code"><span class="info file"># File 'lib/stacked/usertimeline.rb', line 4</span>
565
+
566
+ <span class='def def kw'>def</span> <span class='post_id identifier id'>post_id</span>
567
+ <span class='@post_id ivar id'>@post_id</span>
568
+ <span class='end end kw'>end</span>
569
+ </pre>
570
+ </td>
571
+ </tr>
572
+ </table>
573
+ </div>
574
+
575
+
576
+ <span id="timeline_type=-instance_method"></span>
577
+ <span id="timeline_type-instance_method"></span>
578
+ <div class="method_details ">
579
+ <p class="signature " id="timeline_type-instance_method">
580
+
581
+ - (<tt>Object</tt>) <strong>timeline_type</strong>
582
+
583
+
584
+
585
+ </p><div class="docstring">
586
+ <div class="discussion">
587
+ <p>
588
+ Returns the value of attribute timeline_type
589
+ </p>
590
+
591
+
592
+ </div>
593
+ </div>
594
+ <div class="tags">
595
+
596
+ </div><table class="source_code">
597
+ <tr>
598
+ <td>
599
+ <pre class="lines">
600
+
601
+
602
+ 4
603
+ 5
604
+ 6</pre>
605
+ </td>
606
+ <td>
607
+ <pre class="code"><span class="info file"># File 'lib/stacked/usertimeline.rb', line 4</span>
608
+
609
+ <span class='def def kw'>def</span> <span class='timeline_type identifier id'>timeline_type</span>
610
+ <span class='@timeline_type ivar id'>@timeline_type</span>
611
+ <span class='end end kw'>end</span>
612
+ </pre>
613
+ </td>
614
+ </tr>
615
+ </table>
616
+ </div>
617
+
618
+ </div>
619
+
620
+
621
+ </div>
622
+
623
+ <div id="footer">
624
+ Generated on Sun Apr 4 18:16:35 2010 by
625
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
626
+ 0.5.4 (ruby-1.8.7).
627
+ </div>
628
+
629
+ </body>
630
+ </html>