clavem 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Clavem::Exceptions
8
8
 
9
- &mdash; Documentation by YARD 0.8.7
9
+ &mdash; Documentation by YARD 0.8.7.4
10
10
 
11
11
  </title>
12
12
 
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
19
19
  relpath = '../';
20
- framesUrl = "../frames.html#!" + escape(window.location.href);
20
+ framesUrl = "../frames.html#!Clavem/Exceptions.html";
21
21
  </script>
22
22
 
23
23
 
@@ -116,9 +116,9 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Wed Aug 21 16:17:53 2013 by
119
+ Generated on Sun Apr 6 15:36:21 2014 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
- 0.8.7 (ruby-2.0.0).
121
+ 0.8.7.4 (ruby-2.1.0).
122
122
  </div>
123
123
 
124
124
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Exception: Clavem::Exceptions::Failure
8
8
 
9
- &mdash; Documentation by YARD 0.8.7
9
+ &mdash; Documentation by YARD 0.8.7.4
10
10
 
11
11
  </title>
12
12
 
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
19
19
  relpath = '../../';
20
- framesUrl = "../../frames.html#!" + escape(window.location.href);
20
+ framesUrl = "../../frames.html#!Clavem/Exceptions/Failure.html";
21
21
  </script>
22
22
 
23
23
 
@@ -124,9 +124,9 @@
124
124
  </div>
125
125
 
126
126
  <div id="footer">
127
- Generated on Wed Aug 21 16:17:53 2013 by
127
+ Generated on Sun Apr 6 15:36:21 2014 by
128
128
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129
- 0.8.7 (ruby-2.0.0).
129
+ 0.8.7.4 (ruby-2.1.0).
130
130
  </div>
131
131
 
132
132
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Clavem::Server
8
8
 
9
- &mdash; Documentation by YARD 0.8.7
9
+ &mdash; Documentation by YARD 0.8.7.4
10
10
 
11
11
  </title>
12
12
 
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
19
19
  relpath = '../';
20
- framesUrl = "../frames.html#!" + escape(window.location.href);
20
+ framesUrl = "../frames.html#!Clavem/Server.html";
21
21
  </script>
22
22
 
23
23
 
@@ -73,13 +73,11 @@
73
73
 
74
74
  <dt class="r1">Inherits:</dt>
75
75
  <dd class="r1">
76
- <span class="inheritName">EM::Connection</span>
76
+ <span class="inheritName">Object</span>
77
77
 
78
78
  <ul class="fullTree">
79
79
  <li>Object</li>
80
80
 
81
- <li class="next">EM::Connection</li>
82
-
83
81
  <li class="next">Clavem::Server</li>
84
82
 
85
83
  </ul>
@@ -92,15 +90,11 @@
92
90
 
93
91
 
94
92
 
95
- <dt class="r2">Includes:</dt>
96
- <dd class="r2">EM::HttpServer</dd>
97
-
98
-
99
93
 
100
94
 
101
95
 
102
- <dt class="r1 last">Defined in:</dt>
103
- <dd class="r1 last">lib/clavem/server.rb</dd>
96
+ <dt class="r2 last">Defined in:</dt>
97
+ <dd class="r2 last">lib/clavem/server.rb</dd>
104
98
 
105
99
  </dl>
106
100
  <div class="clear"></div>
@@ -133,15 +127,8 @@
133
127
 
134
128
  </div>
135
129
  </dt>
136
- <dd><pre class="code"><span class='heredoc_beg'>&lt;&lt;-EOTEMPLATE</span>
137
- <span class='tstring_content'>&lt;html&gt;
138
- &lt;head&gt;
139
- &lt;title&gt;Clavem&lt;/title&gt;
140
- &lt;script type=&quot;text/javascript&quot;&gt; close_window = (function(){ window.open(&quot;&quot;, &quot;_self&quot;, &quot;&quot;); window.close(); })(); &lt;/script&gt;
141
- &lt;/head&gt;
142
- &lt;body&gt;&lt;h4&gt;%s&lt;/h4&gt;&lt;/body&gt;
143
- &lt;/html&gt;
144
- </span><span class='heredoc_end'>EOTEMPLATE</span></pre></dd>
130
+ <dd><pre class="code"><span class='string val'>&quot;&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;Clavem&lt;/title&gt;\n&lt;script type=\&quot;text/javascript\&quot; charset=\&quot;utf8\&quot;&gt;(function(){ window.open(\&quot;\&quot;, \&quot;_self\&quot;, \&quot;\&quot;); window.close(); })();&lt;/script&gt;\n&lt;/head&gt;\n&lt;body&gt;\n%s\n&lt;/body&gt;\n&lt;/html&gt;\n&quot;</span>
131
+ </pre></dd>
145
132
 
146
133
  </dl>
147
134
 
@@ -211,9 +198,7 @@
211
198
  </ul>
212
199
 
213
200
 
214
-
215
-
216
- <div id="constructor_details" class="method_details_list">
201
+ <div id="constructor_details" class="method_details_list">
217
202
  <h2>Constructor Details</h2>
218
203
 
219
204
  <div class="method_details first">
@@ -260,16 +245,21 @@
260
245
  <pre class="lines">
261
246
 
262
247
 
263
- 26
264
248
  27
265
- 28</pre>
249
+ 28
250
+ 29
251
+ 30
252
+ 31</pre>
266
253
  </td>
267
254
  <td>
268
- <pre class="code"><span class="info file"># File 'lib/clavem/server.rb', line 26</span>
255
+ <pre class="code"><span class="info file"># File 'lib/clavem/server.rb', line 27</span>
256
+
257
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_authorizer identifier id'>authorizer</span><span class='rparen token'>)</span>
258
+ <span class='rubyid_@authorizer ivar id'>@authorizer</span> <span class='assign token'>=</span> <span class='rubyid_authorizer identifier id'>authorizer</span>
269
259
 
270
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_authorizer'>authorizer</span><span class='rparen'>)</span>
271
- <span class='ivar'>@authorizer</span> <span class='op'>=</span> <span class='id identifier rubyid_authorizer'>authorizer</span>
272
- <span class='kw'>end</span></pre>
260
+ <span class='rubyid_process_http_request identifier id'>process_http_request</span>
261
+ <span class='rubyid_end end kw'>end</span>
262
+ </pre>
273
263
  </td>
274
264
  </tr>
275
265
  </table>
@@ -307,9 +297,6 @@
307
297
  <pre class="lines">
308
298
 
309
299
 
310
- 31
311
- 32
312
- 33
313
300
  34
314
301
  35
315
302
  36
@@ -326,31 +313,41 @@
326
313
  47
327
314
  48
328
315
  49
329
- 50</pre>
316
+ 50
317
+ 51
318
+ 52
319
+ 53
320
+ 54
321
+ 55
322
+ 56</pre>
330
323
  </td>
331
324
  <td>
332
- <pre class="code"><span class="info file"># File 'lib/clavem/server.rb', line 31</span>
333
-
334
- <span class='kw'>def</span> <span class='id identifier rubyid_process_http_request'>process_http_request</span>
335
- <span class='comment'># Handle the token
336
- </span> <span class='id identifier rubyid_token'>token</span> <span class='op'>=</span> <span class='ivar'>@authorizer</span><span class='period'>.</span><span class='id identifier rubyid_response_handler'>response_handler</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='const'>CGI</span><span class='op'>::</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='ivar'>@http_query_string</span><span class='rparen'>)</span><span class='rparen'>)</span>
337
- <span class='kw'>if</span> <span class='id identifier rubyid_token'>token</span> <span class='kw'>then</span>
338
- <span class='ivar'>@authorizer</span><span class='period'>.</span><span class='id identifier rubyid_token'>token</span> <span class='op'>=</span> <span class='id identifier rubyid_token'>token</span>
339
- <span class='ivar'>@authorizer</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span> <span class='op'>=</span> <span class='symbol'>:succeeded</span>
340
- <span class='kw'>else</span>
341
- <span class='ivar'>@authorizer</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span> <span class='op'>=</span> <span class='symbol'>:denied</span>
342
- <span class='kw'>end</span>
343
-
344
- <span class='comment'># Build the request
345
- </span> <span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='const'>EM</span><span class='op'>::</span><span class='const'>DelegatedHttpResponse</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
346
- <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span> <span class='op'>=</span> <span class='int'>200</span>
347
- <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_content_type'>content_type</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>text/html</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
348
- <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='const'>TEMPLATE</span> <span class='op'>%</span> <span class='lbracket'>[</span><span class='ivar'>@authorizer</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_template'>template</span><span class='rbracket'>]</span>
349
- <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_send_response'>send_response</span>
350
-
351
- <span class='comment'># Stop after serving the request.
352
- </span> <span class='const'>EM</span><span class='period'>.</span><span class='id identifier rubyid_add_timer'>add_timer</span><span class='lparen'>(</span><span class='float'>0.1</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='const'>EM</span><span class='period'>.</span><span class='id identifier rubyid_stop'>stop</span> <span class='rbrace'>}</span>
353
- <span class='kw'>end</span></pre>
325
+ <pre class="code"><span class="info file"># File 'lib/clavem/server.rb', line 34</span>
326
+
327
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_process_http_request identifier id'>process_http_request</span>
328
+ <span class='rubyid_server identifier id'>server</span> <span class='assign token'>=</span> <span class='rubyid_create_server identifier id'>create_server</span>
329
+ <span class='rubyid_socket identifier id'>socket</span> <span class='assign token'>=</span> <span class='rubyid_server identifier id'>server</span><span class='dot token'>.</span><span class='rubyid_accept identifier id'>accept</span>
330
+
331
+ <span class='comment val'># Get the request</span>
332
+ <span class='rubyid_request identifier id'>request</span> <span class='assign token'>=</span> <span class='rubyid_socket identifier id'>socket</span><span class='dot token'>.</span><span class='rubyid_gets identifier id'>gets</span><span class='dot token'>.</span><span class='rubyid_gsub identifier id'>gsub</span><span class='lparen token'>(</span><span class='regexp val'>/^[A-Z]+\s(.+)\sHTTP.+$/</span><span class='comma token'>,</span> <span class='string val'>&quot;\\1&quot;</span><span class='rparen token'>)</span>
333
+ <span class='rubyid_querystring identifier id'>querystring</span> <span class='assign token'>=</span> <span class='rubyid_Addressable constant id'>Addressable</span><span class='colon2 op'>::</span><span class='rubyid_URI constant id'>URI</span><span class='dot token'>.</span><span class='rubyid_parse identifier id'>parse</span><span class='lparen token'>(</span><span class='lparen token'>(</span><span class='string val'>&quot;%s%s&quot;</span> <span class='mod op'>%</span> <span class='lbrack token'>[</span><span class='rubyid_@authorizer ivar id'>@authorizer</span><span class='dot token'>.</span><span class='rubyid_callback_url identifier id'>callback_url</span><span class='comma token'>,</span> <span class='rubyid_request identifier id'>request</span><span class='rbrack token'>]</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_strip identifier id'>strip</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_query_values identifier id'>query_values</span>
334
+
335
+ <span class='comment val'># Send the response and close the socket</span>
336
+ <span class='rubyid_send_response identifier id'>send_response</span><span class='lparen token'>(</span><span class='rubyid_socket identifier id'>socket</span><span class='rparen token'>)</span>
337
+
338
+ <span class='comment val'># Handle the token</span>
339
+ <span class='rubyid_token identifier id'>token</span> <span class='assign token'>=</span> <span class='rubyid_@authorizer ivar id'>@authorizer</span><span class='dot token'>.</span><span class='rubyid_response_handler identifier id'>response_handler</span><span class='dot token'>.</span><span class='rubyid_call identifier id'>call</span><span class='lparen token'>(</span><span class='rubyid_querystring identifier id'>querystring</span><span class='rparen token'>)</span>
340
+
341
+ <span class='rubyid_if if kw'>if</span> <span class='rubyid_token identifier id'>token</span> <span class='rubyid_then then kw'>then</span>
342
+ <span class='rubyid_@authorizer ivar id'>@authorizer</span><span class='dot token'>.</span><span class='rubyid_token identifier id'>token</span> <span class='assign token'>=</span> <span class='rubyid_token identifier id'>token</span>
343
+ <span class='rubyid_@authorizer ivar id'>@authorizer</span><span class='dot token'>.</span><span class='rubyid_status identifier id'>status</span> <span class='assign token'>=</span> <span class='symbol val'>:succeeded</span>
344
+ <span class='rubyid_else else kw'>else</span>
345
+ <span class='rubyid_@authorizer ivar id'>@authorizer</span><span class='dot token'>.</span><span class='rubyid_status identifier id'>status</span> <span class='assign token'>=</span> <span class='symbol val'>:denied</span>
346
+ <span class='rubyid_end end kw'>end</span>
347
+
348
+ <span class='rubyid_server identifier id'>server</span><span class='dot token'>.</span><span class='rubyid_close identifier id'>close</span>
349
+ <span class='rubyid_end end kw'>end</span>
350
+ </pre>
354
351
  </td>
355
352
  </tr>
356
353
  </table>
@@ -361,9 +358,9 @@
361
358
  </div>
362
359
 
363
360
  <div id="footer">
364
- Generated on Wed Aug 21 16:17:53 2013 by
361
+ Generated on Sun Apr 6 15:36:21 2014 by
365
362
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
366
- 0.8.7 (ruby-2.0.0).
363
+ 0.8.7.4 (ruby-2.1.0).
367
364
  </div>
368
365
 
369
366
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Clavem::Version
8
8
 
9
- &mdash; Documentation by YARD 0.8.7
9
+ &mdash; Documentation by YARD 0.8.7.4
10
10
 
11
11
  </title>
12
12
 
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
19
19
  relpath = '../';
20
- framesUrl = "../frames.html#!" + escape(window.location.href);
20
+ framesUrl = "../frames.html#!Clavem/Version.html";
21
21
  </script>
22
22
 
23
23
 
@@ -119,7 +119,8 @@
119
119
 
120
120
  </div>
121
121
  </dt>
122
- <dd><pre class="code"><span class='int'>2</span></pre></dd>
122
+ <dd><pre class="code"><span class='integer val'>2</span>
123
+ </pre></dd>
123
124
 
124
125
  <dt id="MINOR-constant" class="">MINOR =
125
126
  <div class="docstring">
@@ -134,7 +135,8 @@
134
135
 
135
136
  </div>
136
137
  </dt>
137
- <dd><pre class="code"><span class='int'>0</span></pre></dd>
138
+ <dd><pre class="code"><span class='integer val'>1</span>
139
+ </pre></dd>
138
140
 
139
141
  <dt id="PATCH-constant" class="">PATCH =
140
142
  <div class="docstring">
@@ -149,7 +151,8 @@
149
151
 
150
152
  </div>
151
153
  </dt>
152
- <dd><pre class="code"><span class='int'>0</span></pre></dd>
154
+ <dd><pre class="code"><span class='integer val'>0</span>
155
+ </pre></dd>
153
156
 
154
157
  <dt id="STRING-constant" class="">STRING =
155
158
  <div class="docstring">
@@ -164,7 +167,8 @@
164
167
 
165
168
  </div>
166
169
  </dt>
167
- <dd><pre class="code"><span class='lbracket'>[</span><span class='const'>MAJOR</span><span class='comma'>,</span> <span class='const'>MINOR</span><span class='comma'>,</span> <span class='const'>PATCH</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>.</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span></pre></dd>
170
+ <dd><pre class="code"><span class='lbrack token'>[</span><span class='rubyid_MAJOR constant id'>MAJOR</span><span class='comma token'>,</span> <span class='rubyid_MINOR constant id'>MINOR</span><span class='comma token'>,</span> <span class='rubyid_PATCH constant id'>PATCH</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_compact identifier id'>compact</span><span class='dot token'>.</span><span class='rubyid_join identifier id'>join</span><span class='lparen token'>(</span><span class='string val'>&quot;.&quot;</span><span class='rparen token'>)</span>
171
+ </pre></dd>
168
172
 
169
173
  </dl>
170
174
 
@@ -180,9 +184,9 @@
180
184
  </div>
181
185
 
182
186
  <div id="footer">
183
- Generated on Wed Aug 21 16:17:53 2013 by
187
+ Generated on Sun Apr 6 15:36:21 2014 by
184
188
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
- 0.8.7 (ruby-2.0.0).
189
+ 0.8.7.4 (ruby-2.1.0).
186
190
  </div>
187
191
 
188
192
  </body>
data/doc/_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.8.7
7
+ Documentation by YARD 0.8.7.4
8
8
 
9
9
  </title>
10
10
 
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript" charset="utf-8">
16
16
  hasFrames = window.top.frames.main ? true : false;
17
17
  relpath = '';
18
- framesUrl = "frames.html#!" + escape(window.location.href);
18
+ framesUrl = "frames.html#!_index.html";
19
19
  </script>
20
20
 
21
21
 
@@ -56,7 +56,7 @@
56
56
 
57
57
  <iframe id="search_frame"></iframe>
58
58
 
59
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7</h1>
59
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.4</h1>
60
60
  <div id="listing">
61
61
  <h1 class="alphaindex">Alphabetic Index</h1>
62
62
 
@@ -176,9 +176,9 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Wed Aug 21 16:17:53 2013 by
179
+ Generated on Sun Apr 6 15:36:20 2014 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
- 0.8.7 (ruby-2.0.0).
181
+ 0.8.7.4 (ruby-2.1.0).
182
182
  </div>
183
183
 
184
184
  </body>
data/doc/class_list.html CHANGED
@@ -46,7 +46,7 @@
46
46
 
47
47
  <ul id="full_list" class="class">
48
48
  <li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
49
- <li><a class='toggle'></a> <span class='object_link'><a href="Clavem.html" title="Clavem (module)">Clavem</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Clavem/Authorizer.html" title="Clavem::Authorizer (class)">Authorizer</a></span> &lt; Object<small class='search_info'>Clavem</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Clavem/Exceptions.html" title="Clavem::Exceptions (module)">Exceptions</a></span><small class='search_info'>Clavem</small></li><ul><li><span class='object_link'><a href="Clavem/Exceptions/Failure.html" title="Clavem::Exceptions::Failure (class)">Failure</a></span> &lt; StandardError<small class='search_info'>Clavem::Exceptions</small></li></ul><li><span class='object_link'><a href="Clavem/Server.html" title="Clavem::Server (class)">Server</a></span> &lt; Connection<small class='search_info'>Clavem</small></li><li><span class='object_link'><a href="Clavem/Version.html" title="Clavem::Version (module)">Version</a></span><small class='search_info'>Clavem</small></li></ul>
49
+ <li><a class='toggle'></a> <span class='object_link'><a href="Clavem.html" title="Clavem (module)">Clavem</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Clavem/Authorizer.html" title="Clavem::Authorizer (class)">Authorizer</a></span> &lt; Object<small class='search_info'>Clavem</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Clavem/Exceptions.html" title="Clavem::Exceptions (module)">Exceptions</a></span><small class='search_info'>Clavem</small></li><ul><li><span class='object_link'><a href="Clavem/Exceptions/Failure.html" title="Clavem::Exceptions::Failure (class)">Failure</a></span> &lt; StandardError<small class='search_info'>Clavem::Exceptions</small></li></ul><li><span class='object_link'><a href="Clavem/Server.html" title="Clavem::Server (class)">Server</a></span> &lt; Object<small class='search_info'>Clavem</small></li><li><span class='object_link'><a href="Clavem/Version.html" title="Clavem::Version (module)">Version</a></span><small class='search_info'>Clavem</small></li></ul>
50
50
 
51
51
  </ul>
52
52
  </div>
data/doc/css/style.css CHANGED
@@ -291,6 +291,7 @@ li.r2 { background: #fafafa; }
291
291
  -moz-box-shadow: -2px 2px 6px #bbb;
292
292
  z-index: 5000;
293
293
  position: relative;
294
+ overflow-x: auto;
294
295
  }
295
296
  #toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
296
297
  #toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
@@ -324,9 +325,9 @@ pre.code .dot + pre.code .id,
324
325
  pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
325
326
  pre.code .comment { color: #0066FF; }
326
327
  pre.code .const, pre.code .constant { color: #585CF6; }
328
+ pre.code .label,
327
329
  pre.code .symbol { color: #C5060B; }
328
330
  pre.code .kw,
329
- pre.code .label,
330
331
  pre.code .rubyid_require,
331
332
  pre.code .rubyid_extend,
332
333
  pre.code .rubyid_include { color: #0000FF; }
data/doc/file.README.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.8.7
9
+ &mdash; Documentation by YARD 0.8.7.4
10
10
 
11
11
  </title>
12
12
 
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
19
19
  relpath = '';
20
- framesUrl = "frames.html#!" + escape(window.location.href);
20
+ framesUrl = "frames.html#!file.README.html";
21
21
  </script>
22
22
 
23
23
 
@@ -67,7 +67,9 @@
67
67
  <a href="https://gemnasium.com/ShogunPanda/clavem"><img src="https://gemnasium.com/ShogunPanda/clavem.png?travis" alt="Dependency Status" /></a>
68
68
  <a href="http://travis-ci.org/ShogunPanda/clavem"><img src="https://secure.travis-ci.org/ShogunPanda/clavem.png?branch=master" alt="Build Status" /></a>
69
69
  <a href="https://codeclimate.com/github/ShogunPanda/clavem"><img src="https://codeclimate.com/github/ShogunPanda/clavem.png" alt="Code Climate" /></a>
70
- <a href="https://coveralls.io/r/ShogunPanda/clavem"><img src="https://coveralls.io/repos/ShogunPanda/clavem/badge.png" alt="Coverage Status" /></a></p>
70
+ <a href="https://coveralls.io/r/ShogunPanda/clavem"><img src="https://coveralls.io/repos/ShogunPanda/clavem/badge.png" alt="Coverage Status" /></a>
71
+ <a href="https://bitdeli.com/free" title="Bitdeli Badge"><img src="https://d2weczhvl823v0.cloudfront.net/ShogunPanda/clavem/trend.png" alt="Bitdeli Trend" /></a>
72
+ &lt;iframe src="http://ghbtns.com/github-btn.html?user=ShogunPanda&amp;repo=clavem&amp;type=fork&amp;count=true" allowtransparency="true" frameborder="0" scrolling="0" width="135" height="20"&gt;&lt;/iframe&gt;</p>
71
73
 
72
74
  <p>A local callback server for oAuth web-flow.</p>
73
75
 
@@ -90,7 +92,7 @@ require “clavem”</p>
90
92
 
91
93
  <h1 id="get-the-token">Get the token</h1>
92
94
  <p># You can also handle callback parameter by yourself.
93
- # url += “?oauth_callback=#authorizerauthorizer.callback_url
95
+ # url += “?oauth_callback=” + authorizer.callback_url
94
96
  # authorizer.authorize(url, false)
95
97
  authorizer.authorize(url)</p>
96
98
 
@@ -133,9 +135,9 @@ end
133
135
  </div></div>
134
136
 
135
137
  <div id="footer">
136
- Generated on Wed Aug 21 16:17:53 2013 by
138
+ Generated on Sun Apr 6 15:36:21 2014 by
137
139
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
138
- 0.8.7 (ruby-2.0.0).
140
+ 0.8.7.4 (ruby-2.1.0).
139
141
  </div>
140
142
 
141
143
  </body>
data/doc/frames.html CHANGED
@@ -4,18 +4,16 @@
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.8.7</title>
7
+ <title>Documentation by YARD 0.8.7.4</title>
8
8
  </head>
9
9
  <script type="text/javascript" charset="utf-8">
10
10
  window.onload = function() {
11
- var match = window.location.hash.match(/^#!(.+)/);
12
- var name = 'index.html';
13
- if (match) {
14
- name = unescape(match[1]);
15
- }
11
+ var match = unescape(window.location.hash).match(/^#!(.+)/);
12
+ var name = match ? match[1] : 'index.html';
13
+ name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
16
14
  document.writeln('<frameset cols="20%,*">' +
17
15
  '<frame name="list" src="class_list.html" />' +
18
- '<frame name="main" src="' + name + '" />' +
16
+ '<frame name="main" src="' + escape(name) + '" />' +
19
17
  '</frameset>');
20
18
  }
21
19
  </script>