addressable 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,173 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: Addressable::URI::CharacterClasses</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">Addressable::URI::CharacterClasses</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../files/lib/addressable/uri_rb.html">
59
- lib/addressable/uri.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- </table>
66
- </div>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
-
71
-
72
-
73
- <div id="contextContent">
74
-
75
-
76
-
77
- </div>
78
-
79
-
80
- </div>
81
-
82
-
83
- <!-- if includes -->
84
-
85
- <div id="section">
86
-
87
-
88
- <div id="constants-list">
89
- <h3 class="section-bar">Constants</h3>
90
-
91
- <div class="name-list">
92
- <table summary="Constants">
93
- <tr class="top-aligned-row context-row">
94
- <td class="context-item-name">ALPHA</td>
95
- <td>=</td>
96
- <td class="context-item-value">&quot;a-zA-Z&quot;</td>
97
- </tr>
98
- <tr class="top-aligned-row context-row">
99
- <td class="context-item-name">DIGIT</td>
100
- <td>=</td>
101
- <td class="context-item-value">&quot;0-9&quot;</td>
102
- </tr>
103
- <tr class="top-aligned-row context-row">
104
- <td class="context-item-name">GEN_DELIMS</td>
105
- <td>=</td>
106
- <td class="context-item-value">&quot;\\:\\/\\?\\#\\[\\]\\@&quot;</td>
107
- </tr>
108
- <tr class="top-aligned-row context-row">
109
- <td class="context-item-name">SUB_DELIMS</td>
110
- <td>=</td>
111
- <td class="context-item-value">&quot;\\!\\$\\&amp;\\'\\(\\)\\*\\+\\,\\;\\=&quot;</td>
112
- </tr>
113
- <tr class="top-aligned-row context-row">
114
- <td class="context-item-name">RESERVED</td>
115
- <td>=</td>
116
- <td class="context-item-value">GEN_DELIMS + SUB_DELIMS</td>
117
- </tr>
118
- <tr class="top-aligned-row context-row">
119
- <td class="context-item-name">UNRESERVED</td>
120
- <td>=</td>
121
- <td class="context-item-value">ALPHA + DIGIT + &quot;\\-\\.\\_\\~&quot;</td>
122
- </tr>
123
- <tr class="top-aligned-row context-row">
124
- <td class="context-item-name">PCHAR</td>
125
- <td>=</td>
126
- <td class="context-item-value">UNRESERVED + SUB_DELIMS + &quot;\\:\\@&quot;</td>
127
- </tr>
128
- <tr class="top-aligned-row context-row">
129
- <td class="context-item-name">SCHEME</td>
130
- <td>=</td>
131
- <td class="context-item-value">ALPHA + DIGIT + &quot;\\-\\+\\.&quot;</td>
132
- </tr>
133
- <tr class="top-aligned-row context-row">
134
- <td class="context-item-name">AUTHORITY</td>
135
- <td>=</td>
136
- <td class="context-item-value">PCHAR</td>
137
- </tr>
138
- <tr class="top-aligned-row context-row">
139
- <td class="context-item-name">PATH</td>
140
- <td>=</td>
141
- <td class="context-item-value">PCHAR + &quot;\\/&quot;</td>
142
- </tr>
143
- <tr class="top-aligned-row context-row">
144
- <td class="context-item-name">QUERY</td>
145
- <td>=</td>
146
- <td class="context-item-value">PCHAR + &quot;\\/\\?&quot;</td>
147
- </tr>
148
- <tr class="top-aligned-row context-row">
149
- <td class="context-item-name">FRAGMENT</td>
150
- <td>=</td>
151
- <td class="context-item-value">PCHAR + &quot;\\/\\?&quot;</td>
152
- </tr>
153
- </table>
154
- </div>
155
- </div>
156
-
157
-
158
-
159
-
160
-
161
-
162
- <!-- if method_list -->
163
-
164
-
165
- </div>
166
-
167
-
168
- <div id="validator-badges">
169
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
170
- </div>
171
-
172
- </body>
173
- </html>
@@ -1,193 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: Addressable::URI::IDNA</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">Addressable::URI::IDNA</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../files/lib/addressable/uri_rb.html">
59
- lib/addressable/uri.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- </table>
66
- </div>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
-
71
-
72
-
73
- <div id="contextContent">
74
-
75
- <div id="description">
76
- <p>
77
- This module handles internationalized domain names. When Ruby has an
78
- implementation of nameprep, stringprep, punycode, etc, this module should
79
- contain an actual implementation of <a href="IDNA.html">IDNA</a> instead of
80
- returning nil if libidn can&#8216;t be used.
81
- </p>
82
-
83
- </div>
84
-
85
-
86
- </div>
87
-
88
- <div id="method-list">
89
- <h3 class="section-bar">Methods</h3>
90
-
91
- <div class="name-list">
92
- <a href="#M000058">to_ascii</a>&nbsp;&nbsp;
93
- <a href="#M000059">to_unicode</a>&nbsp;&nbsp;
94
- </div>
95
- </div>
96
-
97
- </div>
98
-
99
-
100
- <!-- if includes -->
101
-
102
- <div id="section">
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
- <!-- if method_list -->
112
- <div id="methods">
113
- <h3 class="section-bar">Public Class methods</h3>
114
-
115
- <div id="method-M000058" class="method-detail">
116
- <a name="M000058"></a>
117
-
118
- <div class="method-heading">
119
- <a href="#M000058" class="method-signature">
120
- <span class="method-name">to_ascii</span><span class="method-args">(label)</span>
121
- </a>
122
- </div>
123
-
124
- <div class="method-description">
125
- <p>
126
- Returns the ascii representation of the label.
127
- </p>
128
- <p><a class="source-toggle" href="#"
129
- onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
130
- <div class="method-source-code" id="M000058-source">
131
- <pre>
132
- <span class="ruby-comment cmt"># File lib/addressable/uri.rb, line 1133</span>
133
- 1133: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_ascii</span>(<span class="ruby-identifier">label</span>)
134
- 1134: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">label</span>.<span class="ruby-identifier">nil?</span>
135
- 1135: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">use_libidn?</span>
136
- 1136: <span class="ruby-keyword kw">return</span> <span class="ruby-constant">IDN</span><span class="ruby-operator">::</span><span class="ruby-constant">Idna</span>.<span class="ruby-identifier">toASCII</span>(<span class="ruby-identifier">label</span>)
137
- 1137: <span class="ruby-keyword kw">else</span>
138
- 1138: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>,
139
- 1139: <span class="ruby-value str">&quot;There is no available pure-ruby implementation. &quot;</span> <span class="ruby-operator">+</span>
140
- 1140: <span class="ruby-value str">&quot;Install libidn bindings.&quot;</span>
141
- 1141: <span class="ruby-keyword kw">end</span>
142
- 1142: <span class="ruby-keyword kw">end</span>
143
- </pre>
144
- </div>
145
- </div>
146
- </div>
147
-
148
- <div id="method-M000059" class="method-detail">
149
- <a name="M000059"></a>
150
-
151
- <div class="method-heading">
152
- <a href="#M000059" class="method-signature">
153
- <span class="method-name">to_unicode</span><span class="method-args">(label)</span>
154
- </a>
155
- </div>
156
-
157
- <div class="method-description">
158
- <p>
159
- Returns the unicode representation of the label.
160
- </p>
161
- <p><a class="source-toggle" href="#"
162
- onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
163
- <div class="method-source-code" id="M000059-source">
164
- <pre>
165
- <span class="ruby-comment cmt"># File lib/addressable/uri.rb, line 1145</span>
166
- 1145: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_unicode</span>(<span class="ruby-identifier">label</span>)
167
- 1146: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">label</span>.<span class="ruby-identifier">nil?</span>
168
- 1147: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">use_libidn?</span>
169
- 1148: <span class="ruby-keyword kw">return</span> <span class="ruby-constant">IDN</span><span class="ruby-operator">::</span><span class="ruby-constant">Idna</span>.<span class="ruby-identifier">toUnicode</span>(<span class="ruby-identifier">label</span>)
170
- 1149: <span class="ruby-keyword kw">else</span>
171
- 1150: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>,
172
- 1151: <span class="ruby-value str">&quot;There is no available pure-ruby implementation. &quot;</span> <span class="ruby-operator">+</span>
173
- 1152: <span class="ruby-value str">&quot;Install libidn bindings.&quot;</span>
174
- 1153: <span class="ruby-keyword kw">end</span>
175
- 1154: <span class="ruby-keyword kw">end</span>
176
- </pre>
177
- </div>
178
- </div>
179
- </div>
180
-
181
-
182
- </div>
183
-
184
-
185
- </div>
186
-
187
-
188
- <div id="validator-badges">
189
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
190
- </div>
191
-
192
- </body>
193
- </html>
@@ -1,117 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Addressable::URI::InvalidOptionError</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Addressable::URI::InvalidOptionError</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../files/lib/addressable/uri_rb.html">
59
- lib/addressable/uri.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- StandardError
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
- <div id="description">
82
- <p>
83
- Raised if an invalid method option is supplied.
84
- </p>
85
-
86
- </div>
87
-
88
-
89
- </div>
90
-
91
-
92
- </div>
93
-
94
-
95
- <!-- if includes -->
96
-
97
- <div id="section">
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
- <!-- if method_list -->
107
-
108
-
109
- </div>
110
-
111
-
112
- <div id="validator-badges">
113
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
114
- </div>
115
-
116
- </body>
117
- </html>