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,480 @@
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::Badge</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 (B)</a> &raquo;
27
+ <span class='title'><a href="../Stacked.html" title="Stacked (module)">Stacked</a></span>
28
+ &raquo;
29
+ <span class="title">Badge</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::Badge
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::Badge</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/badge.rb</dd>
79
+
80
+ </dl>
81
+ <div class="clear"></div>
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <h2>Instance Attribute Summary</h2>
91
+ <ul class="summary">
92
+
93
+ <li class="public ">
94
+ <span class="summary_signature">
95
+
96
+ <a href="#award_count-instance_method" title="#award_count (instance method)">- (Object) <strong>award_count</strong> </a>
97
+
98
+
99
+
100
+ </span>
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+ <span class="summary_desc"><div class='inline'><p>
112
+ Returns the value of attribute award_count.
113
+ </p>
114
+ </div></span>
115
+
116
+ </li>
117
+
118
+
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#badge_id-instance_method" title="#badge_id (instance method)">- (Object) <strong>badge_id</strong> </a>
123
+
124
+
125
+
126
+ (also: #id)
127
+
128
+ </span>
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <span class="summary_desc"><div class='inline'><p>
140
+ Returns the value of attribute badge_id.
141
+ </p>
142
+ </div></span>
143
+
144
+ </li>
145
+
146
+
147
+ <li class="public ">
148
+ <span class="summary_signature">
149
+
150
+ <a href="#class-instance_method" title="#class (instance method)">- (Object) <strong>class</strong> </a>
151
+
152
+
153
+
154
+ </span>
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+ <span class="summary_desc"><div class='inline'><p>
166
+ Returns the value of attribute class.
167
+ </p>
168
+ </div></span>
169
+
170
+ </li>
171
+
172
+
173
+ <li class="public ">
174
+ <span class="summary_signature">
175
+
176
+ <a href="#description-instance_method" title="#description (instance method)">- (Object) <strong>description</strong> </a>
177
+
178
+
179
+
180
+ </span>
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+ <span class="summary_desc"><div class='inline'><p>
192
+ Returns the value of attribute description.
193
+ </p>
194
+ </div></span>
195
+
196
+ </li>
197
+
198
+
199
+ <li class="public ">
200
+ <span class="summary_signature">
201
+
202
+ <a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
203
+
204
+
205
+
206
+ </span>
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+ <span class="summary_desc"><div class='inline'><p>
218
+ Returns the value of attribute name.
219
+ </p>
220
+ </div></span>
221
+
222
+ </li>
223
+
224
+
225
+ </ul>
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+ <h2>Method Summary</h2>
235
+
236
+ <h3 class="inherited">Methods inherited from <a href="Base.html" title="Stacked::Base (class)">Base</a></h3>
237
+ <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>
238
+
239
+ <div id="constructor_details" class="method_details_list">
240
+ <h2>Constructor Details</h2>
241
+
242
+ <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>
243
+
244
+ </div>
245
+
246
+ <div id="instance_attr_details" class="attr_details">
247
+ <h2>Instance Attribute Details</h2>
248
+
249
+
250
+ <span id="award_count=-instance_method"></span>
251
+ <span id="award_count-instance_method"></span>
252
+ <div class="method_details first">
253
+ <p class="signature first" id="award_count-instance_method">
254
+
255
+ - (<tt>Object</tt>) <strong>award_count</strong>
256
+
257
+
258
+
259
+ </p><div class="docstring">
260
+ <div class="discussion">
261
+ <p>
262
+ Returns the value of attribute award_count
263
+ </p>
264
+
265
+
266
+ </div>
267
+ </div>
268
+ <div class="tags">
269
+
270
+ </div><table class="source_code">
271
+ <tr>
272
+ <td>
273
+ <pre class="lines">
274
+
275
+
276
+ 3
277
+ 4
278
+ 5</pre>
279
+ </td>
280
+ <td>
281
+ <pre class="code"><span class="info file"># File 'lib/stacked/badge.rb', line 3</span>
282
+
283
+ <span class='def def kw'>def</span> <span class='award_count identifier id'>award_count</span>
284
+ <span class='@award_count ivar id'>@award_count</span>
285
+ <span class='end end kw'>end</span>
286
+ </pre>
287
+ </td>
288
+ </tr>
289
+ </table>
290
+ </div>
291
+
292
+
293
+ <span id="badge_id=-instance_method"></span>
294
+ <span id="badge_id-instance_method"></span>
295
+ <div class="method_details ">
296
+ <p class="signature " id="badge_id-instance_method">
297
+
298
+ - (<tt>Object</tt>) <strong>badge_id</strong>
299
+
300
+
301
+
302
+ <span class="aliases">Also known as:
303
+ <span class="names"><span id='id-instance_method'>id</span></span>
304
+ </span>
305
+
306
+ </p><div class="docstring">
307
+ <div class="discussion">
308
+ <p>
309
+ Returns the value of attribute badge_id
310
+ </p>
311
+
312
+
313
+ </div>
314
+ </div>
315
+ <div class="tags">
316
+
317
+ </div><table class="source_code">
318
+ <tr>
319
+ <td>
320
+ <pre class="lines">
321
+
322
+
323
+ 3
324
+ 4
325
+ 5</pre>
326
+ </td>
327
+ <td>
328
+ <pre class="code"><span class="info file"># File 'lib/stacked/badge.rb', line 3</span>
329
+
330
+ <span class='def def kw'>def</span> <span class='badge_id identifier id'>badge_id</span>
331
+ <span class='@badge_id ivar id'>@badge_id</span>
332
+ <span class='end end kw'>end</span>
333
+ </pre>
334
+ </td>
335
+ </tr>
336
+ </table>
337
+ </div>
338
+
339
+
340
+ <span id="class=-instance_method"></span>
341
+ <span id="class-instance_method"></span>
342
+ <div class="method_details ">
343
+ <p class="signature " id="class-instance_method">
344
+
345
+ - (<tt>Object</tt>) <strong>class</strong>
346
+
347
+
348
+
349
+ </p><div class="docstring">
350
+ <div class="discussion">
351
+ <p>
352
+ Returns the value of attribute class
353
+ </p>
354
+
355
+
356
+ </div>
357
+ </div>
358
+ <div class="tags">
359
+
360
+ </div><table class="source_code">
361
+ <tr>
362
+ <td>
363
+ <pre class="lines">
364
+
365
+
366
+ 3
367
+ 4
368
+ 5</pre>
369
+ </td>
370
+ <td>
371
+ <pre class="code"><span class="info file"># File 'lib/stacked/badge.rb', line 3</span>
372
+
373
+ <span class='def def kw'>def</span> <span class='class class kw'>class</span>
374
+ <span class='@class ivar id'>@class</span>
375
+ <span class='end end kw'>end</span>
376
+ </pre>
377
+ </td>
378
+ </tr>
379
+ </table>
380
+ </div>
381
+
382
+
383
+ <span id="description=-instance_method"></span>
384
+ <span id="description-instance_method"></span>
385
+ <div class="method_details ">
386
+ <p class="signature " id="description-instance_method">
387
+
388
+ - (<tt>Object</tt>) <strong>description</strong>
389
+
390
+
391
+
392
+ </p><div class="docstring">
393
+ <div class="discussion">
394
+ <p>
395
+ Returns the value of attribute description
396
+ </p>
397
+
398
+
399
+ </div>
400
+ </div>
401
+ <div class="tags">
402
+
403
+ </div><table class="source_code">
404
+ <tr>
405
+ <td>
406
+ <pre class="lines">
407
+
408
+
409
+ 3
410
+ 4
411
+ 5</pre>
412
+ </td>
413
+ <td>
414
+ <pre class="code"><span class="info file"># File 'lib/stacked/badge.rb', line 3</span>
415
+
416
+ <span class='def def kw'>def</span> <span class='description identifier id'>description</span>
417
+ <span class='@description ivar id'>@description</span>
418
+ <span class='end end kw'>end</span>
419
+ </pre>
420
+ </td>
421
+ </tr>
422
+ </table>
423
+ </div>
424
+
425
+
426
+ <span id="name=-instance_method"></span>
427
+ <span id="name-instance_method"></span>
428
+ <div class="method_details ">
429
+ <p class="signature " id="name-instance_method">
430
+
431
+ - (<tt>Object</tt>) <strong>name</strong>
432
+
433
+
434
+
435
+ </p><div class="docstring">
436
+ <div class="discussion">
437
+ <p>
438
+ Returns the value of attribute name
439
+ </p>
440
+
441
+
442
+ </div>
443
+ </div>
444
+ <div class="tags">
445
+
446
+ </div><table class="source_code">
447
+ <tr>
448
+ <td>
449
+ <pre class="lines">
450
+
451
+
452
+ 3
453
+ 4
454
+ 5</pre>
455
+ </td>
456
+ <td>
457
+ <pre class="code"><span class="info file"># File 'lib/stacked/badge.rb', line 3</span>
458
+
459
+ <span class='def def kw'>def</span> <span class='name identifier id'>name</span>
460
+ <span class='@name ivar id'>@name</span>
461
+ <span class='end end kw'>end</span>
462
+ </pre>
463
+ </td>
464
+ </tr>
465
+ </table>
466
+ </div>
467
+
468
+ </div>
469
+
470
+
471
+ </div>
472
+
473
+ <div id="footer">
474
+ Generated on Sun Apr 4 18:16:31 2010 by
475
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
476
+ 0.5.4 (ruby-1.8.7).
477
+ </div>
478
+
479
+ </body>
480
+ </html>