addressable 1.0.2 → 1.0.3

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.
@@ -1,133 +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>File: README</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="fileHeader">
50
- <h1>README</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>README
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Wed Sep 05 13:10:21 -0400 2007</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <p>
73
- <a href="../classes/Addressable.html">Addressable</a> is a replacement for
74
- the URI implementation that is part of Ruby&#8216;s standard library. It
75
- more closely conforms to the relevant RFCs and adds support for IRIs and
76
- URI templates.
77
- </p>
78
- <p>
79
- Example usage:
80
- </p>
81
- <pre>
82
- require 'addressable/uri'
83
-
84
- uri = Addressable::URI.parse(&quot;http://example.com/path/to/resource/&quot;)
85
- uri.scheme
86
- =&gt; &quot;http&quot;
87
- uri.host
88
- =&gt; &quot;example.com&quot;
89
- uri.path
90
- =&gt; &quot;/path/to/resource/&quot;
91
-
92
- Addressable::URI.expand_template(&quot;http://example.com/{query}/&quot;, {
93
- &quot;query&quot; =&gt; &quot;an+example+query&quot;
94
- })
95
- =&gt; #&lt;Addressable::URI:0x123456 URI:http://example.com/an+example+query/&gt;
96
-
97
- uri = Addressable::URI.parse(&quot;http://www.詹姆斯.com/&quot;)
98
- uri.normalize
99
- =&gt; #&lt;Addressable::URI:0x654321 URI:http://www.xn--8ws00zhy3a.com/&gt;
100
- </pre>
101
-
102
- </div>
103
-
104
-
105
- </div>
106
-
107
-
108
- </div>
109
-
110
-
111
- <!-- if includes -->
112
-
113
- <div id="section">
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
- <!-- if method_list -->
123
-
124
-
125
- </div>
126
-
127
-
128
- <div id="validator-badges">
129
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
130
- </div>
131
-
132
- </body>
133
- </html>
@@ -1,110 +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>File: uri.rb</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="fileHeader">
50
- <h1>uri.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/addressable/uri.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Thu Dec 13 13:10:31 -0500 2007</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
-
72
- <div id="requires-list">
73
- <h3 class="section-bar">Required files</h3>
74
-
75
- <div class="name-list">
76
- addressable/version&nbsp;&nbsp;
77
- rubygems&nbsp;&nbsp;
78
- idn&nbsp;&nbsp;
79
- </div>
80
- </div>
81
-
82
- </div>
83
-
84
-
85
- </div>
86
-
87
-
88
- <!-- if includes -->
89
-
90
- <div id="section">
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
- <!-- if method_list -->
100
-
101
-
102
- </div>
103
-
104
-
105
- <div id="validator-badges">
106
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
107
- </div>
108
-
109
- </body>
110
- </html>
@@ -1,101 +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>File: version.rb</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="fileHeader">
50
- <h1>version.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/addressable/version.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Thu Dec 13 13:01:07 -0500 2007</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
-
72
-
73
- </div>
74
-
75
-
76
- </div>
77
-
78
-
79
- <!-- if includes -->
80
-
81
- <div id="section">
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
- <!-- if method_list -->
91
-
92
-
93
- </div>
94
-
95
-
96
- <div id="validator-badges">
97
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
- </div>
99
-
100
- </body>
101
- </html>
@@ -1,33 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="utf-8"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Classes
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Classes</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Classes</h1>
22
- <div id="index-entries">
23
- <a href="classes/Addressable.html">Addressable</a><br />
24
- <a href="classes/Addressable/URI.html">Addressable::URI</a><br />
25
- <a href="classes/Addressable/URI/CharacterClasses.html">Addressable::URI::CharacterClasses</a><br />
26
- <a href="classes/Addressable/URI/IDNA.html">Addressable::URI::IDNA</a><br />
27
- <a href="classes/Addressable/URI/InvalidOptionError.html">Addressable::URI::InvalidOptionError</a><br />
28
- <a href="classes/Addressable/URI/InvalidTemplateValue.html">Addressable::URI::InvalidTemplateValue</a><br />
29
- <a href="classes/Addressable/URI/InvalidURIError.html">Addressable::URI::InvalidURIError</a><br />
30
- </div>
31
- </div>
32
- </body>
33
- </html>
@@ -1,31 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="utf-8"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Files
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Files</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Files</h1>
22
- <div id="index-entries">
23
- <a href="files/CHANGELOG.html">CHANGELOG</a><br />
24
- <a href="files/LICENSE.html">LICENSE</a><br />
25
- <a href="files/README.html">README</a><br />
26
- <a href="files/lib/addressable/uri_rb.html">lib/addressable/uri.rb</a><br />
27
- <a href="files/lib/addressable/version_rb.html">lib/addressable/version.rb</a><br />
28
- </div>
29
- </div>
30
- </body>
31
- </html>
@@ -1,85 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="utf-8"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Methods
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Methods</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Methods</h1>
22
- <div id="index-entries">
23
- <a href="classes/Addressable/URI.html#M000041">+ (Addressable::URI)</a><br />
24
- <a href="classes/Addressable/URI.html#M000052">== (Addressable::URI)</a><br />
25
- <a href="classes/Addressable/URI.html#M000051">=== (Addressable::URI)</a><br />
26
- <a href="classes/Addressable/URI.html#M000040">absolute? (Addressable::URI)</a><br />
27
- <a href="classes/Addressable/URI.html#M000023">authority (Addressable::URI)</a><br />
28
- <a href="classes/Addressable/URI.html#M000024">authority= (Addressable::URI)</a><br />
29
- <a href="classes/Addressable/URI.html#M000032">basename (Addressable::URI)</a><br />
30
- <a href="classes/Addressable/URI.html#M000003">convert_path (Addressable::URI)</a><br />
31
- <a href="classes/Addressable/URI.html#M000050">display_uri (Addressable::URI)</a><br />
32
- <a href="classes/Addressable/URI.html#M000054">dup (Addressable::URI)</a><br />
33
- <a href="classes/Addressable/URI.html#M000009">encode (Addressable::URI)</a><br />
34
- <a href="classes/Addressable/URI.html#M000007">encode_segment (Addressable::URI)</a><br />
35
- <a href="classes/Addressable/URI.html#M000053">eql? (Addressable::URI)</a><br />
36
- <a href="classes/Addressable/URI.html#M000004">expand_template (Addressable::URI)</a><br />
37
- <a href="classes/Addressable/URI.html#M000033">extname (Addressable::URI)</a><br />
38
- <a href="classes/Addressable/URI.html#M000011">extract (Addressable::URI)</a><br />
39
- <a href="classes/Addressable/URI.html#M000005">extract_mapping (Addressable::URI)</a><br />
40
- <a href="classes/Addressable/URI.html#M000036">fragment (Addressable::URI)</a><br />
41
- <a href="classes/Addressable/URI.html#M000037">fragment= (Addressable::URI)</a><br />
42
- <a href="classes/Addressable/URI.html#M000002">heuristic_parse (Addressable::URI)</a><br />
43
- <a href="classes/Addressable/URI.html#M000021">host (Addressable::URI)</a><br />
44
- <a href="classes/Addressable/URI.html#M000022">host= (Addressable::URI)</a><br />
45
- <a href="classes/Addressable/URI.html#M000057">inspect (Addressable::URI)</a><br />
46
- <a href="classes/Addressable/URI.html#M000038">ip_based? (Addressable::URI)</a><br />
47
- <a href="classes/Addressable/URI.html#M000025">ip_based_schemes (Addressable::URI)</a><br />
48
- <a href="classes/Addressable/URI.html#M000043">join (Addressable::URI)</a><br />
49
- <a href="classes/Addressable/URI.html#M000006">join (Addressable::URI)</a><br />
50
- <a href="classes/Addressable/URI.html#M000045">join! (Addressable::URI)</a><br />
51
- <a href="classes/Addressable/URI.html#M000042">merge (Addressable::URI)</a><br />
52
- <a href="classes/Addressable/URI.html#M000044">merge! (Addressable::URI)</a><br />
53
- <a href="classes/Addressable/URI.html#M000012">new (Addressable::URI)</a><br />
54
- <a href="classes/Addressable/URI.html#M000048">normalize (Addressable::URI)</a><br />
55
- <a href="classes/Addressable/URI.html#M000049">normalize! (Addressable::URI)</a><br />
56
- <a href="classes/Addressable/URI.html#M000010">normalized_encode (Addressable::URI)</a><br />
57
- <a href="classes/Addressable/URI.html#M000001">parse (Addressable::URI)</a><br />
58
- <a href="classes/Addressable/URI.html#M000017">password (Addressable::URI)</a><br />
59
- <a href="classes/Addressable/URI.html#M000018">password= (Addressable::URI)</a><br />
60
- <a href="classes/Addressable/URI.html#M000030">path (Addressable::URI)</a><br />
61
- <a href="classes/Addressable/URI.html#M000031">path= (Addressable::URI)</a><br />
62
- <a href="classes/Addressable/URI.html#M000027">port (Addressable::URI)</a><br />
63
- <a href="classes/Addressable/URI.html#M000028">port= (Addressable::URI)</a><br />
64
- <a href="classes/Addressable/URI.html#M000034">query (Addressable::URI)</a><br />
65
- <a href="classes/Addressable/URI.html#M000035">query= (Addressable::URI)</a><br />
66
- <a href="classes/Addressable/URI.html#M000039">relative? (Addressable::URI)</a><br />
67
- <a href="classes/Addressable/URI.html#M000046">route_from (Addressable::URI)</a><br />
68
- <a href="classes/Addressable/URI.html#M000047">route_to (Addressable::URI)</a><br />
69
- <a href="classes/Addressable/URI.html#M000013">scheme (Addressable::URI)</a><br />
70
- <a href="classes/Addressable/URI.html#M000014">scheme= (Addressable::URI)</a><br />
71
- <a href="classes/Addressable/URI.html#M000026">scheme_mapping (Addressable::URI)</a><br />
72
- <a href="classes/Addressable/URI.html#M000029">specified_port (Addressable::URI)</a><br />
73
- <a href="classes/Addressable/URI/IDNA.html#M000058">to_ascii (Addressable::URI::IDNA)</a><br />
74
- <a href="classes/Addressable/URI.html#M000056">to_hash (Addressable::URI)</a><br />
75
- <a href="classes/Addressable/URI.html#M000055">to_s (Addressable::URI)</a><br />
76
- <a href="classes/Addressable/URI/IDNA.html#M000059">to_unicode (Addressable::URI::IDNA)</a><br />
77
- <a href="classes/Addressable/URI.html#M000008">unencode_segment (Addressable::URI)</a><br />
78
- <a href="classes/Addressable/URI.html#M000015">user (Addressable::URI)</a><br />
79
- <a href="classes/Addressable/URI.html#M000016">user= (Addressable::URI)</a><br />
80
- <a href="classes/Addressable/URI.html#M000019">userinfo (Addressable::URI)</a><br />
81
- <a href="classes/Addressable/URI.html#M000020">userinfo= (Addressable::URI)</a><br />
82
- </div>
83
- </div>
84
- </body>
85
- </html>