stacked 0.5.0 → 1.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. data/.gitignore +3 -0
  2. data/Gemfile +3 -1
  3. data/Gemfile.lock +43 -0
  4. data/LICENSE +1 -1
  5. data/README.markdown +58 -25
  6. data/Rakefile +6 -45
  7. data/genddoc.sh +4 -1
  8. data/lib/stacked.rb +11 -9
  9. data/lib/stacked/answer.rb +10 -27
  10. data/lib/stacked/badge.rb +15 -11
  11. data/lib/stacked/base.rb +59 -92
  12. data/lib/stacked/client.rb +31 -0
  13. data/lib/stacked/comment.rb +13 -18
  14. data/lib/stacked/parser.rb +47 -0
  15. data/lib/stacked/post_timeline.rb +17 -0
  16. data/lib/stacked/question.rb +52 -51
  17. data/lib/stacked/{reputation.rb → rep_change.rb} +5 -3
  18. data/lib/stacked/tag.rb +10 -2
  19. data/lib/stacked/user.rb +29 -161
  20. data/lib/stacked/{usertimeline.rb → user_timeline.rb} +5 -5
  21. data/lib/stacked/version.rb +4 -0
  22. data/spec/fakes/answers/1237127 +0 -0
  23. data/spec/fakes/answers/2272830 +0 -0
  24. data/spec/fakes/answers/2558700 +0 -0
  25. data/spec/fakes/badges/index +0 -0
  26. data/spec/fakes/badges/name +0 -0
  27. data/spec/fakes/badges/tags +0 -0
  28. data/spec/fakes/comments/1063043 +0 -0
  29. data/spec/fakes/comments/2561833 +0 -0
  30. data/spec/fakes/questions/1236996 +0 -0
  31. data/spec/fakes/questions/1236996-answers +0 -0
  32. data/spec/fakes/questions/1236996-comments +0 -0
  33. data/spec/fakes/questions/1236996-timeline +0 -0
  34. data/spec/fakes/questions/4839321/answers +0 -0
  35. data/spec/fakes/questions/index +0 -0
  36. data/spec/fakes/questions/search +0 -0
  37. data/spec/fakes/questions/tagged +0 -0
  38. data/spec/fakes/questions/unanswered +0 -0
  39. data/spec/fakes/questions/withcomments +0 -0
  40. data/spec/fakes/stats/index +0 -0
  41. data/spec/fakes/tags/activity +0 -0
  42. data/spec/fakes/tags/index +0 -0
  43. data/spec/fakes/tags/name +0 -0
  44. data/spec/fakes/tags/popular +0 -0
  45. data/spec/fakes/users/148722 +0 -0
  46. data/spec/fakes/users/148722-comments +0 -0
  47. data/spec/fakes/users/148722-comments-by-creation +0 -0
  48. data/spec/fakes/users/148722-comments-by-votes +0 -0
  49. data/spec/fakes/users/22656 +0 -0
  50. data/spec/fakes/users/22656-answers +0 -0
  51. data/spec/fakes/users/22656-answers-by-activity +0 -0
  52. data/spec/fakes/users/22656-answers-by-creation +0 -0
  53. data/spec/fakes/users/22656-answers-by-views +0 -0
  54. data/spec/fakes/users/22656-answers-by-votes +0 -0
  55. data/spec/fakes/users/22656-badges +0 -0
  56. data/spec/fakes/users/22656-comments-mentioning-by-creation +0 -0
  57. data/spec/fakes/users/22656-comments-mentioning-by-votes +0 -0
  58. data/spec/fakes/users/22656-favorites +0 -0
  59. data/spec/fakes/users/22656-favorites-by-activity +0 -0
  60. data/spec/fakes/users/22656-favorites-by-added +0 -0
  61. data/spec/fakes/users/22656-favorites-by-creation +0 -0
  62. data/spec/fakes/users/22656-favorites-by-views +0 -0
  63. data/spec/fakes/users/22656-mentioned +0 -0
  64. data/spec/fakes/users/22656-questions +0 -0
  65. data/spec/fakes/users/22656-questions-by-activity +0 -0
  66. data/spec/fakes/users/22656-questions-by-creation +0 -0
  67. data/spec/fakes/users/22656-questions-by-views +0 -0
  68. data/spec/fakes/users/22656-questions-by-votes +0 -0
  69. data/spec/fakes/users/22656-reputation +0 -0
  70. data/spec/fakes/users/22656-reputation-ranged +0 -0
  71. data/spec/fakes/users/22656-tags +0 -0
  72. data/spec/fakes/users/22656-timeline +0 -0
  73. data/spec/fakes/users/filter +0 -0
  74. data/spec/fakes/users/index +0 -0
  75. data/spec/fakes/users/index-page2 +0 -0
  76. data/spec/fakes/users/index-pagesize1 +0 -0
  77. data/spec/fakes/users/name +0 -0
  78. data/spec/fakes/users/newest +0 -0
  79. data/spec/fakes/users/oldest +0 -0
  80. data/spec/sorted_by_spec.rb +2 -2
  81. data/spec/spec_helper.rb +10 -8
  82. data/spec/stacked/answer_spec.rb +9 -8
  83. data/spec/stacked/badge_spec.rb +11 -3
  84. data/spec/stacked/base_spec.rb +24 -2
  85. data/spec/stacked/comment_spec.rb +11 -9
  86. data/spec/stacked/question_spec.rb +49 -61
  87. data/spec/stacked/{reputation_spec.rb → rep_change_spec.rb} +9 -5
  88. data/spec/stacked/tag_spec.rb +13 -6
  89. data/spec/stacked/user_spec.rb +99 -70
  90. data/spec/stacked/{usertimeline_spec.rb → user_timeline_spec.rb} +1 -1
  91. data/spec/support/fakes.rb +28 -0
  92. data/spec/support/{sorted_by.rb → matchers/sorted_by.rb} +7 -6
  93. data/spec/support/{within.rb → matchers/within.rb} +3 -3
  94. data/spec/within_spec.rb +2 -2
  95. data/stacked.gemspec +23 -112
  96. metadata +248 -54
  97. data/README.rdoc +0 -18
  98. data/VERSION +0 -1
  99. data/doc/Stacked.html +0 -155
  100. data/doc/Stacked/Answer.html +0 -1394
  101. data/doc/Stacked/Badge.html +0 -480
  102. data/doc/Stacked/Base.html +0 -1124
  103. data/doc/Stacked/Comment.html +0 -1037
  104. data/doc/Stacked/NotImplemented.html +0 -162
  105. data/doc/Stacked/Posttimeline.html +0 -543
  106. data/doc/Stacked/Question.html +0 -1763
  107. data/doc/Stacked/Reputation.html +0 -606
  108. data/doc/Stacked/Tag.html +0 -267
  109. data/doc/Stacked/User.html +0 -2787
  110. data/doc/Stacked/Usertimeline.html +0 -630
  111. data/doc/_index.html +0 -246
  112. data/doc/file.README.html +0 -54
  113. data/doc/index.html +0 -54
  114. data/doc/method_list.html +0 -1203
  115. data/doc/top-level-namespace.html +0 -87
  116. data/lib/stacked/posttimeline.rb +0 -10
metadata CHANGED
@@ -1,97 +1,225 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stacked
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: -1848230051
5
+ prerelease: true
5
6
  segments:
7
+ - 1
6
8
  - 0
7
- - 5
8
9
  - 0
9
- version: 0.5.0
10
+ - beta1
11
+ version: 1.0.0.beta1
10
12
  platform: ruby
11
13
  authors:
12
14
  - Ryan Bigg
15
+ - Adam McDonald
13
16
  autorequire:
14
17
  bindir: bin
15
18
  cert_chain: []
16
19
 
17
- date: 2010-04-04 00:00:00 +11:00
20
+ date: 2011-02-01 00:00:00 +11:00
18
21
  default_executable:
19
22
  dependencies:
20
23
  - !ruby/object:Gem::Dependency
21
- name: rspec
24
+ name: bundler
22
25
  prerelease: false
23
26
  requirement: &id001 !ruby/object:Gem::Requirement
27
+ none: false
24
28
  requirements:
25
- - - ">="
29
+ - - ~>
26
30
  - !ruby/object:Gem::Version
31
+ hash: 15
27
32
  segments:
33
+ - 1
28
34
  - 0
29
- version: "0"
35
+ version: "1.0"
30
36
  type: :development
31
37
  version_requirements: *id001
32
38
  - !ruby/object:Gem::Dependency
33
- name: httparty
39
+ name: rake
34
40
  prerelease: false
35
41
  requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
36
43
  requirements:
37
44
  - - ~>
38
45
  - !ruby/object:Gem::Version
46
+ hash: 27
39
47
  segments:
40
48
  - 0
49
+ - 8
50
+ version: "0.8"
51
+ type: :development
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: rspec
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ hash: 11
62
+ segments:
63
+ - 2
41
64
  - 4
65
+ version: "2.4"
66
+ type: :development
67
+ version_requirements: *id003
68
+ - !ruby/object:Gem::Dependency
69
+ name: webmock
70
+ prerelease: false
71
+ requirement: &id004 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ hash: 11
77
+ segments:
78
+ - 1
79
+ - 6
80
+ - 2
81
+ version: 1.6.2
82
+ type: :development
83
+ version_requirements: *id004
84
+ - !ruby/object:Gem::Dependency
85
+ name: activesupport
86
+ prerelease: false
87
+ requirement: &id005 !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ~>
91
+ - !ruby/object:Gem::Version
92
+ hash: 1
93
+ segments:
94
+ - 3
95
+ - 0
96
+ - 3
97
+ version: 3.0.3
98
+ type: :runtime
99
+ version_requirements: *id005
100
+ - !ruby/object:Gem::Dependency
101
+ name: httparty
102
+ prerelease: false
103
+ requirement: &id006 !ruby/object:Gem::Requirement
104
+ none: false
105
+ requirements:
106
+ - - ~>
107
+ - !ruby/object:Gem::Version
108
+ hash: 5
109
+ segments:
110
+ - 0
111
+ - 7
112
+ - 3
113
+ version: 0.7.3
114
+ type: :runtime
115
+ version_requirements: *id006
116
+ - !ruby/object:Gem::Dependency
117
+ name: i18n
118
+ prerelease: false
119
+ requirement: &id007 !ruby/object:Gem::Requirement
120
+ none: false
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ hash: 11
125
+ segments:
126
+ - 0
42
127
  - 5
43
- version: 0.4.5
128
+ - 0
129
+ version: 0.5.0
44
130
  type: :runtime
45
- version_requirements: *id002
46
- description: Ruby wrapper for the Stack Overflow API
47
- email: ryan@getup.org.au
131
+ version_requirements: *id007
132
+ description:
133
+ email:
134
+ - mcdonald.adam@gmail.com
48
135
  executables: []
49
136
 
50
137
  extensions: []
51
138
 
52
- extra_rdoc_files:
53
- - LICENSE
54
- - README.markdown
55
- - README.rdoc
139
+ extra_rdoc_files: []
140
+
56
141
  files:
57
142
  - .document
58
143
  - .gitignore
59
144
  - Gemfile
145
+ - Gemfile.lock
60
146
  - LICENSE
61
147
  - README.markdown
62
- - README.rdoc
63
148
  - Rakefile
64
- - VERSION
65
149
  - cleaner.rb
66
- - doc/Stacked.html
67
- - doc/Stacked/Answer.html
68
- - doc/Stacked/Badge.html
69
- - doc/Stacked/Base.html
70
- - doc/Stacked/Comment.html
71
- - doc/Stacked/NotImplemented.html
72
- - doc/Stacked/Posttimeline.html
73
- - doc/Stacked/Question.html
74
- - doc/Stacked/Reputation.html
75
- - doc/Stacked/Tag.html
76
- - doc/Stacked/User.html
77
- - doc/Stacked/Usertimeline.html
78
- - doc/_index.html
79
- - doc/file.README.html
80
- - doc/index.html
81
- - doc/method_list.html
82
- - doc/top-level-namespace.html
83
150
  - genddoc.sh
84
151
  - lib/stacked.rb
85
152
  - lib/stacked/answer.rb
86
153
  - lib/stacked/badge.rb
87
154
  - lib/stacked/base.rb
155
+ - lib/stacked/client.rb
88
156
  - lib/stacked/comment.rb
89
- - lib/stacked/posttimeline.rb
157
+ - lib/stacked/parser.rb
158
+ - lib/stacked/post_timeline.rb
90
159
  - lib/stacked/question.rb
91
- - lib/stacked/reputation.rb
160
+ - lib/stacked/rep_change.rb
92
161
  - lib/stacked/tag.rb
93
162
  - lib/stacked/user.rb
94
- - lib/stacked/usertimeline.rb
163
+ - lib/stacked/user_timeline.rb
164
+ - lib/stacked/version.rb
165
+ - spec/fakes/answers/1237127
166
+ - spec/fakes/answers/2272830
167
+ - spec/fakes/answers/2558700
168
+ - spec/fakes/badges/index
169
+ - spec/fakes/badges/name
170
+ - spec/fakes/badges/tags
171
+ - spec/fakes/comments/1063043
172
+ - spec/fakes/comments/2561833
173
+ - spec/fakes/questions/1236996
174
+ - spec/fakes/questions/1236996-answers
175
+ - spec/fakes/questions/1236996-comments
176
+ - spec/fakes/questions/1236996-timeline
177
+ - spec/fakes/questions/4839321/answers
178
+ - spec/fakes/questions/index
179
+ - spec/fakes/questions/search
180
+ - spec/fakes/questions/tagged
181
+ - spec/fakes/questions/unanswered
182
+ - spec/fakes/questions/withcomments
183
+ - spec/fakes/stats/index
184
+ - spec/fakes/tags/activity
185
+ - spec/fakes/tags/index
186
+ - spec/fakes/tags/name
187
+ - spec/fakes/tags/popular
188
+ - spec/fakes/users/148722
189
+ - spec/fakes/users/148722-comments
190
+ - spec/fakes/users/148722-comments-by-creation
191
+ - spec/fakes/users/148722-comments-by-votes
192
+ - spec/fakes/users/22656
193
+ - spec/fakes/users/22656-answers
194
+ - spec/fakes/users/22656-answers-by-activity
195
+ - spec/fakes/users/22656-answers-by-creation
196
+ - spec/fakes/users/22656-answers-by-views
197
+ - spec/fakes/users/22656-answers-by-votes
198
+ - spec/fakes/users/22656-badges
199
+ - spec/fakes/users/22656-comments-mentioning-by-creation
200
+ - spec/fakes/users/22656-comments-mentioning-by-votes
201
+ - spec/fakes/users/22656-favorites
202
+ - spec/fakes/users/22656-favorites-by-activity
203
+ - spec/fakes/users/22656-favorites-by-added
204
+ - spec/fakes/users/22656-favorites-by-creation
205
+ - spec/fakes/users/22656-favorites-by-views
206
+ - spec/fakes/users/22656-mentioned
207
+ - spec/fakes/users/22656-questions
208
+ - spec/fakes/users/22656-questions-by-activity
209
+ - spec/fakes/users/22656-questions-by-creation
210
+ - spec/fakes/users/22656-questions-by-views
211
+ - spec/fakes/users/22656-questions-by-votes
212
+ - spec/fakes/users/22656-reputation
213
+ - spec/fakes/users/22656-reputation-ranged
214
+ - spec/fakes/users/22656-tags
215
+ - spec/fakes/users/22656-timeline
216
+ - spec/fakes/users/filter
217
+ - spec/fakes/users/index
218
+ - spec/fakes/users/index-page2
219
+ - spec/fakes/users/index-pagesize1
220
+ - spec/fakes/users/name
221
+ - spec/fakes/users/newest
222
+ - spec/fakes/users/oldest
95
223
  - spec/sorted_by_spec.rb
96
224
  - spec/spec_helper.rb
97
225
  - spec/stacked/answer_spec.rb
@@ -99,47 +227,112 @@ files:
99
227
  - spec/stacked/base_spec.rb
100
228
  - spec/stacked/comment_spec.rb
101
229
  - spec/stacked/question_spec.rb
102
- - spec/stacked/reputation_spec.rb
230
+ - spec/stacked/rep_change_spec.rb
103
231
  - spec/stacked/tag_spec.rb
104
232
  - spec/stacked/user_spec.rb
105
- - spec/stacked/usertimeline_spec.rb
233
+ - spec/stacked/user_timeline_spec.rb
106
234
  - spec/support/aliases.rb
107
- - spec/support/sorted_by.rb
108
- - spec/support/within.rb
235
+ - spec/support/fakes.rb
236
+ - spec/support/matchers/sorted_by.rb
237
+ - spec/support/matchers/within.rb
109
238
  - spec/within_spec.rb
110
239
  - stacked.gemspec
111
240
  - stylesheet.css
112
241
  has_rdoc: true
113
- homepage: http://github.com/radar/stacked
242
+ homepage: http://github.com/raid5/stacked
114
243
  licenses: []
115
244
 
116
245
  post_install_message:
117
- rdoc_options:
118
- - --charset=UTF-8
246
+ rdoc_options: []
247
+
119
248
  require_paths:
120
249
  - lib
121
250
  required_ruby_version: !ruby/object:Gem::Requirement
251
+ none: false
122
252
  requirements:
123
253
  - - ">="
124
254
  - !ruby/object:Gem::Version
255
+ hash: 3
125
256
  segments:
126
257
  - 0
127
258
  version: "0"
128
259
  required_rubygems_version: !ruby/object:Gem::Requirement
260
+ none: false
129
261
  requirements:
130
262
  - - ">="
131
263
  - !ruby/object:Gem::Version
264
+ hash: 23
132
265
  segments:
133
- - 0
134
- version: "0"
266
+ - 1
267
+ - 3
268
+ - 6
269
+ version: 1.3.6
135
270
  requirements: []
136
271
 
137
- rubyforge_project:
138
- rubygems_version: 1.3.6
272
+ rubyforge_project: stacked
273
+ rubygems_version: 1.3.7
139
274
  signing_key:
140
275
  specification_version: 3
141
- summary: Ruby wrapper for the Stack Overflow API
276
+ summary: Ruby wrapper for the Stackoverflow API
142
277
  test_files:
278
+ - spec/fakes/answers/1237127
279
+ - spec/fakes/answers/2272830
280
+ - spec/fakes/answers/2558700
281
+ - spec/fakes/badges/index
282
+ - spec/fakes/badges/name
283
+ - spec/fakes/badges/tags
284
+ - spec/fakes/comments/1063043
285
+ - spec/fakes/comments/2561833
286
+ - spec/fakes/questions/1236996
287
+ - spec/fakes/questions/1236996-answers
288
+ - spec/fakes/questions/1236996-comments
289
+ - spec/fakes/questions/1236996-timeline
290
+ - spec/fakes/questions/4839321/answers
291
+ - spec/fakes/questions/index
292
+ - spec/fakes/questions/search
293
+ - spec/fakes/questions/tagged
294
+ - spec/fakes/questions/unanswered
295
+ - spec/fakes/questions/withcomments
296
+ - spec/fakes/stats/index
297
+ - spec/fakes/tags/activity
298
+ - spec/fakes/tags/index
299
+ - spec/fakes/tags/name
300
+ - spec/fakes/tags/popular
301
+ - spec/fakes/users/148722
302
+ - spec/fakes/users/148722-comments
303
+ - spec/fakes/users/148722-comments-by-creation
304
+ - spec/fakes/users/148722-comments-by-votes
305
+ - spec/fakes/users/22656
306
+ - spec/fakes/users/22656-answers
307
+ - spec/fakes/users/22656-answers-by-activity
308
+ - spec/fakes/users/22656-answers-by-creation
309
+ - spec/fakes/users/22656-answers-by-views
310
+ - spec/fakes/users/22656-answers-by-votes
311
+ - spec/fakes/users/22656-badges
312
+ - spec/fakes/users/22656-comments-mentioning-by-creation
313
+ - spec/fakes/users/22656-comments-mentioning-by-votes
314
+ - spec/fakes/users/22656-favorites
315
+ - spec/fakes/users/22656-favorites-by-activity
316
+ - spec/fakes/users/22656-favorites-by-added
317
+ - spec/fakes/users/22656-favorites-by-creation
318
+ - spec/fakes/users/22656-favorites-by-views
319
+ - spec/fakes/users/22656-mentioned
320
+ - spec/fakes/users/22656-questions
321
+ - spec/fakes/users/22656-questions-by-activity
322
+ - spec/fakes/users/22656-questions-by-creation
323
+ - spec/fakes/users/22656-questions-by-views
324
+ - spec/fakes/users/22656-questions-by-votes
325
+ - spec/fakes/users/22656-reputation
326
+ - spec/fakes/users/22656-reputation-ranged
327
+ - spec/fakes/users/22656-tags
328
+ - spec/fakes/users/22656-timeline
329
+ - spec/fakes/users/filter
330
+ - spec/fakes/users/index
331
+ - spec/fakes/users/index-page2
332
+ - spec/fakes/users/index-pagesize1
333
+ - spec/fakes/users/name
334
+ - spec/fakes/users/newest
335
+ - spec/fakes/users/oldest
143
336
  - spec/sorted_by_spec.rb
144
337
  - spec/spec_helper.rb
145
338
  - spec/stacked/answer_spec.rb
@@ -147,11 +340,12 @@ test_files:
147
340
  - spec/stacked/base_spec.rb
148
341
  - spec/stacked/comment_spec.rb
149
342
  - spec/stacked/question_spec.rb
150
- - spec/stacked/reputation_spec.rb
343
+ - spec/stacked/rep_change_spec.rb
151
344
  - spec/stacked/tag_spec.rb
152
345
  - spec/stacked/user_spec.rb
153
- - spec/stacked/usertimeline_spec.rb
346
+ - spec/stacked/user_timeline_spec.rb
154
347
  - spec/support/aliases.rb
155
- - spec/support/sorted_by.rb
156
- - spec/support/within.rb
348
+ - spec/support/fakes.rb
349
+ - spec/support/matchers/sorted_by.rb
350
+ - spec/support/matchers/within.rb
157
351
  - spec/within_spec.rb
@@ -1,18 +0,0 @@
1
- = stacked
2
-
3
- Description goes here.
4
-
5
- == Note on Patches/Pull Requests
6
-
7
- * Fork the project.
8
- * Make your feature addition or bug fix.
9
- * Add tests for it. This is important so I don't break it in a
10
- future version unintentionally.
11
- * Commit, do not mess with rakefile, version, or history.
12
- (if you want to have your own version, that is fine but
13
- bump version in a commit by itself I can ignore when I pull)
14
- * Send me a pull request. Bonus points for topic branches.
15
-
16
- == Copyright
17
-
18
- Copyright (c) 2010 Ryan Bigg. See LICENSE for details.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.5.0
@@ -1,155 +0,0 @@
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>Module: Stacked</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 (S)</a> &raquo;
27
-
28
-
29
- <span class="title">Stacked</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>Module: Stacked
47
-
48
-
49
- </h1>
50
-
51
- <dl class="box">
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
- <dt class="r1 last">Defined in:</dt>
61
- <dd class="r1 last">lib/stacked.rb<span class="defines">,<br />
62
- lib/stacked/tag.rb,<br /> lib/stacked/user.rb,<br /> lib/stacked/base.rb,<br /> lib/stacked/badge.rb,<br /> lib/stacked/answer.rb,<br /> lib/stacked/comment.rb,<br /> lib/stacked/question.rb,<br /> lib/stacked/reputation.rb,<br /> lib/stacked/posttimeline.rb,<br /> lib/stacked/usertimeline.rb</span>
63
- </dd>
64
-
65
- </dl>
66
- <div class="clear"></div>
67
-
68
- <h2>Defined Under Namespace</h2>
69
- <p class="children">
70
-
71
-
72
-
73
-
74
- <strong class="classes">Classes:</strong> <a href="Stacked/Answer.html" title="Stacked::Answer (class)">Answer</a>, <a href="Stacked/Badge.html" title="Stacked::Badge (class)">Badge</a>, <a href="Stacked/Base.html" title="Stacked::Base (class)">Base</a>, <a href="Stacked/Comment.html" title="Stacked::Comment (class)">Comment</a>, <a href="Stacked/NotImplemented.html" title="Stacked::NotImplemented (class)">NotImplemented</a>, <a href="Stacked/Posttimeline.html" title="Stacked::Posttimeline (class)">Posttimeline</a>, <a href="Stacked/Question.html" title="Stacked::Question (class)">Question</a>, <a href="Stacked/Reputation.html" title="Stacked::Reputation (class)">Reputation</a>, <a href="Stacked/Tag.html" title="Stacked::Tag (class)">Tag</a>, <a href="Stacked/User.html" title="Stacked::User (class)">User</a>, <a href="Stacked/Usertimeline.html" title="Stacked::Usertimeline (class)">Usertimeline</a>
75
-
76
-
77
- </p>
78
-
79
-
80
-
81
-
82
- <h2>Class Method Summary</h2>
83
-
84
- <ul class="summary">
85
-
86
- <li class="public ">
87
- <span class="summary_signature">
88
-
89
- <a href="#autoload-class_method" title="autoload (class method)">+ (Object) <strong>autoload</strong>(klass) </a>
90
-
91
-
92
-
93
- </span>
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
- <span class="summary_desc"><div class='inline'></div></span>
102
-
103
- </li>
104
-
105
-
106
- </ul>
107
-
108
-
109
-
110
-
111
- <div id="class_method_details" class="method_details_list">
112
- <h2>Class Method Details</h2>
113
-
114
-
115
- <div class="method_details first">
116
- <p class="signature first" id="autoload-class_method">
117
-
118
- + (<tt>Object</tt>) <strong>autoload</strong>(klass)
119
-
120
-
121
-
122
- </p><table class="source_code">
123
- <tr>
124
- <td>
125
- <pre class="lines">
126
-
127
-
128
- 24
129
- 25
130
- 26</pre>
131
- </td>
132
- <td>
133
- <pre class="code"><span class="info file"># File 'lib/stacked.rb', line 24</span>
134
-
135
- <span class='def def kw'>def</span> <span class='autoload identifier id'>autoload</span><span class='lparen token'>(</span><span class='klass identifier id'>klass</span><span class='rparen token'>)</span>
136
- <span class='super super kw'>super</span><span class='lparen token'>(</span><span class='klass identifier id'>klass</span><span class='comma token'>,</span> <span class='dstring node'>&quot;stacked/#{klass.to_s.underscore}&quot;</span><span class='rparen token'>)</span>
137
- <span class='end end kw'>end</span>
138
- </pre>
139
- </td>
140
- </tr>
141
- </table>
142
- </div>
143
-
144
- </div>
145
-
146
- </div>
147
-
148
- <div id="footer">
149
- Generated on Sun Apr 4 18:16:32 2010 by
150
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
151
- 0.5.4 (ruby-1.8.7).
152
- </div>
153
-
154
- </body>
155
- </html>