openstack-swift 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/Gemfile.lock +2 -2
  2. data/README.rdoc +47 -0
  3. data/doc/Gemfile.html +100 -0
  4. data/doc/Object.html +177 -0
  5. data/doc/Openstack.html +162 -0
  6. data/doc/Openstack/Swift.html +182 -0
  7. data/doc/Openstack/Swift/AuthenticationError.html +151 -0
  8. data/doc/Openstack/Swift/Client.html +316 -0
  9. data/doc/Openstack/Swift/UnauthorizedError.html +147 -0
  10. data/doc/Openstack/Swift/WebApi.html +417 -0
  11. data/doc/Rakefile.html +98 -0
  12. data/doc/created.rid +11 -0
  13. data/doc/images/brick.png +0 -0
  14. data/doc/images/brick_link.png +0 -0
  15. data/doc/images/bug.png +0 -0
  16. data/doc/images/bullet_black.png +0 -0
  17. data/doc/images/bullet_toggle_minus.png +0 -0
  18. data/doc/images/bullet_toggle_plus.png +0 -0
  19. data/doc/images/date.png +0 -0
  20. data/doc/images/find.png +0 -0
  21. data/doc/images/loadingAnimation.gif +0 -0
  22. data/doc/images/macFFBgHack.png +0 -0
  23. data/doc/images/package.png +0 -0
  24. data/doc/images/page_green.png +0 -0
  25. data/doc/images/page_white_text.png +0 -0
  26. data/doc/images/page_white_width.png +0 -0
  27. data/doc/images/plugin.png +0 -0
  28. data/doc/images/ruby.png +0 -0
  29. data/doc/images/tag_green.png +0 -0
  30. data/doc/images/wrench.png +0 -0
  31. data/doc/images/wrench_orange.png +0 -0
  32. data/doc/images/zoom.png +0 -0
  33. data/doc/index.html +88 -0
  34. data/doc/js/darkfish.js +116 -0
  35. data/doc/js/jquery.js +32 -0
  36. data/doc/js/quicksearch.js +114 -0
  37. data/doc/js/thickbox-compressed.js +10 -0
  38. data/doc/lib/openstack-swift/client_rb.html +52 -0
  39. data/doc/lib/openstack-swift/errors_rb.html +52 -0
  40. data/doc/lib/openstack-swift/version_rb.html +52 -0
  41. data/doc/lib/openstack-swift/web_api_rb.html +52 -0
  42. data/doc/lib/openstack-swift_rb.html +66 -0
  43. data/doc/rdoc.css +763 -0
  44. data/doc/spec/openstack-swift/client_spec_rb.html +54 -0
  45. data/doc/spec/openstack-swift/web_api_spec_rb.html +54 -0
  46. data/doc/spec/spec_helper_rb.html +58 -0
  47. data/lib/openstack-swift/api.rb +77 -1
  48. data/lib/openstack-swift/client.rb +12 -57
  49. data/lib/openstack-swift/errors.rb +1 -0
  50. data/lib/openstack-swift/version.rb +1 -1
  51. data/spec/openstack-swift/{web_api_spec.rb → api_spec.rb} +23 -2
  52. data/spec/openstack-swift/client_spec.rb +19 -4
  53. metadata +60 -16
  54. data/openstack-swift-0.1.0.gem +0 -0
@@ -0,0 +1,10 @@
1
+ /*
2
+ * Thickbox 3 - One Box To Rule Them All.
3
+ * By Cody Lindley (http://www.codylindley.com)
4
+ * Copyright (c) 2007 cody lindley
5
+ * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
6
+ */
7
+
8
+ var tb_pathToImage = "../images/loadingAnimation.gif";
9
+
10
+ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(o).2S(9(){1u(\'a.18, 3n.18, 3i.18\');1w=1p 1t();1w.L=2H});9 1u(b){$(b).s(9(){6 t=X.Q||X.1v||M;6 a=X.u||X.23;6 g=X.1N||P;19(t,a,g);X.2E();H P})}9 19(d,f,g){3m{3(2t o.v.J.2i==="2g"){$("v","11").r({A:"28%",z:"28%"});$("11").r("22","2Z");3(o.1Y("1F")===M){$("v").q("<U 5=\'1F\'></U><4 5=\'B\'></4><4 5=\'8\'></4>");$("#B").s(G)}}n{3(o.1Y("B")===M){$("v").q("<4 5=\'B\'></4><4 5=\'8\'></4>");$("#B").s(G)}}3(1K()){$("#B").1J("2B")}n{$("#B").1J("2z")}3(d===M){d=""}$("v").q("<4 5=\'K\'><1I L=\'"+1w.L+"\' /></4>");$(\'#K\').2y();6 h;3(f.O("?")!==-1){h=f.3l(0,f.O("?"))}n{h=f}6 i=/\\.2s$|\\.2q$|\\.2m$|\\.2l$|\\.2k$/;6 j=h.1C().2h(i);3(j==\'.2s\'||j==\'.2q\'||j==\'.2m\'||j==\'.2l\'||j==\'.2k\'){1D="";1G="";14="";1z="";1x="";R="";1n="";1r=P;3(g){E=$("a[@1N="+g+"]").36();25(D=0;((D<E.1c)&&(R===""));D++){6 k=E[D].u.1C().2h(i);3(!(E[D].u==f)){3(1r){1z=E[D].Q;1x=E[D].u;R="<1e 5=\'1X\'>&1d;&1d;<a u=\'#\'>2T &2R;</a></1e>"}n{1D=E[D].Q;1G=E[D].u;14="<1e 5=\'1U\'>&1d;&1d;<a u=\'#\'>&2O; 2N</a></1e>"}}n{1r=1b;1n="1t "+(D+1)+" 2L "+(E.1c)}}}S=1p 1t();S.1g=9(){S.1g=M;6 a=2x();6 x=a[0]-1M;6 y=a[1]-1M;6 b=S.z;6 c=S.A;3(b>x){c=c*(x/b);b=x;3(c>y){b=b*(y/c);c=y}}n 3(c>y){b=b*(y/c);c=y;3(b>x){c=c*(x/b);b=x}}13=b+30;1a=c+2G;$("#8").q("<a u=\'\' 5=\'1L\' Q=\'1o\'><1I 5=\'2F\' L=\'"+f+"\' z=\'"+b+"\' A=\'"+c+"\' 23=\'"+d+"\'/></a>"+"<4 5=\'2D\'>"+d+"<4 5=\'2C\'>"+1n+14+R+"</4></4><4 5=\'2A\'><a u=\'#\' 5=\'Z\' Q=\'1o\'>1l</a> 1k 1j 1s</4>");$("#Z").s(G);3(!(14==="")){9 12(){3($(o).N("s",12)){$(o).N("s",12)}$("#8").C();$("v").q("<4 5=\'8\'></4>");19(1D,1G,g);H P}$("#1U").s(12)}3(!(R==="")){9 1i(){$("#8").C();$("v").q("<4 5=\'8\'></4>");19(1z,1x,g);H P}$("#1X").s(1i)}o.1h=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}n 3(I==3k){3(!(R=="")){o.1h="";1i()}}n 3(I==3j){3(!(14=="")){o.1h="";12()}}};16();$("#K").C();$("#1L").s(G);$("#8").r({Y:"T"})};S.L=f}n{6 l=f.2r(/^[^\\?]+\\??/,\'\');6 m=2p(l);13=(m[\'z\']*1)+30||3h;1a=(m[\'A\']*1)+3g||3f;W=13-30;V=1a-3e;3(f.O(\'2j\')!=-1){1E=f.1B(\'3d\');$("#15").C();3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"</4><4 5=\'2e\'><a u=\'#\' 5=\'Z\' Q=\'1o\'>1l</a> 1k 1j 1s</4></4><U 1W=\'0\' 2d=\'0\' L=\'"+1E[0]+"\' 5=\'15\' 1v=\'15"+1f.2c(1f.1y()*2b)+"\' 1g=\'1m()\' J=\'z:"+(W+29)+"p;A:"+(V+17)+"p;\' > </U>")}n{$("#B").N();$("#8").q("<U 1W=\'0\' 2d=\'0\' L=\'"+1E[0]+"\' 5=\'15\' 1v=\'15"+1f.2c(1f.1y()*2b)+"\' 1g=\'1m()\' J=\'z:"+(W+29)+"p;A:"+(V+17)+"p;\'> </U>")}}n{3($("#8").r("Y")!="T"){3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"</4><4 5=\'2e\'><a u=\'#\' 5=\'Z\'>1l</a> 1k 1j 1s</4></4><4 5=\'F\' J=\'z:"+W+"p;A:"+V+"p\'></4>")}n{$("#B").N();$("#8").q("<4 5=\'F\' 3c=\'3b\' J=\'z:"+W+"p;A:"+V+"p;\'></4>")}}n{$("#F")[0].J.z=W+"p";$("#F")[0].J.A=V+"p";$("#F")[0].3a=0;$("#1H").11(d)}}$("#Z").s(G);3(f.O(\'37\')!=-1){$("#F").q($(\'#\'+m[\'26\']).1T());$("#8").24(9(){$(\'#\'+m[\'26\']).q($("#F").1T())});16();$("#K").C();$("#8").r({Y:"T"})}n 3(f.O(\'2j\')!=-1){16();3($.1q.35){$("#K").C();$("#8").r({Y:"T"})}}n{$("#F").34(f+="&1y="+(1p 33().32()),9(){16();$("#K").C();1u("#F a.18");$("#8").r({Y:"T"})})}}3(!m[\'1A\']){o.21=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}}}}31(e){}}9 1m(){$("#K").C();$("#8").r({Y:"T"})}9 G(){$("#2Y").N("s");$("#Z").N("s");$("#8").2X("2W",9(){$(\'#8,#B,#1F\').2V("24").N().C()});$("#K").C();3(2t o.v.J.2i=="2g"){$("v","11").r({A:"1Z",z:"1Z"});$("11").r("22","")}o.1h="";o.21="";H P}9 16(){$("#8").r({2U:\'-\'+20((13/2),10)+\'p\',z:13+\'p\'});3(!(1V.1q.2Q&&1V.1q.2P<7)){$("#8").r({38:\'-\'+20((1a/2),10)+\'p\'})}}9 2p(a){6 b={};3(!a){H b}6 c=a.1B(/[;&]/);25(6 i=0;i<c.1c;i++){6 d=c[i].1B(\'=\');3(!d||d.1c!=2){39}6 e=2a(d[0]);6 f=2a(d[1]);f=f.2r(/\\+/g,\' \');b[e]=f}H b}9 2x(){6 a=o.2M;6 w=1S.2o||1R.2o||(a&&a.1Q)||o.v.1Q;6 h=1S.1P||1R.1P||(a&&a.2n)||o.v.2n;1O=[w,h];H 1O}9 1K(){6 a=2K.2J.1C();3(a.O(\'2I\')!=-1&&a.O(\'3o\')!=-1){H 1b}}',62,211,'|||if|div|id|var||TB_window|function||||||||||||||else|document|px|append|css|click||href|body||||width|height|TB_overlay|remove|TB_Counter|TB_TempArray|TB_ajaxContent|tb_remove|return|keycode|style|TB_load|src|null|unbind|indexOf|false|title|TB_NextHTML|imgPreloader|block|iframe|ajaxContentH|ajaxContentW|this|display|TB_closeWindowButton||html|goPrev|TB_WIDTH|TB_PrevHTML|TB_iframeContent|tb_position||thickbox|tb_show|TB_HEIGHT|true|length|nbsp|span|Math|onload|onkeydown|goNext|Esc|or|close|tb_showIframe|TB_imageCount|Close|new|browser|TB_FoundURL|Key|Image|tb_init|name|imgLoader|TB_NextURL|random|TB_NextCaption|modal|split|toLowerCase|TB_PrevCaption|urlNoQuery|TB_HideSelect|TB_PrevURL|TB_ajaxWindowTitle|img|addClass|tb_detectMacXFF|TB_ImageOff|150|rel|arrayPageSize|innerHeight|clientWidth|self|window|children|TB_prev|jQuery|frameborder|TB_next|getElementById|auto|parseInt|onkeyup|overflow|alt|unload|for|inlineId||100||unescape|1000|round|hspace|TB_closeAjaxWindow|TB_title|undefined|match|maxHeight|TB_iframe|bmp|gif|png|clientHeight|innerWidth|tb_parseQuery|jpeg|replace|jpg|typeof|which|keyCode|event|tb_getPageSize|show|TB_overlayBG|TB_closeWindow|TB_overlayMacFFBGHack|TB_secondLine|TB_caption|blur|TB_Image|60|tb_pathToImage|mac|userAgent|navigator|of|documentElement|Prev|lt|version|msie|gt|ready|Next|marginLeft|trigger|fast|fadeOut|TB_imageOff|hidden||catch|getTime|Date|load|safari|get|TB_inline|marginTop|continue|scrollTop|TB_modal|class|TB_|45|440|40|630|input|188|190|substr|try|area|firefox'.split('|'),0,{}))
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: client.rb [RDoc Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">2011-08-15 16:10:20 -0300</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ </ul>
35
+ </dd>
36
+
37
+
38
+
39
+ </dl>
40
+ </div>
41
+
42
+ <div id="documentation">
43
+
44
+ <div class="description">
45
+ <h2>Description</h2>
46
+
47
+ </div>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
52
+
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: errors.rb [RDoc Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">2011-08-12 16:42:21 -0300</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ </ul>
35
+ </dd>
36
+
37
+
38
+
39
+ </dl>
40
+ </div>
41
+
42
+ <div id="documentation">
43
+
44
+ <div class="description">
45
+ <h2>Description</h2>
46
+
47
+ </div>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
52
+
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: version.rb [RDoc Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">2011-08-12 12:47:02 -0300</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ </ul>
35
+ </dd>
36
+
37
+
38
+
39
+ </dl>
40
+ </div>
41
+
42
+ <div id="documentation">
43
+
44
+ <div class="description">
45
+ <h2>Description</h2>
46
+
47
+ </div>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
52
+
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: web_api.rb [RDoc Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">2011-08-12 16:42:33 -0300</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ </ul>
35
+ </dd>
36
+
37
+
38
+
39
+ </dl>
40
+ </div>
41
+
42
+ <div id="documentation">
43
+
44
+ <div class="description">
45
+ <h2>Description</h2>
46
+
47
+ </div>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
52
+
@@ -0,0 +1,66 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: openstack-swift.rb [RDoc Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">2011-08-12 15:42:51 -0300</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ <li>httparty</li>
35
+
36
+ <li>net/http</li>
37
+
38
+ <li>net/https</li>
39
+
40
+ <li>fileutils</li>
41
+
42
+ <li>openstack-swift/web_api</li>
43
+
44
+ <li>openstack-swift/errors</li>
45
+
46
+ <li>openstack-swift/client</li>
47
+
48
+ </ul>
49
+ </dd>
50
+
51
+
52
+
53
+ </dl>
54
+ </div>
55
+
56
+ <div id="documentation">
57
+
58
+ <div class="description">
59
+ <h2>Description</h2>
60
+
61
+ </div>
62
+
63
+ </div>
64
+ </body>
65
+ </html>
66
+
@@ -0,0 +1,763 @@
1
+ /*
2
+ * "Darkfish" Rdoc CSS
3
+ * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
4
+ *
5
+ * Author: Michael Granger <ged@FaerieMUD.org>
6
+ *
7
+ */
8
+
9
+ /* Base Green is: #6C8C22 */
10
+
11
+ *{ padding: 0; margin: 0; }
12
+
13
+ body {
14
+ background: #efefef;
15
+ font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
16
+ }
17
+ body.class, body.module, body.file {
18
+ margin-left: 40px;
19
+ }
20
+ body.file-popup {
21
+ font-size: 90%;
22
+ margin-left: 0;
23
+ }
24
+
25
+ h1 {
26
+ font-size: 300%;
27
+ text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
28
+ color: #6C8C22;
29
+ }
30
+ h2,h3,h4 { margin-top: 1.5em; }
31
+
32
+ :link,
33
+ :visited {
34
+ color: #6C8C22;
35
+ text-decoration: none;
36
+ }
37
+ :link:hover,
38
+ :visited:hover {
39
+ border-bottom: 1px dotted #6C8C22;
40
+ }
41
+
42
+ pre {
43
+ background: #ddd;
44
+ padding: 0.5em 0;
45
+ }
46
+
47
+
48
+ /* @group Generic Classes */
49
+
50
+ .initially-hidden {
51
+ display: none;
52
+ }
53
+
54
+ .quicksearch-field {
55
+ width: 98%;
56
+ background: #ddd;
57
+ border: 1px solid #aaa;
58
+ height: 1.5em;
59
+ -webkit-border-radius: 4px;
60
+ }
61
+ .quicksearch-field:focus {
62
+ background: #f1edba;
63
+ }
64
+
65
+ .missing-docs {
66
+ font-size: 120%;
67
+ background: white url(images/wrench_orange.png) no-repeat 4px center;
68
+ color: #ccc;
69
+ line-height: 2em;
70
+ border: 1px solid #d00;
71
+ opacity: 1;
72
+ padding-left: 20px;
73
+ text-indent: 24px;
74
+ letter-spacing: 3px;
75
+ font-weight: bold;
76
+ -webkit-border-radius: 5px;
77
+ -moz-border-radius: 5px;
78
+ }
79
+
80
+ .target-section {
81
+ border: 2px solid #dcce90;
82
+ border-left-width: 8px;
83
+ padding: 0 1em;
84
+ background: #fff3c2;
85
+ }
86
+
87
+ /* @end */
88
+
89
+
90
+ /* @group Index Page, Standalone file pages */
91
+ body.indexpage {
92
+ margin: 1em 3em;
93
+ }
94
+ body.indexpage p,
95
+ body.indexpage div,
96
+ body.file p {
97
+ margin: 1em 0;
98
+ }
99
+
100
+ .indexpage .rdoc-list p, .file .rdoc-list p {
101
+ margin: 0em 0;
102
+ }
103
+
104
+ .indexpage ol,
105
+ .file #documentation ol {
106
+ line-height: 160%;
107
+ }
108
+
109
+ .indexpage ul,
110
+ .file #documentation ul {
111
+ line-height: 160%;
112
+ list-style: none;
113
+ }
114
+ .indexpage ul :link,
115
+ .indexpage ul :visited {
116
+ font-size: 16px;
117
+ }
118
+
119
+ .indexpage li,
120
+ .file #documentation li {
121
+ padding-left: 20px;
122
+ }
123
+
124
+ .indexpage ol,
125
+ .file #documentation ol {
126
+ margin-left: 20px;
127
+ }
128
+
129
+ .indexpage ol > li,
130
+ .file #documentation ol > li {
131
+ padding-left: 0;
132
+ }
133
+
134
+ .indexpage ul > li,
135
+ .file #documentation ul > li {
136
+ background: url(images/bullet_black.png) no-repeat left 4px;
137
+ }
138
+ .indexpage li.module {
139
+ background: url(images/package.png) no-repeat left 4px;
140
+ }
141
+ .indexpage li.class {
142
+ background: url(images/ruby.png) no-repeat left 4px;
143
+ }
144
+ .indexpage li.file {
145
+ background: url(images/page_white_text.png) no-repeat left 4px;
146
+ }
147
+ .file li p,
148
+ .indexpage li p {
149
+ margin: 0 0;
150
+ }
151
+
152
+ /* @end */
153
+
154
+ /* @group Top-Level Structure */
155
+
156
+ .class #metadata,
157
+ .file #metadata,
158
+ .module #metadata {
159
+ float: left;
160
+ width: 260px;
161
+ }
162
+
163
+ .class #documentation,
164
+ .file #documentation,
165
+ .module #documentation {
166
+ margin: 2em 1em 5em 300px;
167
+ min-width: 340px;
168
+ }
169
+
170
+ .file #metadata {
171
+ margin: 0.8em;
172
+ }
173
+
174
+ #validator-badges {
175
+ clear: both;
176
+ margin: 1em 1em 2em;
177
+ }
178
+
179
+ /* @end */
180
+
181
+ /* @group Metadata Section */
182
+ #metadata .section {
183
+ background-color: #dedede;
184
+ -moz-border-radius: 5px;
185
+ -webkit-border-radius: 5px;
186
+ border: 1px solid #aaa;
187
+ margin: 0 8px 16px;
188
+ font-size: 90%;
189
+ overflow: hidden;
190
+ }
191
+ #metadata h3.section-header {
192
+ margin: 0;
193
+ padding: 2px 8px;
194
+ background: #ccc;
195
+ color: #666;
196
+ -moz-border-radius-topleft: 4px;
197
+ -moz-border-radius-topright: 4px;
198
+ -webkit-border-top-left-radius: 4px;
199
+ -webkit-border-top-right-radius: 4px;
200
+ border-bottom: 1px solid #aaa;
201
+ }
202
+ #metadata #home-section h3.section-header {
203
+ border-bottom: 0;
204
+ }
205
+
206
+ #metadata ul,
207
+ #metadata dl,
208
+ #metadata p {
209
+ padding: 8px;
210
+ list-style: none;
211
+ }
212
+
213
+ #file-metadata ul {
214
+ padding-left: 28px;
215
+ list-style-image: url(images/page_green.png);
216
+ }
217
+
218
+ dl.svninfo {
219
+ color: #666;
220
+ margin: 0;
221
+ }
222
+ dl.svninfo dt {
223
+ font-weight: bold;
224
+ }
225
+
226
+ ul.link-list li {
227
+ white-space: nowrap;
228
+ }
229
+ ul.link-list .type {
230
+ font-size: 8px;
231
+ text-transform: uppercase;
232
+ color: white;
233
+ background: #969696;
234
+ padding: 2px 4px;
235
+ -webkit-border-radius: 5px;
236
+ }
237
+
238
+ /* @end */
239
+
240
+
241
+ /* @group Project Metadata Section */
242
+ #project-metadata {
243
+ margin-top: 3em;
244
+ }
245
+
246
+ .file #project-metadata {
247
+ margin-top: 0em;
248
+ }
249
+
250
+ #project-metadata .section {
251
+ border: 1px solid #aaa;
252
+ }
253
+ #project-metadata h3.section-header {
254
+ border-bottom: 1px solid #aaa;
255
+ position: relative;
256
+ }
257
+ #project-metadata h3.section-header .search-toggle {
258
+ position: absolute;
259
+ right: 5px;
260
+ }
261
+
262
+
263
+ #project-metadata form {
264
+ color: #777;
265
+ background: #ccc;
266
+ padding: 8px 8px 16px;
267
+ border-bottom: 1px solid #bbb;
268
+ }
269
+ #project-metadata fieldset {
270
+ border: 0;
271
+ }
272
+
273
+ #no-class-search-results {
274
+ margin: 0 auto 1em;
275
+ text-align: center;
276
+ font-size: 14px;
277
+ font-weight: bold;
278
+ color: #aaa;
279
+ }
280
+
281
+ /* @end */
282
+
283
+
284
+ /* @group Documentation Section */
285
+ .description {
286
+ font-size: 100%;
287
+ color: #333;
288
+ }
289
+
290
+ .description p {
291
+ margin: 1em 0.4em;
292
+ }
293
+
294
+ .description li p {
295
+ margin: 0;
296
+ }
297
+
298
+ .description ul {
299
+ margin-left: 1.5em;
300
+ }
301
+ .description ul li {
302
+ line-height: 1.4em;
303
+ }
304
+
305
+ .description dl,
306
+ #documentation dl {
307
+ margin: 8px 1.5em;
308
+ border: 1px solid #ccc;
309
+ }
310
+ .description dl {
311
+ font-size: 14px;
312
+ }
313
+
314
+ .description dt,
315
+ #documentation dt {
316
+ padding: 2px 4px;
317
+ font-weight: bold;
318
+ background: #ddd;
319
+ }
320
+ .description dd,
321
+ #documentation dd {
322
+ padding: 2px 12px;
323
+ }
324
+ .description dd + dt,
325
+ #documentation dd + dt {
326
+ margin-top: 0.7em;
327
+ }
328
+
329
+ #documentation .section {
330
+ font-size: 90%;
331
+ }
332
+
333
+ #documentation h2.section-header {
334
+ margin-top: 2em;
335
+ padding: 0.75em 0.5em;
336
+ background: #ccc;
337
+ color: #333;
338
+ font-size: 175%;
339
+ border: 1px solid #bbb;
340
+ -moz-border-radius: 3px;
341
+ -webkit-border-radius: 3px;
342
+ }
343
+
344
+ #documentation h3.section-header {
345
+ margin-top: 2em;
346
+ padding: 0.25em 0.5em;
347
+ background-color: #dedede;
348
+ color: #333;
349
+ font-size: 150%;
350
+ border: 1px solid #bbb;
351
+ -moz-border-radius: 3px;
352
+ -webkit-border-radius: 3px;
353
+ }
354
+
355
+ #constants-list > dl,
356
+ #attributes-list > dl {
357
+ margin: 1em 0 2em;
358
+ border: 0;
359
+ }
360
+ #constants-list > dl dt,
361
+ #attributes-list > dl dt {
362
+ padding-left: 0;
363
+ font-weight: bold;
364
+ font-family: Monaco, "Andale Mono";
365
+ background: inherit;
366
+ }
367
+ #constants-list > dl dt a,
368
+ #attributes-list > dl dt a {
369
+ color: inherit;
370
+ }
371
+ #constants-list > dl dd,
372
+ #attributes-list > dl dd {
373
+ margin: 0 0 1em 0;
374
+ padding: 0;
375
+ color: #666;
376
+ }
377
+
378
+ .documentation-section h2 {
379
+ position: relative;
380
+ }
381
+
382
+ .documentation-section h2 a {
383
+ position: absolute;
384
+ top: 8px;
385
+ right: 10px;
386
+ font-size: 12px;
387
+ color: #9b9877;
388
+ visibility: hidden;
389
+ }
390
+
391
+ .documentation-section h2:hover a {
392
+ visibility: visible;
393
+ }
394
+
395
+ /* @group Method Details */
396
+
397
+ #documentation .method-source-code {
398
+ display: none;
399
+ }
400
+
401
+ #documentation .method-detail {
402
+ margin: 0.5em 0;
403
+ padding: 0.5em 0;
404
+ cursor: pointer;
405
+ }
406
+ #documentation .method-detail:hover {
407
+ background-color: #f1edba;
408
+ }
409
+ #documentation .method-heading {
410
+ position: relative;
411
+ padding: 2px 4px 0 20px;
412
+ font-size: 125%;
413
+ font-weight: bold;
414
+ color: #333;
415
+ background: url(images/brick.png) no-repeat left bottom;
416
+ }
417
+ #documentation .method-heading :link,
418
+ #documentation .method-heading :visited {
419
+ color: inherit;
420
+ }
421
+ #documentation .method-click-advice {
422
+ position: absolute;
423
+ top: 2px;
424
+ right: 5px;
425
+ font-size: 10px;
426
+ color: #9b9877;
427
+ visibility: hidden;
428
+ padding-right: 20px;
429
+ line-height: 20px;
430
+ background: url(images/zoom.png) no-repeat right top;
431
+ }
432
+ #documentation .method-detail:hover .method-click-advice {
433
+ visibility: visible;
434
+ }
435
+
436
+ #documentation .method-alias .method-heading {
437
+ color: #666;
438
+ background: url(images/brick_link.png) no-repeat left bottom;
439
+ }
440
+
441
+ #documentation .method-description,
442
+ #documentation .aliases {
443
+ margin: 0 20px;
444
+ color: #666;
445
+ }
446
+
447
+ #documentation .method-description p,
448
+ #documentation .aliases p {
449
+ line-height: 1.2em;
450
+ }
451
+
452
+ #documentation .aliases {
453
+ padding-top: 4px;
454
+ font-style: italic;
455
+ cursor: default;
456
+ }
457
+ #documentation .method-description p {
458
+ padding: 0;
459
+ }
460
+ #documentation .method-description p + p {
461
+ margin-bottom: 0.5em;
462
+ }
463
+ #documentation .method-description ul {
464
+ margin-left: 1.5em;
465
+ }
466
+
467
+ #documentation .attribute-method-heading {
468
+ background: url(images/tag_green.png) no-repeat left bottom;
469
+ }
470
+ #documentation #attribute-method-details .method-detail:hover {
471
+ background-color: transparent;
472
+ cursor: default;
473
+ }
474
+ #documentation .attribute-access-type {
475
+ font-size: 60%;
476
+ text-transform: uppercase;
477
+ vertical-align: super;
478
+ padding: 0 2px;
479
+ }
480
+ /* @end */
481
+
482
+ /* @end */
483
+
484
+
485
+
486
+ /* @group Source Code */
487
+
488
+ div.method-source-code {
489
+ background: #262626;
490
+ color: #efefef;
491
+ margin: 1em;
492
+ padding: 0.5em;
493
+ border: 1px dashed #999;
494
+ overflow: hidden;
495
+ }
496
+
497
+ div.method-source-code pre {
498
+ background: inherit;
499
+ padding: 0;
500
+ color: white;
501
+ overflow: auto;
502
+ }
503
+
504
+ /* @group Ruby keyword styles */
505
+
506
+ .ruby-constant { color: #7fffd4; background: transparent; }
507
+ .ruby-keyword { color: #00ffff; background: transparent; }
508
+ .ruby-ivar { color: #eedd82; background: transparent; }
509
+ .ruby-operator { color: #00ffee; background: transparent; }
510
+ .ruby-identifier { color: #ffdead; background: transparent; }
511
+ .ruby-node { color: #ffa07a; background: transparent; }
512
+ .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
513
+ .ruby-regexp { color: #ffa07a; background: transparent; }
514
+ .ruby-value { color: #7fffd4; background: transparent; }
515
+
516
+ /* @end */
517
+ /* @end */
518
+
519
+
520
+ /* @group File Popup Contents */
521
+
522
+ .file #metadata,
523
+ .file-popup #metadata {
524
+ }
525
+
526
+ .file-popup dl {
527
+ font-size: 80%;
528
+ padding: 0.75em;
529
+ background-color: #dedede;
530
+ color: #333;
531
+ border: 1px solid #bbb;
532
+ -moz-border-radius: 3px;
533
+ -webkit-border-radius: 3px;
534
+ }
535
+ .file dt {
536
+ font-weight: bold;
537
+ padding-left: 22px;
538
+ line-height: 20px;
539
+ background: url(images/page_white_width.png) no-repeat left top;
540
+ }
541
+ .file dt.modified-date {
542
+ background: url(images/date.png) no-repeat left top;
543
+ }
544
+ .file dt.requires {
545
+ background: url(images/plugin.png) no-repeat left top;
546
+ }
547
+ .file dt.scs-url {
548
+ background: url(images/wrench.png) no-repeat left top;
549
+ }
550
+
551
+ .file dl dd {
552
+ margin: 0 0 1em 0;
553
+ }
554
+ .file #metadata dl dd ul {
555
+ list-style: circle;
556
+ margin-left: 20px;
557
+ padding-top: 0;
558
+ }
559
+ .file #metadata dl dd ul li {
560
+ }
561
+
562
+
563
+ .file h2 {
564
+ margin-top: 2em;
565
+ padding: 0.75em 0.5em;
566
+ background-color: #dedede;
567
+ color: #333;
568
+ font-size: 120%;
569
+ border: 1px solid #bbb;
570
+ -moz-border-radius: 3px;
571
+ -webkit-border-radius: 3px;
572
+ }
573
+
574
+ /* @end */
575
+
576
+
577
+
578
+
579
+ /* @group ThickBox Styles */
580
+ #TB_window {
581
+ font: 12px Arial, Helvetica, sans-serif;
582
+ color: #333333;
583
+ }
584
+
585
+ #TB_secondLine {
586
+ font: 10px Arial, Helvetica, sans-serif;
587
+ color:#666666;
588
+ }
589
+
590
+ #TB_window :link,
591
+ #TB_window :visited { color: #666666; }
592
+ #TB_window :link:hover,
593
+ #TB_window :visited:hover { color: #000; }
594
+ #TB_window :link:active,
595
+ #TB_window :visited:active { color: #666666; }
596
+ #TB_window :link:focus,
597
+ #TB_window :visited:focus { color: #666666; }
598
+
599
+ #TB_overlay {
600
+ position: fixed;
601
+ z-index:100;
602
+ top: 0px;
603
+ left: 0px;
604
+ height:100%;
605
+ width:100%;
606
+ }
607
+
608
+ .TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
609
+ .TB_overlayBG {
610
+ background-color:#000;
611
+ filter:alpha(opacity=75);
612
+ -moz-opacity: 0.75;
613
+ opacity: 0.75;
614
+ }
615
+
616
+ * html #TB_overlay { /* ie6 hack */
617
+ position: absolute;
618
+ height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
619
+ }
620
+
621
+ #TB_window {
622
+ position: fixed;
623
+ background: #ffffff;
624
+ z-index: 102;
625
+ color:#000000;
626
+ display:none;
627
+ border: 4px solid #525252;
628
+ text-align:left;
629
+ top:50%;
630
+ left:50%;
631
+ }
632
+
633
+ * html #TB_window { /* ie6 hack */
634
+ position: absolute;
635
+ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
636
+ }
637
+
638
+ #TB_window img#TB_Image {
639
+ display:block;
640
+ margin: 15px 0 0 15px;
641
+ border-right: 1px solid #ccc;
642
+ border-bottom: 1px solid #ccc;
643
+ border-top: 1px solid #666;
644
+ border-left: 1px solid #666;
645
+ }
646
+
647
+ #TB_caption{
648
+ height:25px;
649
+ padding:7px 30px 10px 25px;
650
+ float:left;
651
+ }
652
+
653
+ #TB_closeWindow{
654
+ height:25px;
655
+ padding:11px 25px 10px 0;
656
+ float:right;
657
+ }
658
+
659
+ #TB_closeAjaxWindow{
660
+ padding:7px 10px 5px 0;
661
+ margin-bottom:1px;
662
+ text-align:right;
663
+ float:right;
664
+ }
665
+
666
+ #TB_ajaxWindowTitle{
667
+ float:left;
668
+ padding:7px 0 5px 10px;
669
+ margin-bottom:1px;
670
+ font-size: 22px;
671
+ }
672
+
673
+ #TB_title{
674
+ background-color: #6C8C22;
675
+ color: #dedede;
676
+ height:40px;
677
+ }
678
+ #TB_title :link,
679
+ #TB_title :visited {
680
+ color: white !important;
681
+ border-bottom: 1px dotted #dedede;
682
+ }
683
+
684
+ #TB_ajaxContent{
685
+ clear:both;
686
+ padding:2px 15px 15px 15px;
687
+ overflow:auto;
688
+ text-align:left;
689
+ line-height:1.4em;
690
+ }
691
+
692
+ #TB_ajaxContent.TB_modal{
693
+ padding:15px;
694
+ }
695
+
696
+ #TB_ajaxContent p{
697
+ padding:5px 0px 5px 0px;
698
+ }
699
+
700
+ #TB_load{
701
+ position: fixed;
702
+ display:none;
703
+ height:13px;
704
+ width:208px;
705
+ z-index:103;
706
+ top: 50%;
707
+ left: 50%;
708
+ margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
709
+ }
710
+
711
+ * html #TB_load { /* ie6 hack */
712
+ position: absolute;
713
+ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
714
+ }
715
+
716
+ #TB_HideSelect{
717
+ z-index:99;
718
+ position:fixed;
719
+ top: 0;
720
+ left: 0;
721
+ background-color:#fff;
722
+ border:none;
723
+ filter:alpha(opacity=0);
724
+ -moz-opacity: 0;
725
+ opacity: 0;
726
+ height:100%;
727
+ width:100%;
728
+ }
729
+
730
+ * html #TB_HideSelect { /* ie6 hack */
731
+ position: absolute;
732
+ height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
733
+ }
734
+
735
+ #TB_iframeContent{
736
+ clear:both;
737
+ border:none;
738
+ margin-bottom:-1px;
739
+ margin-top:1px;
740
+ _margin-bottom:1px;
741
+ }
742
+
743
+ /* @end */
744
+
745
+ /* @group Debugging Section */
746
+
747
+ #debugging-toggle {
748
+ text-align: center;
749
+ }
750
+ #debugging-toggle img {
751
+ cursor: pointer;
752
+ }
753
+
754
+ #rdoc-debugging-section-dump {
755
+ display: none;
756
+ margin: 0 2em 2em;
757
+ background: #ccc;
758
+ border: 1px solid #999;
759
+ }
760
+
761
+
762
+
763
+ /* @end */