s33r 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/bin/s3cli.rb +25 -16
  2. data/html/classes/MIME.html +120 -0
  3. data/html/classes/MIME/InvalidContentType.html +119 -0
  4. data/html/classes/MIME/Type.html +1173 -0
  5. data/html/classes/MIME/Types.html +566 -0
  6. data/html/classes/Net.html +108 -0
  7. data/html/classes/Net/HTTPGenericRequest.html +233 -0
  8. data/html/classes/Net/HTTPResponse.html +242 -0
  9. data/html/classes/S33r.html +743 -0
  10. data/html/classes/S33r/BucketListing.html +372 -0
  11. data/html/classes/S33r/Client.html +981 -0
  12. data/html/classes/S33r/NamedBucket.html +620 -0
  13. data/html/classes/S33r/S33rException.html +118 -0
  14. data/html/classes/S33r/S33rException/BucketListingMaxKeysError.html +111 -0
  15. data/html/classes/S33r/S33rException/InvalidBucketListing.html +111 -0
  16. data/html/classes/S33r/S33rException/MalformedBucketName.html +111 -0
  17. data/html/classes/S33r/S33rException/MethodNotAvailable.html +111 -0
  18. data/html/classes/S33r/S33rException/MissingRequiredHeaders.html +111 -0
  19. data/html/classes/S33r/S33rException/MissingResource.html +111 -0
  20. data/html/classes/S33r/S33rException/UnsupportedCannedACL.html +111 -0
  21. data/html/classes/S33r/S33rException/UnsupportedHTTPMethod.html +111 -0
  22. data/html/classes/S33r/S3Object.html +307 -0
  23. data/html/classes/S33r/S3User.html +171 -0
  24. data/html/classes/S33r/Sync.html +151 -0
  25. data/html/classes/XML.html +200 -0
  26. data/html/classes/XML/Document.html +125 -0
  27. data/html/classes/XML/Node.html +124 -0
  28. data/html/created.rid +1 -0
  29. data/html/files/CHANGELOG.html +101 -0
  30. data/html/files/MIT-LICENSE.html +129 -0
  31. data/html/files/README_txt.html +209 -0
  32. data/html/files/lib/s33r/bucket_listing_rb.html +116 -0
  33. data/html/files/lib/s33r/client_rb.html +110 -0
  34. data/html/files/lib/s33r/core_rb.html +113 -0
  35. data/html/files/lib/s33r/libxml_extensions_rb.html +107 -0
  36. data/html/files/lib/s33r/mimetypes_rb.html +120 -0
  37. data/html/files/lib/s33r/named_bucket_rb.html +101 -0
  38. data/html/files/lib/s33r/s33r_exception_rb.html +101 -0
  39. data/html/files/lib/s33r/s33r_http_rb.html +108 -0
  40. data/html/files/lib/s33r/sync_rb.html +101 -0
  41. data/html/files/lib/s33r_rb.html +101 -0
  42. data/html/fr_class_index.html +52 -0
  43. data/html/fr_file_index.html +39 -0
  44. data/html/fr_method_index.html +126 -0
  45. data/html/index.html +24 -0
  46. data/html/rdoc-style.css +208 -0
  47. data/lib/s33r/bucket_listing.rb +69 -60
  48. data/lib/s33r/client.rb +150 -73
  49. data/lib/s33r/core.rb +56 -44
  50. data/lib/s33r/libxml_extensions.rb +10 -5
  51. data/lib/s33r/mimetypes.rb +3 -2
  52. data/lib/s33r/named_bucket.rb +89 -24
  53. data/lib/s33r/{s3_exception.rb → s33r_exception.rb} +2 -2
  54. data/lib/s33r/{net_http_overrides.rb → s33r_http.rb} +29 -21
  55. data/lib/s33r/sync.rb +4 -2
  56. data/test/cases/spec_bucket_listing.rb +10 -13
  57. data/test/cases/spec_client.rb +65 -0
  58. data/test/cases/spec_core.rb +16 -11
  59. data/test/cases/spec_namedbucket.rb +32 -0
  60. data/test/cases/spec_sync.rb +6 -5
  61. data/test/cases/spec_xml.rb +1 -1
  62. data/test/files/client_config.yml +6 -0
  63. data/test/files/namedbucket_config.yml +12 -0
  64. data/test/{s3_test_constants.rb → test_setup.rb} +7 -6
  65. metadata +63 -11
  66. data/LICENSE.txt +0 -22
  67. data/MIT-LICENSE +0 -21
  68. data/README.txt +0 -19
  69. data/bin/config.yml +0 -5
  70. data/test/cases/unit_client.rb +0 -40
  71. data/test/cases/unit_named_bucket.rb +0 -12
@@ -0,0 +1,52 @@
1
+
2
+ <?xml version="1.0" encoding="iso-8859-1"?>
3
+ <!DOCTYPE html
4
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
+
7
+ <!--
8
+
9
+ Classes
10
+
11
+ -->
12
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
+ <head>
14
+ <title>Classes</title>
15
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
+ <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
+ <base target="docwin" />
18
+ </head>
19
+ <body>
20
+ <div id="index">
21
+ <h1 class="section-bar">Classes</h1>
22
+ <div id="index-entries">
23
+ <a href="classes/MIME.html">MIME</a><br />
24
+ <a href="classes/MIME/InvalidContentType.html">MIME::InvalidContentType</a><br />
25
+ <a href="classes/MIME/Type.html">MIME::Type</a><br />
26
+ <a href="classes/MIME/Types.html">MIME::Types</a><br />
27
+ <a href="classes/Net.html">Net</a><br />
28
+ <a href="classes/Net/HTTPGenericRequest.html">Net::HTTPGenericRequest</a><br />
29
+ <a href="classes/Net/HTTPResponse.html">Net::HTTPResponse</a><br />
30
+ <a href="classes/S33r.html">S33r</a><br />
31
+ <a href="classes/S33r/BucketListing.html">S33r::BucketListing</a><br />
32
+ <a href="classes/S33r/Client.html">S33r::Client</a><br />
33
+ <a href="classes/S33r/NamedBucket.html">S33r::NamedBucket</a><br />
34
+ <a href="classes/S33r/S33rException.html">S33r::S33rException</a><br />
35
+ <a href="classes/S33r/S33rException/BucketListingMaxKeysError.html">S33r::S33rException::BucketListingMaxKeysError</a><br />
36
+ <a href="classes/S33r/S33rException/InvalidBucketListing.html">S33r::S33rException::InvalidBucketListing</a><br />
37
+ <a href="classes/S33r/S33rException/MalformedBucketName.html">S33r::S33rException::MalformedBucketName</a><br />
38
+ <a href="classes/S33r/S33rException/MethodNotAvailable.html">S33r::S33rException::MethodNotAvailable</a><br />
39
+ <a href="classes/S33r/S33rException/MissingRequiredHeaders.html">S33r::S33rException::MissingRequiredHeaders</a><br />
40
+ <a href="classes/S33r/S33rException/MissingResource.html">S33r::S33rException::MissingResource</a><br />
41
+ <a href="classes/S33r/S33rException/UnsupportedCannedACL.html">S33r::S33rException::UnsupportedCannedACL</a><br />
42
+ <a href="classes/S33r/S33rException/UnsupportedHTTPMethod.html">S33r::S33rException::UnsupportedHTTPMethod</a><br />
43
+ <a href="classes/S33r/S3Object.html">S33r::S3Object</a><br />
44
+ <a href="classes/S33r/S3User.html">S33r::S3User</a><br />
45
+ <a href="classes/S33r/Sync.html">S33r::Sync</a><br />
46
+ <a href="classes/XML.html">XML</a><br />
47
+ <a href="classes/XML/Document.html">XML::Document</a><br />
48
+ <a href="classes/XML/Node.html">XML::Node</a><br />
49
+ </div>
50
+ </div>
51
+ </body>
52
+ </html>
@@ -0,0 +1,39 @@
1
+
2
+ <?xml version="1.0" encoding="iso-8859-1"?>
3
+ <!DOCTYPE html
4
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
+
7
+ <!--
8
+
9
+ Files
10
+
11
+ -->
12
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
+ <head>
14
+ <title>Files</title>
15
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
+ <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
+ <base target="docwin" />
18
+ </head>
19
+ <body>
20
+ <div id="index">
21
+ <h1 class="section-bar">Files</h1>
22
+ <div id="index-entries">
23
+ <a href="files/CHANGELOG.html">CHANGELOG</a><br />
24
+ <a href="files/MIT-LICENSE.html">MIT-LICENSE</a><br />
25
+ <a href="files/README_txt.html">README.txt</a><br />
26
+ <a href="files/lib/s33r_rb.html">lib/s33r.rb</a><br />
27
+ <a href="files/lib/s33r/bucket_listing_rb.html">lib/s33r/bucket_listing.rb</a><br />
28
+ <a href="files/lib/s33r/client_rb.html">lib/s33r/client.rb</a><br />
29
+ <a href="files/lib/s33r/core_rb.html">lib/s33r/core.rb</a><br />
30
+ <a href="files/lib/s33r/libxml_extensions_rb.html">lib/s33r/libxml_extensions.rb</a><br />
31
+ <a href="files/lib/s33r/mimetypes_rb.html">lib/s33r/mimetypes.rb</a><br />
32
+ <a href="files/lib/s33r/named_bucket_rb.html">lib/s33r/named_bucket.rb</a><br />
33
+ <a href="files/lib/s33r/s33r_exception_rb.html">lib/s33r/s33r_exception.rb</a><br />
34
+ <a href="files/lib/s33r/s33r_http_rb.html">lib/s33r/s33r_http.rb</a><br />
35
+ <a href="files/lib/s33r/sync_rb.html">lib/s33r/sync.rb</a><br />
36
+ </div>
37
+ </div>
38
+ </body>
39
+ </html>
@@ -0,0 +1,126 @@
1
+
2
+ <?xml version="1.0" encoding="iso-8859-1"?>
3
+ <!DOCTYPE html
4
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
+
7
+ <!--
8
+
9
+ Methods
10
+
11
+ -->
12
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
+ <head>
14
+ <title>Methods</title>
15
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
+ <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
+ <base target="docwin" />
18
+ </head>
19
+ <body>
20
+ <div id="index">
21
+ <h1 class="section-bar">Methods</h1>
22
+ <div id="index-entries">
23
+ <a href="classes/S33r/BucketListing.html#M000077">[] (S33r::BucketListing)</a><br />
24
+ <a href="classes/S33r/NamedBucket.html#M000063">[] (S33r::NamedBucket)</a><br />
25
+ <a href="classes/MIME/Types.html#M000014">[] (MIME::Types)</a><br />
26
+ <a href="classes/MIME/Types.html#M000010">[] (MIME::Types)</a><br />
27
+ <a href="classes/MIME/Types.html#M000013">add (MIME::Types)</a><br />
28
+ <a href="classes/MIME/Types.html#M000017">add (MIME::Types)</a><br />
29
+ <a href="classes/S33r/Client.html#M000095">add_client_headers (S33r::Client)</a><br />
30
+ <a href="classes/S33r.html#M000043">add_default_headers (S33r)</a><br />
31
+ <a href="classes/MIME/Type.html#M000031">ascii? (MIME::Type)</a><br />
32
+ <a href="classes/MIME/Type.html#M000030">binary? (MIME::Type)</a><br />
33
+ <a href="classes/S33r/Client.html#M000089">bucket_exists? (S33r::Client)</a><br />
34
+ <a href="classes/S33r.html#M000047">bucket_name_valid? (S33r)</a><br />
35
+ <a href="classes/S33r.html#M000045">canned_acl_header (S33r)</a><br />
36
+ <a href="classes/MIME/Type.html#M000035">complete? (MIME::Type)</a><br />
37
+ <a href="classes/S33r/Client.html#M000087">create_bucket (S33r::Client)</a><br />
38
+ <a href="classes/MIME/Type.html#M000019">default_encoding (MIME::Type)</a><br />
39
+ <a href="classes/S33r/NamedBucket.html#M000071">delete (S33r::NamedBucket)</a><br />
40
+ <a href="classes/S33r/S3Object.html#M000056">delete (S33r::S3Object)</a><br />
41
+ <a href="classes/S33r/Client.html#M000088">delete_bucket (S33r::Client)</a><br />
42
+ <a href="classes/S33r/NamedBucket.html#M000072">delete_key (S33r::NamedBucket)</a><br />
43
+ <a href="classes/S33r/Client.html#M000094">delete_resource (S33r::Client)</a><br />
44
+ <a href="classes/S33r/Client.html#M000100">do_delete (S33r::Client)</a><br />
45
+ <a href="classes/S33r/Client.html#M000096">do_get (S33r::Client)</a><br />
46
+ <a href="classes/S33r/Client.html#M000097">do_head (S33r::Client)</a><br />
47
+ <a href="classes/S33r/Client.html#M000098">do_post (S33r::Client)</a><br />
48
+ <a href="classes/S33r/Client.html#M000099">do_put (S33r::Client)</a><br />
49
+ <a href="classes/S33r/Client.html#M000083">do_request (S33r::Client)</a><br />
50
+ <a href="classes/MIME/Type.html#M000022">docs= (MIME::Type)</a><br />
51
+ <a href="classes/S33r/NamedBucket.html#M000066">each_item (S33r::NamedBucket)</a><br />
52
+ <a href="classes/S33r/NamedBucket.html#M000067">exists? (S33r::NamedBucket)</a><br />
53
+ <a href="classes/MIME/Type.html#M000025">from_array (MIME::Type)</a><br />
54
+ <a href="classes/MIME/Type.html#M000026">from_hash (MIME::Type)</a><br />
55
+ <a href="classes/MIME/Type.html#M000027">from_mime_type (MIME::Type)</a><br />
56
+ <a href="classes/S33r.html#M000041">generate_auth_header_value (S33r)</a><br />
57
+ <a href="classes/S33r.html#M000040">generate_canonical_string (S33r)</a><br />
58
+ <a href="classes/S33r.html#M000048">generate_querystring (S33r)</a><br />
59
+ <a href="classes/S33r.html#M000042">generate_signature (S33r)</a><br />
60
+ <a href="classes/S33r/Client.html#M000084">get_requester (S33r::Client)</a><br />
61
+ <a href="classes/S33r/Client.html#M000090">get_resource (S33r::Client)</a><br />
62
+ <a href="classes/XML.html#M000002">get_xml_doc (XML)</a><br />
63
+ <a href="classes/S33r.html#M000046">guess_mime_type (S33r)</a><br />
64
+ <a href="classes/S33r/Client.html#M000080">init (S33r::Client)</a><br />
65
+ <a href="classes/S33r/NamedBucket.html#M000059">init (S33r::NamedBucket)</a><br />
66
+ <a href="classes/S33r/NamedBucket.html#M000065">keys (S33r::NamedBucket)</a><br />
67
+ <a href="classes/S33r.html#M000052">keys_to_symbols (S33r)</a><br />
68
+ <a href="classes/MIME/Type.html#M000018">like? (MIME::Type)</a><br />
69
+ <a href="classes/S33r/Client.html#M000086">list_bucket (S33r::Client)</a><br />
70
+ <a href="classes/S33r/Client.html#M000085">list_buckets (S33r::Client)</a><br />
71
+ <a href="classes/S33r/NamedBucket.html#M000064">listing (S33r::NamedBucket)</a><br />
72
+ <a href="classes/S33r/Client.html#M000081">load_config (S33r::Client)</a><br />
73
+ <a href="classes/S33r/Sync.html#M000053">md5sum (S33r::Sync)</a><br />
74
+ <a href="classes/S33r.html#M000044">metadata_headers (S33r)</a><br />
75
+ <a href="classes/S33r/BucketListing.html#M000074">new (S33r::BucketListing)</a><br />
76
+ <a href="classes/S33r/S3User.html#M000054">new (S33r::S3User)</a><br />
77
+ <a href="classes/S33r/S3Object.html#M000055">new (S33r::S3Object)</a><br />
78
+ <a href="classes/MIME/Type.html#M000028">new (MIME::Type)</a><br />
79
+ <a href="classes/S33r/NamedBucket.html#M000060">new (S33r::NamedBucket)</a><br />
80
+ <a href="classes/MIME/Types.html#M000009">new (MIME::Types)</a><br />
81
+ <a href="classes/S33r/Client.html#M000079">new (S33r::Client)</a><br />
82
+ <a href="classes/Net/HTTPResponse.html#M000007">not_found (Net::HTTPResponse)</a><br />
83
+ <a href="classes/MIME/Type.html#M000021">obsolete? (MIME::Type)</a><br />
84
+ <a href="classes/MIME/Types.html#M000012">of (MIME::Types)</a><br />
85
+ <a href="classes/MIME/Types.html#M000016">of (MIME::Types)</a><br />
86
+ <a href="classes/Net/HTTPResponse.html#M000005">ok? (Net::HTTPResponse)</a><br />
87
+ <a href="classes/S33r/BucketListing.html#M000076">parse_listing (S33r::BucketListing)</a><br />
88
+ <a href="classes/MIME/Type.html#M000034">platform? (MIME::Type)</a><br />
89
+ <a href="classes/S33r/BucketListing.html#M000078">pretty (S33r::BucketListing)</a><br />
90
+ <a href="classes/S33r/NamedBucket.html#M000061">public_contents? (S33r::NamedBucket)</a><br />
91
+ <a href="classes/S33r/NamedBucket.html#M000069">put_file (S33r::NamedBucket)</a><br />
92
+ <a href="classes/S33r/Client.html#M000093">put_file (S33r::Client)</a><br />
93
+ <a href="classes/S33r/Client.html#M000091">put_resource (S33r::Client)</a><br />
94
+ <a href="classes/S33r/NamedBucket.html#M000070">put_stream (S33r::NamedBucket)</a><br />
95
+ <a href="classes/S33r/Client.html#M000092">put_text (S33r::Client)</a><br />
96
+ <a href="classes/S33r/NamedBucket.html#M000068">put_text (S33r::NamedBucket)</a><br />
97
+ <a href="classes/MIME/Type.html#M000029">registered? (MIME::Type)</a><br />
98
+ <a href="classes/S33r/NamedBucket.html#M000073">s3_authenticated_url (S33r::NamedBucket)</a><br />
99
+ <a href="classes/S33r.html#M000051">s3_authenticated_url (S33r)</a><br />
100
+ <a href="classes/S33r.html#M000050">s3_public_url (S33r)</a><br />
101
+ <a href="classes/Net/HTTPGenericRequest.html#M000004">send_request_with_body_stream (Net::HTTPGenericRequest)</a><br />
102
+ <a href="classes/S33r/S3Object.html#M000058">set_from_node (S33r::S3Object)</a><br />
103
+ <a href="classes/S33r/S3Object.html#M000057">set_from_xml_string (S33r::S3Object)</a><br />
104
+ <a href="classes/S33r/BucketListing.html#M000075">set_listing_xml (S33r::BucketListing)</a><br />
105
+ <a href="classes/MIME/Type.html#M000032">signature? (MIME::Type)</a><br />
106
+ <a href="classes/MIME/Type.html#M000024">simplified (MIME::Type)</a><br />
107
+ <a href="classes/S33r/NamedBucket.html#M000062">strict? (S33r::NamedBucket)</a><br />
108
+ <a href="classes/Net/HTTPResponse.html#M000006">success (Net::HTTPResponse)</a><br />
109
+ <a href="classes/MIME/Type.html#M000033">system? (MIME::Type)</a><br />
110
+ <a href="classes/MIME/Type.html#M000038">to_a (MIME::Type)</a><br />
111
+ <a href="classes/MIME/Type.html#M000039">to_hash (MIME::Type)</a><br />
112
+ <a href="classes/Net/HTTPGenericRequest.html#M000003">to_s (Net::HTTPGenericRequest)</a><br />
113
+ <a href="classes/Net/HTTPResponse.html#M000008">to_s (Net::HTTPResponse)</a><br />
114
+ <a href="classes/MIME/Type.html#M000036">to_s (MIME::Type)</a><br />
115
+ <a href="classes/MIME/Type.html#M000037">to_str (MIME::Type)</a><br />
116
+ <a href="classes/MIME/Types.html#M000015">type_for (MIME::Types)</a><br />
117
+ <a href="classes/MIME/Types.html#M000011">type_for (MIME::Types)</a><br />
118
+ <a href="classes/S33r.html#M000049">url_join (S33r)</a><br />
119
+ <a href="classes/MIME/Type.html#M000023">urls (MIME::Type)</a><br />
120
+ <a href="classes/MIME/Type.html#M000020">use_instead (MIME::Type)</a><br />
121
+ <a href="classes/S33r/Client.html#M000082">use_ssl? (S33r::Client)</a><br />
122
+ <a href="classes/XML.html#M000001">xget (XML)</a><br />
123
+ </div>
124
+ </div>
125
+ </body>
126
+ </html>
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
5
+
6
+ <!--
7
+
8
+ RDoc Documentation
9
+
10
+ -->
11
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
12
+ <head>
13
+ <title>RDoc Documentation</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ </head>
16
+ <frameset rows="20%, 80%">
17
+ <frameset cols="25%,35%,45%">
18
+ <frame src="fr_file_index.html" title="Files" name="Files" />
19
+ <frame src="fr_class_index.html" name="Classes" />
20
+ <frame src="fr_method_index.html" name="Methods" />
21
+ </frameset>
22
+ <frame src="files/README_txt.html" name="docwin" />
23
+ </frameset>
24
+ </html>
@@ -0,0 +1,208 @@
1
+
2
+ body {
3
+ font-family: Verdana,Arial,Helvetica,sans-serif;
4
+ font-size: 90%;
5
+ margin: 0;
6
+ margin-left: 40px;
7
+ padding: 0;
8
+ background: white;
9
+ }
10
+
11
+ h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
12
+ h1 { font-size: 150%; }
13
+ h2,h3,h4 { margin-top: 1em; }
14
+
15
+ a { background: #eef; color: #039; text-decoration: none; }
16
+ a:hover { background: #039; color: #eef; }
17
+
18
+ /* Override the base stylesheet's Anchor inside a table cell */
19
+ td > a {
20
+ background: transparent;
21
+ color: #039;
22
+ text-decoration: none;
23
+ }
24
+
25
+ /* and inside a section title */
26
+ .section-title > a {
27
+ background: transparent;
28
+ color: #eee;
29
+ text-decoration: none;
30
+ }
31
+
32
+ /* === Structural elements =================================== */
33
+
34
+ div#index {
35
+ margin: 0;
36
+ margin-left: -40px;
37
+ padding: 0;
38
+ font-size: 90%;
39
+ }
40
+
41
+
42
+ div#index a {
43
+ margin-left: 0.7em;
44
+ }
45
+
46
+ div#index .section-bar {
47
+ margin-left: 0px;
48
+ padding-left: 0.7em;
49
+ background: #ccc;
50
+ font-size: small;
51
+ }
52
+
53
+
54
+ div#classHeader, div#fileHeader {
55
+ width: auto;
56
+ color: white;
57
+ padding: 0.5em 1.5em 0.5em 1.5em;
58
+ margin: 0;
59
+ margin-left: -40px;
60
+ border-bottom: 3px solid #006;
61
+ }
62
+
63
+ div#classHeader a, div#fileHeader a {
64
+ background: inherit;
65
+ color: white;
66
+ }
67
+
68
+ div#classHeader td, div#fileHeader td {
69
+ background: inherit;
70
+ color: white;
71
+ }
72
+
73
+
74
+ div#fileHeader {
75
+ background: #057;
76
+ }
77
+
78
+ div#classHeader {
79
+ background: #048;
80
+ }
81
+
82
+
83
+ .class-name-in-header {
84
+ font-size: 180%;
85
+ font-weight: bold;
86
+ }
87
+
88
+
89
+ div#bodyContent {
90
+ padding: 0 1.5em 0 1.5em;
91
+ }
92
+
93
+ div#description {
94
+ padding: 0.5em 1.5em;
95
+ background: #efefef;
96
+ border: 1px dotted #999;
97
+ }
98
+
99
+ div#description h1,h2,h3,h4,h5,h6 {
100
+ color: #125;;
101
+ background: transparent;
102
+ }
103
+
104
+ div#validator-badges {
105
+ text-align: center;
106
+ }
107
+ div#validator-badges img { border: 0; }
108
+
109
+ div#copyright {
110
+ color: #333;
111
+ background: #efefef;
112
+ font: 0.75em sans-serif;
113
+ margin-top: 5em;
114
+ margin-bottom: 0;
115
+ padding: 0.5em 2em;
116
+ }
117
+
118
+
119
+ /* === Classes =================================== */
120
+
121
+ table.header-table {
122
+ color: white;
123
+ font-size: small;
124
+ }
125
+
126
+ .type-note {
127
+ font-size: small;
128
+ color: #DEDEDE;
129
+ }
130
+
131
+ .xxsection-bar {
132
+ background: #eee;
133
+ color: #333;
134
+ padding: 3px;
135
+ }
136
+
137
+ .section-bar {
138
+ color: #333;
139
+ border-bottom: 1px solid #999;
140
+ margin-left: -20px;
141
+ }
142
+
143
+
144
+ .section-title {
145
+ background: #79a;
146
+ color: #eee;
147
+ padding: 3px;
148
+ margin-top: 2em;
149
+ margin-left: -30px;
150
+ border: 1px solid #999;
151
+ }
152
+
153
+ .top-aligned-row { vertical-align: top }
154
+ .bottom-aligned-row { vertical-align: bottom }
155
+
156
+ /* --- Context section classes ----------------------- */
157
+
158
+ .context-row { }
159
+ .context-item-name { font-family: monospace; font-weight: bold; color: black; }
160
+ .context-item-value { font-size: small; color: #448; }
161
+ .context-item-desc { color: #333; padding-left: 2em; }
162
+
163
+ /* --- Method classes -------------------------- */
164
+ .method-detail {
165
+ background: #efefef;
166
+ padding: 0;
167
+ margin-top: 0.5em;
168
+ margin-bottom: 1em;
169
+ border: 1px dotted #ccc;
170
+ }
171
+ .method-heading {
172
+ color: black;
173
+ background: #ccc;
174
+ border-bottom: 1px solid #666;
175
+ padding: 0.2em 0.5em 0 0.5em;
176
+ }
177
+ .method-signature { color: black; background: inherit; }
178
+ .method-name { font-weight: bold; }
179
+ .method-args { font-style: italic; }
180
+ .method-description { padding: 0 0.5em 0 0.5em; }
181
+
182
+ /* --- Source code sections -------------------- */
183
+
184
+ a.source-toggle { font-size: 90%; }
185
+ div.method-source-code {
186
+ background: #262626;
187
+ color: #ffdead;
188
+ margin: 1em;
189
+ padding: 0.5em;
190
+ border: 1px dashed #999;
191
+ overflow: hidden;
192
+ }
193
+
194
+ div.method-source-code pre { color: #ffdead; overflow: hidden; }
195
+
196
+ /* --- Ruby keyword styles --------------------- */
197
+
198
+ .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
199
+
200
+ .ruby-constant { color: #7fffd4; background: transparent; }
201
+ .ruby-keyword { color: #00ffff; background: transparent; }
202
+ .ruby-ivar { color: #eedd82; background: transparent; }
203
+ .ruby-operator { color: #00ffee; background: transparent; }
204
+ .ruby-identifier { color: #ffdead; background: transparent; }
205
+ .ruby-node { color: #ffa07a; background: transparent; }
206
+ .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
207
+ .ruby-regexp { color: #ffa07a; background: transparent; }
208
+ .ruby-value { color: #7fffd4; background: transparent; }