clavem 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/.gitignore +3 -5
- data/.rubocop.yml +82 -0
- data/.travis-gemfile +4 -10
- data/.travis.yml +10 -5
- data/CHANGELOG.md +7 -0
- data/Gemfile +9 -8
- data/README.md +1 -3
- data/Rakefile +22 -6
- data/bin/clavem +6 -5
- data/clavem.gemspec +5 -5
- data/doc/Clavem.html +3 -3
- data/doc/Clavem/Authorizer.html +1413 -1788
- data/doc/Clavem/Exceptions.html +3 -3
- data/doc/Clavem/Exceptions/Failure.html +3 -3
- data/doc/Clavem/Server.html +26 -38
- data/doc/Clavem/Version.html +7 -11
- data/doc/_index.html +4 -4
- data/doc/class_list.html +5 -1
- data/doc/file.README.html +5 -7
- data/doc/file_list.html +5 -1
- data/doc/frames.html +1 -1
- data/doc/index.html +5 -7
- data/doc/js/full_list.js +4 -1
- data/doc/method_list.html +13 -15
- data/doc/top-level-namespace.html +3 -3
- data/lib/clavem.rb +5 -3
- data/lib/clavem/authorizer.rb +34 -47
- data/lib/clavem/server.rb +37 -35
- data/lib/clavem/version.rb +1 -1
- data/locales/en.yml +7 -6
- data/locales/it.yml +7 -6
- data/spec/clavem/authorizer_spec.rb +22 -41
- data/spec/clavem/server_spec.rb +3 -3
- data/spec/spec_helper.rb +19 -6
- metadata +51 -50
- data/spec/coverage_helper.rb +0 -21
data/doc/Clavem/Exceptions.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Clavem::Exceptions
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Wed Mar 30 10:47:20 2016 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
-
0.8.7.
|
121
|
+
0.8.7.6 (ruby-2.3.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
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -124,9 +124,9 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Wed Mar 30 10:47:20 2016 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
|
-
0.8.7.
|
129
|
+
0.8.7.6 (ruby-2.3.0).
|
130
130
|
</div>
|
131
131
|
|
132
132
|
</body>
|
data/doc/Clavem/Server.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Clavem::Server
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -127,8 +127,8 @@
|
|
127
127
|
|
128
128
|
</div>
|
129
129
|
</dt>
|
130
|
-
<dd><pre class="code"><span class='
|
131
|
-
</pre></dd>
|
130
|
+
<dd><pre class="code"><span class='heredoc_beg'><<~EOTEMPLATE</span>
|
131
|
+
<span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
132
132
|
|
133
133
|
</dl>
|
134
134
|
|
@@ -245,6 +245,7 @@
|
|
245
245
|
<pre class="lines">
|
246
246
|
|
247
247
|
|
248
|
+
26
|
248
249
|
27
|
249
250
|
28
|
250
251
|
29
|
@@ -252,14 +253,14 @@
|
|
252
253
|
31</pre>
|
253
254
|
</td>
|
254
255
|
<td>
|
255
|
-
<pre class="code"><span class="info file"># File 'lib/clavem/server.rb', line
|
256
|
+
<pre class="code"><span class="info file"># File 'lib/clavem/server.rb', line 26</span>
|
256
257
|
|
257
|
-
<span class='
|
258
|
-
<span class='
|
258
|
+
<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>
|
259
|
+
<span class='ivar'>@authorizer</span> <span class='op'>=</span> <span class='id identifier rubyid_authorizer'>authorizer</span>
|
260
|
+
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>clavem</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
259
261
|
|
260
|
-
<span class='
|
261
|
-
<span class='
|
262
|
-
</pre>
|
262
|
+
<span class='id identifier rubyid_process_http_request'>process_http_request</span>
|
263
|
+
<span class='kw'>end</span></pre>
|
263
264
|
</td>
|
264
265
|
</tr>
|
265
266
|
</table>
|
@@ -313,41 +314,28 @@
|
|
313
314
|
47
|
314
315
|
48
|
315
316
|
49
|
316
|
-
50
|
317
|
-
51
|
318
|
-
52
|
319
|
-
53
|
320
|
-
54
|
321
|
-
55
|
322
|
-
56</pre>
|
317
|
+
50</pre>
|
323
318
|
</td>
|
324
319
|
<td>
|
325
320
|
<pre class="code"><span class="info file"># File 'lib/clavem/server.rb', line 34</span>
|
326
321
|
|
327
|
-
<span class='
|
328
|
-
<span class='
|
329
|
-
<span class='
|
322
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_process_http_request'>process_http_request</span>
|
323
|
+
<span class='id identifier rubyid_server'>server</span> <span class='op'>=</span> <span class='id identifier rubyid_create_server'>create_server</span>
|
324
|
+
<span class='id identifier rubyid_socket'>socket</span> <span class='op'>=</span> <span class='id identifier rubyid_server'>server</span><span class='period'>.</span><span class='id identifier rubyid_accept'>accept</span>
|
330
325
|
|
331
|
-
<span class='comment
|
332
|
-
<span class='
|
333
|
-
<span class='
|
326
|
+
<span class='comment'># Get the request
|
327
|
+
</span> <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='id identifier rubyid_socket'>socket</span><span class='period'>.</span><span class='id identifier rubyid_gets'>gets</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^[A-Z]+\s(.+)\sHTTP.+$</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\\1</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
328
|
+
<span class='id identifier rubyid_querystring'>querystring</span> <span class='op'>=</span> <span class='const'>Addressable</span><span class='op'>::</span><span class='const'>URI</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%s%s</span><span class='tstring_end'>"</span></span> <span class='op'>%</span> <span class='lbracket'>[</span><span class='ivar'>@authorizer</span><span class='period'>.</span><span class='id identifier rubyid_callback_url'>callback_url</span><span class='comma'>,</span> <span class='id identifier rubyid_request'>request</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_query_values'>query_values</span>
|
334
329
|
|
335
|
-
<span class='comment
|
336
|
-
<span class='
|
330
|
+
<span class='comment'># Send the response and close the socket
|
331
|
+
</span> <span class='id identifier rubyid_send_response'>send_response</span><span class='lparen'>(</span><span class='id identifier rubyid_socket'>socket</span><span class='rparen'>)</span>
|
337
332
|
|
338
|
-
<span class='comment
|
339
|
-
<span class='
|
333
|
+
<span class='comment'># Handle the token
|
334
|
+
</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='id identifier rubyid_querystring'>querystring</span><span class='rparen'>)</span>
|
340
335
|
|
341
|
-
<span class='
|
342
|
-
|
343
|
-
|
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>
|
336
|
+
<span class='id identifier rubyid_update_authorizer'>update_authorizer</span><span class='lparen'>(</span><span class='id identifier rubyid_token'>token</span><span class='rparen'>)</span>
|
337
|
+
<span class='id identifier rubyid_server'>server</span><span class='period'>.</span><span class='id identifier rubyid_close'>close</span>
|
338
|
+
<span class='kw'>end</span></pre>
|
351
339
|
</td>
|
352
340
|
</tr>
|
353
341
|
</table>
|
@@ -358,9 +346,9 @@
|
|
358
346
|
</div>
|
359
347
|
|
360
348
|
<div id="footer">
|
361
|
-
Generated on
|
349
|
+
Generated on Wed Mar 30 10:47:20 2016 by
|
362
350
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
363
|
-
0.8.7.
|
351
|
+
0.8.7.6 (ruby-2.3.0).
|
364
352
|
</div>
|
365
353
|
|
366
354
|
</body>
|
data/doc/Clavem/Version.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Clavem::Version
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -119,8 +119,7 @@
|
|
119
119
|
|
120
120
|
</div>
|
121
121
|
</dt>
|
122
|
-
<dd><pre class="code"><span class='
|
123
|
-
</pre></dd>
|
122
|
+
<dd><pre class="code"><span class='int'>2</span></pre></dd>
|
124
123
|
|
125
124
|
<dt id="MINOR-constant" class="">MINOR =
|
126
125
|
<div class="docstring">
|
@@ -135,8 +134,7 @@
|
|
135
134
|
|
136
135
|
</div>
|
137
136
|
</dt>
|
138
|
-
<dd><pre class="code"><span class='
|
139
|
-
</pre></dd>
|
137
|
+
<dd><pre class="code"><span class='int'>2</span></pre></dd>
|
140
138
|
|
141
139
|
<dt id="PATCH-constant" class="">PATCH =
|
142
140
|
<div class="docstring">
|
@@ -151,8 +149,7 @@
|
|
151
149
|
|
152
150
|
</div>
|
153
151
|
</dt>
|
154
|
-
<dd><pre class="code"><span class='
|
155
|
-
</pre></dd>
|
152
|
+
<dd><pre class="code"><span class='int'>0</span></pre></dd>
|
156
153
|
|
157
154
|
<dt id="STRING-constant" class="">STRING =
|
158
155
|
<div class="docstring">
|
@@ -167,8 +164,7 @@
|
|
167
164
|
|
168
165
|
</div>
|
169
166
|
</dt>
|
170
|
-
<dd><pre class="code"><span class='
|
171
|
-
</pre></dd>
|
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'>"</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span></pre></dd>
|
172
168
|
|
173
169
|
</dl>
|
174
170
|
|
@@ -184,9 +180,9 @@
|
|
184
180
|
</div>
|
185
181
|
|
186
182
|
<div id="footer">
|
187
|
-
Generated on
|
183
|
+
Generated on Wed Mar 30 10:47:20 2016 by
|
188
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
189
|
-
0.8.7.
|
185
|
+
0.8.7.6 (ruby-2.3.0).
|
190
186
|
</div>
|
191
187
|
|
192
188
|
</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.6
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -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.
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.6</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
|
179
|
+
Generated on Wed Mar 30 10:47:20 2016 by
|
180
180
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
181
|
-
0.8.7.
|
181
|
+
0.8.7.6 (ruby-2.3.0).
|
182
182
|
</div>
|
183
183
|
|
184
184
|
</body>
|
data/doc/class_list.html
CHANGED
@@ -20,7 +20,11 @@
|
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<script type="text/javascript" charset="utf-8">
|
23
|
-
|
23
|
+
var hasFrames = false;
|
24
|
+
try {
|
25
|
+
hasFrames = window.top.frames.main ? true : false;
|
26
|
+
} catch (e) { }
|
27
|
+
if (hasFrames) {
|
24
28
|
document.getElementById('base_target').target = 'main';
|
25
29
|
document.body.className = 'frames';
|
26
30
|
}
|
data/doc/file.README.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -67,13 +67,11 @@
|
|
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>
|
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
|
-
<iframe src="http://ghbtns.com/github-btn.html?user=ShogunPanda&repo=clavem&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="135" height="20"></iframe></p>
|
70
|
+
<a href="https://coveralls.io/r/ShogunPanda/clavem"><img src="https://coveralls.io/repos/ShogunPanda/clavem/badge.png" alt="Coverage Status" /></a></p>
|
73
71
|
|
74
72
|
<p>A local callback server for oAuth web-flow.</p>
|
75
73
|
|
76
|
-
<p>http://sw.
|
74
|
+
<p>http://sw.cowtech.it/clavem</p>
|
77
75
|
|
78
76
|
<p>http://rdoc.info/gems/clavem</p>
|
79
77
|
|
@@ -135,9 +133,9 @@ end
|
|
135
133
|
</div></div>
|
136
134
|
|
137
135
|
<div id="footer">
|
138
|
-
Generated on
|
136
|
+
Generated on Wed Mar 30 10:47:20 2016 by
|
139
137
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
140
|
-
0.8.7.
|
138
|
+
0.8.7.6 (ruby-2.3.0).
|
141
139
|
</div>
|
142
140
|
|
143
141
|
</body>
|
data/doc/file_list.html
CHANGED
@@ -20,7 +20,11 @@
|
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<script type="text/javascript" charset="utf-8">
|
23
|
-
|
23
|
+
var hasFrames = false;
|
24
|
+
try {
|
25
|
+
hasFrames = window.top.frames.main ? true : false;
|
26
|
+
} catch (e) { }
|
27
|
+
if (hasFrames) {
|
24
28
|
document.getElementById('base_target').target = 'main';
|
25
29
|
document.body.className = 'frames';
|
26
30
|
}
|
data/doc/frames.html
CHANGED
@@ -4,7 +4,7 @@
|
|
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.
|
7
|
+
<title>Documentation by YARD 0.8.7.6</title>
|
8
8
|
</head>
|
9
9
|
<script type="text/javascript" charset="utf-8">
|
10
10
|
window.onload = function() {
|
data/doc/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -67,13 +67,11 @@
|
|
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>
|
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
|
-
<iframe src="http://ghbtns.com/github-btn.html?user=ShogunPanda&repo=clavem&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="135" height="20"></iframe></p>
|
70
|
+
<a href="https://coveralls.io/r/ShogunPanda/clavem"><img src="https://coveralls.io/repos/ShogunPanda/clavem/badge.png" alt="Coverage Status" /></a></p>
|
73
71
|
|
74
72
|
<p>A local callback server for oAuth web-flow.</p>
|
75
73
|
|
76
|
-
<p>http://sw.
|
74
|
+
<p>http://sw.cowtech.it/clavem</p>
|
77
75
|
|
78
76
|
<p>http://rdoc.info/gems/clavem</p>
|
79
77
|
|
@@ -135,9 +133,9 @@ end
|
|
135
133
|
</div></div>
|
136
134
|
|
137
135
|
<div id="footer">
|
138
|
-
Generated on
|
136
|
+
Generated on Wed Mar 30 10:47:20 2016 by
|
139
137
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
140
|
-
0.8.7.
|
138
|
+
0.8.7.6 (ruby-2.3.0).
|
141
139
|
</div>
|
142
140
|
|
143
141
|
</body>
|
data/doc/js/full_list.js
CHANGED
@@ -123,7 +123,10 @@ function linkList() {
|
|
123
123
|
}
|
124
124
|
}
|
125
125
|
if (clicked) clicked.removeClass('clicked');
|
126
|
-
var win
|
126
|
+
var win;
|
127
|
+
try {
|
128
|
+
win = window.top.frames.main ? window.top.frames.main : window.parent;
|
129
|
+
} catch (e) { win = window.parent; }
|
127
130
|
if (this.tagName.toLowerCase() == "a") {
|
128
131
|
clicked = $(this).parents('li').addClass('clicked');
|
129
132
|
win.location = this.href;
|
data/doc/method_list.html
CHANGED
@@ -20,7 +20,11 @@
|
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<script type="text/javascript" charset="utf-8">
|
23
|
-
|
23
|
+
var hasFrames = false;
|
24
|
+
try {
|
25
|
+
hasFrames = window.top.frames.main ? true : false;
|
26
|
+
} catch (e) { }
|
27
|
+
if (hasFrames) {
|
24
28
|
document.getElementById('base_target').target = 'main';
|
25
29
|
document.body.className = 'frames';
|
26
30
|
}
|
@@ -114,60 +118,54 @@
|
|
114
118
|
|
115
119
|
|
116
120
|
<li class="r2 ">
|
117
|
-
<span class='object_link'><a href="Clavem/Authorizer.html#localize-instance_method" title="Clavem::Authorizer#localize (method)">#localize</a></span>
|
118
|
-
<small>Clavem::Authorizer</small>
|
119
|
-
</li>
|
120
|
-
|
121
|
-
|
122
|
-
<li class="r1 ">
|
123
121
|
<span class='object_link'><a href="Clavem/Authorizer.html#port-instance_method" title="Clavem::Authorizer#port (method)">#port</a></span>
|
124
122
|
<small>Clavem::Authorizer</small>
|
125
123
|
</li>
|
126
124
|
|
127
125
|
|
128
|
-
<li class="
|
126
|
+
<li class="r1 ">
|
129
127
|
<span class='object_link'><a href="Clavem/Server.html#process_http_request-instance_method" title="Clavem::Server#process_http_request (method)">#process_http_request</a></span>
|
130
128
|
<small>Clavem::Server</small>
|
131
129
|
</li>
|
132
130
|
|
133
131
|
|
134
|
-
<li class="
|
132
|
+
<li class="r2 ">
|
135
133
|
<span class='object_link'><a href="Clavem/Authorizer.html#response_handler-instance_method" title="Clavem::Authorizer#response_handler (method)">#response_handler</a></span>
|
136
134
|
<small>Clavem::Authorizer</small>
|
137
135
|
</li>
|
138
136
|
|
139
137
|
|
140
|
-
<li class="
|
138
|
+
<li class="r1 ">
|
141
139
|
<span class='object_link'><a href="Clavem/Authorizer.html#status-instance_method" title="Clavem::Authorizer#status (method)">#status</a></span>
|
142
140
|
<small>Clavem::Authorizer</small>
|
143
141
|
</li>
|
144
142
|
|
145
143
|
|
146
|
-
<li class="
|
144
|
+
<li class="r2 ">
|
147
145
|
<span class='object_link'><a href="Clavem/Authorizer.html#succeeded%3F-instance_method" title="Clavem::Authorizer#succeeded? (method)">#succeeded?</a></span>
|
148
146
|
<small>Clavem::Authorizer</small>
|
149
147
|
</li>
|
150
148
|
|
151
149
|
|
152
|
-
<li class="
|
150
|
+
<li class="r1 ">
|
153
151
|
<span class='object_link'><a href="Clavem/Authorizer.html#timeout-instance_method" title="Clavem::Authorizer#timeout (method)">#timeout</a></span>
|
154
152
|
<small>Clavem::Authorizer</small>
|
155
153
|
</li>
|
156
154
|
|
157
155
|
|
158
|
-
<li class="
|
156
|
+
<li class="r2 ">
|
159
157
|
<span class='object_link'><a href="Clavem/Authorizer.html#token-instance_method" title="Clavem::Authorizer#token (method)">#token</a></span>
|
160
158
|
<small>Clavem::Authorizer</small>
|
161
159
|
</li>
|
162
160
|
|
163
161
|
|
164
|
-
<li class="
|
162
|
+
<li class="r1 ">
|
165
163
|
<span class='object_link'><a href="Clavem/Authorizer.html#url-instance_method" title="Clavem::Authorizer#url (method)">#url</a></span>
|
166
164
|
<small>Clavem::Authorizer</small>
|
167
165
|
</li>
|
168
166
|
|
169
167
|
|
170
|
-
<li class="
|
168
|
+
<li class="r2 ">
|
171
169
|
<span class='object_link'><a href="Clavem/Authorizer.html#waiting%3F-instance_method" title="Clavem::Authorizer#waiting? (method)">#waiting?</a></span>
|
172
170
|
<small>Clavem::Authorizer</small>
|
173
171
|
</li>
|