safubot 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. data/.yardoc/checksums +9 -0
  2. data/.yardoc/objects/root.dat +0 -0
  3. data/.yardoc/proxy_types +0 -0
  4. data/README.md +52 -1
  5. data/doc/Safubot/Bot.html +1287 -652
  6. data/doc/Safubot/Evented.html +409 -276
  7. data/doc/Safubot/KnownUser.html +476 -254
  8. data/doc/Safubot/Log.html +184 -192
  9. data/doc/Safubot/Query.html +131 -164
  10. data/doc/Safubot/Request.html +158 -147
  11. data/doc/Safubot/Response.html +92 -135
  12. data/doc/Safubot/Test.html +166 -187
  13. data/doc/Safubot/Twitter/Bot.html +1005 -455
  14. data/doc/Safubot/Twitter/DirectMessage.html +417 -238
  15. data/doc/Safubot/Twitter/Tweet.html +725 -398
  16. data/doc/Safubot/Twitter.html +69 -116
  17. data/doc/Safubot/XMPP/Bot.html +625 -303
  18. data/doc/Safubot/XMPP/Message.html +372 -217
  19. data/doc/Safubot/XMPP.html +69 -116
  20. data/doc/Safubot.html +155 -126
  21. data/doc/_index.html +294 -0
  22. data/doc/class_list.html +47 -0
  23. data/doc/css/common.css +1 -0
  24. data/doc/css/full_list.css +55 -0
  25. data/doc/css/style.css +322 -0
  26. data/doc/file.README.html +140 -0
  27. data/doc/file_list.html +49 -0
  28. data/doc/frames.html +13 -0
  29. data/doc/index.html +129 -101
  30. data/doc/js/app.js +205 -0
  31. data/doc/js/full_list.js +167 -0
  32. data/doc/js/jquery.js +3 -5
  33. data/doc/method_list.html +638 -0
  34. data/doc/top-level-namespace.html +103 -0
  35. data/lib/safubot/bot.rb +22 -20
  36. data/lib/safubot/known_user.rb +2 -0
  37. data/lib/safubot/twitter.rb +30 -26
  38. data/lib/safubot/version.rb +1 -1
  39. data/lib/safubot/xmpp.rb +20 -14
  40. data/safubot.gemspec +1 -0
  41. metadata +50 -71
  42. data/doc/Gemfile.html +0 -119
  43. data/doc/Object.html +0 -171
  44. data/doc/Rakefile.html +0 -117
  45. data/doc/created.rid +0 -14
  46. data/doc/foo_rb.html +0 -115
  47. data/doc/images/add.png +0 -0
  48. data/doc/images/brick.png +0 -0
  49. data/doc/images/brick_link.png +0 -0
  50. data/doc/images/bug.png +0 -0
  51. data/doc/images/bullet_black.png +0 -0
  52. data/doc/images/bullet_toggle_minus.png +0 -0
  53. data/doc/images/bullet_toggle_plus.png +0 -0
  54. data/doc/images/date.png +0 -0
  55. data/doc/images/delete.png +0 -0
  56. data/doc/images/find.png +0 -0
  57. data/doc/images/loadingAnimation.gif +0 -0
  58. data/doc/images/macFFBgHack.png +0 -0
  59. data/doc/images/package.png +0 -0
  60. data/doc/images/page_green.png +0 -0
  61. data/doc/images/page_white_text.png +0 -0
  62. data/doc/images/page_white_width.png +0 -0
  63. data/doc/images/plugin.png +0 -0
  64. data/doc/images/ruby.png +0 -0
  65. data/doc/images/tag_blue.png +0 -0
  66. data/doc/images/tag_green.png +0 -0
  67. data/doc/images/transparent.png +0 -0
  68. data/doc/images/wrench.png +0 -0
  69. data/doc/images/wrench_orange.png +0 -0
  70. data/doc/images/zoom.png +0 -0
  71. data/doc/js/darkfish.js +0 -153
  72. data/doc/js/navigation.js +0 -142
  73. data/doc/js/search.js +0 -94
  74. data/doc/js/search_index.js +0 -1
  75. data/doc/js/searcher.js +0 -228
  76. data/doc/lib/safubot/bot_rb.html +0 -115
  77. data/doc/lib/safubot/evented_rb.html +0 -115
  78. data/doc/lib/safubot/known_user_rb.html +0 -115
  79. data/doc/lib/safubot/log_rb.html +0 -115
  80. data/doc/lib/safubot/safubot_rb.html +0 -115
  81. data/doc/lib/safubot/spec/bot_spec_rb.html +0 -115
  82. data/doc/lib/safubot/spec/twitter_spec_rb.html +0 -137
  83. data/doc/lib/safubot/test_helper_rb.html +0 -115
  84. data/doc/lib/safubot/twitter_rb.html +0 -115
  85. data/doc/lib/safubot/version_rb.html +0 -115
  86. data/doc/lib/safubot/xmpp_rb.html +0 -115
  87. data/doc/lib/safubot_rb.html +0 -115
  88. data/doc/rdoc.css +0 -543
  89. data/doc/table_of_contents.html +0 -224
@@ -1,217 +1,184 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Safubot::Query
8
+
9
+ &mdash; Documentation by YARD 0.7.3
10
+
11
+ </title>
6
12
 
7
- <title>Class: Safubot::Query</title>
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
14
 
9
- <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
10
16
 
11
- <script type="text/javascript">
12
- var rdoc_rel_prefix = "../";
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '..';
19
+ if (relpath != '') relpath += '/';
13
20
  </script>
14
21
 
15
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
-
22
-
23
- <body id="top" class="class">
24
- <nav id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../index.html">Home</a>
28
- <a href="../table_of_contents.html#classes">Classes</a>
29
- <a href="../table_of_contents.html#methods">Methods</a>
30
- </h3>
31
- </nav>
32
-
33
-
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
35
- <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
38
- title="Type to search, Up and Down to navigate, Enter to load">
39
- </h3>
40
- </form>
41
-
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
44
-
45
-
46
- <div id="file-metadata">
47
- <nav id="file-list-section" class="section">
48
- <h3 class="section-header">Defined In</h3>
49
- <ul>
50
- <li>lib/safubot/test_helper.rb
51
- </ul>
52
- </nav>
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>
53
25
 
54
-
55
- </div>
56
26
 
57
- <div id="class-metadata">
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
58
32
 
59
- <nav id="parent-class-section" class="section">
60
- <h3 class="section-header">Parent</h3>
33
+ <div id="header">
34
+ <div id="menu">
61
35
 
62
- <p class="link"><a href="../Object.html">Object</a>
36
+ <a href="../_index.html">Index (Q)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../Safubot.html" title="Safubot (module)">Safubot</a></span></span>
38
+ &raquo;
39
+ <span class="title">Query</span>
63
40
 
64
- </nav>
65
-
66
- <!-- Included Modules -->
67
- <nav id="includes-section" class="section">
68
- <h3 class="section-header">Included Modules</h3>
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
69
44
 
70
- <ul class="link-list">
45
+ <div id="search">
71
46
 
47
+ <a id="class_list_link" href="#">Class List</a>
72
48
 
73
- <li><span class="include">MongoMapper::Document</span>
49
+ <a id="method_list_link" href="#">Method List</a>
74
50
 
51
+ <a id="file_list_link" href="#">File List</a>
75
52
 
76
- </ul>
77
- </nav>
78
-
79
- <!-- Method Quickref -->
80
- <nav id="method-list-section" class="section">
81
- <h3 class="section-header">Methods</h3>
82
-
83
- <ul class="link-list">
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
84
56
 
85
- <li><a href="#method-i-make_request">#make_request</a>
57
+ <iframe id="search_frame"></iframe>
86
58
 
87
- </ul>
88
- </nav>
89
-
90
- </div>
91
-
92
- <div id="project-metadata">
93
- <nav id="fileindex-section" class="section project-section">
94
- <h3 class="section-header">Pages</h3>
95
-
96
- <ul>
59
+ <div id="content"><h1>Class: Safubot::Query
97
60
 
98
- <li class="file"><a href="../Gemfile.html">Gemfile</a>
99
61
 
100
- <li class="file"><a href="../Rakefile.html">Rakefile</a>
101
62
 
102
- </ul>
103
- </nav>
104
-
105
- <nav id="classindex-section" class="section project-section">
106
- <h3 class="section-header">Class and Module Index</h3>
63
+ </h1>
107
64
 
108
- <ul class="link-list">
65
+ <dl class="box">
109
66
 
110
- <li><a href="../Safubot.html">Safubot</a>
111
-
112
- <li><a href="../Safubot/Bot.html">Safubot::Bot</a>
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">Object</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">Safubot::Query</li>
75
+
76
+ </ul>
77
+ <a href="#" class="inheritanceTree">show all</a>
78
+
79
+ </dd>
80
+
113
81
 
114
- <li><a href="../Safubot/Evented.html">Safubot::Evented</a>
115
82
 
116
- <li><a href="../Safubot/KnownUser.html">Safubot::KnownUser</a>
83
+
117
84
 
118
- <li><a href="../Safubot/Log.html">Safubot::Log</a>
85
+
86
+ <dt class="r2">Includes:</dt>
87
+ <dd class="r2">MongoMapper::Document</dd>
88
+
89
+
119
90
 
120
- <li><a href="../Safubot/Query.html">Safubot::Query</a>
121
91
 
122
- <li><a href="../Safubot/Request.html">Safubot::Request</a>
123
92
 
124
- <li><a href="../Safubot/Response.html">Safubot::Response</a>
93
+ <dt class="r1 last">Defined in:</dt>
94
+ <dd class="r1 last">lib/safubot/test_helper.rb</dd>
125
95
 
126
- <li><a href="../Safubot/Test.html">Safubot::Test</a>
96
+ </dl>
97
+ <div class="clear"></div>
98
+
99
+
100
+
127
101
 
128
- <li><a href="../Safubot/Twitter.html">Safubot::Twitter</a>
102
+
103
+
129
104
 
130
- <li><a href="../Safubot/Twitter/Bot.html">Safubot::Twitter::Bot</a>
105
+
131
106
 
132
- <li><a href="../Safubot/Twitter/DirectMessage.html">Safubot::Twitter::DirectMessage</a>
107
+ <h2>
108
+ Instance Method Summary
109
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
110
+ </h2>
111
+
112
+ <ul class="summary">
113
+
114
+ <li class="public ">
115
+ <span class="summary_signature">
116
+
117
+ <a href="#make_request-instance_method" title="#make_request (instance method)">- (Object) <strong>make_request</strong> </a>
118
+
119
+
120
+
121
+ </span>
133
122
 
134
- <li><a href="../Safubot/Twitter/Tweet.html">Safubot::Twitter::Tweet</a>
135
123
 
136
- <li><a href="../Safubot/XMPP.html">Safubot::XMPP</a>
137
124
 
138
- <li><a href="../Safubot/XMPP/Bot.html">Safubot::XMPP::Bot</a>
139
125
 
140
- <li><a href="../Safubot/XMPP/Message.html">Safubot::XMPP::Message</a>
141
126
 
142
- <li><a href="../Object.html">Object</a>
143
127
 
144
- </ul>
145
- </nav>
146
-
147
- </div>
148
- </nav>
149
-
150
- <div id="documentation">
151
- <h1 class="class">class Safubot::Query</h1>
152
-
153
- <div id="description" class="description">
154
-
155
- </div><!-- description -->
156
128
 
157
129
 
130
+ <span class="summary_desc"><div class='inline'></div></span>
158
131
 
132
+ </li>
133
+
134
+
135
+ </ul>
159
136
 
160
- <section id="5Buntitled-5D" class="documentation-section">
161
-
162
137
 
163
-
164
138
 
165
-
166
-
167
-
139
+
168
140
 
169
- <!-- Methods -->
141
+ <div id="instance_method_details" class="method_details_list">
142
+ <h2>Instance Method Details</h2>
170
143
 
171
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
172
- <h3 class="section-header">Public Instance Methods</h3>
173
-
174
144
 
175
- <div id="method-i-make_request" class="method-detail ">
176
-
177
- <div class="method-heading">
178
- <span class="method-name">make_request</span><span
179
- class="method-args">()</span>
180
- <span class="method-click-advice">click to toggle source</span>
181
- </div>
182
-
183
-
184
- <div class="method-description">
185
-
186
-
187
-
188
-
189
-
190
- <div class="method-source-code" id="make_request-source">
191
- <pre><span class="ruby-comment"># File lib/safubot/test_helper.rb, line 40</span>
192
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">make_request</span>
193
- <span class="ruby-keyword">self</span>.<span class="ruby-identifier">request</span> <span class="ruby-operator">||</span> <span class="ruby-constant">Request</span>.<span class="ruby-identifier">create</span>(<span class="ruby-value">:user</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">user</span>, <span class="ruby-value">:text</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">text</span>, <span class="ruby-value">:source</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword">self</span>)
194
- <span class="ruby-keyword">end</span></pre>
195
- </div><!-- make_request-source -->
196
-
197
- </div>
198
-
199
-
200
-
201
-
202
- </div><!-- make_request-method -->
145
+ <div class="method_details first">
146
+ <p class="signature first" id="make_request-instance_method">
147
+
148
+ - (<tt>Object</tt>) <strong>make_request</strong>
149
+
203
150
 
204
-
205
- </section><!-- public-instance-method-details -->
206
151
 
207
- </section><!-- 5Buntitled-5D -->
152
+ </p><table class="source_code">
153
+ <tr>
154
+ <td>
155
+ <pre class="lines">
208
156
 
209
- </div><!-- documentation -->
210
157
 
158
+ 47
159
+ 48
160
+ 49</pre>
161
+ </td>
162
+ <td>
163
+ <pre class="code"><span class="info file"># File 'lib/safubot/test_helper.rb', line 47</span>
211
164
 
212
- <footer id="validator-badges">
213
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
214
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
215
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
216
- </footer>
165
+ <span class='kw'>def</span> <span class='id make_request'>make_request</span>
166
+ <span class='kw'>self</span><span class='period'>.</span><span class='id request'>request</span> <span class='op'>||</span> <span class='const'>Request</span><span class='period'>.</span><span class='id create'>create</span><span class='lparen'>(</span><span class='symbol'>:user</span> <span class='op'>=&gt;</span> <span class='kw'>self</span><span class='period'>.</span><span class='id user'>user</span><span class='comma'>,</span> <span class='symbol'>:text</span> <span class='op'>=&gt;</span> <span class='kw'>self</span><span class='period'>.</span><span class='id text'>text</span><span class='comma'>,</span> <span class='symbol'>:source</span> <span class='op'>=&gt;</span> <span class='kw'>self</span><span class='rparen'>)</span>
167
+ <span class='kw'>end</span></pre>
168
+ </td>
169
+ </tr>
170
+ </table>
171
+ </div>
172
+
173
+ </div>
217
174
 
175
+ </div>
176
+
177
+ <div id="footer">
178
+ Generated on Mon Nov 28 20:20:04 2011 by
179
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
180
+ 0.7.3 (ruby-1.9.2).
181
+ </div>
182
+
183
+ </body>
184
+ </html>