s33r 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/bin/s3cli.rb +1 -1
  2. data/html/classes/MIME/Type.html +137 -137
  3. data/html/classes/MIME/Types.html +56 -56
  4. data/html/classes/Net/HTTPGenericRequest.html +32 -32
  5. data/html/classes/Net/HTTPResponse.html +63 -38
  6. data/html/classes/S33r.html +78 -78
  7. data/html/classes/S33r/BucketListing.html +30 -30
  8. data/html/classes/S33r/Client.html +340 -286
  9. data/html/classes/S33r/NamedBucket.html +209 -179
  10. data/html/classes/S33r/S33rException.html +2 -0
  11. data/html/classes/S33r/S33rException/MissingBucketName.html +111 -0
  12. data/html/classes/S33r/S33rException/S3FallenOver.html +111 -0
  13. data/html/classes/S33r/S3Object.html +24 -24
  14. data/html/classes/S33r/S3User.html +6 -6
  15. data/html/classes/S33r/Sync.html +8 -7
  16. data/html/created.rid +1 -1
  17. data/html/files/README_txt.html +1 -1
  18. data/html/files/lib/s33r/bucket_listing_rb.html +1 -1
  19. data/html/files/lib/s33r/client_rb.html +1 -1
  20. data/html/files/lib/s33r/named_bucket_rb.html +1 -1
  21. data/html/files/lib/s33r/s33r_exception_rb.html +1 -1
  22. data/html/files/lib/s33r/s33r_http_rb.html +1 -1
  23. data/html/files/lib/s33r/sync_rb.html +1 -1
  24. data/html/fr_class_index.html +2 -0
  25. data/html/fr_method_index.html +100 -96
  26. data/lib/s33r/client.rb +15 -6
  27. data/lib/s33r/named_bucket.rb +30 -18
  28. data/lib/s33r/s33r_exception.rb +6 -0
  29. data/lib/s33r/s33r_http.rb +6 -0
  30. data/lib/s33r/sync.rb +1 -1
  31. data/test/cases/spec_bucket_listing.rb +1 -1
  32. data/test/cases/spec_client.rb +13 -4
  33. data/test/cases/spec_core.rb +3 -1
  34. data/test/cases/spec_namedbucket.rb +16 -2
  35. data/test/cases/spec_sync.rb +4 -0
  36. data/test/files/namedbucket_config2.yml +12 -0
  37. data/test/files/s3_object.xml +1 -0
  38. metadata +5 -2
@@ -94,7 +94,7 @@ S33r::NamedBucket.new(access_key, secret_key, options) do |c|
94
94
 
95
95
  response = c.put_file(filename)
96
96
 
97
- url = c.authenticated_url(filename, expires)
97
+ url = c.s3_authenticated_url(filename, expires)
98
98
 
99
99
  time_taken_secs = Time.now.to_i - start_time_secs
100
100
  puts "Aah, it appears to have taken %d seconds" % time_taken_secs
@@ -108,28 +108,28 @@ The definition of one <a href="../MIME.html">MIME</a> content-type.
108
108
  <h3 class="section-bar">Methods</h3>
109
109
 
110
110
  <div class="name-list">
111
- <a href="#M000031">ascii?</a>&nbsp;&nbsp;
112
- <a href="#M000030">binary?</a>&nbsp;&nbsp;
113
- <a href="#M000035">complete?</a>&nbsp;&nbsp;
114
- <a href="#M000019">default_encoding</a>&nbsp;&nbsp;
115
- <a href="#M000022">docs=</a>&nbsp;&nbsp;
116
- <a href="#M000025">from_array</a>&nbsp;&nbsp;
117
- <a href="#M000026">from_hash</a>&nbsp;&nbsp;
118
- <a href="#M000027">from_mime_type</a>&nbsp;&nbsp;
119
- <a href="#M000018">like?</a>&nbsp;&nbsp;
120
- <a href="#M000028">new</a>&nbsp;&nbsp;
121
- <a href="#M000021">obsolete?</a>&nbsp;&nbsp;
122
- <a href="#M000034">platform?</a>&nbsp;&nbsp;
123
- <a href="#M000029">registered?</a>&nbsp;&nbsp;
124
- <a href="#M000032">signature?</a>&nbsp;&nbsp;
125
- <a href="#M000024">simplified</a>&nbsp;&nbsp;
126
- <a href="#M000033">system?</a>&nbsp;&nbsp;
127
- <a href="#M000038">to_a</a>&nbsp;&nbsp;
128
- <a href="#M000039">to_hash</a>&nbsp;&nbsp;
129
- <a href="#M000036">to_s</a>&nbsp;&nbsp;
130
- <a href="#M000037">to_str</a>&nbsp;&nbsp;
131
- <a href="#M000023">urls</a>&nbsp;&nbsp;
132
- <a href="#M000020">use_instead</a>&nbsp;&nbsp;
111
+ <a href="#M000032">ascii?</a>&nbsp;&nbsp;
112
+ <a href="#M000031">binary?</a>&nbsp;&nbsp;
113
+ <a href="#M000036">complete?</a>&nbsp;&nbsp;
114
+ <a href="#M000020">default_encoding</a>&nbsp;&nbsp;
115
+ <a href="#M000023">docs=</a>&nbsp;&nbsp;
116
+ <a href="#M000026">from_array</a>&nbsp;&nbsp;
117
+ <a href="#M000027">from_hash</a>&nbsp;&nbsp;
118
+ <a href="#M000028">from_mime_type</a>&nbsp;&nbsp;
119
+ <a href="#M000019">like?</a>&nbsp;&nbsp;
120
+ <a href="#M000029">new</a>&nbsp;&nbsp;
121
+ <a href="#M000022">obsolete?</a>&nbsp;&nbsp;
122
+ <a href="#M000035">platform?</a>&nbsp;&nbsp;
123
+ <a href="#M000030">registered?</a>&nbsp;&nbsp;
124
+ <a href="#M000033">signature?</a>&nbsp;&nbsp;
125
+ <a href="#M000025">simplified</a>&nbsp;&nbsp;
126
+ <a href="#M000034">system?</a>&nbsp;&nbsp;
127
+ <a href="#M000039">to_a</a>&nbsp;&nbsp;
128
+ <a href="#M000040">to_hash</a>&nbsp;&nbsp;
129
+ <a href="#M000037">to_s</a>&nbsp;&nbsp;
130
+ <a href="#M000038">to_str</a>&nbsp;&nbsp;
131
+ <a href="#M000024">urls</a>&nbsp;&nbsp;
132
+ <a href="#M000021">use_instead</a>&nbsp;&nbsp;
133
133
  </div>
134
134
  </div>
135
135
 
@@ -233,7 +233,7 @@ The encoding (7bit, 8bit, quoted-printable, or base64) required to
233
233
  transport the data of this content type safely across a network, which
234
234
  roughly corresponds to Content-Transfer-Encoding. A value of <tt>nil</tt>
235
235
  or <tt>:default</tt> will reset the encoding to the <a
236
- href="Type.html#M000019">default_encoding</a> for the <a
236
+ href="Type.html#M000020">default_encoding</a> for the <a
237
237
  href="Type.html">MIME::Type</a>. Raises ArgumentError if the encoding
238
238
  provided is invalid.
239
239
 
@@ -250,7 +250,7 @@ If the encoding is not provided on construction, this will be either
250
250
  <td class="context-item-desc">
251
251
  The list of extensions which are known to be used for this <a
252
252
  href="Type.html">MIME::Type</a>. Non-array values will be coerced into an
253
- array with <a href="Type.html#M000038">to_a</a>. Array values will be
253
+ array with <a href="Type.html#M000039">to_a</a>. Array values will be
254
254
  flattened and <tt>nil</tt> values removed.
255
255
 
256
256
  </td>
@@ -346,7 +346,7 @@ href="Type.html">MIME::Type</a> is specific to.
346
346
  <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
347
347
  <td class="context-item-desc">
348
348
  The encoded URL list for this <a href="Type.html">MIME::Type</a>. See <a
349
- href="Type.html#M000023">urls</a> for
349
+ href="Type.html#M000024">urls</a> for
350
350
 
351
351
  </td>
352
352
  </tr>
@@ -370,11 +370,11 @@ not obsolete, <tt>nil</tt> will be returned.
370
370
  <div id="methods">
371
371
  <h3 class="section-bar">Public Class methods</h3>
372
372
 
373
- <div id="method-M000025" class="method-detail">
374
- <a name="M000025"></a>
373
+ <div id="method-M000026" class="method-detail">
374
+ <a name="M000026"></a>
375
375
 
376
376
  <div class="method-heading">
377
- <a href="#M000025" class="method-signature">
377
+ <a href="#M000026" class="method-signature">
378
378
  <span class="method-name">from_array</span><span class="method-args">(*args) {|m if block_given?| ...}</span>
379
379
  </a>
380
380
  </div>
@@ -403,8 +403,8 @@ These are equivalent to:
403
403
  end
404
404
  </pre>
405
405
  <p><a class="source-toggle" href="#"
406
- onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
407
- <div class="method-source-code" id="M000025-source">
406
+ onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
407
+ <div class="method-source-code" id="M000026-source">
408
408
  <pre>
409
409
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 276</span>
410
410
  276: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">from_array</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt">#:yields MIME::Type.new:</span>
@@ -432,11 +432,11 @@ These are equivalent to:
432
432
  </div>
433
433
  </div>
434
434
 
435
- <div id="method-M000026" class="method-detail">
436
- <a name="M000026"></a>
435
+ <div id="method-M000027" class="method-detail">
436
+ <a name="M000027"></a>
437
437
 
438
438
  <div class="method-heading">
439
- <a href="#M000026" class="method-signature">
439
+ <a href="#M000027" class="method-signature">
440
440
  <span class="method-name">from_hash</span><span class="method-args">(hash) {|m if block_given?| ...}</span>
441
441
  </a>
442
442
  </div>
@@ -471,8 +471,8 @@ This is equivalent to:
471
471
  end
472
472
  </pre>
473
473
  <p><a class="source-toggle" href="#"
474
- onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
475
- <div class="method-source-code" id="M000026-source">
474
+ onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
475
+ <div class="method-source-code" id="M000027-source">
476
476
  <pre>
477
477
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 319</span>
478
478
  319: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">from_hash</span>(<span class="ruby-identifier">hash</span>) <span class="ruby-comment cmt">#:yields MIME::Type.new:</span>
@@ -499,11 +499,11 @@ This is equivalent to:
499
499
  </div>
500
500
  </div>
501
501
 
502
- <div id="method-M000027" class="method-detail">
503
- <a name="M000027"></a>
502
+ <div id="method-M000028" class="method-detail">
503
+ <a name="M000028"></a>
504
504
 
505
505
  <div class="method-heading">
506
- <a href="#M000027" class="method-signature">
506
+ <a href="#M000028" class="method-signature">
507
507
  <span class="method-name">from_mime_type</span><span class="method-args">(mime_type) {|m if block_given?| ...}</span>
508
508
  </a>
509
509
  </div>
@@ -526,8 +526,8 @@ is equivalent to:
526
526
  end
527
527
  </pre>
528
528
  <p><a class="source-toggle" href="#"
529
- onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
530
- <div class="method-source-code" id="M000027-source">
529
+ onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
530
+ <div class="method-source-code" id="M000028-source">
531
531
  <pre>
532
532
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 350</span>
533
533
  350: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">from_mime_type</span>(<span class="ruby-identifier">mime_type</span>) <span class="ruby-comment cmt">#:yields the new MIME::Type:</span>
@@ -544,11 +544,11 @@ is equivalent to:
544
544
  </div>
545
545
  </div>
546
546
 
547
- <div id="method-M000028" class="method-detail">
548
- <a name="M000028"></a>
547
+ <div id="method-M000029" class="method-detail">
548
+ <a name="M000029"></a>
549
549
 
550
550
  <div class="method-heading">
551
- <a href="#M000028" class="method-signature">
551
+ <a href="#M000029" class="method-signature">
552
552
  <span class="method-name">new</span><span class="method-args">(content_type) {|self if block_given?| ...}</span>
553
553
  </a>
554
554
  </div>
@@ -562,8 +562,8 @@ constructed object is yielded to an optional block for additional
562
562
  configuration, such as associating extensions and encoding information.
563
563
  </p>
564
564
  <p><a class="source-toggle" href="#"
565
- onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
566
- <div class="method-source-code" id="M000028-source">
565
+ onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
566
+ <div class="method-source-code" id="M000029-source">
567
567
  <pre>
568
568
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 365</span>
569
569
  365: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">content_type</span>) <span class="ruby-comment cmt">#:yields self:</span>
@@ -594,11 +594,11 @@ configuration, such as associating extensions and encoding information.
594
594
  </div>
595
595
  </div>
596
596
 
597
- <div id="method-M000024" class="method-detail">
598
- <a name="M000024"></a>
597
+ <div id="method-M000025" class="method-detail">
598
+ <a name="M000025"></a>
599
599
 
600
600
  <div class="method-heading">
601
- <a href="#M000024" class="method-signature">
601
+ <a href="#M000025" class="method-signature">
602
602
  <span class="method-name">simplified</span><span class="method-args">(content_type)</span>
603
603
  </a>
604
604
  </div>
@@ -613,8 +613,8 @@ simplified string has the <tt>x-</tt> removed and are translated to
613
613
  lowercase.
614
614
  </p>
615
615
  <p><a class="source-toggle" href="#"
616
- onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
617
- <div class="method-source-code" id="M000024-source">
616
+ onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
617
+ <div class="method-source-code" id="M000025-source">
618
618
  <pre>
619
619
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 249</span>
620
620
  249: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">simplified</span>(<span class="ruby-identifier">content_type</span>)
@@ -636,11 +636,11 @@ lowercase.
636
636
 
637
637
  <h3 class="section-bar">Public Instance methods</h3>
638
638
 
639
- <div id="method-M000031" class="method-detail">
640
- <a name="M000031"></a>
639
+ <div id="method-M000032" class="method-detail">
640
+ <a name="M000032"></a>
641
641
 
642
642
  <div class="method-heading">
643
- <a href="#M000031" class="method-signature">
643
+ <a href="#M000032" class="method-signature">
644
644
  <span class="method-name">ascii?</span><span class="method-args">()</span>
645
645
  </a>
646
646
  </div>
@@ -652,8 +652,8 @@ network in particular formats. This method returns <tt>false</tt> when the
652
652
  <a href="../MIME.html">MIME</a> type encoding is set to <tt>base64</tt>.
653
653
  </p>
654
654
  <p><a class="source-toggle" href="#"
655
- onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
656
- <div class="method-source-code" id="M000031-source">
655
+ onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
656
+ <div class="method-source-code" id="M000032-source">
657
657
  <pre>
658
658
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 413</span>
659
659
  413: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ascii?</span>
@@ -664,11 +664,11 @@ network in particular formats. This method returns <tt>false</tt> when the
664
664
  </div>
665
665
  </div>
666
666
 
667
- <div id="method-M000030" class="method-detail">
668
- <a name="M000030"></a>
667
+ <div id="method-M000031" class="method-detail">
668
+ <a name="M000031"></a>
669
669
 
670
670
  <div class="method-heading">
671
- <a href="#M000030" class="method-signature">
671
+ <a href="#M000031" class="method-signature">
672
672
  <span class="method-name">binary?</span><span class="method-args">()</span>
673
673
  </a>
674
674
  </div>
@@ -680,8 +680,8 @@ network in particular formats. This method returns <tt>true</tt> when the
680
680
  <a href="../MIME.html">MIME</a> type encoding is set to <tt>base64</tt>.
681
681
  </p>
682
682
  <p><a class="source-toggle" href="#"
683
- onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
684
- <div class="method-source-code" id="M000030-source">
683
+ onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
684
+ <div class="method-source-code" id="M000031-source">
685
685
  <pre>
686
686
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 406</span>
687
687
  406: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">binary?</span>
@@ -692,11 +692,11 @@ network in particular formats. This method returns <tt>true</tt> when the
692
692
  </div>
693
693
  </div>
694
694
 
695
- <div id="method-M000035" class="method-detail">
696
- <a name="M000035"></a>
695
+ <div id="method-M000036" class="method-detail">
696
+ <a name="M000036"></a>
697
697
 
698
698
  <div class="method-heading">
699
- <a href="#M000035" class="method-signature">
699
+ <a href="#M000036" class="method-signature">
700
700
  <span class="method-name">complete?</span><span class="method-args">()</span>
701
701
  </a>
702
702
  </div>
@@ -708,8 +708,8 @@ an extension list, indicating that it is a complete <a
708
708
  href="Type.html">MIME::Type</a>.
709
709
  </p>
710
710
  <p><a class="source-toggle" href="#"
711
- onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
712
- <div class="method-source-code" id="M000035-source">
711
+ onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
712
+ <div class="method-source-code" id="M000036-source">
713
713
  <pre>
714
714
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 436</span>
715
715
  436: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">complete?</span>
@@ -720,19 +720,19 @@ href="Type.html">MIME::Type</a>.
720
720
  </div>
721
721
  </div>
722
722
 
723
- <div id="method-M000019" class="method-detail">
724
- <a name="M000019"></a>
723
+ <div id="method-M000020" class="method-detail">
724
+ <a name="M000020"></a>
725
725
 
726
726
  <div class="method-heading">
727
- <a href="#M000019" class="method-signature">
727
+ <a href="#M000020" class="method-signature">
728
728
  <span class="method-name">default_encoding</span><span class="method-args">()</span>
729
729
  </a>
730
730
  </div>
731
731
 
732
732
  <div class="method-description">
733
733
  <p><a class="source-toggle" href="#"
734
- onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
735
- <div class="method-source-code" id="M000019-source">
734
+ onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
735
+ <div class="method-source-code" id="M000020-source">
736
736
  <pre>
737
737
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 165</span>
738
738
  165: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_encoding</span>
@@ -743,19 +743,19 @@ href="Type.html">MIME::Type</a>.
743
743
  </div>
744
744
  </div>
745
745
 
746
- <div id="method-M000022" class="method-detail">
747
- <a name="M000022"></a>
746
+ <div id="method-M000023" class="method-detail">
747
+ <a name="M000023"></a>
748
748
 
749
749
  <div class="method-heading">
750
- <a href="#M000022" class="method-signature">
750
+ <a href="#M000023" class="method-signature">
751
751
  <span class="method-name">docs=</span><span class="method-args">(d)</span>
752
752
  </a>
753
753
  </div>
754
754
 
755
755
  <div class="method-description">
756
756
  <p><a class="source-toggle" href="#"
757
- onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
758
- <div class="method-source-code" id="M000022-source">
757
+ onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
758
+ <div class="method-source-code" id="M000023-source">
759
759
  <pre>
760
760
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 191</span>
761
761
  191: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">docs=</span>(<span class="ruby-identifier">d</span>)
@@ -774,11 +774,11 @@ href="Type.html">MIME::Type</a>.
774
774
  </div>
775
775
  </div>
776
776
 
777
- <div id="method-M000018" class="method-detail">
778
- <a name="M000018"></a>
777
+ <div id="method-M000019" class="method-detail">
778
+ <a name="M000019"></a>
779
779
 
780
780
  <div class="method-heading">
781
- <a href="#M000018" class="method-signature">
781
+ <a href="#M000019" class="method-signature">
782
782
  <span class="method-name">like?</span><span class="method-args">(other)</span>
783
783
  </a>
784
784
  </div>
@@ -788,8 +788,8 @@ href="Type.html">MIME::Type</a>.
788
788
  Returns <tt>true</tt> if the simplified type matches the current
789
789
  </p>
790
790
  <p><a class="source-toggle" href="#"
791
- onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
792
- <div class="method-source-code" id="M000018-source">
791
+ onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
792
+ <div class="method-source-code" id="M000019-source">
793
793
  <pre>
794
794
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 58</span>
795
795
  58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">like?</span>(<span class="ruby-identifier">other</span>)
@@ -804,11 +804,11 @@ Returns <tt>true</tt> if the simplified type matches the current
804
804
  </div>
805
805
  </div>
806
806
 
807
- <div id="method-M000021" class="method-detail">
808
- <a name="M000021"></a>
807
+ <div id="method-M000022" class="method-detail">
808
+ <a name="M000022"></a>
809
809
 
810
810
  <div class="method-heading">
811
- <a href="#M000021" class="method-signature">
811
+ <a href="#M000022" class="method-signature">
812
812
  <span class="method-name">obsolete?</span><span class="method-args">()</span>
813
813
  </a>
814
814
  </div>
@@ -818,8 +818,8 @@ Returns <tt>true</tt> if the simplified type matches the current
818
818
  Returns <tt>true</tt> if the media type is obsolete.
819
819
  </p>
820
820
  <p><a class="source-toggle" href="#"
821
- onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
822
- <div class="method-source-code" id="M000021-source">
821
+ onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
822
+ <div class="method-source-code" id="M000022-source">
823
823
  <pre>
824
824
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 180</span>
825
825
  180: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">obsolete?</span>
@@ -830,11 +830,11 @@ Returns <tt>true</tt> if the media type is obsolete.
830
830
  </div>
831
831
  </div>
832
832
 
833
- <div id="method-M000034" class="method-detail">
834
- <a name="M000034"></a>
833
+ <div id="method-M000035" class="method-detail">
834
+ <a name="M000035"></a>
835
835
 
836
836
  <div class="method-heading">
837
- <a href="#M000034" class="method-signature">
837
+ <a href="#M000035" class="method-signature">
838
838
  <span class="method-name">platform?</span><span class="method-args">()</span>
839
839
  </a>
840
840
  </div>
@@ -845,8 +845,8 @@ Returns <tt>true</tt> if the <a href="Type.html">MIME::Type</a> is specific
845
845
  to the current operating system as represented by RUBY_PLATFORM.
846
846
  </p>
847
847
  <p><a class="source-toggle" href="#"
848
- onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
849
- <div class="method-source-code" id="M000034-source">
848
+ onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
849
+ <div class="method-source-code" id="M000035-source">
850
850
  <pre>
851
851
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 430</span>
852
852
  430: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">platform?</span>
@@ -857,11 +857,11 @@ to the current operating system as represented by RUBY_PLATFORM.
857
857
  </div>
858
858
  </div>
859
859
 
860
- <div id="method-M000029" class="method-detail">
861
- <a name="M000029"></a>
860
+ <div id="method-M000030" class="method-detail">
861
+ <a name="M000030"></a>
862
862
 
863
863
  <div class="method-heading">
864
- <a href="#M000029" class="method-signature">
864
+ <a href="#M000030" class="method-signature">
865
865
  <span class="method-name">registered?</span><span class="method-args">()</span>
866
866
  </a>
867
867
  </div>
@@ -875,8 +875,8 @@ existing media type. If either the media-type or the content-type begins
875
875
  with <tt>x-</tt>, this method will return <tt>false</tt>.
876
876
  </p>
877
877
  <p><a class="source-toggle" href="#"
878
- onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
879
- <div class="method-source-code" id="M000029-source">
878
+ onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
879
+ <div class="method-source-code" id="M000030-source">
880
880
  <pre>
881
881
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 394</span>
882
882
  394: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">registered?</span>
@@ -891,11 +891,11 @@ with <tt>x-</tt>, this method will return <tt>false</tt>.
891
891
  </div>
892
892
  </div>
893
893
 
894
- <div id="method-M000032" class="method-detail">
895
- <a name="M000032"></a>
894
+ <div id="method-M000033" class="method-detail">
895
+ <a name="M000033"></a>
896
896
 
897
897
  <div class="method-heading">
898
- <a href="#M000032" class="method-signature">
898
+ <a href="#M000033" class="method-signature">
899
899
  <span class="method-name">signature?</span><span class="method-args">()</span>
900
900
  </a>
901
901
  </div>
@@ -906,8 +906,8 @@ Returns <tt>true</tt> when the simplified <a href="../MIME.html">MIME</a>
906
906
  type is in the list of known digital signatures.
907
907
  </p>
908
908
  <p><a class="source-toggle" href="#"
909
- onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
910
- <div class="method-source-code" id="M000032-source">
909
+ onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
910
+ <div class="method-source-code" id="M000033-source">
911
911
  <pre>
912
912
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 419</span>
913
913
  419: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">signature?</span>
@@ -918,11 +918,11 @@ type is in the list of known digital signatures.
918
918
  </div>
919
919
  </div>
920
920
 
921
- <div id="method-M000033" class="method-detail">
922
- <a name="M000033"></a>
921
+ <div id="method-M000034" class="method-detail">
922
+ <a name="M000034"></a>
923
923
 
924
924
  <div class="method-heading">
925
- <a href="#M000033" class="method-signature">
925
+ <a href="#M000034" class="method-signature">
926
926
  <span class="method-name">system?</span><span class="method-args">()</span>
927
927
  </a>
928
928
  </div>
@@ -933,8 +933,8 @@ Returns <tt>true</tt> if the <a href="Type.html">MIME::Type</a> is specific
933
933
  to an operating system.
934
934
  </p>
935
935
  <p><a class="source-toggle" href="#"
936
- onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
937
- <div class="method-source-code" id="M000033-source">
936
+ onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
937
+ <div class="method-source-code" id="M000034-source">
938
938
  <pre>
939
939
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 424</span>
940
940
  424: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">system?</span>
@@ -945,11 +945,11 @@ to an operating system.
945
945
  </div>
946
946
  </div>
947
947
 
948
- <div id="method-M000038" class="method-detail">
949
- <a name="M000038"></a>
948
+ <div id="method-M000039" class="method-detail">
949
+ <a name="M000039"></a>
950
950
 
951
951
  <div class="method-heading">
952
- <a href="#M000038" class="method-signature">
952
+ <a href="#M000039" class="method-signature">
953
953
  <span class="method-name">to_a</span><span class="method-args">()</span>
954
954
  </a>
955
955
  </div>
@@ -957,11 +957,11 @@ to an operating system.
957
957
  <div class="method-description">
958
958
  <p>
959
959
  Returns the <a href="../MIME.html">MIME</a> type as an array suitable for
960
- use with <a href="Type.html#M000025">MIME::Type.from_array</a>.
960
+ use with <a href="Type.html#M000026">MIME::Type.from_array</a>.
961
961
  </p>
962
962
  <p><a class="source-toggle" href="#"
963
- onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
964
- <div class="method-source-code" id="M000038-source">
963
+ onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
964
+ <div class="method-source-code" id="M000039-source">
965
965
  <pre>
966
966
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 452</span>
967
967
  452: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
@@ -973,11 +973,11 @@ use with <a href="Type.html#M000025">MIME::Type.from_array</a>.
973
973
  </div>
974
974
  </div>
975
975
 
976
- <div id="method-M000039" class="method-detail">
977
- <a name="M000039"></a>
976
+ <div id="method-M000040" class="method-detail">
977
+ <a name="M000040"></a>
978
978
 
979
979
  <div class="method-heading">
980
- <a href="#M000039" class="method-signature">
980
+ <a href="#M000040" class="method-signature">
981
981
  <span class="method-name">to_hash</span><span class="method-args">()</span>
982
982
  </a>
983
983
  </div>
@@ -985,11 +985,11 @@ use with <a href="Type.html#M000025">MIME::Type.from_array</a>.
985
985
  <div class="method-description">
986
986
  <p>
987
987
  Returns the <a href="../MIME.html">MIME</a> type as an array suitable for
988
- use with <a href="Type.html#M000026">MIME::Type.from_hash</a>.
988
+ use with <a href="Type.html#M000027">MIME::Type.from_hash</a>.
989
989
  </p>
990
990
  <p><a class="source-toggle" href="#"
991
- onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
992
- <div class="method-source-code" id="M000039-source">
991
+ onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
992
+ <div class="method-source-code" id="M000040-source">
993
993
  <pre>
994
994
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 459</span>
995
995
  459: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_hash</span>
@@ -1008,11 +1008,11 @@ use with <a href="Type.html#M000026">MIME::Type.from_hash</a>.
1008
1008
  </div>
1009
1009
  </div>
1010
1010
 
1011
- <div id="method-M000036" class="method-detail">
1012
- <a name="M000036"></a>
1011
+ <div id="method-M000037" class="method-detail">
1012
+ <a name="M000037"></a>
1013
1013
 
1014
1014
  <div class="method-heading">
1015
- <a href="#M000036" class="method-signature">
1015
+ <a href="#M000037" class="method-signature">
1016
1016
  <span class="method-name">to_s</span><span class="method-args">()</span>
1017
1017
  </a>
1018
1018
  </div>
@@ -1022,8 +1022,8 @@ use with <a href="Type.html#M000026">MIME::Type.from_hash</a>.
1022
1022
  Returns the <a href="../MIME.html">MIME</a> type as a string.
1023
1023
  </p>
1024
1024
  <p><a class="source-toggle" href="#"
1025
- onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
1026
- <div class="method-source-code" id="M000036-source">
1025
+ onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
1026
+ <div class="method-source-code" id="M000037-source">
1027
1027
  <pre>
1028
1028
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 441</span>
1029
1029
  441: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
@@ -1034,11 +1034,11 @@ Returns the <a href="../MIME.html">MIME</a> type as a string.
1034
1034
  </div>
1035
1035
  </div>
1036
1036
 
1037
- <div id="method-M000037" class="method-detail">
1038
- <a name="M000037"></a>
1037
+ <div id="method-M000038" class="method-detail">
1038
+ <a name="M000038"></a>
1039
1039
 
1040
1040
  <div class="method-heading">
1041
- <a href="#M000037" class="method-signature">
1041
+ <a href="#M000038" class="method-signature">
1042
1042
  <span class="method-name">to_str</span><span class="method-args">()</span>
1043
1043
  </a>
1044
1044
  </div>
@@ -1049,8 +1049,8 @@ Returns the <a href="../MIME.html">MIME</a> type as a string for implicit
1049
1049
  conversions.
1050
1050
  </p>
1051
1051
  <p><a class="source-toggle" href="#"
1052
- onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
1053
- <div class="method-source-code" id="M000037-source">
1052
+ onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
1053
+ <div class="method-source-code" id="M000038-source">
1054
1054
  <pre>
1055
1055
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 446</span>
1056
1056
  446: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_str</span>
@@ -1061,11 +1061,11 @@ conversions.
1061
1061
  </div>
1062
1062
  </div>
1063
1063
 
1064
- <div id="method-M000023" class="method-detail">
1065
- <a name="M000023"></a>
1064
+ <div id="method-M000024" class="method-detail">
1065
+ <a name="M000024"></a>
1066
1066
 
1067
1067
  <div class="method-heading">
1068
- <a href="#M000023" class="method-signature">
1068
+ <a href="#M000024" class="method-signature">
1069
1069
  <span class="method-name">urls</span><span class="method-args">()</span>
1070
1070
  </a>
1071
1071
  </div>
@@ -1107,8 +1107,8 @@ The special URL value [token] will be translated into:
1107
1107
  These values will be accessible through url, which always returns an array.
1108
1108
  </p>
1109
1109
  <p><a class="source-toggle" href="#"
1110
- onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
1111
- <div class="method-source-code" id="M000023-source">
1110
+ onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
1111
+ <div class="method-source-code" id="M000024-source">
1112
1112
  <pre>
1113
1113
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 224</span>
1114
1114
  224: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">urls</span>
@@ -1134,19 +1134,19 @@ These values will be accessible through url, which always returns an array.
1134
1134
  </div>
1135
1135
  </div>
1136
1136
 
1137
- <div id="method-M000020" class="method-detail">
1138
- <a name="M000020"></a>
1137
+ <div id="method-M000021" class="method-detail">
1138
+ <a name="M000021"></a>
1139
1139
 
1140
1140
  <div class="method-heading">
1141
- <a href="#M000020" class="method-signature">
1141
+ <a href="#M000021" class="method-signature">
1142
1142
  <span class="method-name">use_instead</span><span class="method-args">()</span>
1143
1143
  </a>
1144
1144
  </div>
1145
1145
 
1146
1146
  <div class="method-description">
1147
1147
  <p><a class="source-toggle" href="#"
1148
- onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
1149
- <div class="method-source-code" id="M000020-source">
1148
+ onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
1149
+ <div class="method-source-code" id="M000021-source">
1150
1150
  <pre>
1151
1151
  <span class="ruby-comment cmt"># File lib/s33r/mimetypes.rb, line 174</span>
1152
1152
  174: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">use_instead</span>