kmts 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/.gitignore +5 -0
  2. data/CHANGELOG +4 -0
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +29 -0
  5. data/LICENSE +202 -0
  6. data/README.md +64 -0
  7. data/README.rdoc +14 -0
  8. data/Rakefile +5 -0
  9. data/bin/km_send +35 -0
  10. data/doc/Accept.html +546 -0
  11. data/doc/Gemfile.html +110 -0
  12. data/doc/Hash.html +283 -0
  13. data/doc/Helper.html +318 -0
  14. data/doc/KMError.html +159 -0
  15. data/doc/KMTS.html +493 -0
  16. data/doc/KMTS/IdentError.html +159 -0
  17. data/doc/KMTS/InitError.html +159 -0
  18. data/doc/KMTS/SaaS.html +451 -0
  19. data/doc/Object.html +211 -0
  20. data/doc/README_rdoc.html +122 -0
  21. data/doc/Rakefile.html +111 -0
  22. data/doc/String.html +244 -0
  23. data/doc/bin/km_send.html +54 -0
  24. data/doc/created.rid +15 -0
  25. data/doc/images/brick.png +0 -0
  26. data/doc/images/brick_link.png +0 -0
  27. data/doc/images/bug.png +0 -0
  28. data/doc/images/bullet_black.png +0 -0
  29. data/doc/images/bullet_toggle_minus.png +0 -0
  30. data/doc/images/bullet_toggle_plus.png +0 -0
  31. data/doc/images/date.png +0 -0
  32. data/doc/images/find.png +0 -0
  33. data/doc/images/loadingAnimation.gif +0 -0
  34. data/doc/images/macFFBgHack.png +0 -0
  35. data/doc/images/package.png +0 -0
  36. data/doc/images/page_green.png +0 -0
  37. data/doc/images/page_white_text.png +0 -0
  38. data/doc/images/page_white_width.png +0 -0
  39. data/doc/images/plugin.png +0 -0
  40. data/doc/images/ruby.png +0 -0
  41. data/doc/images/tag_green.png +0 -0
  42. data/doc/images/wrench.png +0 -0
  43. data/doc/images/wrench_orange.png +0 -0
  44. data/doc/images/zoom.png +0 -0
  45. data/doc/index.html +142 -0
  46. data/doc/js/darkfish.js +116 -0
  47. data/doc/js/jquery.js +32 -0
  48. data/doc/js/quicksearch.js +114 -0
  49. data/doc/js/thickbox-compressed.js +10 -0
  50. data/doc/lib/km/saas_rb.html +54 -0
  51. data/doc/lib/km/version_rb.html +52 -0
  52. data/doc/lib/km_rb.html +60 -0
  53. data/doc/rdoc.css +730 -0
  54. data/doc/spec/accept_rb.html +62 -0
  55. data/doc/spec/km_old_rb.html +54 -0
  56. data/doc/spec/km_saas_spec_rb.html +56 -0
  57. data/doc/spec/km_send_spec_rb.html +54 -0
  58. data/doc/spec/km_spec_rb.html +54 -0
  59. data/doc/spec/setup_rb.html +60 -0
  60. data/doc/spec/watchr_rb.html +52 -0
  61. data/kmts.gemspec +26 -0
  62. data/lib/kmts.rb +245 -0
  63. data/lib/kmts/saas.rb +39 -0
  64. data/lib/kmts/version.rb +3 -0
  65. data/spec/accept.rb +91 -0
  66. data/spec/km_old.rb +105 -0
  67. data/spec/km_saas_spec.rb +107 -0
  68. data/spec/km_send_spec.rb +98 -0
  69. data/spec/km_spec.rb +175 -0
  70. data/spec/setup.rb +77 -0
  71. data/spec/watchr.rb +3 -0
  72. metadata +190 -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,54 @@
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: saas.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-02-04 16:43:43 -0800</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ <li>km</li>
35
+
36
+ </ul>
37
+ </dd>
38
+
39
+
40
+
41
+ </dl>
42
+ </div>
43
+
44
+ <div id="documentation">
45
+
46
+ <div class="description">
47
+ <h2>Description</h2>
48
+
49
+ </div>
50
+
51
+ </div>
52
+ </body>
53
+ </html>
54
+
@@ -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-02-04 09:28:48 -0800</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,60 @@
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: km.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-02-04 15:14:36 -0800</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ <li>cgi</li>
35
+
36
+ <li>socket</li>
37
+
38
+ <li>fileutils</li>
39
+
40
+ <li>km/saas</li>
41
+
42
+ </ul>
43
+ </dd>
44
+
45
+
46
+
47
+ </dl>
48
+ </div>
49
+
50
+ <div id="documentation">
51
+
52
+ <div class="description">
53
+ <h2>Description</h2>
54
+
55
+ </div>
56
+
57
+ </div>
58
+ </body>
59
+ </html>
60
+
@@ -0,0 +1,730 @@
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 ol,
101
+ .file #documentation ol {
102
+ line-height: 160%;
103
+ }
104
+
105
+ .indexpage ul,
106
+ .file #documentation ul {
107
+ line-height: 160%;
108
+ list-style: none;
109
+ }
110
+ .indexpage ul :link,
111
+ .indexpage ul :visited {
112
+ font-size: 16px;
113
+ }
114
+
115
+ .indexpage li,
116
+ .file #documentation li {
117
+ padding-left: 20px;
118
+ }
119
+
120
+ .indexpage ol,
121
+ .file #documentation ol {
122
+ margin-left: 20px;
123
+ }
124
+
125
+ .indexpage ol > li,
126
+ .file #documentation ol > li {
127
+ padding-left: 0;
128
+ }
129
+
130
+ .indexpage ul > li,
131
+ .file #documentation ul > li {
132
+ background: url(images/bullet_black.png) no-repeat left 4px;
133
+ }
134
+ .indexpage li.module {
135
+ background: url(images/package.png) no-repeat left 4px;
136
+ }
137
+ .indexpage li.class {
138
+ background: url(images/ruby.png) no-repeat left 4px;
139
+ }
140
+ .indexpage li.file {
141
+ background: url(images/page_white_text.png) no-repeat left 4px;
142
+ }
143
+ .file li p,
144
+ .indexpage li p {
145
+ margin: 0 0;
146
+ }
147
+
148
+ /* @end */
149
+
150
+ /* @group Top-Level Structure */
151
+
152
+ .class #metadata,
153
+ .file #metadata,
154
+ .module #metadata {
155
+ float: left;
156
+ width: 260px;
157
+ }
158
+
159
+ .class #documentation,
160
+ .file #documentation,
161
+ .module #documentation {
162
+ margin: 2em 1em 5em 300px;
163
+ min-width: 340px;
164
+ }
165
+
166
+ .file #metadata {
167
+ margin: 0.8em;
168
+ }
169
+
170
+ #validator-badges {
171
+ clear: both;
172
+ margin: 1em 1em 2em;
173
+ }
174
+
175
+ /* @end */
176
+
177
+ /* @group Metadata Section */
178
+ #metadata .section {
179
+ background-color: #dedede;
180
+ -moz-border-radius: 5px;
181
+ -webkit-border-radius: 5px;
182
+ border: 1px solid #aaa;
183
+ margin: 0 8px 16px;
184
+ font-size: 90%;
185
+ overflow: hidden;
186
+ }
187
+ #metadata h3.section-header {
188
+ margin: 0;
189
+ padding: 2px 8px;
190
+ background: #ccc;
191
+ color: #666;
192
+ -moz-border-radius-topleft: 4px;
193
+ -moz-border-radius-topright: 4px;
194
+ -webkit-border-top-left-radius: 4px;
195
+ -webkit-border-top-right-radius: 4px;
196
+ border-bottom: 1px solid #aaa;
197
+ }
198
+ #metadata #home-section h3.section-header {
199
+ border-bottom: 0;
200
+ }
201
+
202
+ #metadata ul,
203
+ #metadata dl,
204
+ #metadata p {
205
+ padding: 8px;
206
+ list-style: none;
207
+ }
208
+
209
+ #file-metadata ul {
210
+ padding-left: 28px;
211
+ list-style-image: url(images/page_green.png);
212
+ }
213
+
214
+ dl.svninfo {
215
+ color: #666;
216
+ margin: 0;
217
+ }
218
+ dl.svninfo dt {
219
+ font-weight: bold;
220
+ }
221
+
222
+ ul.link-list li {
223
+ white-space: nowrap;
224
+ }
225
+ ul.link-list .type {
226
+ font-size: 8px;
227
+ text-transform: uppercase;
228
+ color: white;
229
+ background: #969696;
230
+ padding: 2px 4px;
231
+ -webkit-border-radius: 5px;
232
+ }
233
+
234
+ /* @end */
235
+
236
+
237
+ /* @group Project Metadata Section */
238
+ #project-metadata {
239
+ margin-top: 3em;
240
+ }
241
+
242
+ .file #project-metadata {
243
+ margin-top: 0em;
244
+ }
245
+
246
+ #project-metadata .section {
247
+ border: 1px solid #aaa;
248
+ }
249
+ #project-metadata h3.section-header {
250
+ border-bottom: 1px solid #aaa;
251
+ position: relative;
252
+ }
253
+ #project-metadata h3.section-header .search-toggle {
254
+ position: absolute;
255
+ right: 5px;
256
+ }
257
+
258
+
259
+ #project-metadata form {
260
+ color: #777;
261
+ background: #ccc;
262
+ padding: 8px 8px 16px;
263
+ border-bottom: 1px solid #bbb;
264
+ }
265
+ #project-metadata fieldset {
266
+ border: 0;
267
+ }
268
+
269
+ #no-class-search-results {
270
+ margin: 0 auto 1em;
271
+ text-align: center;
272
+ font-size: 14px;
273
+ font-weight: bold;
274
+ color: #aaa;
275
+ }
276
+
277
+ /* @end */
278
+
279
+
280
+ /* @group Documentation Section */
281
+ #description {
282
+ font-size: 100%;
283
+ color: #333;
284
+ }
285
+
286
+ #description p {
287
+ margin: 1em 0.4em;
288
+ }
289
+
290
+ #description li p {
291
+ margin: 0;
292
+ }
293
+
294
+ #description ul {
295
+ margin-left: 1.5em;
296
+ }
297
+ #description ul li {
298
+ line-height: 1.4em;
299
+ }
300
+
301
+ #description dl,
302
+ #documentation dl {
303
+ margin: 8px 1.5em;
304
+ border: 1px solid #ccc;
305
+ }
306
+ #description dl {
307
+ font-size: 14px;
308
+ }
309
+
310
+ #description dt,
311
+ #documentation dt {
312
+ padding: 2px 4px;
313
+ font-weight: bold;
314
+ background: #ddd;
315
+ }
316
+ #description dd,
317
+ #documentation dd {
318
+ padding: 2px 12px;
319
+ }
320
+ #description dd + dt,
321
+ #documentation dd + dt {
322
+ margin-top: 0.7em;
323
+ }
324
+
325
+ #documentation .section {
326
+ font-size: 90%;
327
+ }
328
+ #documentation h3.section-header {
329
+ margin-top: 2em;
330
+ padding: 0.75em 0.5em;
331
+ background-color: #dedede;
332
+ color: #333;
333
+ font-size: 150%;
334
+ border: 1px solid #bbb;
335
+ -moz-border-radius: 3px;
336
+ -webkit-border-radius: 3px;
337
+ }
338
+
339
+ #constants-list > dl,
340
+ #attributes-list > dl {
341
+ margin: 1em 0 2em;
342
+ border: 0;
343
+ }
344
+ #constants-list > dl dt,
345
+ #attributes-list > dl dt {
346
+ padding-left: 0;
347
+ font-weight: bold;
348
+ font-family: Monaco, "Andale Mono";
349
+ background: inherit;
350
+ }
351
+ #constants-list > dl dt a,
352
+ #attributes-list > dl dt a {
353
+ color: inherit;
354
+ }
355
+ #constants-list > dl dd,
356
+ #attributes-list > dl dd {
357
+ margin: 0 0 1em 0;
358
+ padding: 0;
359
+ color: #666;
360
+ }
361
+
362
+ /* @group Method Details */
363
+
364
+ #documentation .method-source-code {
365
+ display: none;
366
+ }
367
+
368
+ #documentation .method-detail {
369
+ margin: 0.5em 0;
370
+ padding: 0.5em 0;
371
+ cursor: pointer;
372
+ }
373
+ #documentation .method-detail:hover {
374
+ background-color: #f1edba;
375
+ }
376
+ #documentation .method-heading {
377
+ position: relative;
378
+ padding: 2px 4px 0 20px;
379
+ font-size: 125%;
380
+ font-weight: bold;
381
+ color: #333;
382
+ background: url(images/brick.png) no-repeat left bottom;
383
+ }
384
+ #documentation .method-heading :link,
385
+ #documentation .method-heading :visited {
386
+ color: inherit;
387
+ }
388
+ #documentation .method-click-advice {
389
+ position: absolute;
390
+ top: 2px;
391
+ right: 5px;
392
+ font-size: 10px;
393
+ color: #9b9877;
394
+ visibility: hidden;
395
+ padding-right: 20px;
396
+ line-height: 20px;
397
+ background: url(images/zoom.png) no-repeat right top;
398
+ }
399
+ #documentation .method-detail:hover .method-click-advice {
400
+ visibility: visible;
401
+ }
402
+
403
+ #documentation .method-alias .method-heading {
404
+ color: #666;
405
+ background: url(images/brick_link.png) no-repeat left bottom;
406
+ }
407
+
408
+ #documentation .method-description,
409
+ #documentation .aliases {
410
+ margin: 0 20px;
411
+ color: #666;
412
+ }
413
+
414
+ #documentation .method-description p,
415
+ #documentation .aliases p {
416
+ line-height: 1.2em;
417
+ }
418
+
419
+ #documentation .aliases {
420
+ padding-top: 4px;
421
+ font-style: italic;
422
+ cursor: default;
423
+ }
424
+ #documentation .method-description p {
425
+ padding: 0;
426
+ }
427
+ #documentation .method-description p + p {
428
+ margin-bottom: 0.5em;
429
+ }
430
+ #documentation .method-description ul {
431
+ margin-left: 1.5em;
432
+ }
433
+
434
+ #documentation .attribute-method-heading {
435
+ background: url(images/tag_green.png) no-repeat left bottom;
436
+ }
437
+ #documentation #attribute-method-details .method-detail:hover {
438
+ background-color: transparent;
439
+ cursor: default;
440
+ }
441
+ #documentation .attribute-access-type {
442
+ font-size: 60%;
443
+ text-transform: uppercase;
444
+ vertical-align: super;
445
+ padding: 0 2px;
446
+ }
447
+ /* @end */
448
+
449
+ /* @end */
450
+
451
+
452
+
453
+ /* @group Source Code */
454
+
455
+ div.method-source-code {
456
+ background: #262626;
457
+ color: #efefef;
458
+ margin: 1em;
459
+ padding: 0.5em;
460
+ border: 1px dashed #999;
461
+ overflow: hidden;
462
+ }
463
+
464
+ div.method-source-code pre {
465
+ background: inherit;
466
+ padding: 0;
467
+ color: white;
468
+ overflow: auto;
469
+ }
470
+
471
+ /* @group Ruby keyword styles */
472
+
473
+ .ruby-constant { color: #7fffd4; background: transparent; }
474
+ .ruby-keyword { color: #00ffff; background: transparent; }
475
+ .ruby-ivar { color: #eedd82; background: transparent; }
476
+ .ruby-operator { color: #00ffee; background: transparent; }
477
+ .ruby-identifier { color: #ffdead; background: transparent; }
478
+ .ruby-node { color: #ffa07a; background: transparent; }
479
+ .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
480
+ .ruby-regexp { color: #ffa07a; background: transparent; }
481
+ .ruby-value { color: #7fffd4; background: transparent; }
482
+
483
+ /* @end */
484
+ /* @end */
485
+
486
+
487
+ /* @group File Popup Contents */
488
+
489
+ .file #metadata,
490
+ .file-popup #metadata {
491
+ }
492
+
493
+ .file-popup dl {
494
+ font-size: 80%;
495
+ padding: 0.75em;
496
+ background-color: #dedede;
497
+ color: #333;
498
+ border: 1px solid #bbb;
499
+ -moz-border-radius: 3px;
500
+ -webkit-border-radius: 3px;
501
+ }
502
+ .file dt {
503
+ font-weight: bold;
504
+ padding-left: 22px;
505
+ line-height: 20px;
506
+ background: url(images/page_white_width.png) no-repeat left top;
507
+ }
508
+ .file dt.modified-date {
509
+ background: url(images/date.png) no-repeat left top;
510
+ }
511
+ .file dt.requires {
512
+ background: url(images/plugin.png) no-repeat left top;
513
+ }
514
+ .file dt.scs-url {
515
+ background: url(images/wrench.png) no-repeat left top;
516
+ }
517
+
518
+ .file dl dd {
519
+ margin: 0 0 1em 0;
520
+ }
521
+ .file #metadata dl dd ul {
522
+ list-style: circle;
523
+ margin-left: 20px;
524
+ padding-top: 0;
525
+ }
526
+ .file #metadata dl dd ul li {
527
+ }
528
+
529
+
530
+ .file h2 {
531
+ margin-top: 2em;
532
+ padding: 0.75em 0.5em;
533
+ background-color: #dedede;
534
+ color: #333;
535
+ font-size: 120%;
536
+ border: 1px solid #bbb;
537
+ -moz-border-radius: 3px;
538
+ -webkit-border-radius: 3px;
539
+ }
540
+
541
+ /* @end */
542
+
543
+
544
+
545
+
546
+ /* @group ThickBox Styles */
547
+ #TB_window {
548
+ font: 12px Arial, Helvetica, sans-serif;
549
+ color: #333333;
550
+ }
551
+
552
+ #TB_secondLine {
553
+ font: 10px Arial, Helvetica, sans-serif;
554
+ color:#666666;
555
+ }
556
+
557
+ #TB_window :link,
558
+ #TB_window :visited { color: #666666; }
559
+ #TB_window :link:hover,
560
+ #TB_window :visited:hover { color: #000; }
561
+ #TB_window :link:active,
562
+ #TB_window :visited:active { color: #666666; }
563
+ #TB_window :link:focus,
564
+ #TB_window :visited:focus { color: #666666; }
565
+
566
+ #TB_overlay {
567
+ position: fixed;
568
+ z-index:100;
569
+ top: 0px;
570
+ left: 0px;
571
+ height:100%;
572
+ width:100%;
573
+ }
574
+
575
+ .TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
576
+ .TB_overlayBG {
577
+ background-color:#000;
578
+ filter:alpha(opacity=75);
579
+ -moz-opacity: 0.75;
580
+ opacity: 0.75;
581
+ }
582
+
583
+ * html #TB_overlay { /* ie6 hack */
584
+ position: absolute;
585
+ height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
586
+ }
587
+
588
+ #TB_window {
589
+ position: fixed;
590
+ background: #ffffff;
591
+ z-index: 102;
592
+ color:#000000;
593
+ display:none;
594
+ border: 4px solid #525252;
595
+ text-align:left;
596
+ top:50%;
597
+ left:50%;
598
+ }
599
+
600
+ * html #TB_window { /* ie6 hack */
601
+ position: absolute;
602
+ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
603
+ }
604
+
605
+ #TB_window img#TB_Image {
606
+ display:block;
607
+ margin: 15px 0 0 15px;
608
+ border-right: 1px solid #ccc;
609
+ border-bottom: 1px solid #ccc;
610
+ border-top: 1px solid #666;
611
+ border-left: 1px solid #666;
612
+ }
613
+
614
+ #TB_caption{
615
+ height:25px;
616
+ padding:7px 30px 10px 25px;
617
+ float:left;
618
+ }
619
+
620
+ #TB_closeWindow{
621
+ height:25px;
622
+ padding:11px 25px 10px 0;
623
+ float:right;
624
+ }
625
+
626
+ #TB_closeAjaxWindow{
627
+ padding:7px 10px 5px 0;
628
+ margin-bottom:1px;
629
+ text-align:right;
630
+ float:right;
631
+ }
632
+
633
+ #TB_ajaxWindowTitle{
634
+ float:left;
635
+ padding:7px 0 5px 10px;
636
+ margin-bottom:1px;
637
+ font-size: 22px;
638
+ }
639
+
640
+ #TB_title{
641
+ background-color: #6C8C22;
642
+ color: #dedede;
643
+ height:40px;
644
+ }
645
+ #TB_title :link,
646
+ #TB_title :visited {
647
+ color: white !important;
648
+ border-bottom: 1px dotted #dedede;
649
+ }
650
+
651
+ #TB_ajaxContent{
652
+ clear:both;
653
+ padding:2px 15px 15px 15px;
654
+ overflow:auto;
655
+ text-align:left;
656
+ line-height:1.4em;
657
+ }
658
+
659
+ #TB_ajaxContent.TB_modal{
660
+ padding:15px;
661
+ }
662
+
663
+ #TB_ajaxContent p{
664
+ padding:5px 0px 5px 0px;
665
+ }
666
+
667
+ #TB_load{
668
+ position: fixed;
669
+ display:none;
670
+ height:13px;
671
+ width:208px;
672
+ z-index:103;
673
+ top: 50%;
674
+ left: 50%;
675
+ margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
676
+ }
677
+
678
+ * html #TB_load { /* ie6 hack */
679
+ position: absolute;
680
+ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
681
+ }
682
+
683
+ #TB_HideSelect{
684
+ z-index:99;
685
+ position:fixed;
686
+ top: 0;
687
+ left: 0;
688
+ background-color:#fff;
689
+ border:none;
690
+ filter:alpha(opacity=0);
691
+ -moz-opacity: 0;
692
+ opacity: 0;
693
+ height:100%;
694
+ width:100%;
695
+ }
696
+
697
+ * html #TB_HideSelect { /* ie6 hack */
698
+ position: absolute;
699
+ height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
700
+ }
701
+
702
+ #TB_iframeContent{
703
+ clear:both;
704
+ border:none;
705
+ margin-bottom:-1px;
706
+ margin-top:1px;
707
+ _margin-bottom:1px;
708
+ }
709
+
710
+ /* @end */
711
+
712
+ /* @group Debugging Section */
713
+
714
+ #debugging-toggle {
715
+ text-align: center;
716
+ }
717
+ #debugging-toggle img {
718
+ cursor: pointer;
719
+ }
720
+
721
+ #rdoc-debugging-section-dump {
722
+ display: none;
723
+ margin: 0 2em 2em;
724
+ background: #ccc;
725
+ border: 1px solid #999;
726
+ }
727
+
728
+
729
+
730
+ /* @end */