addressable 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -129,17 +129,17 @@ Returns the ascii representation of the label.
129
129
  onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
130
130
  <div class="method-source-code" id="M000058-source">
131
131
  <pre>
132
- <span class="ruby-comment cmt"># File lib/addressable/uri.rb, line 1114</span>
133
- 1114: <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
- 1115: <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
- 1116: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">use_libidn?</span>
136
- 1117: <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
- 1118: <span class="ruby-keyword kw">else</span>
138
- 1119: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>,
139
- 1120: <span class="ruby-value str">&quot;There is no available pure-ruby implementation. &quot;</span> <span class="ruby-operator">+</span>
140
- 1121: <span class="ruby-value str">&quot;Install libidn bindings.&quot;</span>
141
- 1122: <span class="ruby-keyword kw">end</span>
142
- 1123: <span class="ruby-keyword kw">end</span>
132
+ <span class="ruby-comment cmt"># File lib/addressable/uri.rb, line 1117</span>
133
+ 1117: <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
+ 1118: <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
+ 1119: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">use_libidn?</span>
136
+ 1120: <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
+ 1121: <span class="ruby-keyword kw">else</span>
138
+ 1122: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>,
139
+ 1123: <span class="ruby-value str">&quot;There is no available pure-ruby implementation. &quot;</span> <span class="ruby-operator">+</span>
140
+ 1124: <span class="ruby-value str">&quot;Install libidn bindings.&quot;</span>
141
+ 1125: <span class="ruby-keyword kw">end</span>
142
+ 1126: <span class="ruby-keyword kw">end</span>
143
143
  </pre>
144
144
  </div>
145
145
  </div>
@@ -162,17 +162,17 @@ Returns the unicode representation of the label.
162
162
  onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
163
163
  <div class="method-source-code" id="M000059-source">
164
164
  <pre>
165
- <span class="ruby-comment cmt"># File lib/addressable/uri.rb, line 1126</span>
166
- 1126: <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
- 1127: <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
- 1128: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">use_libidn?</span>
169
- 1129: <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
- 1130: <span class="ruby-keyword kw">else</span>
171
- 1131: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>,
172
- 1132: <span class="ruby-value str">&quot;There is no available pure-ruby implementation. &quot;</span> <span class="ruby-operator">+</span>
173
- 1133: <span class="ruby-value str">&quot;Install libidn bindings.&quot;</span>
174
- 1134: <span class="ruby-keyword kw">end</span>
175
- 1135: <span class="ruby-keyword kw">end</span>
165
+ <span class="ruby-comment cmt"># File lib/addressable/uri.rb, line 1129</span>
166
+ 1129: <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
+ 1130: <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
+ 1131: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">use_libidn?</span>
169
+ 1132: <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
+ 1133: <span class="ruby-keyword kw">else</span>
171
+ 1134: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>,
172
+ 1135: <span class="ruby-value str">&quot;There is no available pure-ruby implementation. &quot;</span> <span class="ruby-operator">+</span>
173
+ 1136: <span class="ruby-value str">&quot;Install libidn bindings.&quot;</span>
174
+ 1137: <span class="ruby-keyword kw">end</span>
175
+ 1138: <span class="ruby-keyword kw">end</span>
176
176
  </pre>
177
177
  </div>
178
178
  </div>
@@ -1 +1 @@
1
- Sat Nov 03 22:20:27 -0400 2007
1
+ Sun, 09 Dec 2007 23:57:35 -0500
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Sat Nov 03 19:31:11 -0400 2007</td>
59
+ <td>Sun Dec 09 23:54:57 -0500 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -69,7 +69,11 @@
69
69
  <div id="contextContent">
70
70
 
71
71
  <div id="description">
72
- <h3><a href="../classes/Addressable.html">Addressable</a> 1.0.0</h3>
72
+ <h3><a href="../classes/Addressable.html">Addressable</a> 1.0.1</h3>
73
+ <pre>
74
+ * fixed minor bug with the extract_mapping method
75
+ </pre>
76
+ <h3><a href="../classes/Addressable.html">Addressable</a> 1.0.0</h3>
73
77
  <pre>
74
78
  * heuristic parse method added
75
79
  * parsing is slightly more strict
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Sat Nov 03 20:48:16 -0400 2007</td>
59
+ <td>Sun Dec 09 23:47:23 -0500 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Nov 02 10:59:09 -0400 2007</td>
59
+ <td>Sun Dec 09 23:57:29 -0500 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -285,7 +285,8 @@ module Addressable
285
285
  capture_group
286
286
  end)
287
287
  values = self.to_s.scan(regexp).flatten
288
- if variables.size == values.size
288
+
289
+ if variables.size == values.size && variables.size > 0
289
290
  for i in 0...variables.size
290
291
  name = variables[i]
291
292
  value = values[i]
@@ -299,6 +300,8 @@ module Addressable
299
300
  mapping[name] = value
300
301
  end
301
302
  return mapping
303
+ elsif self.to_s == pattern
304
+ return {}
302
305
  else
303
306
  # Pattern failed to match URI.
304
307
  return nil
@@ -25,7 +25,7 @@ module Addressable
25
25
  module ADDRESSABLE_VERSION #:nodoc:
26
26
  MAJOR = 1
27
27
  MINOR = 0
28
- TINY = 0
28
+ TINY = 1
29
29
 
30
30
  STRING = [MAJOR, MINOR, TINY].join('.')
31
31
  end
@@ -2818,6 +2818,33 @@ describe Addressable::URI, "when given a mapping that contains values " +
2818
2818
  end
2819
2819
  end
2820
2820
 
2821
+ describe Addressable::URI, " when parsed from " +
2822
+ "'/'" do
2823
+ before do
2824
+ @uri = Addressable::URI.parse("/")
2825
+ end
2826
+
2827
+ it "should have the correct mapping when extracting values " +
2828
+ "using the pattern '/'" do
2829
+ @uri.extract_mapping("/").should == {}
2830
+ end
2831
+ end
2832
+
2833
+ describe Addressable::URI, " when parsed from '/one/'" do
2834
+ before do
2835
+ @uri = Addressable::URI.parse("/one/")
2836
+ end
2837
+
2838
+ it "should not match the pattern '/two/'" do
2839
+ @uri.extract_mapping("/two/").should == nil
2840
+ end
2841
+
2842
+ it "should have the correct mapping when extracting values " +
2843
+ "using the pattern '/{number}/'" do
2844
+ @uri.extract_mapping("/{number}/").should == {"number" => "one"}
2845
+ end
2846
+ end
2847
+
2821
2848
  describe Addressable::URI, " when parsed from " +
2822
2849
  "'http://example.com/search/an+example+search+query/'" do
2823
2850
  before do
@@ -179,23 +179,25 @@ a {
179
179
  <div class="results">
180
180
  <div class="behaviour">
181
181
  <dl>
182
- <dt id="behaviour_1">Addressable::URI when created from nil components</dt>
182
+ <dt id="behaviour_1">Addressable::URI when created with a non-numeric port number</dt>
183
183
  <script type="text/javascript">moveProgressBar('0.2');</script>
184
184
  <dd class="spec passed"><span class="passed_spec_name">should raise an error</span></dd>
185
185
  </dl>
186
186
  </div>
187
187
  <div class="behaviour">
188
188
  <dl>
189
- <dt id="behaviour_2">Addressable::URI when created with a non-numeric port number</dt>
190
- <script type="text/javascript">moveProgressBar('0.5');</script>
189
+ <dt id="behaviour_2">Addressable::URI when created with a scheme but no hierarchical segment</dt>
190
+ <script type="text/javascript">moveProgressBar('0.4');</script>
191
191
  <dd class="spec passed"><span class="passed_spec_name">should raise an error</span></dd>
192
192
  </dl>
193
193
  </div>
194
194
  <div class="behaviour">
195
195
  <dl>
196
- <dt id="behaviour_3">Addressable::URI when created with a scheme but no hierarchical segment</dt>
197
- <script type="text/javascript">moveProgressBar('0.8');</script>
198
- <dd class="spec passed"><span class="passed_spec_name">should raise an error</span></dd>
196
+ <dt id="behaviour_3">Addressable::URI when created from nil components</dt>
197
+ <script type="text/javascript">moveProgressBar('0.6');</script>
198
+ <dd class="spec passed"><span class="passed_spec_name">should have an empty path</span></dd>
199
+ <script type="text/javascript">moveProgressBar('0.9');</script>
200
+ <dd class="spec passed"><span class="passed_spec_name">should be an empty uri</span></dd>
199
201
  </dl>
200
202
  </div>
201
203
  <div class="behaviour">
@@ -207,846 +209,1000 @@ a {
207
209
  </div>
208
210
  <div class="behaviour">
209
211
  <dl>
210
- <dt id="behaviour_5">Addressable::URI when parsed from 'ftp://ftp.is.co.za/rfc/rfc1808.txt'</dt>
212
+ <dt id="behaviour_5">Addressable::URI when created with a nil host but non-nil authority components</dt>
211
213
  <script type="text/javascript">moveProgressBar('1.3');</script>
214
+ <dd class="spec passed"><span class="passed_spec_name">should raise an error</span></dd>
215
+ </dl>
216
+ </div>
217
+ <div class="behaviour">
218
+ <dl>
219
+ <dt id="behaviour_6">Addressable::URI when parsed from 'ftp://ftp.is.co.za/rfc/rfc1808.txt'</dt>
220
+ <script type="text/javascript">moveProgressBar('1.5');</script>
212
221
  <dd class="spec passed"><span class="passed_spec_name">should use the 'ftp' scheme</span></dd>
213
- <script type="text/javascript">moveProgressBar('1.6');</script>
222
+ <script type="text/javascript">moveProgressBar('1.8');</script>
214
223
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
215
- <script type="text/javascript">moveProgressBar('1.9');</script>
224
+ <script type="text/javascript">moveProgressBar('2.0');</script>
216
225
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'ftp.is.co.za'</span></dd>
217
226
  <script type="text/javascript">moveProgressBar('2.2');</script>
218
227
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/rfc/rfc1808.txt'</span></dd>
219
- <script type="text/javascript">moveProgressBar('2.4');</script>
228
+ <script type="text/javascript">moveProgressBar('2.5');</script>
220
229
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
221
230
  </dl>
222
231
  </div>
223
232
  <div class="behaviour">
224
233
  <dl>
225
- <dt id="behaviour_6">Addressable::URI when parsed from 'http://www.ietf.org/rfc/rfc2396.txt'</dt>
234
+ <dt id="behaviour_7">Addressable::URI when parsed from 'http://www.ietf.org/rfc/rfc2396.txt'</dt>
226
235
  <script type="text/javascript">moveProgressBar('2.7');</script>
227
236
  <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
228
- <script type="text/javascript">moveProgressBar('3.0');</script>
237
+ <script type="text/javascript">moveProgressBar('2.9');</script>
229
238
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
230
- <script type="text/javascript">moveProgressBar('3.3');</script>
239
+ <script type="text/javascript">moveProgressBar('3.1');</script>
231
240
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'www.ietf.org'</span></dd>
232
- <script type="text/javascript">moveProgressBar('3.5');</script>
241
+ <script type="text/javascript">moveProgressBar('3.4');</script>
233
242
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/rfc/rfc2396.txt'</span></dd>
234
- <script type="text/javascript">moveProgressBar('3.8');</script>
243
+ <script type="text/javascript">moveProgressBar('3.6');</script>
235
244
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
236
245
  </dl>
237
246
  </div>
238
247
  <div class="behaviour">
239
248
  <dl>
240
- <dt id="behaviour_7">Addressable::URI when parsed from 'ldap://[2001:db8::7]/c=GB?objectClass?one'</dt>
241
- <script type="text/javascript">moveProgressBar('4.1');</script>
249
+ <dt id="behaviour_8">Addressable::URI when parsed from 'ldap://[2001:db8::7]/c=GB?objectClass?one'</dt>
250
+ <script type="text/javascript">moveProgressBar('3.8');</script>
242
251
  <dd class="spec passed"><span class="passed_spec_name">should use the 'ldap' scheme</span></dd>
243
- <script type="text/javascript">moveProgressBar('4.4');</script>
252
+ <script type="text/javascript">moveProgressBar('4.0');</script>
244
253
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
245
- <script type="text/javascript">moveProgressBar('4.6');</script>
254
+ <script type="text/javascript">moveProgressBar('4.3');</script>
246
255
  <dd class="spec passed"><span class="passed_spec_name">should have a host of '[2001:db8::7]'</span></dd>
247
- <script type="text/javascript">moveProgressBar('4.9');</script>
256
+ <script type="text/javascript">moveProgressBar('4.5');</script>
248
257
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/c=GB'</span></dd>
249
- <script type="text/javascript">moveProgressBar('5.2');</script>
258
+ <script type="text/javascript">moveProgressBar('4.7');</script>
250
259
  <dd class="spec passed"><span class="passed_spec_name">should have a query of 'objectClass?one'</span></dd>
251
- <script type="text/javascript">moveProgressBar('5.5');</script>
260
+ <script type="text/javascript">moveProgressBar('5.0');</script>
252
261
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
253
262
  </dl>
254
263
  </div>
255
264
  <div class="behaviour">
256
265
  <dl>
257
- <dt id="behaviour_8">Addressable::URI when parsed from 'mailto:John.Doe@example.com'</dt>
258
- <script type="text/javascript">moveProgressBar('5.8');</script>
266
+ <dt id="behaviour_9">Addressable::URI when parsed from 'mailto:John.Doe@example.com'</dt>
267
+ <script type="text/javascript">moveProgressBar('5.2');</script>
259
268
  <dd class="spec passed"><span class="passed_spec_name">should use the 'mailto' scheme</span></dd>
260
- <script type="text/javascript">moveProgressBar('6.0');</script>
269
+ <script type="text/javascript">moveProgressBar('5.4');</script>
261
270
  <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
262
- <script type="text/javascript">moveProgressBar('6.3');</script>
271
+ <script type="text/javascript">moveProgressBar('5.6');</script>
263
272
  <dd class="spec passed"><span class="passed_spec_name">should have a path of 'John.Doe@example.com'</span></dd>
264
- <script type="text/javascript">moveProgressBar('6.6');</script>
273
+ <script type="text/javascript">moveProgressBar('5.9');</script>
265
274
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
266
275
  </dl>
267
276
  </div>
268
277
  <div class="behaviour">
269
278
  <dl>
270
- <dt id="behaviour_9">Addressable::URI when parsed from 'news:comp.infosystems.www.servers.unix'</dt>
271
- <script type="text/javascript">moveProgressBar('6.9');</script>
279
+ <dt id="behaviour_10">Addressable::URI when parsed from 'news:comp.infosystems.www.servers.unix'</dt>
280
+ <script type="text/javascript">moveProgressBar('6.1');</script>
272
281
  <dd class="spec passed"><span class="passed_spec_name">should use the 'news' scheme</span></dd>
273
- <script type="text/javascript">moveProgressBar('7.1');</script>
282
+ <script type="text/javascript">moveProgressBar('6.3');</script>
274
283
  <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
275
- <script type="text/javascript">moveProgressBar('7.4');</script>
284
+ <script type="text/javascript">moveProgressBar('6.5');</script>
276
285
  <dd class="spec passed"><span class="passed_spec_name">should have a path of 'comp.infosystems.www.servers.unix'</span></dd>
277
- <script type="text/javascript">moveProgressBar('7.7');</script>
286
+ <script type="text/javascript">moveProgressBar('6.8');</script>
278
287
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
279
288
  </dl>
280
289
  </div>
281
290
  <div class="behaviour">
282
291
  <dl>
283
- <dt id="behaviour_10">Addressable::URI when parsed from 'tel:+1-816-555-1212'</dt>
284
- <script type="text/javascript">moveProgressBar('8.0');</script>
292
+ <dt id="behaviour_11">Addressable::URI when parsed from 'tel:+1-816-555-1212'</dt>
293
+ <script type="text/javascript">moveProgressBar('7.0');</script>
285
294
  <dd class="spec passed"><span class="passed_spec_name">should use the 'tel' scheme</span></dd>
286
- <script type="text/javascript">moveProgressBar('8.2');</script>
295
+ <script type="text/javascript">moveProgressBar('7.2');</script>
287
296
  <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
288
- <script type="text/javascript">moveProgressBar('8.5');</script>
297
+ <script type="text/javascript">moveProgressBar('7.5');</script>
289
298
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '+1-816-555-1212'</span></dd>
290
- <script type="text/javascript">moveProgressBar('8.8');</script>
299
+ <script type="text/javascript">moveProgressBar('7.7');</script>
291
300
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
292
301
  </dl>
293
302
  </div>
294
303
  <div class="behaviour">
295
304
  <dl>
296
- <dt id="behaviour_11">Addressable::URI when parsed from 'telnet://192.0.2.16:80/'</dt>
297
- <script type="text/javascript">moveProgressBar('9.1');</script>
305
+ <dt id="behaviour_12">Addressable::URI when parsed from 'telnet://192.0.2.16:80/'</dt>
306
+ <script type="text/javascript">moveProgressBar('7.9');</script>
298
307
  <dd class="spec passed"><span class="passed_spec_name">should use the 'telnet' scheme</span></dd>
299
- <script type="text/javascript">moveProgressBar('9.3');</script>
308
+ <script type="text/javascript">moveProgressBar('8.1');</script>
300
309
  <dd class="spec passed"><span class="passed_spec_name">should have a host of '192.0.2.16'</span></dd>
301
- <script type="text/javascript">moveProgressBar('9.6');</script>
310
+ <script type="text/javascript">moveProgressBar('8.4');</script>
302
311
  <dd class="spec passed"><span class="passed_spec_name">should have a port of '80'</span></dd>
303
- <script type="text/javascript">moveProgressBar('9.9');</script>
312
+ <script type="text/javascript">moveProgressBar('8.6');</script>
304
313
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
305
- <script type="text/javascript">moveProgressBar('10.2');</script>
314
+ <script type="text/javascript">moveProgressBar('8.8');</script>
306
315
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
307
- <script type="text/javascript">moveProgressBar('10.4');</script>
316
+ <script type="text/javascript">moveProgressBar('9.0');</script>
308
317
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
309
318
  </dl>
310
319
  </div>
311
320
  <div class="behaviour">
312
321
  <dl>
313
- <dt id="behaviour_12">Addressable::URI when parsed from 'urn:oasis:names:specification:docbook:dtd:xml:4.1.2'</dt>
314
- <script type="text/javascript">moveProgressBar('10.7');</script>
322
+ <dt id="behaviour_13">Addressable::URI when parsed from 'urn:oasis:names:specification:docbook:dtd:xml:4.1.2'</dt>
323
+ <script type="text/javascript">moveProgressBar('9.3');</script>
315
324
  <dd class="spec passed"><span class="passed_spec_name">should use the 'urn' scheme</span></dd>
316
- <script type="text/javascript">moveProgressBar('11.0');</script>
325
+ <script type="text/javascript">moveProgressBar('9.5');</script>
317
326
  <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
318
- <script type="text/javascript">moveProgressBar('11.3');</script>
327
+ <script type="text/javascript">moveProgressBar('9.7');</script>
319
328
  <dd class="spec passed"><span class="passed_spec_name">should have a path of 'oasis:names:specification:docbook:dtd:xml:4.1.2'</span></dd>
320
- <script type="text/javascript">moveProgressBar('11.6');</script>
329
+ <script type="text/javascript">moveProgressBar('10.0');</script>
321
330
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
322
331
  </dl>
323
332
  </div>
324
333
  <div class="behaviour">
325
334
  <dl>
326
- <dt id="behaviour_13">Addressable::URI when parsed from 'http://example.com'</dt>
327
- <script type="text/javascript">moveProgressBar('11.8');</script>
335
+ <dt id="behaviour_14">Addressable::URI when parsed from 'http://example.com'</dt>
336
+ <script type="text/javascript">moveProgressBar('10.2');</script>
328
337
  <dd class="spec passed"><span class="passed_spec_name">when inspected, should have the correct URI</span></dd>
329
- <script type="text/javascript">moveProgressBar('12.1');</script>
338
+ <script type="text/javascript">moveProgressBar('10.4');</script>
339
+ <dd class="spec passed"><span class="passed_spec_name">when inspected, should have the correct class name</span></dd>
340
+ <script type="text/javascript">moveProgressBar('10.6');</script>
341
+ <dd class="spec passed"><span class="passed_spec_name">when inspected, should have the correct object id</span></dd>
342
+ <script type="text/javascript">moveProgressBar('10.9');</script>
330
343
  <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
331
- <script type="text/javascript">moveProgressBar('12.4');</script>
344
+ <script type="text/javascript">moveProgressBar('11.1');</script>
332
345
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
333
- <script type="text/javascript">moveProgressBar('12.7');</script>
346
+ <script type="text/javascript">moveProgressBar('11.3');</script>
334
347
  <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
335
- <script type="text/javascript">moveProgressBar('12.9');</script>
348
+ <script type="text/javascript">moveProgressBar('11.5');</script>
336
349
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
337
- <script type="text/javascript">moveProgressBar('13.2');</script>
350
+ <script type="text/javascript">moveProgressBar('11.8');</script>
338
351
  <dd class="spec passed"><span class="passed_spec_name">should be considered ip-based</span></dd>
339
- <script type="text/javascript">moveProgressBar('13.5');</script>
352
+ <script type="text/javascript">moveProgressBar('12.0');</script>
340
353
  <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
341
- <script type="text/javascript">moveProgressBar('13.8');</script>
354
+ <script type="text/javascript">moveProgressBar('12.2');</script>
342
355
  <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
343
- <script type="text/javascript">moveProgressBar('14.0');</script>
356
+ <script type="text/javascript">moveProgressBar('12.5');</script>
344
357
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
345
- <script type="text/javascript">moveProgressBar('14.3');</script>
358
+ <script type="text/javascript">moveProgressBar('12.7');</script>
346
359
  <dd class="spec passed"><span class="passed_spec_name">should not have a specified port</span></dd>
347
- <script type="text/javascript">moveProgressBar('14.6');</script>
360
+ <script type="text/javascript">moveProgressBar('12.9');</script>
348
361
  <dd class="spec passed"><span class="passed_spec_name">should have an empty path</span></dd>
349
- <script type="text/javascript">moveProgressBar('14.9');</script>
362
+ <script type="text/javascript">moveProgressBar('13.1');</script>
350
363
  <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
351
- <script type="text/javascript">moveProgressBar('15.1');</script>
364
+ <script type="text/javascript">moveProgressBar('13.4');</script>
352
365
  <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
353
- <script type="text/javascript">moveProgressBar('15.4');</script>
366
+ <script type="text/javascript">moveProgressBar('13.6');</script>
354
367
  <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
355
- <script type="text/javascript">moveProgressBar('15.7');</script>
368
+ <script type="text/javascript">moveProgressBar('13.8');</script>
356
369
  <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
357
- <script type="text/javascript">moveProgressBar('16.0');</script>
370
+ <script type="text/javascript">moveProgressBar('14.0');</script>
358
371
  <dd class="spec passed"><span class="passed_spec_name">should not be exactly equal to 42</span></dd>
359
- <script type="text/javascript">moveProgressBar('16.2');</script>
372
+ <script type="text/javascript">moveProgressBar('14.3');</script>
360
373
  <dd class="spec passed"><span class="passed_spec_name">should not be equal to 42</span></dd>
361
- <script type="text/javascript">moveProgressBar('16.5');</script>
374
+ <script type="text/javascript">moveProgressBar('14.5');</script>
362
375
  <dd class="spec passed"><span class="passed_spec_name">should not be roughly equal to 42</span></dd>
363
- <script type="text/javascript">moveProgressBar('16.8');</script>
376
+ <script type="text/javascript">moveProgressBar('14.7');</script>
364
377
  <dd class="spec passed"><span class="passed_spec_name">should be exactly equal to http://example.com</span></dd>
365
- <script type="text/javascript">moveProgressBar('17.1');</script>
378
+ <script type="text/javascript">moveProgressBar('15.0');</script>
366
379
  <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to http://example.com/</span></dd>
367
- <script type="text/javascript">moveProgressBar('17.4');</script>
380
+ <script type="text/javascript">moveProgressBar('15.2');</script>
368
381
  <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to the string 'http://example.com/'</span></dd>
369
- <script type="text/javascript">moveProgressBar('17.6');</script>
382
+ <script type="text/javascript">moveProgressBar('15.4');</script>
370
383
  <dd class="spec passed"><span class="passed_spec_name">should not be roughly equal to the string 'http://example.com:bogus/'</span></dd>
371
- <script type="text/javascript">moveProgressBar('17.9');</script>
384
+ <script type="text/javascript">moveProgressBar('15.6');</script>
372
385
  <dd class="spec passed"><span class="passed_spec_name">should result in itself when merged with itself</span></dd>
373
- <script type="text/javascript">moveProgressBar('18.2');</script>
386
+ <script type="text/javascript">moveProgressBar('15.9');</script>
374
387
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com/</span></dd>
375
- <script type="text/javascript">moveProgressBar('18.5');</script>
388
+ <script type="text/javascript">moveProgressBar('16.1');</script>
376
389
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:/</span></dd>
377
- <script type="text/javascript">moveProgressBar('18.7');</script>
390
+ <script type="text/javascript">moveProgressBar('16.3');</script>
378
391
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:80/</span></dd>
379
- <script type="text/javascript">moveProgressBar('19.0');</script>
392
+ <script type="text/javascript">moveProgressBar('16.5');</script>
380
393
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://EXAMPLE.COM/</span></dd>
381
- <script type="text/javascript">moveProgressBar('19.3');</script>
394
+ <script type="text/javascript">moveProgressBar('16.8');</script>
382
395
  <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/' to 'http://example.com/path/'</span></dd>
383
- <script type="text/javascript">moveProgressBar('19.6');</script>
396
+ <script type="text/javascript">moveProgressBar('17.0');</script>
384
397
  <dd class="spec passed"><span class="passed_spec_name">should have a route of '/' from 'http://example.com/path/'</span></dd>
385
- <script type="text/javascript">moveProgressBar('19.8');</script>
398
+ <script type="text/javascript">moveProgressBar('17.2');</script>
386
399
  <dd class="spec passed"><span class="passed_spec_name">should have a route of '#' to 'http://example.com/'</span></dd>
387
- <script type="text/javascript">moveProgressBar('20.1');</script>
400
+ <script type="text/javascript">moveProgressBar('17.5');</script>
388
401
  <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://elsewhere.com/' to 'http://elsewhere.com/'</span></dd>
389
- <script type="text/javascript">moveProgressBar('20.4');</script>
402
+ <script type="text/javascript">moveProgressBar('17.7');</script>
390
403
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'relative/path' should be 'http://example.com/relative/path'</span></dd>
391
- <script type="text/javascript">moveProgressBar('20.7');</script>
404
+ <script type="text/javascript">moveProgressBar('17.9');</script>
392
405
  <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
393
- <script type="text/javascript">moveProgressBar('20.9');</script>
406
+ <script type="text/javascript">moveProgressBar('18.1');</script>
394
407
  <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
395
- <script type="text/javascript">moveProgressBar('21.2');</script>
408
+ <script type="text/javascript">moveProgressBar('18.4');</script>
396
409
  <dd class="spec passed"><span class="passed_spec_name">should have the correct user/pass after repeated assignment</span></dd>
397
- <script type="text/javascript">moveProgressBar('21.5');</script>
410
+ <script type="text/javascript">moveProgressBar('18.6');</script>
398
411
  <dd class="spec passed"><span class="passed_spec_name">should have the correct user/pass after userinfo assignment</span></dd>
399
- <script type="text/javascript">moveProgressBar('21.8');</script>
412
+ <script type="text/javascript">moveProgressBar('18.8');</script>
400
413
  <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
414
+ <script type="text/javascript">moveProgressBar('19.0');</script>
415
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
401
416
  </dl>
402
417
  </div>
403
418
  <div class="behaviour">
404
419
  <dl>
405
- <dt id="behaviour_14">Addressable::URI when parsed from 'http://example.com/'</dt>
406
- <script type="text/javascript">moveProgressBar('22.0');</script>
420
+ <dt id="behaviour_15">Addressable::URI when parsed from 'http://example.com/'</dt>
421
+ <script type="text/javascript">moveProgressBar('19.3');</script>
407
422
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com</span></dd>
408
- <script type="text/javascript">moveProgressBar('22.3');</script>
423
+ <script type="text/javascript">moveProgressBar('19.5');</script>
409
424
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to HTTP://example.com/</span></dd>
410
- <script type="text/javascript">moveProgressBar('22.6');</script>
425
+ <script type="text/javascript">moveProgressBar('19.7');</script>
411
426
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:/</span></dd>
412
- <script type="text/javascript">moveProgressBar('22.9');</script>
427
+ <script type="text/javascript">moveProgressBar('20.0');</script>
413
428
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:80/</span></dd>
414
- <script type="text/javascript">moveProgressBar('23.2');</script>
429
+ <script type="text/javascript">moveProgressBar('20.2');</script>
415
430
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://Example.com/</span></dd>
416
- <script type="text/javascript">moveProgressBar('23.4');</script>
431
+ <script type="text/javascript">moveProgressBar('20.4');</script>
417
432
  <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
418
- <script type="text/javascript">moveProgressBar('23.7');</script>
433
+ <script type="text/javascript">moveProgressBar('20.6');</script>
419
434
  <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
420
- <script type="text/javascript">moveProgressBar('24.0');</script>
435
+ <script type="text/javascript">moveProgressBar('20.9');</script>
421
436
  <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
437
+ <script type="text/javascript">moveProgressBar('21.1');</script>
438
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
422
439
  </dl>
423
440
  </div>
424
441
  <div class="behaviour">
425
442
  <dl>
426
- <dt id="behaviour_15">Addressable::URI when parsed from 'http://@example.com/'</dt>
427
- <script type="text/javascript">moveProgressBar('24.3');</script>
443
+ <dt id="behaviour_16">Addressable::URI when parsed from 'http://@example.com/'</dt>
444
+ <script type="text/javascript">moveProgressBar('21.3');</script>
428
445
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com</span></dd>
429
- <script type="text/javascript">moveProgressBar('24.5');</script>
446
+ <script type="text/javascript">moveProgressBar('21.5');</script>
430
447
  <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
448
+ <script type="text/javascript">moveProgressBar('21.8');</script>
449
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
431
450
  </dl>
432
451
  </div>
433
452
  <div class="behaviour">
434
453
  <dl>
435
- <dt id="behaviour_16">Addressable::URI when parsed from 'http://example.com./'</dt>
436
- <script type="text/javascript">moveProgressBar('24.8');</script>
454
+ <dt id="behaviour_17">Addressable::URI when parsed from 'http://example.com./'</dt>
455
+ <script type="text/javascript">moveProgressBar('22.0');</script>
437
456
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com</span></dd>
438
- <script type="text/javascript">moveProgressBar('25.1');</script>
457
+ <script type="text/javascript">moveProgressBar('22.2');</script>
439
458
  <dd class="spec passed"><span class="passed_spec_name">should not be considered to be in normal form</span></dd>
459
+ <script type="text/javascript">moveProgressBar('22.5');</script>
460
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
440
461
  </dl>
441
462
  </div>
442
463
  <div class="behaviour">
443
464
  <dl>
444
- <dt id="behaviour_17">Addressable::URI when parsed from 'http://:@example.com/'</dt>
445
- <script type="text/javascript">moveProgressBar('25.4');</script>
465
+ <dt id="behaviour_18">Addressable::URI when parsed from 'http://:@example.com/'</dt>
466
+ <script type="text/javascript">moveProgressBar('22.7');</script>
446
467
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com</span></dd>
447
- <script type="text/javascript">moveProgressBar('25.6');</script>
468
+ <script type="text/javascript">moveProgressBar('22.9');</script>
448
469
  <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
470
+ <script type="text/javascript">moveProgressBar('23.1');</script>
471
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
449
472
  </dl>
450
473
  </div>
451
474
  <div class="behaviour">
452
475
  <dl>
453
- <dt id="behaviour_18">Addressable::URI when parsed from 'http://example.com/~smith/'</dt>
454
- <script type="text/javascript">moveProgressBar('25.9');</script>
476
+ <dt id="behaviour_19">Addressable::URI when parsed from 'http://example.com/~smith/'</dt>
477
+ <script type="text/javascript">moveProgressBar('23.4');</script>
455
478
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com/%7Esmith/</span></dd>
456
- <script type="text/javascript">moveProgressBar('26.2');</script>
479
+ <script type="text/javascript">moveProgressBar('23.6');</script>
457
480
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com/%7esmith/</span></dd>
481
+ <script type="text/javascript">moveProgressBar('23.8');</script>
482
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
458
483
  </dl>
459
484
  </div>
460
485
  <div class="behaviour">
461
486
  <dl>
462
- <dt id="behaviour_19">Addressable::URI when parsed from 'http://example.com/%C3%87'</dt>
463
- <script type="text/javascript">moveProgressBar('26.5');</script>
487
+ <dt id="behaviour_20">Addressable::URI when parsed from 'http://example.com/%C3%87'</dt>
488
+ <script type="text/javascript">moveProgressBar('24.0');</script>
464
489
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to 'http://example.com/C%CC%A7'</span></dd>
465
- <script type="text/javascript">moveProgressBar('26.7');</script>
490
+ <script type="text/javascript">moveProgressBar('24.3');</script>
466
491
  <dd class="spec passed"><span class="passed_spec_name">should not change if encoded with the normalizing algorithm</span></dd>
467
- <script type="text/javascript">moveProgressBar('27.0');</script>
492
+ <script type="text/javascript">moveProgressBar('24.5');</script>
468
493
  <dd class="spec passed"><span class="passed_spec_name">if percent encoded should be 'http://example.com/C%25CC%25A7'</span></dd>
494
+ <script type="text/javascript">moveProgressBar('24.7');</script>
495
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
469
496
  </dl>
470
497
  </div>
471
498
  <div class="behaviour">
472
499
  <dl>
473
- <dt id="behaviour_20">Addressable::URI when parsed from 'http://example.com/?q=string'</dt>
474
- <script type="text/javascript">moveProgressBar('27.3');</script>
500
+ <dt id="behaviour_21">Addressable::URI when parsed from 'http://example.com/?q=string'</dt>
501
+ <script type="text/javascript">moveProgressBar('25.0');</script>
475
502
  <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
476
- <script type="text/javascript">moveProgressBar('27.6');</script>
503
+ <script type="text/javascript">moveProgressBar('25.2');</script>
477
504
  <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
478
- <script type="text/javascript">moveProgressBar('27.9');</script>
505
+ <script type="text/javascript">moveProgressBar('25.4');</script>
479
506
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
480
- <script type="text/javascript">moveProgressBar('28.1');</script>
507
+ <script type="text/javascript">moveProgressBar('25.6');</script>
481
508
  <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
482
- <script type="text/javascript">moveProgressBar('28.4');</script>
509
+ <script type="text/javascript">moveProgressBar('25.9');</script>
483
510
  <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
484
- <script type="text/javascript">moveProgressBar('28.7');</script>
511
+ <script type="text/javascript">moveProgressBar('26.1');</script>
485
512
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
486
- <script type="text/javascript">moveProgressBar('29.0');</script>
513
+ <script type="text/javascript">moveProgressBar('26.3');</script>
487
514
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
488
- <script type="text/javascript">moveProgressBar('29.2');</script>
515
+ <script type="text/javascript">moveProgressBar('26.5');</script>
489
516
  <dd class="spec passed"><span class="passed_spec_name">should have a query string of 'q=string'</span></dd>
490
- <script type="text/javascript">moveProgressBar('29.5');</script>
517
+ <script type="text/javascript">moveProgressBar('26.8');</script>
491
518
  <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
492
- <script type="text/javascript">moveProgressBar('29.8');</script>
519
+ <script type="text/javascript">moveProgressBar('27.0');</script>
493
520
  <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
494
- <script type="text/javascript">moveProgressBar('30.1');</script>
521
+ <script type="text/javascript">moveProgressBar('27.2');</script>
495
522
  <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
496
- <script type="text/javascript">moveProgressBar('30.3');</script>
523
+ <script type="text/javascript">moveProgressBar('27.5');</script>
497
524
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
525
+ <script type="text/javascript">moveProgressBar('27.7');</script>
526
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
498
527
  </dl>
499
528
  </div>
500
529
  <div class="behaviour">
501
530
  <dl>
502
- <dt id="behaviour_21">Addressable::URI when parsed from 'http://example.com:80/'</dt>
503
- <script type="text/javascript">moveProgressBar('30.6');</script>
531
+ <dt id="behaviour_22">Addressable::URI when parsed from 'http://example.com:80/'</dt>
532
+ <script type="text/javascript">moveProgressBar('27.9');</script>
504
533
  <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
505
- <script type="text/javascript">moveProgressBar('30.9');</script>
534
+ <script type="text/javascript">moveProgressBar('28.1');</script>
506
535
  <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com:80'</span></dd>
507
- <script type="text/javascript">moveProgressBar('31.2');</script>
536
+ <script type="text/javascript">moveProgressBar('28.4');</script>
508
537
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
509
- <script type="text/javascript">moveProgressBar('31.4');</script>
538
+ <script type="text/javascript">moveProgressBar('28.6');</script>
510
539
  <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
511
- <script type="text/javascript">moveProgressBar('31.7');</script>
540
+ <script type="text/javascript">moveProgressBar('28.8');</script>
512
541
  <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
513
- <script type="text/javascript">moveProgressBar('32.0');</script>
542
+ <script type="text/javascript">moveProgressBar('29.0');</script>
514
543
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
515
- <script type="text/javascript">moveProgressBar('32.3');</script>
544
+ <script type="text/javascript">moveProgressBar('29.3');</script>
516
545
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
517
- <script type="text/javascript">moveProgressBar('32.5');</script>
546
+ <script type="text/javascript">moveProgressBar('29.5');</script>
518
547
  <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
519
- <script type="text/javascript">moveProgressBar('32.8');</script>
548
+ <script type="text/javascript">moveProgressBar('29.7');</script>
520
549
  <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
521
- <script type="text/javascript">moveProgressBar('33.1');</script>
550
+ <script type="text/javascript">moveProgressBar('30.0');</script>
522
551
  <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
523
- <script type="text/javascript">moveProgressBar('33.4');</script>
552
+ <script type="text/javascript">moveProgressBar('30.2');</script>
524
553
  <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
525
- <script type="text/javascript">moveProgressBar('33.7');</script>
554
+ <script type="text/javascript">moveProgressBar('30.4');</script>
526
555
  <dd class="spec passed"><span class="passed_spec_name">should be exactly equal to http://example.com:80/</span></dd>
527
- <script type="text/javascript">moveProgressBar('33.9');</script>
556
+ <script type="text/javascript">moveProgressBar('30.6');</script>
528
557
  <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to http://example.com/</span></dd>
529
- <script type="text/javascript">moveProgressBar('34.2');</script>
558
+ <script type="text/javascript">moveProgressBar('30.9');</script>
530
559
  <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to the string 'http://example.com/'</span></dd>
531
- <script type="text/javascript">moveProgressBar('34.5');</script>
560
+ <script type="text/javascript">moveProgressBar('31.1');</script>
532
561
  <dd class="spec passed"><span class="passed_spec_name">should not be roughly equal to the string 'http://example.com:bogus/'</span></dd>
533
- <script type="text/javascript">moveProgressBar('34.8');</script>
534
- <dd class="spec passed"><span class="passed_spec_name">should result in itself when merged with itself</span></dd>
535
- <script type="text/javascript">moveProgressBar('35.0');</script>
562
+ <script type="text/javascript">moveProgressBar('31.3');</script>
563
+ <dd class="spec passed"><span class="passed_spec_name">should result in itself when joined with itself</span></dd>
564
+ <script type="text/javascript">moveProgressBar('31.5');</script>
536
565
  <dd class="spec passed"><span class="passed_spec_name">should be equal to http://example.com/</span></dd>
537
- <script type="text/javascript">moveProgressBar('35.3');</script>
566
+ <script type="text/javascript">moveProgressBar('31.8');</script>
538
567
  <dd class="spec passed"><span class="passed_spec_name">should be equal to http://example.com:/</span></dd>
539
- <script type="text/javascript">moveProgressBar('35.6');</script>
568
+ <script type="text/javascript">moveProgressBar('32.0');</script>
540
569
  <dd class="spec passed"><span class="passed_spec_name">should be equal to http://example.com:80/</span></dd>
541
- <script type="text/javascript">moveProgressBar('35.9');</script>
570
+ <script type="text/javascript">moveProgressBar('32.2');</script>
542
571
  <dd class="spec passed"><span class="passed_spec_name">should be equal to http://EXAMPLE.COM/</span></dd>
572
+ <script type="text/javascript">moveProgressBar('32.5');</script>
573
+ <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
574
+ <script type="text/javascript">moveProgressBar('32.7');</script>
575
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
543
576
  </dl>
544
577
  </div>
545
578
  <div class="behaviour">
546
579
  <dl>
547
- <dt id="behaviour_22">Addressable::URI when parsed from 'relative/path/to/resource'</dt>
580
+ <dt id="behaviour_23">Addressable::URI when parsed from 'http://example.com:8080/'</dt>
581
+ <script type="text/javascript">moveProgressBar('32.9');</script>
582
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
583
+ <script type="text/javascript">moveProgressBar('33.1');</script>
584
+ <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com:8080'</span></dd>
585
+ <script type="text/javascript">moveProgressBar('33.4');</script>
586
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
587
+ <script type="text/javascript">moveProgressBar('33.6');</script>
588
+ <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
589
+ <script type="text/javascript">moveProgressBar('33.8');</script>
590
+ <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
591
+ <script type="text/javascript">moveProgressBar('34.0');</script>
592
+ <dd class="spec passed"><span class="passed_spec_name">should use port 8080</span></dd>
593
+ <script type="text/javascript">moveProgressBar('34.3');</script>
594
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
595
+ <script type="text/javascript">moveProgressBar('34.5');</script>
596
+ <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
597
+ <script type="text/javascript">moveProgressBar('34.7');</script>
598
+ <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
599
+ <script type="text/javascript">moveProgressBar('35.0');</script>
600
+ <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
601
+ <script type="text/javascript">moveProgressBar('35.2');</script>
602
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
603
+ <script type="text/javascript">moveProgressBar('35.4');</script>
604
+ <dd class="spec passed"><span class="passed_spec_name">should be exactly equal to http://example.com:8080/</span></dd>
605
+ <script type="text/javascript">moveProgressBar('35.6');</script>
606
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://example.com:8080/' from 'http://example.com/path/to/'</span></dd>
607
+ <script type="text/javascript">moveProgressBar('35.9');</script>
608
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://example.com:8080/' from 'http://example.com:80/path/to/'</span></dd>
548
609
  <script type="text/javascript">moveProgressBar('36.1');</script>
610
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of '/' from 'http://example.com:8080/path/to/'</span></dd>
611
+ <script type="text/javascript">moveProgressBar('36.3');</script>
612
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://example.com:8080/' from 'http://user:pass@example.com/path/to/'</span></dd>
613
+ <script type="text/javascript">moveProgressBar('36.5');</script>
614
+ <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
615
+ <script type="text/javascript">moveProgressBar('36.8');</script>
616
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
617
+ </dl>
618
+ </div>
619
+ <div class="behaviour">
620
+ <dl>
621
+ <dt id="behaviour_24">Addressable::URI when parsed from 'http://example.com/path/to/resource/'</dt>
622
+ <script type="text/javascript">moveProgressBar('37.0');</script>
623
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
624
+ <script type="text/javascript">moveProgressBar('37.2');</script>
625
+ <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
626
+ <script type="text/javascript">moveProgressBar('37.5');</script>
627
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
628
+ <script type="text/javascript">moveProgressBar('37.7');</script>
629
+ <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
630
+ <script type="text/javascript">moveProgressBar('37.9');</script>
631
+ <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
632
+ <script type="text/javascript">moveProgressBar('38.1');</script>
633
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
634
+ <script type="text/javascript">moveProgressBar('38.4');</script>
635
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/path/to/resource/'</span></dd>
636
+ <script type="text/javascript">moveProgressBar('38.6');</script>
637
+ <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
638
+ <script type="text/javascript">moveProgressBar('38.8');</script>
639
+ <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
640
+ <script type="text/javascript">moveProgressBar('39.0');</script>
641
+ <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
642
+ <script type="text/javascript">moveProgressBar('39.3');</script>
643
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
644
+ <script type="text/javascript">moveProgressBar('39.5');</script>
645
+ <dd class="spec passed"><span class="passed_spec_name">should be exactly equal to http://example.com:8080/</span></dd>
646
+ <script type="text/javascript">moveProgressBar('39.7');</script>
647
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of 'resource/' from 'http://example.com/path/to/'</span></dd>
648
+ <script type="text/javascript">moveProgressBar('40.0');</script>
649
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of 'resource/' from 'http://example.com:80/path/to/'</span></dd>
650
+ <script type="text/javascript">moveProgressBar('40.2');</script>
651
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://example.com/path/to/' from 'http://example.com:8080/path/to/'</span></dd>
652
+ <script type="text/javascript">moveProgressBar('40.4');</script>
653
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://example.com/path/to/' from 'http://user:pass@example.com/path/to/'</span></dd>
654
+ <script type="text/javascript">moveProgressBar('40.6');</script>
655
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/to/resource/' from 'http://example.com/to/resource/'</span></dd>
656
+ <script type="text/javascript">moveProgressBar('40.9');</script>
657
+ <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
658
+ <script type="text/javascript">moveProgressBar('41.1');</script>
659
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
660
+ </dl>
661
+ </div>
662
+ <div class="behaviour">
663
+ <dl>
664
+ <dt id="behaviour_25">Addressable::URI when parsed from 'relative/path/to/resource'</dt>
665
+ <script type="text/javascript">moveProgressBar('41.3');</script>
549
666
  <dd class="spec passed"><span class="passed_spec_name">should not have a scheme</span></dd>
550
- <script type="text/javascript">moveProgressBar('36.4');</script>
667
+ <script type="text/javascript">moveProgressBar('41.5');</script>
551
668
  <dd class="spec passed"><span class="passed_spec_name">should not be considered ip-based</span></dd>
552
- <script type="text/javascript">moveProgressBar('36.7');</script>
669
+ <script type="text/javascript">moveProgressBar('41.8');</script>
553
670
  <dd class="spec passed"><span class="passed_spec_name">should not have an authority segment</span></dd>
554
- <script type="text/javascript">moveProgressBar('37.0');</script>
671
+ <script type="text/javascript">moveProgressBar('42.0');</script>
555
672
  <dd class="spec passed"><span class="passed_spec_name">should not have a host</span></dd>
556
- <script type="text/javascript">moveProgressBar('37.2');</script>
673
+ <script type="text/javascript">moveProgressBar('42.2');</script>
557
674
  <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
558
- <script type="text/javascript">moveProgressBar('37.5');</script>
675
+ <script type="text/javascript">moveProgressBar('42.5');</script>
559
676
  <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
560
- <script type="text/javascript">moveProgressBar('37.8');</script>
677
+ <script type="text/javascript">moveProgressBar('42.7');</script>
561
678
  <dd class="spec passed"><span class="passed_spec_name">should not have a port</span></dd>
562
- <script type="text/javascript">moveProgressBar('38.1');</script>
679
+ <script type="text/javascript">moveProgressBar('42.9');</script>
563
680
  <dd class="spec passed"><span class="passed_spec_name">should have a path of 'relative/path/to/resource'</span></dd>
564
- <script type="text/javascript">moveProgressBar('38.3');</script>
681
+ <script type="text/javascript">moveProgressBar('43.1');</script>
565
682
  <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
566
- <script type="text/javascript">moveProgressBar('38.6');</script>
683
+ <script type="text/javascript">moveProgressBar('43.4');</script>
567
684
  <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
568
- <script type="text/javascript">moveProgressBar('38.9');</script>
685
+ <script type="text/javascript">moveProgressBar('43.6');</script>
569
686
  <dd class="spec passed"><span class="passed_spec_name">should not be considered absolute</span></dd>
570
- <script type="text/javascript">moveProgressBar('39.2');</script>
687
+ <script type="text/javascript">moveProgressBar('43.8');</script>
571
688
  <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
572
- <script type="text/javascript">moveProgressBar('39.5');</script>
689
+ <script type="text/javascript">moveProgressBar('44.0');</script>
573
690
  <dd class="spec passed"><span class="passed_spec_name">should raise an error if routing is attempted</span></dd>
574
- <script type="text/javascript">moveProgressBar('39.7');</script>
691
+ <script type="text/javascript">moveProgressBar('44.3');</script>
575
692
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'another/relative/path' should be 'relative/path/to/another/relative/path'</span></dd>
693
+ <script type="text/javascript">moveProgressBar('44.5');</script>
694
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
576
695
  </dl>
577
696
  </div>
578
697
  <div class="behaviour">
579
698
  <dl>
580
- <dt id="behaviour_23">Addressable::URI when parsed from 'relative_path_with_no_slashes'</dt>
581
- <script type="text/javascript">moveProgressBar('40.0');</script>
699
+ <dt id="behaviour_26">Addressable::URI when parsed from 'relative_path_with_no_slashes'</dt>
700
+ <script type="text/javascript">moveProgressBar('44.7');</script>
582
701
  <dd class="spec passed"><span class="passed_spec_name">should not have a scheme</span></dd>
583
- <script type="text/javascript">moveProgressBar('40.3');</script>
702
+ <script type="text/javascript">moveProgressBar('45.0');</script>
584
703
  <dd class="spec passed"><span class="passed_spec_name">should not be considered ip-based</span></dd>
585
- <script type="text/javascript">moveProgressBar('40.6');</script>
704
+ <script type="text/javascript">moveProgressBar('45.2');</script>
586
705
  <dd class="spec passed"><span class="passed_spec_name">should not have an authority segment</span></dd>
587
- <script type="text/javascript">moveProgressBar('40.8');</script>
706
+ <script type="text/javascript">moveProgressBar('45.4');</script>
588
707
  <dd class="spec passed"><span class="passed_spec_name">should not have a host</span></dd>
589
- <script type="text/javascript">moveProgressBar('41.1');</script>
708
+ <script type="text/javascript">moveProgressBar('45.6');</script>
590
709
  <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
591
- <script type="text/javascript">moveProgressBar('41.4');</script>
710
+ <script type="text/javascript">moveProgressBar('45.9');</script>
592
711
  <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
593
- <script type="text/javascript">moveProgressBar('41.7');</script>
712
+ <script type="text/javascript">moveProgressBar('46.1');</script>
594
713
  <dd class="spec passed"><span class="passed_spec_name">should not have a port</span></dd>
595
- <script type="text/javascript">moveProgressBar('41.9');</script>
714
+ <script type="text/javascript">moveProgressBar('46.3');</script>
596
715
  <dd class="spec passed"><span class="passed_spec_name">should have a path of 'relative_path_with_no_slashes'</span></dd>
597
- <script type="text/javascript">moveProgressBar('42.2');</script>
716
+ <script type="text/javascript">moveProgressBar('46.5');</script>
598
717
  <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
599
- <script type="text/javascript">moveProgressBar('42.5');</script>
718
+ <script type="text/javascript">moveProgressBar('46.8');</script>
600
719
  <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
601
- <script type="text/javascript">moveProgressBar('42.8');</script>
720
+ <script type="text/javascript">moveProgressBar('47.0');</script>
602
721
  <dd class="spec passed"><span class="passed_spec_name">should not be considered absolute</span></dd>
603
- <script type="text/javascript">moveProgressBar('43.0');</script>
722
+ <script type="text/javascript">moveProgressBar('47.2');</script>
604
723
  <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
605
- <script type="text/javascript">moveProgressBar('43.3');</script>
724
+ <script type="text/javascript">moveProgressBar('47.5');</script>
606
725
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'another_relative_path' should be 'another_relative_path'</span></dd>
607
726
  </dl>
608
727
  </div>
609
728
  <div class="behaviour">
610
729
  <dl>
611
- <dt id="behaviour_24">Addressable::URI when parsed from 'http://example.com/file.txt'</dt>
612
- <script type="text/javascript">moveProgressBar('43.6');</script>
730
+ <dt id="behaviour_27">Addressable::URI when parsed from 'http://example.com/file.txt'</dt>
731
+ <script type="text/javascript">moveProgressBar('47.7');</script>
613
732
  <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
614
- <script type="text/javascript">moveProgressBar('43.9');</script>
733
+ <script type="text/javascript">moveProgressBar('47.9');</script>
615
734
  <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
616
- <script type="text/javascript">moveProgressBar('44.1');</script>
735
+ <script type="text/javascript">moveProgressBar('48.1');</script>
617
736
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
618
- <script type="text/javascript">moveProgressBar('44.4');</script>
737
+ <script type="text/javascript">moveProgressBar('48.4');</script>
619
738
  <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
620
- <script type="text/javascript">moveProgressBar('44.7');</script>
739
+ <script type="text/javascript">moveProgressBar('48.6');</script>
621
740
  <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
622
- <script type="text/javascript">moveProgressBar('45.0');</script>
741
+ <script type="text/javascript">moveProgressBar('48.8');</script>
623
742
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
624
- <script type="text/javascript">moveProgressBar('45.3');</script>
743
+ <script type="text/javascript">moveProgressBar('49.0');</script>
625
744
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/file.txt'</span></dd>
626
- <script type="text/javascript">moveProgressBar('45.5');</script>
745
+ <script type="text/javascript">moveProgressBar('49.3');</script>
746
+ <dd class="spec passed"><span class="passed_spec_name">should have a basename of 'file.txt'</span></dd>
747
+ <script type="text/javascript">moveProgressBar('49.5');</script>
627
748
  <dd class="spec passed"><span class="passed_spec_name">should have an extname of '.txt'</span></dd>
628
- <script type="text/javascript">moveProgressBar('45.8');</script>
749
+ <script type="text/javascript">moveProgressBar('49.7');</script>
629
750
  <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
630
- <script type="text/javascript">moveProgressBar('46.1');</script>
751
+ <script type="text/javascript">moveProgressBar('50.0');</script>
752
+ <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
753
+ </dl>
754
+ </div>
755
+ <div class="behaviour">
756
+ <dl>
757
+ <dt id="behaviour_28">Addressable::URI when parsed from 'http://example.com/file.txt;parameter'</dt>
758
+ <script type="text/javascript">moveProgressBar('50.2');</script>
759
+ <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
760
+ <script type="text/javascript">moveProgressBar('50.4');</script>
761
+ <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
762
+ <script type="text/javascript">moveProgressBar('50.6');</script>
763
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
764
+ <script type="text/javascript">moveProgressBar('50.9');</script>
765
+ <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
766
+ <script type="text/javascript">moveProgressBar('51.1');</script>
767
+ <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
768
+ <script type="text/javascript">moveProgressBar('51.3');</script>
769
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
770
+ <script type="text/javascript">moveProgressBar('51.5');</script>
771
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/file.txt;parameter'</span></dd>
772
+ <script type="text/javascript">moveProgressBar('51.8');</script>
773
+ <dd class="spec passed"><span class="passed_spec_name">should have a basename of 'file.txt'</span></dd>
774
+ <script type="text/javascript">moveProgressBar('52.0');</script>
775
+ <dd class="spec passed"><span class="passed_spec_name">should have an extname of '.txt'</span></dd>
776
+ <script type="text/javascript">moveProgressBar('52.2');</script>
777
+ <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
778
+ <script type="text/javascript">moveProgressBar('52.5');</script>
631
779
  <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
632
780
  </dl>
633
781
  </div>
634
782
  <div class="behaviour">
635
783
  <dl>
636
- <dt id="behaviour_25">Addressable::URI when parsed from 'http://example.com/file.txt;x=y'</dt>
637
- <script type="text/javascript">moveProgressBar('46.4');</script>
784
+ <dt id="behaviour_29">Addressable::URI when parsed from 'http://example.com/file.txt;x=y'</dt>
785
+ <script type="text/javascript">moveProgressBar('52.7');</script>
638
786
  <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
639
- <script type="text/javascript">moveProgressBar('46.6');</script>
787
+ <script type="text/javascript">moveProgressBar('52.9');</script>
640
788
  <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
641
- <script type="text/javascript">moveProgressBar('46.9');</script>
789
+ <script type="text/javascript">moveProgressBar('53.1');</script>
642
790
  <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
643
- <script type="text/javascript">moveProgressBar('47.2');</script>
791
+ <script type="text/javascript">moveProgressBar('53.4');</script>
644
792
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
645
- <script type="text/javascript">moveProgressBar('47.5');</script>
793
+ <script type="text/javascript">moveProgressBar('53.6');</script>
646
794
  <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
647
- <script type="text/javascript">moveProgressBar('47.7');</script>
795
+ <script type="text/javascript">moveProgressBar('53.8');</script>
648
796
  <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
649
- <script type="text/javascript">moveProgressBar('48.0');</script>
797
+ <script type="text/javascript">moveProgressBar('54.0');</script>
650
798
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
651
- <script type="text/javascript">moveProgressBar('48.3');</script>
799
+ <script type="text/javascript">moveProgressBar('54.3');</script>
652
800
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/file.txt;x=y'</span></dd>
653
- <script type="text/javascript">moveProgressBar('48.6');</script>
801
+ <script type="text/javascript">moveProgressBar('54.5');</script>
654
802
  <dd class="spec passed"><span class="passed_spec_name">should have an extname of '.txt'</span></dd>
655
- <script type="text/javascript">moveProgressBar('48.8');</script>
803
+ <script type="text/javascript">moveProgressBar('54.7');</script>
656
804
  <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
657
- <script type="text/javascript">moveProgressBar('49.1');</script>
805
+ <script type="text/javascript">moveProgressBar('55.0');</script>
658
806
  <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
659
- <script type="text/javascript">moveProgressBar('49.4');</script>
807
+ <script type="text/javascript">moveProgressBar('55.2');</script>
660
808
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
661
809
  </dl>
662
810
  </div>
663
811
  <div class="behaviour">
664
812
  <dl>
665
- <dt id="behaviour_26">Addressable::URI when parsed from 'mailto:user@example.com'</dt>
666
- <script type="text/javascript">moveProgressBar('49.7');</script>
813
+ <dt id="behaviour_30">Addressable::URI when parsed from 'mailto:user@example.com'</dt>
814
+ <script type="text/javascript">moveProgressBar('55.4');</script>
667
815
  <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'mailto'</span></dd>
668
- <script type="text/javascript">moveProgressBar('50.0');</script>
816
+ <script type="text/javascript">moveProgressBar('55.6');</script>
669
817
  <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
670
- <script type="text/javascript">moveProgressBar('50.2');</script>
818
+ <script type="text/javascript">moveProgressBar('55.9');</script>
671
819
  <dd class="spec passed"><span class="passed_spec_name">should have a path of 'user@example.com'</span></dd>
672
- <script type="text/javascript">moveProgressBar('50.5');</script>
820
+ <script type="text/javascript">moveProgressBar('56.1');</script>
673
821
  <dd class="spec passed"><span class="passed_spec_name">should have no user</span></dd>
674
- <script type="text/javascript">moveProgressBar('50.8');</script>
822
+ <script type="text/javascript">moveProgressBar('56.3');</script>
675
823
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
676
824
  </dl>
677
825
  </div>
678
826
  <div class="behaviour">
679
827
  <dl>
680
- <dt id="behaviour_27">Addressable::URI when parsed from 'tag:example.com,2006-08-18:/path/to/something'</dt>
681
- <script type="text/javascript">moveProgressBar('51.1');</script>
828
+ <dt id="behaviour_31">Addressable::URI when parsed from 'tag:example.com,2006-08-18:/path/to/something'</dt>
829
+ <script type="text/javascript">moveProgressBar('56.5');</script>
682
830
  <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'tag'</span></dd>
683
- <script type="text/javascript">moveProgressBar('51.3');</script>
831
+ <script type="text/javascript">moveProgressBar('56.8');</script>
684
832
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
685
- <script type="text/javascript">moveProgressBar('51.6');</script>
833
+ <script type="text/javascript">moveProgressBar('57.0');</script>
686
834
  <dd class="spec passed"><span class="passed_spec_name">should have a path of 'example.com,2006-08-18:/path/to/something'</span></dd>
687
- <script type="text/javascript">moveProgressBar('51.9');</script>
835
+ <script type="text/javascript">moveProgressBar('57.2');</script>
688
836
  <dd class="spec passed"><span class="passed_spec_name">should have no user</span></dd>
689
- <script type="text/javascript">moveProgressBar('52.2');</script>
837
+ <script type="text/javascript">moveProgressBar('57.5');</script>
690
838
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
691
839
  </dl>
692
840
  </div>
693
841
  <div class="behaviour">
694
842
  <dl>
695
- <dt id="behaviour_28">Addressable::URI when parsed from 'http://example.com/x;y/'</dt>
696
- <script type="text/javascript">moveProgressBar('52.4');</script>
843
+ <dt id="behaviour_32">Addressable::URI when parsed from 'http://example.com/x;y/'</dt>
844
+ <script type="text/javascript">moveProgressBar('57.7');</script>
697
845
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
698
846
  </dl>
699
847
  </div>
700
848
  <div class="behaviour">
701
849
  <dl>
702
- <dt id="behaviour_29">Addressable::URI when parsed from 'http://example.com/?x=1&amp;y=2'</dt>
703
- <script type="text/javascript">moveProgressBar('52.7');</script>
850
+ <dt id="behaviour_33">Addressable::URI when parsed from 'http://example.com/?x=1&amp;y=2'</dt>
851
+ <script type="text/javascript">moveProgressBar('57.9');</script>
704
852
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
705
853
  </dl>
706
854
  </div>
707
855
  <div class="behaviour">
708
856
  <dl>
709
- <dt id="behaviour_30">Addressable::URI when parsed from 'view-source:http://example.com/'</dt>
710
- <script type="text/javascript">moveProgressBar('53.0');</script>
857
+ <dt id="behaviour_34">Addressable::URI when parsed from 'view-source:http://example.com/'</dt>
858
+ <script type="text/javascript">moveProgressBar('58.1');</script>
711
859
  <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'view-source'</span></dd>
712
- <script type="text/javascript">moveProgressBar('53.3');</script>
860
+ <script type="text/javascript">moveProgressBar('58.4');</script>
713
861
  <dd class="spec passed"><span class="passed_spec_name">should have a path of 'http://example.com/'</span></dd>
714
- <script type="text/javascript">moveProgressBar('53.5');</script>
862
+ <script type="text/javascript">moveProgressBar('58.6');</script>
715
863
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
716
864
  </dl>
717
865
  </div>
718
866
  <div class="behaviour">
719
867
  <dl>
720
- <dt id="behaviour_31">Addressable::URI when parsed from 'http://user:pass@example.com/path/to/resource?query=x#fragment'</dt>
721
- <script type="text/javascript">moveProgressBar('53.8');</script>
868
+ <dt id="behaviour_35">Addressable::URI when parsed from 'http://user:pass@example.com/path/to/resource?query=x#fragment'</dt>
869
+ <script type="text/javascript">moveProgressBar('58.8');</script>
722
870
  <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
723
- <script type="text/javascript">moveProgressBar('54.1');</script>
871
+ <script type="text/javascript">moveProgressBar('59.0');</script>
724
872
  <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'user:pass@example.com'</span></dd>
725
- <script type="text/javascript">moveProgressBar('54.4');</script>
873
+ <script type="text/javascript">moveProgressBar('59.3');</script>
726
874
  <dd class="spec passed"><span class="passed_spec_name">should have a username of 'user'</span></dd>
727
- <script type="text/javascript">moveProgressBar('54.6');</script>
875
+ <script type="text/javascript">moveProgressBar('59.5');</script>
728
876
  <dd class="spec passed"><span class="passed_spec_name">should have a password of 'pass'</span></dd>
729
- <script type="text/javascript">moveProgressBar('54.9');</script>
877
+ <script type="text/javascript">moveProgressBar('59.7');</script>
730
878
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
731
- <script type="text/javascript">moveProgressBar('55.2');</script>
879
+ <script type="text/javascript">moveProgressBar('60.0');</script>
732
880
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
733
- <script type="text/javascript">moveProgressBar('55.5');</script>
881
+ <script type="text/javascript">moveProgressBar('60.2');</script>
734
882
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/path/to/resource'</span></dd>
735
- <script type="text/javascript">moveProgressBar('55.8');</script>
883
+ <script type="text/javascript">moveProgressBar('60.4');</script>
736
884
  <dd class="spec passed"><span class="passed_spec_name">should have a query string of 'query=x'</span></dd>
737
- <script type="text/javascript">moveProgressBar('56.0');</script>
885
+ <script type="text/javascript">moveProgressBar('60.6');</script>
738
886
  <dd class="spec passed"><span class="passed_spec_name">should have a fragment of 'fragment'</span></dd>
739
- <script type="text/javascript">moveProgressBar('56.3');</script>
887
+ <script type="text/javascript">moveProgressBar('60.9');</script>
740
888
  <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
741
- <script type="text/javascript">moveProgressBar('56.6');</script>
889
+ <script type="text/javascript">moveProgressBar('61.1');</script>
742
890
  <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/' to 'http://user:pass@example.com/path/'</span></dd>
743
- <script type="text/javascript">moveProgressBar('56.9');</script>
891
+ <script type="text/javascript">moveProgressBar('61.3');</script>
744
892
  <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/to/resource?query=x#fragment' from 'http://user:pass@example.com/path/'</span></dd>
745
- <script type="text/javascript">moveProgressBar('57.1');</script>
893
+ <script type="text/javascript">moveProgressBar('61.5');</script>
746
894
  <dd class="spec passed"><span class="passed_spec_name">should have a route of '?query=x#fragment' from 'http://user:pass@example.com/path/to/resource'</span></dd>
747
- <script type="text/javascript">moveProgressBar('57.4');</script>
895
+ <script type="text/javascript">moveProgressBar('61.8');</script>
748
896
  <dd class="spec passed"><span class="passed_spec_name">should have a route of '#fragment' from 'http://user:pass@example.com/path/to/resource?query=x'</span></dd>
749
- <script type="text/javascript">moveProgressBar('57.7');</script>
897
+ <script type="text/javascript">moveProgressBar('62.0');</script>
750
898
  <dd class="spec passed"><span class="passed_spec_name">should have a route of '#fragment' from 'http://user:pass@example.com/path/to/resource?query=x#fragment'</span></dd>
751
- <script type="text/javascript">moveProgressBar('58.0');</script>
899
+ <script type="text/javascript">moveProgressBar('62.2');</script>
752
900
  <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://elsewhere.com/' to 'http://elsewhere.com/'</span></dd>
753
- <script type="text/javascript">moveProgressBar('58.2');</script>
901
+ <script type="text/javascript">moveProgressBar('62.5');</script>
902
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://user:pass@example.com/path/to/resource?query=x#fragment' from 'http://example.com/path/to/'</span></dd>
903
+ <script type="text/javascript">moveProgressBar('62.7');</script>
754
904
  <dd class="spec passed"><span class="passed_spec_name">should have the correct scheme after assignment</span></dd>
755
- <script type="text/javascript">moveProgressBar('58.5');</script>
905
+ <script type="text/javascript">moveProgressBar('62.9');</script>
756
906
  <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
757
- <script type="text/javascript">moveProgressBar('58.8');</script>
907
+ <script type="text/javascript">moveProgressBar('63.1');</script>
758
908
  <dd class="spec passed"><span class="passed_spec_name">should have the correct userinfo segment after assignment</span></dd>
759
- <script type="text/javascript">moveProgressBar('59.1');</script>
909
+ <script type="text/javascript">moveProgressBar('63.4');</script>
760
910
  <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
761
- <script type="text/javascript">moveProgressBar('59.3');</script>
911
+ <script type="text/javascript">moveProgressBar('63.6');</script>
762
912
  <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
763
- <script type="text/javascript">moveProgressBar('59.6');</script>
913
+ <script type="text/javascript">moveProgressBar('63.8');</script>
764
914
  <dd class="spec passed"><span class="passed_spec_name">should have the correct host after assignment</span></dd>
765
- <script type="text/javascript">moveProgressBar('59.9');</script>
915
+ <script type="text/javascript">moveProgressBar('64.0');</script>
766
916
  <dd class="spec passed"><span class="passed_spec_name">should have the correct port after assignment</span></dd>
767
- <script type="text/javascript">moveProgressBar('60.2');</script>
917
+ <script type="text/javascript">moveProgressBar('64.3');</script>
768
918
  <dd class="spec passed"><span class="passed_spec_name">should have the correct path after assignment</span></dd>
769
- <script type="text/javascript">moveProgressBar('60.4');</script>
919
+ <script type="text/javascript">moveProgressBar('64.5');</script>
920
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct path after nil assignment</span></dd>
921
+ <script type="text/javascript">moveProgressBar('64.7');</script>
770
922
  <dd class="spec passed"><span class="passed_spec_name">should have the correct query string after assignment</span></dd>
771
- <script type="text/javascript">moveProgressBar('60.7');</script>
923
+ <script type="text/javascript">moveProgressBar('65.0');</script>
772
924
  <dd class="spec passed"><span class="passed_spec_name">should have the correct fragment after assignment</span></dd>
925
+ <script type="text/javascript">moveProgressBar('65.2');</script>
926
+ <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
773
927
  </dl>
774
928
  </div>
775
929
  <div class="behaviour">
776
930
  <dl>
777
- <dt id="behaviour_32">Addressable::URI when parsed from 'http://user@example.com'</dt>
778
- <script type="text/javascript">moveProgressBar('61.0');</script>
931
+ <dt id="behaviour_36">Addressable::URI when parsed from 'http://user@example.com'</dt>
932
+ <script type="text/javascript">moveProgressBar('65.4');</script>
779
933
  <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
780
- <script type="text/javascript">moveProgressBar('61.3');</script>
934
+ <script type="text/javascript">moveProgressBar('65.6');</script>
781
935
  <dd class="spec passed"><span class="passed_spec_name">should have a username of 'user'</span></dd>
782
- <script type="text/javascript">moveProgressBar('61.6');</script>
936
+ <script type="text/javascript">moveProgressBar('65.9');</script>
783
937
  <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
784
- <script type="text/javascript">moveProgressBar('61.8');</script>
938
+ <script type="text/javascript">moveProgressBar('66.1');</script>
785
939
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
786
- <script type="text/javascript">moveProgressBar('62.1');</script>
940
+ <script type="text/javascript">moveProgressBar('66.3');</script>
787
941
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
788
- <script type="text/javascript">moveProgressBar('62.4');</script>
942
+ <script type="text/javascript">moveProgressBar('66.5');</script>
789
943
  <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
790
- <script type="text/javascript">moveProgressBar('62.7');</script>
944
+ <script type="text/javascript">moveProgressBar('66.8');</script>
791
945
  <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
792
- <script type="text/javascript">moveProgressBar('62.9');</script>
946
+ <script type="text/javascript">moveProgressBar('67.0');</script>
793
947
  <dd class="spec passed"><span class="passed_spec_name">should have the correct userinfo segment after assignment</span></dd>
794
- <script type="text/javascript">moveProgressBar('63.2');</script>
948
+ <script type="text/javascript">moveProgressBar('67.2');</script>
795
949
  <dd class="spec passed"><span class="passed_spec_name">should have the correct userinfo segment after nil assignment</span></dd>
796
- <script type="text/javascript">moveProgressBar('63.5');</script>
950
+ <script type="text/javascript">moveProgressBar('67.5');</script>
797
951
  <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
798
- <script type="text/javascript">moveProgressBar('63.8');</script>
952
+ <script type="text/javascript">moveProgressBar('67.7');</script>
799
953
  <dd class="spec passed"><span class="passed_spec_name">should raise an error after nil assignment of authority segment</span></dd>
800
954
  </dl>
801
955
  </div>
802
956
  <div class="behaviour">
803
957
  <dl>
804
- <dt id="behaviour_33">Addressable::URI when parsed from 'http://user:@example.com'</dt>
805
- <script type="text/javascript">moveProgressBar('64.0');</script>
958
+ <dt id="behaviour_37">Addressable::URI when parsed from 'http://user:@example.com'</dt>
959
+ <script type="text/javascript">moveProgressBar('67.9');</script>
806
960
  <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
807
- <script type="text/javascript">moveProgressBar('64.3');</script>
961
+ <script type="text/javascript">moveProgressBar('68.1');</script>
808
962
  <dd class="spec passed"><span class="passed_spec_name">should have a username of 'user'</span></dd>
809
- <script type="text/javascript">moveProgressBar('64.6');</script>
963
+ <script type="text/javascript">moveProgressBar('68.4');</script>
810
964
  <dd class="spec passed"><span class="passed_spec_name">should have a password of ''</span></dd>
811
- <script type="text/javascript">moveProgressBar('64.9');</script>
965
+ <script type="text/javascript">moveProgressBar('68.6');</script>
812
966
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
813
- <script type="text/javascript">moveProgressBar('65.1');</script>
967
+ <script type="text/javascript">moveProgressBar('68.8');</script>
814
968
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
815
- <script type="text/javascript">moveProgressBar('65.4');</script>
969
+ <script type="text/javascript">moveProgressBar('69.0');</script>
816
970
  <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
817
- <script type="text/javascript">moveProgressBar('65.7');</script>
971
+ <script type="text/javascript">moveProgressBar('69.3');</script>
818
972
  <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
819
- <script type="text/javascript">moveProgressBar('66.0');</script>
973
+ <script type="text/javascript">moveProgressBar('69.5');</script>
820
974
  <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
821
975
  </dl>
822
976
  </div>
823
977
  <div class="behaviour">
824
978
  <dl>
825
- <dt id="behaviour_34">Addressable::URI when parsed from 'http://:pass@example.com'</dt>
826
- <script type="text/javascript">moveProgressBar('66.2');</script>
979
+ <dt id="behaviour_38">Addressable::URI when parsed from 'http://:pass@example.com'</dt>
980
+ <script type="text/javascript">moveProgressBar('69.7');</script>
827
981
  <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
828
- <script type="text/javascript">moveProgressBar('66.5');</script>
982
+ <script type="text/javascript">moveProgressBar('70.0');</script>
829
983
  <dd class="spec passed"><span class="passed_spec_name">should have a username of ''</span></dd>
830
- <script type="text/javascript">moveProgressBar('66.8');</script>
984
+ <script type="text/javascript">moveProgressBar('70.2');</script>
831
985
  <dd class="spec passed"><span class="passed_spec_name">should have a password of 'pass'</span></dd>
832
- <script type="text/javascript">moveProgressBar('67.1');</script>
986
+ <script type="text/javascript">moveProgressBar('70.4');</script>
833
987
  <dd class="spec passed"><span class="passed_spec_name">should have a userinfo of ':pass'</span></dd>
834
- <script type="text/javascript">moveProgressBar('67.4');</script>
988
+ <script type="text/javascript">moveProgressBar('70.6');</script>
835
989
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
836
- <script type="text/javascript">moveProgressBar('67.6');</script>
990
+ <script type="text/javascript">moveProgressBar('70.9');</script>
837
991
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
838
- <script type="text/javascript">moveProgressBar('67.9');</script>
992
+ <script type="text/javascript">moveProgressBar('71.1');</script>
839
993
  <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
840
- <script type="text/javascript">moveProgressBar('68.2');</script>
994
+ <script type="text/javascript">moveProgressBar('71.3');</script>
841
995
  <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
842
- <script type="text/javascript">moveProgressBar('68.5');</script>
996
+ <script type="text/javascript">moveProgressBar('71.5');</script>
843
997
  <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
844
998
  </dl>
845
999
  </div>
846
1000
  <div class="behaviour">
847
1001
  <dl>
848
- <dt id="behaviour_35">Addressable::URI when parsed from 'http://:@example.com'</dt>
849
- <script type="text/javascript">moveProgressBar('68.7');</script>
1002
+ <dt id="behaviour_39">Addressable::URI when parsed from 'http://:@example.com'</dt>
1003
+ <script type="text/javascript">moveProgressBar('71.8');</script>
850
1004
  <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
851
- <script type="text/javascript">moveProgressBar('69.0');</script>
1005
+ <script type="text/javascript">moveProgressBar('72.0');</script>
852
1006
  <dd class="spec passed"><span class="passed_spec_name">should have a username of ''</span></dd>
853
- <script type="text/javascript">moveProgressBar('69.3');</script>
1007
+ <script type="text/javascript">moveProgressBar('72.2');</script>
854
1008
  <dd class="spec passed"><span class="passed_spec_name">should have a password of ''</span></dd>
855
- <script type="text/javascript">moveProgressBar('69.6');</script>
1009
+ <script type="text/javascript">moveProgressBar('72.5');</script>
856
1010
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
857
- <script type="text/javascript">moveProgressBar('69.8');</script>
1011
+ <script type="text/javascript">moveProgressBar('72.7');</script>
858
1012
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
859
- <script type="text/javascript">moveProgressBar('70.1');</script>
1013
+ <script type="text/javascript">moveProgressBar('72.9');</script>
860
1014
  <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
861
- <script type="text/javascript">moveProgressBar('70.4');</script>
1015
+ <script type="text/javascript">moveProgressBar('73.1');</script>
862
1016
  <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
863
- <script type="text/javascript">moveProgressBar('70.7');</script>
1017
+ <script type="text/javascript">moveProgressBar('73.4');</script>
864
1018
  <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
865
1019
  </dl>
866
1020
  </div>
867
1021
  <div class="behaviour">
868
1022
  <dl>
869
- <dt id="behaviour_36">Addressable::URI when parsed from '#example'</dt>
870
- <script type="text/javascript">moveProgressBar('70.9');</script>
1023
+ <dt id="behaviour_40">Addressable::URI when parsed from '#example'</dt>
1024
+ <script type="text/javascript">moveProgressBar('73.6');</script>
871
1025
  <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
872
- <script type="text/javascript">moveProgressBar('71.2');</script>
1026
+ <script type="text/javascript">moveProgressBar('73.8');</script>
873
1027
  <dd class="spec passed"><span class="passed_spec_name">should have a host of nil</span></dd>
874
- <script type="text/javascript">moveProgressBar('71.5');</script>
1028
+ <script type="text/javascript">moveProgressBar('74.0');</script>
875
1029
  <dd class="spec passed"><span class="passed_spec_name">should have a path of ''</span></dd>
876
- <script type="text/javascript">moveProgressBar('71.8');</script>
1030
+ <script type="text/javascript">moveProgressBar('74.3');</script>
877
1031
  <dd class="spec passed"><span class="passed_spec_name">should have a query string of nil</span></dd>
878
- <script type="text/javascript">moveProgressBar('72.0');</script>
1032
+ <script type="text/javascript">moveProgressBar('74.5');</script>
879
1033
  <dd class="spec passed"><span class="passed_spec_name">should have a fragment of 'example'</span></dd>
880
1034
  </dl>
881
1035
  </div>
882
1036
  <div class="behaviour">
883
1037
  <dl>
884
- <dt id="behaviour_37">Addressable::URI when parsed from the network-path reference '//example.com/'</dt>
885
- <script type="text/javascript">moveProgressBar('72.3');</script>
1038
+ <dt id="behaviour_41">Addressable::URI when parsed from the network-path reference '//example.com/'</dt>
1039
+ <script type="text/javascript">moveProgressBar('74.7');</script>
886
1040
  <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
887
- <script type="text/javascript">moveProgressBar('72.6');</script>
1041
+ <script type="text/javascript">moveProgressBar('75.0');</script>
888
1042
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
889
- <script type="text/javascript">moveProgressBar('72.9');</script>
1043
+ <script type="text/javascript">moveProgressBar('75.2');</script>
890
1044
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
1045
+ <script type="text/javascript">moveProgressBar('75.4');</script>
1046
+ <dd class="spec passed"><span class="passed_spec_name">should raise an error if routing is attempted</span></dd>
891
1047
  </dl>
892
1048
  </div>
893
1049
  <div class="behaviour">
894
1050
  <dl>
895
- <dt id="behaviour_38">Addressable::URI when parsed from 'feed://http://example.com/'</dt>
896
- <script type="text/javascript">moveProgressBar('73.2');</script>
897
- <dd class="spec passed"><span class="passed_spec_name">should have a path of 'http://example.com/'</span></dd>
898
- <script type="text/javascript">moveProgressBar('73.4');</script>
899
- <dd class="spec passed"><span class="passed_spec_name">should normalize to 'http://example.com/'</span></dd>
1051
+ <dt id="behaviour_42">Addressable::URI when parsed from 'feed://http://example.com/'</dt>
1052
+ <script type="text/javascript">moveProgressBar('75.6');</script>
1053
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'http'</span></dd>
1054
+ <script type="text/javascript">moveProgressBar('75.9');</script>
1055
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '//example.com/'</span></dd>
900
1056
  </dl>
901
1057
  </div>
902
1058
  <div class="behaviour">
903
1059
  <dl>
904
- <dt id="behaviour_39">Addressable::URI when parsed from 'feed:http://example.com/'</dt>
905
- <script type="text/javascript">moveProgressBar('73.7');</script>
1060
+ <dt id="behaviour_43">Addressable::URI when parsed from 'feed:http://example.com/'</dt>
1061
+ <script type="text/javascript">moveProgressBar('76.1');</script>
906
1062
  <dd class="spec passed"><span class="passed_spec_name">should have a path of 'http://example.com/'</span></dd>
907
- <script type="text/javascript">moveProgressBar('74.0');</script>
1063
+ <script type="text/javascript">moveProgressBar('76.3');</script>
908
1064
  <dd class="spec passed"><span class="passed_spec_name">should normalize to 'http://example.com/'</span></dd>
909
1065
  </dl>
910
1066
  </div>
911
1067
  <div class="behaviour">
912
1068
  <dl>
913
- <dt id="behaviour_40">Addressable::URI when parsed from 'example://a/b/c/%7Bfoo%7D'</dt>
914
- <script type="text/javascript">moveProgressBar('74.3');</script>
1069
+ <dt id="behaviour_44">Addressable::URI when parsed from 'example://a/b/c/%7Bfoo%7D'</dt>
1070
+ <script type="text/javascript">moveProgressBar('76.5');</script>
915
1071
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to eXAMPLE://a/./b/../b/%63/%7bfoo%7d</span></dd>
916
1072
  </dl>
917
1073
  </div>
918
1074
  <div class="behaviour">
919
1075
  <dl>
920
- <dt id="behaviour_41">Addressable::URI when parsed from 'http://example.com/indirect/path/./to/../resource/'</dt>
921
- <script type="text/javascript">moveProgressBar('74.5');</script>
1076
+ <dt id="behaviour_45">Addressable::URI when parsed from 'http://example.com/indirect/path/./to/../resource/'</dt>
1077
+ <script type="text/javascript">moveProgressBar('76.8');</script>
922
1078
  <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
923
- <script type="text/javascript">moveProgressBar('74.8');</script>
1079
+ <script type="text/javascript">moveProgressBar('77.0');</script>
924
1080
  <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
925
- <script type="text/javascript">moveProgressBar('75.1');</script>
1081
+ <script type="text/javascript">moveProgressBar('77.2');</script>
926
1082
  <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
927
- <script type="text/javascript">moveProgressBar('75.4');</script>
1083
+ <script type="text/javascript">moveProgressBar('77.5');</script>
928
1084
  <dd class="spec passed"><span class="passed_spec_name">should have a path of '/indirect/path/./to/../resource/'</span></dd>
929
- <script type="text/javascript">moveProgressBar('75.6');</script>
1085
+ <script type="text/javascript">moveProgressBar('77.7');</script>
930
1086
  <dd class="spec passed"><span class="passed_spec_name">should have a normalized path of '/indirect/path/resource/'</span></dd>
931
1087
  </dl>
932
1088
  </div>
933
1089
  <div class="behaviour">
934
1090
  <dl>
935
- <dt id="behaviour_42">Addressable::URI when parsed from 'http://under_score.example.com/'</dt>
936
- <script type="text/javascript">moveProgressBar('75.9');</script>
1091
+ <dt id="behaviour_46">Addressable::URI when parsed from 'http://under_score.example.com/'</dt>
1092
+ <script type="text/javascript">moveProgressBar('77.9');</script>
937
1093
  <dd class="spec passed"><span class="passed_spec_name">should not cause an error</span></dd>
938
1094
  </dl>
939
1095
  </div>
940
1096
  <div class="behaviour">
941
1097
  <dl>
942
- <dt id="behaviour_43">Addressable::URI when parsed from './this:that'</dt>
943
- <script type="text/javascript">moveProgressBar('76.2');</script>
1098
+ <dt id="behaviour_47">Addressable::URI when parsed from './this:that'</dt>
1099
+ <script type="text/javascript">moveProgressBar('78.1');</script>
944
1100
  <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
945
- <script type="text/javascript">moveProgressBar('76.5');</script>
1101
+ <script type="text/javascript">moveProgressBar('78.4');</script>
946
1102
  <dd class="spec passed"><span class="passed_spec_name">should have no scheme</span></dd>
947
1103
  </dl>
948
1104
  </div>
949
1105
  <div class="behaviour">
950
1106
  <dl>
951
- <dt id="behaviour_44">Addressable::URI when parsed from 'this:that'</dt>
952
- <script type="text/javascript">moveProgressBar('76.7');</script>
1107
+ <dt id="behaviour_48">Addressable::URI when parsed from 'this:that'</dt>
1108
+ <script type="text/javascript">moveProgressBar('78.6');</script>
953
1109
  <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
954
- <script type="text/javascript">moveProgressBar('77.0');</script>
1110
+ <script type="text/javascript">moveProgressBar('78.8');</script>
955
1111
  <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'this'</span></dd>
956
1112
  </dl>
957
1113
  </div>
958
1114
  <div class="behaviour">
959
1115
  <dl>
960
- <dt id="behaviour_45">Addressable::URI when parsed from 'http://www.詹姆斯.com/'</dt>
961
- <script type="text/javascript">moveProgressBar('77.3');</script>
1116
+ <dt id="behaviour_49">Addressable::URI when parsed from 'http://www.詹姆斯.com/'</dt>
1117
+ <script type="text/javascript">moveProgressBar('79.0');</script>
962
1118
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to 'http://www.xn--8ws00zhy3a.com/'</span></dd>
963
- <script type="text/javascript">moveProgressBar('77.6');</script>
1119
+ <script type="text/javascript">moveProgressBar('79.3');</script>
964
1120
  <dd class="spec passed"><span class="passed_spec_name">should not have domain name encoded during normalization</span></dd>
965
1121
  </dl>
966
1122
  </div>
967
1123
  <div class="behaviour">
968
1124
  <dl>
969
- <dt id="behaviour_46">Addressable::URI when parsed from 'http://www.詹姆斯.com/ some spaces /'</dt>
970
- <script type="text/javascript">moveProgressBar('77.9');</script>
1125
+ <dt id="behaviour_50">Addressable::URI when parsed from 'http://www.詹姆斯.com/ some spaces /'</dt>
1126
+ <script type="text/javascript">moveProgressBar('79.5');</script>
971
1127
  <dd class="spec passed"><span class="passed_spec_name">should be equivalent to 'http://www.xn--8ws00zhy3a.com/%20some%20spaces%20/'</span></dd>
972
- <script type="text/javascript">moveProgressBar('78.1');</script>
1128
+ <script type="text/javascript">moveProgressBar('79.7');</script>
973
1129
  <dd class="spec passed"><span class="passed_spec_name">should not have domain name encoded during normalization</span></dd>
974
1130
  </dl>
975
1131
  </div>
976
1132
  <div class="behaviour">
977
1133
  <dl>
978
- <dt id="behaviour_47">Addressable::URI when parsed from 'http://www.xn--8ws00zhy3a.com/'</dt>
979
- <script type="text/javascript">moveProgressBar('78.4');</script>
1134
+ <dt id="behaviour_51">Addressable::URI when parsed from 'http://www.xn--8ws00zhy3a.com/'</dt>
1135
+ <script type="text/javascript">moveProgressBar('80.0');</script>
980
1136
  <dd class="spec passed"><span class="passed_spec_name">should be displayed as http://www.詹姆斯.com/</span></dd>
981
1137
  </dl>
982
1138
  </div>
983
1139
  <div class="behaviour">
984
1140
  <dl>
985
- <dt id="behaviour_48">Addressable::URI when parsed from 'http://www.詹姆斯.com/atomtests/iri/詹.html'</dt>
986
- <script type="text/javascript">moveProgressBar('78.7');</script>
1141
+ <dt id="behaviour_52">Addressable::URI when parsed from 'http://www.詹姆斯.com/atomtests/iri/詹.html'</dt>
1142
+ <script type="text/javascript">moveProgressBar('80.2');</script>
987
1143
  <dd class="spec passed"><span class="passed_spec_name">should normalize to http://www.xn--8ws00zhy3a.com/atomtests/iri/%E8%A9%B9.html</span></dd>
988
1144
  </dl>
989
1145
  </div>
990
1146
  <div class="behaviour">
991
1147
  <dl>
992
- <dt id="behaviour_49">Addressable::URI with a base uri of 'http://a/b/c/d;p?q'</dt>
993
- <script type="text/javascript">moveProgressBar('79.0');</script>
1148
+ <dt id="behaviour_53">Addressable::URI with a base uri of 'http://a/b/c/d;p?q'</dt>
1149
+ <script type="text/javascript">moveProgressBar('80.4');</script>
994
1150
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g:h' should resolve to g:h</span></dd>
995
- <script type="text/javascript">moveProgressBar('79.2');</script>
1151
+ <script type="text/javascript">moveProgressBar('80.6');</script>
996
1152
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g' should resolve to http://a/b/c/g</span></dd>
997
- <script type="text/javascript">moveProgressBar('79.5');</script>
1153
+ <script type="text/javascript">moveProgressBar('80.9');</script>
998
1154
  <dd class="spec passed"><span class="passed_spec_name">when joined with './g' should resolve to http://a/b/c/g</span></dd>
999
- <script type="text/javascript">moveProgressBar('79.8');</script>
1155
+ <script type="text/javascript">moveProgressBar('81.1');</script>
1000
1156
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g/' should resolve to http://a/b/c/g/</span></dd>
1001
- <script type="text/javascript">moveProgressBar('80.1');</script>
1157
+ <script type="text/javascript">moveProgressBar('81.3');</script>
1002
1158
  <dd class="spec passed"><span class="passed_spec_name">when joined with '/g' should resolve to http://a/g</span></dd>
1003
- <script type="text/javascript">moveProgressBar('80.3');</script>
1159
+ <script type="text/javascript">moveProgressBar('81.5');</script>
1004
1160
  <dd class="spec passed"><span class="passed_spec_name">when joined with '//g' should resolve to http://g</span></dd>
1005
- <script type="text/javascript">moveProgressBar('80.6');</script>
1161
+ <script type="text/javascript">moveProgressBar('81.8');</script>
1006
1162
  <dd class="spec passed"><span class="passed_spec_name">when joined with '?y' should resolve to http://a/b/c/d;p?y</span></dd>
1007
- <script type="text/javascript">moveProgressBar('80.9');</script>
1163
+ <script type="text/javascript">moveProgressBar('82.0');</script>
1008
1164
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y' should resolve to http://a/b/c/g?y</span></dd>
1009
- <script type="text/javascript">moveProgressBar('81.2');</script>
1165
+ <script type="text/javascript">moveProgressBar('82.2');</script>
1010
1166
  <dd class="spec passed"><span class="passed_spec_name">when joined with '#s' should resolve to http://a/b/c/d;p?q#s</span></dd>
1011
- <script type="text/javascript">moveProgressBar('81.4');</script>
1167
+ <script type="text/javascript">moveProgressBar('82.5');</script>
1012
1168
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g#s' should resolve to http://a/b/c/g#s</span></dd>
1013
- <script type="text/javascript">moveProgressBar('81.7');</script>
1169
+ <script type="text/javascript">moveProgressBar('82.7');</script>
1014
1170
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y#s' should resolve to http://a/b/c/g?y#s</span></dd>
1015
- <script type="text/javascript">moveProgressBar('82.0');</script>
1171
+ <script type="text/javascript">moveProgressBar('82.9');</script>
1016
1172
  <dd class="spec passed"><span class="passed_spec_name">when joined with ';x' should resolve to http://a/b/c/;x</span></dd>
1017
- <script type="text/javascript">moveProgressBar('82.3');</script>
1173
+ <script type="text/javascript">moveProgressBar('83.1');</script>
1018
1174
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x' should resolve to http://a/b/c/g;x</span></dd>
1019
- <script type="text/javascript">moveProgressBar('82.5');</script>
1175
+ <script type="text/javascript">moveProgressBar('83.4');</script>
1020
1176
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x?y#s' should resolve to http://a/b/c/g;x?y#s</span></dd>
1021
- <script type="text/javascript">moveProgressBar('82.8');</script>
1177
+ <script type="text/javascript">moveProgressBar('83.6');</script>
1022
1178
  <dd class="spec passed"><span class="passed_spec_name">when joined with '' should resolve to http://a/b/c/d;p?q</span></dd>
1023
- <script type="text/javascript">moveProgressBar('83.1');</script>
1179
+ <script type="text/javascript">moveProgressBar('83.8');</script>
1024
1180
  <dd class="spec passed"><span class="passed_spec_name">when joined with '.' should resolve to http://a/b/c/</span></dd>
1025
- <script type="text/javascript">moveProgressBar('83.4');</script>
1181
+ <script type="text/javascript">moveProgressBar('84.0');</script>
1026
1182
  <dd class="spec passed"><span class="passed_spec_name">when joined with './' should resolve to http://a/b/c/</span></dd>
1027
- <script type="text/javascript">moveProgressBar('83.7');</script>
1183
+ <script type="text/javascript">moveProgressBar('84.3');</script>
1028
1184
  <dd class="spec passed"><span class="passed_spec_name">when joined with '..' should resolve to http://a/b/</span></dd>
1029
- <script type="text/javascript">moveProgressBar('83.9');</script>
1185
+ <script type="text/javascript">moveProgressBar('84.5');</script>
1030
1186
  <dd class="spec passed"><span class="passed_spec_name">when joined with '../' should resolve to http://a/b/</span></dd>
1031
- <script type="text/javascript">moveProgressBar('84.2');</script>
1187
+ <script type="text/javascript">moveProgressBar('84.7');</script>
1032
1188
  <dd class="spec passed"><span class="passed_spec_name">when joined with '../g' should resolve to http://a/b/g</span></dd>
1033
- <script type="text/javascript">moveProgressBar('84.5');</script>
1189
+ <script type="text/javascript">moveProgressBar('85.0');</script>
1034
1190
  <dd class="spec passed"><span class="passed_spec_name">when joined with '../..' should resolve to http://a/</span></dd>
1035
- <script type="text/javascript">moveProgressBar('84.8');</script>
1191
+ <script type="text/javascript">moveProgressBar('85.2');</script>
1036
1192
  <dd class="spec passed"><span class="passed_spec_name">when joined with '../../' should resolve to http://a/</span></dd>
1037
- <script type="text/javascript">moveProgressBar('85.0');</script>
1193
+ <script type="text/javascript">moveProgressBar('85.4');</script>
1038
1194
  <dd class="spec passed"><span class="passed_spec_name">when joined with '../../g' should resolve to http://a/g</span></dd>
1039
- <script type="text/javascript">moveProgressBar('85.3');</script>
1040
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../../../g' should resolve to http://a/g</span></dd>
1041
1195
  <script type="text/javascript">moveProgressBar('85.6');</script>
1042
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../.././../g' should resolve to http://a/g</span></dd>
1196
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../../../g' should resolve to http://a/g</span></dd>
1043
1197
  <script type="text/javascript">moveProgressBar('85.9');</script>
1044
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../../../../g' should resolve to http://a/g</span></dd>
1198
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../.././../g' should resolve to http://a/g</span></dd>
1045
1199
  <script type="text/javascript">moveProgressBar('86.1');</script>
1200
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../../../../g' should resolve to http://a/g</span></dd>
1201
+ <script type="text/javascript">moveProgressBar('86.3');</script>
1046
1202
  <dd class="spec passed"><span class="passed_spec_name">when joined with '/./g' should resolve to http://a/g</span></dd>
1047
- <script type="text/javascript">moveProgressBar('86.4');</script>
1203
+ <script type="text/javascript">moveProgressBar('86.5');</script>
1048
1204
  <dd class="spec passed"><span class="passed_spec_name">when joined with '/../g' should resolve to http://a/g</span></dd>
1049
- <script type="text/javascript">moveProgressBar('86.7');</script>
1205
+ <script type="text/javascript">moveProgressBar('86.8');</script>
1050
1206
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g.' should resolve to http://a/b/c/g.</span></dd>
1051
1207
  <script type="text/javascript">moveProgressBar('87.0');</script>
1052
1208
  <dd class="spec passed"><span class="passed_spec_name">when joined with '.g' should resolve to http://a/b/c/.g</span></dd>
@@ -1054,190 +1210,260 @@ a {
1054
1210
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g..' should resolve to http://a/b/c/g..</span></dd>
1055
1211
  <script type="text/javascript">moveProgressBar('87.5');</script>
1056
1212
  <dd class="spec passed"><span class="passed_spec_name">when joined with '..g' should resolve to http://a/b/c/..g</span></dd>
1057
- <script type="text/javascript">moveProgressBar('87.8');</script>
1213
+ <script type="text/javascript">moveProgressBar('87.7');</script>
1058
1214
  <dd class="spec passed"><span class="passed_spec_name">when joined with './../g' should resolve to http://a/b/g</span></dd>
1059
- <script type="text/javascript">moveProgressBar('88.1');</script>
1215
+ <script type="text/javascript">moveProgressBar('87.9');</script>
1060
1216
  <dd class="spec passed"><span class="passed_spec_name">when joined with './g/.' should resolve to http://a/b/c/g/</span></dd>
1061
- <script type="text/javascript">moveProgressBar('88.3');</script>
1217
+ <script type="text/javascript">moveProgressBar('88.1');</script>
1062
1218
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g/./h' should resolve to http://a/b/c/g/h</span></dd>
1063
- <script type="text/javascript">moveProgressBar('88.6');</script>
1219
+ <script type="text/javascript">moveProgressBar('88.4');</script>
1064
1220
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g/../h' should resolve to http://a/b/c/h</span></dd>
1065
- <script type="text/javascript">moveProgressBar('88.9');</script>
1221
+ <script type="text/javascript">moveProgressBar('88.6');</script>
1066
1222
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x=1/./y' should resolve to http://a/b/c/g;x=1/y</span></dd>
1067
- <script type="text/javascript">moveProgressBar('89.2');</script>
1223
+ <script type="text/javascript">moveProgressBar('88.8');</script>
1068
1224
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x=1/../y' should resolve to http://a/b/c/y</span></dd>
1069
- <script type="text/javascript">moveProgressBar('89.5');</script>
1225
+ <script type="text/javascript">moveProgressBar('89.0');</script>
1070
1226
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y/./x' should resolve to http://a/b/c/g?y/./x</span></dd>
1071
- <script type="text/javascript">moveProgressBar('89.7');</script>
1227
+ <script type="text/javascript">moveProgressBar('89.3');</script>
1072
1228
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y/../x' should resolve to http://a/b/c/g?y/../x</span></dd>
1073
- <script type="text/javascript">moveProgressBar('90.0');</script>
1229
+ <script type="text/javascript">moveProgressBar('89.5');</script>
1074
1230
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g#s/./x' should resolve to http://a/b/c/g#s/./x</span></dd>
1075
- <script type="text/javascript">moveProgressBar('90.3');</script>
1231
+ <script type="text/javascript">moveProgressBar('89.7');</script>
1076
1232
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'g#s/../x' should resolve to http://a/b/c/g#s/../x</span></dd>
1077
- <script type="text/javascript">moveProgressBar('90.6');</script>
1233
+ <script type="text/javascript">moveProgressBar('90.0');</script>
1078
1234
  <dd class="spec passed"><span class="passed_spec_name">when joined with 'http:g' should resolve to http:g</span></dd>
1079
- <script type="text/javascript">moveProgressBar('90.8');</script>
1235
+ <script type="text/javascript">moveProgressBar('90.2');</script>
1080
1236
  <dd class="spec passed"><span class="passed_spec_name">when joined with '//example.com/' should resolve to http://example.com/</span></dd>
1081
1237
  </dl>
1082
1238
  </div>
1083
1239
  <div class="behaviour">
1084
1240
  <dl>
1085
- <dt id="behaviour_50">Addressable::URI::IDNA without libidn bindings</dt>
1086
- <script type="text/javascript">moveProgressBar('91.1');</script>
1241
+ <dt id="behaviour_54">Addressable::URI::IDNA without libidn bindings</dt>
1242
+ <script type="text/javascript">moveProgressBar('90.4');</script>
1087
1243
  <dd class="spec passed"><span class="passed_spec_name">should raise an exception when an operation is attempted</span></dd>
1088
- <script type="text/javascript">moveProgressBar('91.4');</script>
1244
+ <script type="text/javascript">moveProgressBar('90.6');</script>
1089
1245
  <dd class="spec passed"><span class="passed_spec_name">should not cause normalization routines to error out</span></dd>
1090
- <script type="text/javascript">moveProgressBar('91.7');</script>
1246
+ <script type="text/javascript">moveProgressBar('90.9');</script>
1091
1247
  <dd class="spec passed"><span class="passed_spec_name">should not cause display uri routines to error out</span></dd>
1092
1248
  </dl>
1093
1249
  </div>
1094
1250
  <div class="behaviour">
1095
1251
  <dl>
1096
- <dt id="behaviour_51">Addressable::URI::IDNA with rubygems and idn missing</dt>
1097
- <script type="text/javascript">moveProgressBar('91.9');</script>
1252
+ <dt id="behaviour_55">Addressable::URI::IDNA with rubygems and idn missing</dt>
1253
+ <script type="text/javascript">moveProgressBar('91.1');</script>
1098
1254
  <dd class="spec passed"><span class="passed_spec_name">should not raise an exception while checking if libidn is available</span></dd>
1099
- <script type="text/javascript">moveProgressBar('92.2');</script>
1255
+ <script type="text/javascript">moveProgressBar('91.3');</script>
1100
1256
  <dd class="spec passed"><span class="passed_spec_name">should not cause normalization routines to error out</span></dd>
1101
- <script type="text/javascript">moveProgressBar('92.5');</script>
1257
+ <script type="text/javascript">moveProgressBar('91.5');</script>
1102
1258
  <dd class="spec passed"><span class="passed_spec_name">should not cause display uri routines to error out</span></dd>
1103
1259
  </dl>
1104
1260
  </div>
1105
1261
  <div class="behaviour">
1106
1262
  <dl>
1107
- <dt id="behaviour_52">Addressable::URI when extracting from an arbitrary text</dt>
1108
- <script type="text/javascript">moveProgressBar('92.8');</script>
1263
+ <dt id="behaviour_56">Addressable::URI when extracting from an arbitrary text</dt>
1264
+ <script type="text/javascript">moveProgressBar('91.8');</script>
1109
1265
  <dd class="spec passed"><span class="passed_spec_name">should have all obvious URIs extractable from it</span></dd>
1110
1266
  </dl>
1111
1267
  </div>
1112
1268
  <div class="behaviour">
1113
1269
  <dl>
1114
- <dt id="behaviour_53">Addressable::URI when extracting from an arbitrary text containing invalid URIs</dt>
1115
- <script type="text/javascript">moveProgressBar('93.0');</script>
1270
+ <dt id="behaviour_57">Addressable::URI when extracting from an arbitrary text containing invalid URIs</dt>
1271
+ <script type="text/javascript">moveProgressBar('92.0');</script>
1116
1272
  <dd class="spec passed"><span class="passed_spec_name">should ignore invalid URIs when extracting</span></dd>
1117
1273
  </dl>
1118
1274
  </div>
1119
1275
  <div class="behaviour">
1120
1276
  <dl>
1121
- <dt id="behaviour_54">Addressable::URI when converting the path 'relative/path/to/something'</dt>
1122
- <script type="text/javascript">moveProgressBar('93.3');</script>
1277
+ <dt id="behaviour_58">Addressable::URI when converting the path 'relative/path/to/something'</dt>
1278
+ <script type="text/javascript">moveProgressBar('92.2');</script>
1123
1279
  <dd class="spec passed"><span class="passed_spec_name">should convert to 'relative/path/to/something'</span></dd>
1124
1280
  </dl>
1125
1281
  </div>
1126
1282
  <div class="behaviour">
1127
1283
  <dl>
1128
- <dt id="behaviour_55">Addressable::URI when given the root directory</dt>
1129
- <script type="text/javascript">moveProgressBar('93.6');</script>
1284
+ <dt id="behaviour_59">Addressable::URI when given the root directory</dt>
1285
+ <script type="text/javascript">moveProgressBar('92.5');</script>
1130
1286
  <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///'</span></dd>
1131
1287
  </dl>
1132
1288
  </div>
1133
1289
  <div class="behaviour">
1134
1290
  <dl>
1135
- <dt id="behaviour_56">Addressable::URI when given the path '/home/user/'</dt>
1136
- <script type="text/javascript">moveProgressBar('93.9');</script>
1291
+ <dt id="behaviour_60">Addressable::URI when given the path '/home/user/'</dt>
1292
+ <script type="text/javascript">moveProgressBar('92.7');</script>
1137
1293
  <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///home/user/'</span></dd>
1138
1294
  </dl>
1139
1295
  </div>
1140
1296
  <div class="behaviour">
1141
1297
  <dl>
1142
- <dt id="behaviour_57">Addressable::URI when given the path 'c:\windows\My Documents 100%20\foo.txt'</dt>
1143
- <script type="text/javascript">moveProgressBar('94.1');</script>
1298
+ <dt id="behaviour_61">Addressable::URI when given the path 'c:\windows\My Documents 100%20\foo.txt'</dt>
1299
+ <script type="text/javascript">moveProgressBar('92.9');</script>
1144
1300
  <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///c:/windows/My%20Documents%20100%20/foo.txt'</span></dd>
1145
1301
  </dl>
1146
1302
  </div>
1147
1303
  <div class="behaviour">
1148
1304
  <dl>
1149
- <dt id="behaviour_58">Addressable::URI when given the path 'file://c:\windows\My Documents 100%20\foo.txt'</dt>
1150
- <script type="text/javascript">moveProgressBar('94.4');</script>
1305
+ <dt id="behaviour_62">Addressable::URI when given the path 'file://c:\windows\My Documents 100%20\foo.txt'</dt>
1306
+ <script type="text/javascript">moveProgressBar('93.1');</script>
1151
1307
  <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///c:/windows/My%20Documents%20100%20/foo.txt'</span></dd>
1152
1308
  </dl>
1153
1309
  </div>
1154
1310
  <div class="behaviour">
1155
1311
  <dl>
1156
- <dt id="behaviour_59">Addressable::URI when given the path 'file:///c|/windows/My%20Documents%20100%20/foo.txt'</dt>
1157
- <script type="text/javascript">moveProgressBar('94.7');</script>
1312
+ <dt id="behaviour_63">Addressable::URI when given the path 'file:///c|/windows/My%20Documents%20100%20/foo.txt'</dt>
1313
+ <script type="text/javascript">moveProgressBar('93.4');</script>
1158
1314
  <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///c:/windows/My%20Documents%20100%20/foo.txt'</span></dd>
1159
1315
  </dl>
1160
1316
  </div>
1161
1317
  <div class="behaviour">
1162
1318
  <dl>
1163
- <dt id="behaviour_60">Addressable::URI when given an http protocol URI</dt>
1164
- <script type="text/javascript">moveProgressBar('95.0');</script>
1319
+ <dt id="behaviour_64">Addressable::URI when given an http protocol URI</dt>
1320
+ <script type="text/javascript">moveProgressBar('93.6');</script>
1165
1321
  <dd class="spec passed"><span class="passed_spec_name">should not do any conversion at all</span></dd>
1166
1322
  </dl>
1167
1323
  </div>
1168
1324
  <div class="behaviour">
1169
1325
  <dl>
1170
- <dt id="behaviour_61">Addressable::URI when given the template pattern 'http://example.com/search/{query}/' to be processed with the ExampleProcessor</dt>
1171
- <script type="text/javascript">moveProgressBar('95.3');</script>
1326
+ <dt id="behaviour_65">Addressable::URI when given the template pattern 'http://example.com/search/{query}/' to be processed with the ExampleProcessor</dt>
1327
+ <script type="text/javascript">moveProgressBar('93.8');</script>
1172
1328
  <dd class="spec passed"><span class="passed_spec_name">should expand to 'http://example.com/search/an+example+search+query/' with a mapping of {&quot;query&quot; =&gt; &quot;an example search query&quot;} </span></dd>
1173
- <script type="text/javascript">moveProgressBar('95.5');</script>
1329
+ <script type="text/javascript">moveProgressBar('94.0');</script>
1174
1330
  <dd class="spec passed"><span class="passed_spec_name">should raise an error with a mapping of {&quot;query&quot; =&gt; &quot;invalid!&quot;}</span></dd>
1175
1331
  </dl>
1176
1332
  </div>
1177
1333
  <div class="behaviour">
1178
1334
  <dl>
1179
- <dt id="behaviour_62">Addressable::URI when given the mapping supplied in Section 3.3.1 of the URI Template draft</dt>
1180
- <script type="text/javascript">moveProgressBar('95.8');</script>
1335
+ <dt id="behaviour_66">Addressable::URI when given the mapping supplied in Section 3.3.1 of the URI Template draft</dt>
1336
+ <script type="text/javascript">moveProgressBar('94.3');</script>
1181
1337
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org/page1#fred' when used to expand 'http://example.org/page1#{a}'</span></dd>
1182
- <script type="text/javascript">moveProgressBar('96.1');</script>
1338
+ <script type="text/javascript">moveProgressBar('94.5');</script>
1183
1339
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org/fred/barney/' when used to expand 'http://example.org/{a}/{b}/'</span></dd>
1184
- <script type="text/javascript">moveProgressBar('96.4');</script>
1340
+ <script type="text/javascript">moveProgressBar('94.7');</script>
1185
1341
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org/fredbarney/' when used to expand 'http://example.org/{a}{b}/'</span></dd>
1186
- <script type="text/javascript">moveProgressBar('96.6');</script>
1342
+ <script type="text/javascript">moveProgressBar('95.0');</script>
1187
1343
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.com/order/cheeseburger/cheeseburger/cheeseburger/' when used to expand 'http://example.com/order/{c}/{c}/{c}/'</span></dd>
1188
- <script type="text/javascript">moveProgressBar('96.9');</script>
1344
+ <script type="text/javascript">moveProgressBar('95.2');</script>
1189
1345
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org/one%20two%20three' when used to expand 'http://example.org/{d}'</span></dd>
1190
- <script type="text/javascript">moveProgressBar('97.2');</script>
1346
+ <script type="text/javascript">moveProgressBar('95.4');</script>
1191
1347
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org/20%25%20tricky' when used to expand 'http://example.org/{e}'</span></dd>
1192
- <script type="text/javascript">moveProgressBar('97.5');</script>
1348
+ <script type="text/javascript">moveProgressBar('95.6');</script>
1193
1349
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.com//' when used to expand 'http://example.com/{f}/'</span></dd>
1194
- <script type="text/javascript">moveProgressBar('97.7');</script>
1350
+ <script type="text/javascript">moveProgressBar('95.9');</script>
1195
1351
  <dd class="spec passed"><span class="passed_spec_name">should result in 'https://this-is-spinal-tap.example.org?date=&amp;option=fred' when used to expand '{scheme}://{20}.example.org?date={wilma}&amp;option={a}'</span></dd>
1196
- <script type="text/javascript">moveProgressBar('98.0');</script>
1352
+ <script type="text/javascript">moveProgressBar('96.1');</script>
1197
1353
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org?quote=to+be+or+not+to+be' when used to expand 'http://example.org?{p}'</span></dd>
1198
- <script type="text/javascript">moveProgressBar('98.3');</script>
1354
+ <script type="text/javascript">moveProgressBar('96.3');</script>
1199
1355
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.com/hullo#world' when used to expand 'http://example.com/{q}'</span></dd>
1200
1356
  </dl>
1201
1357
  </div>
1202
1358
  <div class="behaviour">
1203
1359
  <dl>
1204
- <dt id="behaviour_63">Addressable::URI when given a mapping that contains a template-var within a value</dt>
1205
- <script type="text/javascript">moveProgressBar('98.6');</script>
1360
+ <dt id="behaviour_67">Addressable::URI when given a mapping that contains a template-var within a value</dt>
1361
+ <script type="text/javascript">moveProgressBar('96.5');</script>
1206
1362
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.com/%7Bb%7D/barney/' when used to expand 'http://example.com/{a}/{b}/'</span></dd>
1207
1363
  </dl>
1208
1364
  </div>
1209
1365
  <div class="behaviour">
1210
1366
  <dl>
1211
- <dt id="behaviour_64">Addressable::URI when given a mapping that contains values that are already percent-encoded</dt>
1212
- <script type="text/javascript">moveProgressBar('98.8');</script>
1367
+ <dt id="behaviour_68">Addressable::URI when given a mapping that contains values that are already percent-encoded</dt>
1368
+ <script type="text/javascript">moveProgressBar('96.8');</script>
1213
1369
  <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.com/%257Bb%257D/' when used to expand 'http://example.com/{a}/'</span></dd>
1214
1370
  </dl>
1215
1371
  </div>
1216
1372
  <div class="behaviour">
1217
1373
  <dl>
1218
- <dt id="behaviour_65">Addressable::URI when parsed from 'http://example.com/search/an+example+search+query/'</dt>
1219
- <script type="text/javascript">moveProgressBar('99.1');</script>
1374
+ <dt id="behaviour_69">Addressable::URI when parsed from 'http://example.com/search/an+example+search+query/'</dt>
1375
+ <script type="text/javascript">moveProgressBar('97.0');</script>
1220
1376
  <dd class="spec passed"><span class="passed_spec_name">should have the correct mapping when extracting values using the pattern 'http://example.com/search/{query}/' with the ExampleProcessor</span></dd>
1221
- <script type="text/javascript">moveProgressBar('99.4');</script>
1377
+ <script type="text/javascript">moveProgressBar('97.2');</script>
1222
1378
  <dd class="spec passed"><span class="passed_spec_name">should return nil when extracting values using a non-matching pattern</span></dd>
1223
1379
  </dl>
1224
1380
  </div>
1225
1381
  <div class="behaviour">
1226
1382
  <dl>
1227
- <dt id="behaviour_66">Addressable::URI when parsed from 'http://example.com/a/b/c/'</dt>
1228
- <script type="text/javascript">moveProgressBar('99.7');</script>
1383
+ <dt id="behaviour_70">Addressable::URI when parsed from 'http://example.com/a/b/c/'</dt>
1384
+ <script type="text/javascript">moveProgressBar('97.5');</script>
1229
1385
  <dd class="spec passed"><span class="passed_spec_name">should have the correct mapping when extracting values using the pattern 'http://example.com/{first}/{second}/' with the ExampleProcessor</span></dd>
1230
1386
  </dl>
1231
1387
  </div>
1232
1388
  <div class="behaviour">
1233
1389
  <dl>
1234
- <dt id="behaviour_67">Addressable::URI when parsed from 'http://example.com/one/spacer/two/'</dt>
1235
- <script type="text/javascript">moveProgressBar('100.0');</script>
1390
+ <dt id="behaviour_71">Addressable::URI when parsed from 'http://example.com/one/spacer/two/'</dt>
1391
+ <script type="text/javascript">moveProgressBar('97.7');</script>
1236
1392
  <dd class="spec passed"><span class="passed_spec_name">should have the correct mapping when extracting values using the pattern 'http://example.com/{first}/spacer/{second}/'</span></dd>
1237
1393
  </dl>
1238
1394
  </div>
1239
- <script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>1.976435 seconds</strong>";</script>
1240
- <script type="text/javascript">document.getElementById('totals').innerHTML = "362 examples, 0 failures";</script>
1395
+ <div class="behaviour">
1396
+ <dl>
1397
+ <dt id="behaviour_72">Addressable::URI when given the input '/path/to/resource'</dt>
1398
+ <script type="text/javascript">moveProgressBar('97.9');</script>
1399
+ <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to '/path/to/resource'</span></dd>
1400
+ </dl>
1401
+ </div>
1402
+ <div class="behaviour">
1403
+ <dl>
1404
+ <dt id="behaviour_73">Addressable::URI when given the input 'relative/path/to/resource'</dt>
1405
+ <script type="text/javascript">moveProgressBar('98.1');</script>
1406
+ <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'relative/path/to/resource'</span></dd>
1407
+ </dl>
1408
+ </div>
1409
+ <div class="behaviour">
1410
+ <dl>
1411
+ <dt id="behaviour_74">Addressable::URI when given the input 'example.com'</dt>
1412
+ <script type="text/javascript">moveProgressBar('98.4');</script>
1413
+ <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'http://example.com'</span></dd>
1414
+ </dl>
1415
+ </div>
1416
+ <div class="behaviour">
1417
+ <dl>
1418
+ <dt id="behaviour_75">Addressable::URI when given the input 'example.com' and a scheme hint of 'ftp'</dt>
1419
+ <script type="text/javascript">moveProgressBar('98.6');</script>
1420
+ <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'http://example.com'</span></dd>
1421
+ </dl>
1422
+ </div>
1423
+ <div class="behaviour">
1424
+ <dl>
1425
+ <dt id="behaviour_76">Addressable::URI when given the input 'example.com:21' and a scheme hint of 'ftp'</dt>
1426
+ <script type="text/javascript">moveProgressBar('98.8');</script>
1427
+ <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'http://example.com:21'</span></dd>
1428
+ </dl>
1429
+ </div>
1430
+ <div class="behaviour">
1431
+ <dl>
1432
+ <dt id="behaviour_77">Addressable::URI when given the input 'example.com/path/to/resource'</dt>
1433
+ <script type="text/javascript">moveProgressBar('99.0');</script>
1434
+ <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'http://example.com/path/to/resource'</span></dd>
1435
+ </dl>
1436
+ </div>
1437
+ <div class="behaviour">
1438
+ <dl>
1439
+ <dt id="behaviour_78">Addressable::URI when given the input 'http:///example.com'</dt>
1440
+ <script type="text/javascript">moveProgressBar('99.3');</script>
1441
+ <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'http://example.com'</span></dd>
1442
+ </dl>
1443
+ </div>
1444
+ <div class="behaviour">
1445
+ <dl>
1446
+ <dt id="behaviour_79">Addressable::URI when given the input 'feed:///example.com'</dt>
1447
+ <script type="text/javascript">moveProgressBar('99.5');</script>
1448
+ <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'feed://example.com'</span></dd>
1449
+ </dl>
1450
+ </div>
1451
+ <div class="behaviour">
1452
+ <dl>
1453
+ <dt id="behaviour_80">Addressable::URI when given the input 'file://path/to/resource/'</dt>
1454
+ <script type="text/javascript">moveProgressBar('99.7');</script>
1455
+ <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'file:///path/to/resource/'</span></dd>
1456
+ </dl>
1457
+ </div>
1458
+ <div class="behaviour">
1459
+ <dl>
1460
+ <dt id="behaviour_81">Addressable::URI when given the input 'feed://http://example.com'</dt>
1461
+ <script type="text/javascript">moveProgressBar('100.0');</script>
1462
+ <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'feed:http://example.com'</span></dd>
1463
+ </dl>
1464
+ </div>
1465
+ <script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>3.537794 seconds</strong>";</script>
1466
+ <script type="text/javascript">document.getElementById('totals').innerHTML = "440 examples, 0 failures";</script>
1241
1467
  </div>
1242
1468
  </div>
1243
1469
  </body>