marilyn-rpc 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/README.md +39 -4
  2. data/examples/async/client.rb +0 -5
  3. data/examples/authentication/client.rb +18 -0
  4. data/examples/authentication/server.rb +30 -0
  5. data/lib/marilyn-rpc.rb +1 -1
  6. data/lib/marilyn-rpc/client.rb +21 -3
  7. data/lib/marilyn-rpc/error.rb +13 -0
  8. data/lib/marilyn-rpc/mails.rb +3 -3
  9. data/lib/marilyn-rpc/server.rb +6 -11
  10. data/lib/marilyn-rpc/service.rb +86 -11
  11. data/lib/marilyn-rpc/service_cache.rb +44 -23
  12. data/lib/marilyn-rpc/version.rb +1 -1
  13. data/spec/mails_spec.rb +2 -1
  14. data/spec/server_spec.rb +1 -1
  15. data/spec/service_cache_spec.rb +140 -0
  16. data/spec/service_spec.rb +56 -5
  17. data/spec/spec_helper.rb +5 -0
  18. metadata +10 -34
  19. data/doc/MarilynRPC.html +0 -108
  20. data/doc/MarilynRPC/CallRequestMail.html +0 -578
  21. data/doc/MarilynRPC/CallResponseMail.html +0 -418
  22. data/doc/MarilynRPC/Envelope.html +0 -705
  23. data/doc/MarilynRPC/ExceptionMail.html +0 -338
  24. data/doc/MarilynRPC/Gentleman.html +0 -658
  25. data/doc/MarilynRPC/MailFactory.html +0 -284
  26. data/doc/MarilynRPC/MailHelper.html +0 -489
  27. data/doc/MarilynRPC/NativeClient.html +0 -579
  28. data/doc/MarilynRPC/NativeClientProxy.html +0 -303
  29. data/doc/MarilynRPC/Server.html +0 -406
  30. data/doc/MarilynRPC/Service.html +0 -599
  31. data/doc/MarilynRPC/ServiceCache.html +0 -481
  32. data/doc/_index.html +0 -219
  33. data/doc/class_list.html +0 -36
  34. data/doc/css/common.css +0 -1
  35. data/doc/css/full_list.css +0 -53
  36. data/doc/css/style.css +0 -318
  37. data/doc/file.README.html +0 -154
  38. data/doc/file_list.html +0 -38
  39. data/doc/frames.html +0 -13
  40. data/doc/index.html +0 -154
  41. data/doc/js/app.js +0 -203
  42. data/doc/js/full_list.js +0 -149
  43. data/doc/js/jquery.js +0 -16
  44. data/doc/method_list.html +0 -467
  45. data/doc/top-level-namespace.html +0 -88
  46. data/spec/service_cache.rb +0 -45
@@ -1,219 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>MarilynRPC Documentation</title>
7
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
8
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
-
10
- <script type="text/javascript" charset="utf-8">
11
- relpath = '';
12
- if (relpath != '') relpath += '/';
13
- </script>
14
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
15
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
16
-
17
- </head>
18
- <body>
19
- <script type="text/javascript" charset="utf-8">
20
- if (window.top.frames.main) document.body.className = 'frames';
21
- </script>
22
-
23
- <div id="header">
24
- <div id="menu">
25
-
26
-
27
- <span class="title"></span>
28
-
29
-
30
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
31
- </div>
32
-
33
- <div id="search">
34
- <a id="class_list_link" href="#">Class List</a>
35
- <a id="method_list_link" href="#">Method List</a>
36
- <a id ="file_list_link" href="#">File List</a>
37
- </div>
38
-
39
- <div class="clear"></div>
40
- </div>
41
-
42
- <iframe id="search_frame"></iframe>
43
-
44
- <div id="content"><h1 class="noborder title">MarilynRPC Documentation</h1>
45
- <div id="listing">
46
- <h1 class="alphaindex">Alphabetic Index</h1>
47
-
48
- <h2>File Listing</h2>
49
- <ul id="files">
50
-
51
-
52
- <li class="r1"><a href="index.html" title="README">README</a></li>
53
-
54
-
55
- </ul>
56
-
57
- <div class="clear"></div>
58
- <h2>Namespace Listing A-Z</h2>
59
-
60
-
61
-
62
-
63
- <table>
64
- <tr>
65
- <td valign='top' width="33%">
66
-
67
-
68
- <ul id="alpha_C" class="alpha">
69
- <li class="letter">C</li>
70
- <ul>
71
-
72
- <li>
73
- <span class='object_link'><a href="MarilynRPC/CallRequestMail.html" title="MarilynRPC::CallRequestMail (class)">CallRequestMail</a></span>
74
-
75
- <small>(MarilynRPC)</small>
76
-
77
- </li>
78
-
79
- <li>
80
- <span class='object_link'><a href="MarilynRPC/CallResponseMail.html" title="MarilynRPC::CallResponseMail (class)">CallResponseMail</a></span>
81
-
82
- <small>(MarilynRPC)</small>
83
-
84
- </li>
85
-
86
- </ul>
87
- </ul>
88
-
89
-
90
- <ul id="alpha_E" class="alpha">
91
- <li class="letter">E</li>
92
- <ul>
93
-
94
- <li>
95
- <span class='object_link'><a href="MarilynRPC/Envelope.html" title="MarilynRPC::Envelope (class)">Envelope</a></span>
96
-
97
- <small>(MarilynRPC)</small>
98
-
99
- </li>
100
-
101
- <li>
102
- <span class='object_link'><a href="MarilynRPC/ExceptionMail.html" title="MarilynRPC::ExceptionMail (class)">ExceptionMail</a></span>
103
-
104
- <small>(MarilynRPC)</small>
105
-
106
- </li>
107
-
108
- </ul>
109
- </ul>
110
-
111
-
112
- <ul id="alpha_G" class="alpha">
113
- <li class="letter">G</li>
114
- <ul>
115
-
116
- <li>
117
- <span class='object_link'><a href="MarilynRPC/Gentleman.html" title="MarilynRPC::Gentleman (class)">Gentleman</a></span>
118
-
119
- <small>(MarilynRPC)</small>
120
-
121
- </li>
122
-
123
- </ul>
124
- </ul>
125
-
126
-
127
- <ul id="alpha_M" class="alpha">
128
- <li class="letter">M</li>
129
- <ul>
130
-
131
- <li>
132
- <span class='object_link'><a href="MarilynRPC/MailFactory.html" title="MarilynRPC::MailFactory (module)">MailFactory</a></span>
133
-
134
- <small>(MarilynRPC)</small>
135
-
136
- </li>
137
-
138
- <li>
139
- <span class='object_link'><a href="MarilynRPC/MailHelper.html" title="MarilynRPC::MailHelper (module)">MailHelper</a></span>
140
-
141
- <small>(MarilynRPC)</small>
142
-
143
- </li>
144
-
145
- <li>
146
- <span class='object_link'><a href="MarilynRPC.html" title="MarilynRPC (module)">MarilynRPC</a></span>
147
-
148
- </li>
149
-
150
- </ul>
151
- </ul>
152
-
153
-
154
- <ul id="alpha_N" class="alpha">
155
- <li class="letter">N</li>
156
- <ul>
157
-
158
- <li>
159
- <span class='object_link'><a href="MarilynRPC/NativeClient.html" title="MarilynRPC::NativeClient (class)">NativeClient</a></span>
160
-
161
- <small>(MarilynRPC)</small>
162
-
163
- </li>
164
-
165
- <li>
166
- <span class='object_link'><a href="MarilynRPC/NativeClientProxy.html" title="MarilynRPC::NativeClientProxy (class)">NativeClientProxy</a></span>
167
-
168
- <small>(MarilynRPC)</small>
169
-
170
- </li>
171
-
172
- </ul>
173
- </ul>
174
-
175
-
176
- <ul id="alpha_S" class="alpha">
177
- <li class="letter">S</li>
178
- <ul>
179
-
180
- <li>
181
- <span class='object_link'><a href="MarilynRPC/Server.html" title="MarilynRPC::Server (module)">Server</a></span>
182
-
183
- <small>(MarilynRPC)</small>
184
-
185
- </li>
186
-
187
- <li>
188
- <span class='object_link'><a href="MarilynRPC/Service.html" title="MarilynRPC::Service (class)">Service</a></span>
189
-
190
- <small>(MarilynRPC)</small>
191
-
192
- </li>
193
-
194
- <li>
195
- <span class='object_link'><a href="MarilynRPC/ServiceCache.html" title="MarilynRPC::ServiceCache (class)">ServiceCache</a></span>
196
-
197
- <small>(MarilynRPC)</small>
198
-
199
- </li>
200
-
201
- </ul>
202
- </ul>
203
-
204
- </td>
205
- </tr>
206
- </table>
207
-
208
- </div>
209
-
210
- </div>
211
-
212
- <div id="footer">
213
- Generated on Wed Jun 8 18:26:43 2011 by
214
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
215
- 0.6.8 (ruby-1.8.7).
216
- </div>
217
-
218
- </body>
219
- </html>
@@ -1,36 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html>
4
- <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
8
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
9
- <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
10
- <base id="base_target" target="_parent" />
11
- </head>
12
- <body>
13
- <script type="text/javascript" charset="utf-8">
14
- if (window.top.frames.main) {
15
- document.getElementById('base_target').target = 'main';
16
- document.body.className = 'frames';
17
- }
18
- </script>
19
- <div id="content">
20
- <h1 id="full_list_header">Class List</h1>
21
- <div id="nav">
22
- <a target="_self" href="class_list.html">Classes</a> |
23
- <a target="_self" href="method_list.html">Methods</a> |
24
- <a target="_self" href="file_list.html">Files</a>
25
- </div>
26
- <div id="search">Search: <input type="text" /></div>
27
-
28
- <ul id="full_list" class="class">
29
- <li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
30
- <li><a class='toggle'></a> <span class='object_link'><a href="MarilynRPC.html" title="MarilynRPC (module)">MarilynRPC</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="MarilynRPC/CallRequestMail.html" title="MarilynRPC::CallRequestMail (class)">CallRequestMail</a></span> &lt; Struct<small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/CallResponseMail.html" title="MarilynRPC::CallResponseMail (class)">CallResponseMail</a></span> &lt; Struct<small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/Envelope.html" title="MarilynRPC::Envelope (class)">Envelope</a></span> &lt; Object<small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/ExceptionMail.html" title="MarilynRPC::ExceptionMail (class)">ExceptionMail</a></span> &lt; Struct<small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/Gentleman.html" title="MarilynRPC::Gentleman (class)">Gentleman</a></span> &lt; Object<small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/MailFactory.html" title="MarilynRPC::MailFactory (module)">MailFactory</a></span><small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/MailHelper.html" title="MarilynRPC::MailHelper (module)">MailHelper</a></span><small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/NativeClient.html" title="MarilynRPC::NativeClient (class)">NativeClient</a></span> &lt; Object<small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/NativeClientProxy.html" title="MarilynRPC::NativeClientProxy (class)">NativeClientProxy</a></span> &lt; Object<small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/Server.html" title="MarilynRPC::Server (module)">Server</a></span><small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/Service.html" title="MarilynRPC::Service (class)">Service</a></span> &lt; Object<small class='search_info'>MarilynRPC</small></li><li><span class='object_link'><a href="MarilynRPC/ServiceCache.html" title="MarilynRPC::ServiceCache (class)">ServiceCache</a></span> &lt; Object<small class='search_info'>MarilynRPC</small></li></ul>
31
-
32
- </ul>
33
- </div>
34
- </body>
35
- </html>
36
-
@@ -1 +0,0 @@
1
- /* Override this file with custom rules */
@@ -1,53 +0,0 @@
1
- body {
2
- margin: 0;
3
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
- font-size: 13px;
5
- height: 101%;
6
- overflow-x: hidden;
7
- }
8
-
9
- h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
10
- .clear { clear: both; }
11
- #search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
12
- #content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIAMrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
13
- #full_list { padding: 0; list-style: none; margin-left: 0; }
14
- #full_list ul { padding: 0; }
15
- #full_list li { padding: 5px; padding-left: 12px; margin: 0; font-size: 1.1em; list-style: none; }
16
- #noresults { padding: 7px 12px; }
17
- #content.insearch #noresults { margin-left: 7px; }
18
- ul.collapsed ul, ul.collapsed li { display: none; }
19
- li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
20
- li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
21
- li { color: #888; cursor: pointer; }
22
- li.deprecated { text-decoration: line-through; font-style: italic; }
23
- li.r1 { background: #f0f0f0; }
24
- li.r2 { background: #fafafa; }
25
- li:hover { background: #ddd; }
26
- li small:before { content: "("; }
27
- li small:after { content: ")"; }
28
- li small.search_info { display: none; }
29
- a:link, a:visited { text-decoration: none; color: #05a; }
30
- li.clicked { background: #05a; color: #ccc; }
31
- li.clicked a:link, li.clicked a:visited { color: #eee; }
32
- li.clicked a.toggle { opacity: 0.5; background-position: bottom right; }
33
- li.collapsed.clicked a.toggle { background-position: top right; }
34
- #search input { border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
35
- #nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; }
36
- #nav a:link, #nav a:visited { color: #358; }
37
- #nav a:hover { background: transparent; color: #5af; }
38
-
39
- .frames #content h1 { margin-top: 0; }
40
- .frames li { white-space: nowrap; cursor: normal; }
41
- .frames li small { display: block; font-size: 0.8em; }
42
- .frames li small:before { content: ""; }
43
- .frames li small:after { content: ""; }
44
- .frames li small.search_info { display: none; }
45
- .frames #search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
46
- .frames #content.insearch #search { background-position: center right; }
47
- .frames #search input { width: 110px; }
48
- .frames #nav { display: block; }
49
-
50
- #full_list.insearch li { display: none; }
51
- #full_list.insearch li.found { display: list-item; padding-left: 10px; }
52
- #full_list.insearch li a.toggle { display: none; }
53
- #full_list.insearch li small.search_info { display: block; }
@@ -1,318 +0,0 @@
1
- body {
2
- padding: 0 20px;
3
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
- font-size: 13px;
5
- }
6
- body.frames { padding: 0 5px; }
7
- h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
8
- h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
9
- h1.title { margin-bottom: 10px; }
10
- h1.alphaindex { margin-top: 0; font-size: 22px; }
11
- h2 {
12
- padding: 0;
13
- padding-bottom: 3px;
14
- border-bottom: 1px #aaa solid;
15
- font-size: 1.4em;
16
- margin: 1.8em 0 0.5em;
17
- }
18
- h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right; }
19
- .clear { clear: both; }
20
- .inline { display: inline; }
21
- .inline p:first-child { display: inline; }
22
- .docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
23
- .docstring h1 { font-size: 1.2em; }
24
- .docstring h2 { font-size: 1.1em; }
25
- .docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
26
- .summary_desc .object_link, .docstring .object_link { font-family: monospace; }
27
-
28
- /* style for <ul> */
29
- #filecontents li > p, .docstring li > p { margin: 0px; }
30
- #filecontents ul, .docstring ul { padding-left: 20px; }
31
- /* style for <dl> */
32
- #filecontents dl, .docstring dl { border: 1px solid #ccc; }
33
- #filecontents dt, .docstring dt { background: #ddd; font-weight: bold; padding: 3px 5px; }
34
- #filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
35
- #filecontents dd > p, .docstring dd > p { margin: 0px; }
36
-
37
- .note {
38
- color: #222;
39
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
40
- background: #e3e4e3; border: 1px solid #d5d5d5; padding: 7px 10px;
41
- display: block;
42
- }
43
- .note.todo { background: #ffffc5; border-color: #ececaa; }
44
- .note.returns_void { background: #efefef; }
45
- .note.deprecated { background: #ffe5e5; border-color: #e9dada; }
46
- .note.private { background: #ffffc5; border-color: #ececaa; }
47
- .note.title { text-transform: lowercase; padding: 1px 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
48
- .summary_signature + .note.title { margin-left: 7px; }
49
- h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
50
- .note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
51
- .note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
52
- .note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
53
- .note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
54
- .discussion .note { margin-top: 6px; }
55
- .discussion .note:first-child { margin-top: 0; }
56
-
57
- h3.inherited {
58
- font-style: italic;
59
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
60
- font-weight: normal;
61
- padding: 0;
62
- margin: 0;
63
- margin-top: 12px;
64
- margin-bottom: 3px;
65
- font-size: 13px;
66
- }
67
- p.inherited {
68
- padding: 0;
69
- margin: 0;
70
- margin-left: 25px;
71
- }
72
-
73
- dl.box {
74
- width: 520px;
75
- font-size: 1em;
76
- }
77
- dl.box dt {
78
- float: left;
79
- display: block;
80
- width: 100px;
81
- margin: 0;
82
- text-align: right;
83
- font-weight: bold;
84
- border: 1px solid #aaa;
85
- border-width: 1px 0px 0px 1px;
86
- padding: 6px 0;
87
- padding-right: 10px;
88
- }
89
- dl.box dd {
90
- float: left;
91
- display: block;
92
- width: 380px;
93
- margin: 0;
94
- padding: 6px 0;
95
- padding-right: 20px;
96
- border: 1px solid #aaa;
97
- border-width: 1px 1px 0 0;
98
- }
99
- dl.box .last {
100
- border-bottom: 1px solid #aaa;
101
- }
102
- dl.box .r1 { background: #eee; }
103
-
104
- ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
105
- #files { padding-left: 15px; font-size: 1.1em; }
106
-
107
- #files { padding: 0; }
108
- #files li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
109
-
110
- dl.constants { margin-left: 40px; }
111
- dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
112
- dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
113
-
114
- .summary_desc { margin-left: 32px; display: block; font-family: sans-serif; }
115
- .summary_desc tt { font-size: 0.9em; }
116
- dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
117
- dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
118
- dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
119
- dl.constants .discussion *:first-child { margin-top: 0; }
120
- dl.constants .discussion *:last-child { margin-bottom: 0; }
121
-
122
- .method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
123
- .method_details.first { border: 0; }
124
- p.signature {
125
- font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
126
- padding: 6px 10px; margin-top: 18px;
127
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
128
- }
129
- p.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
130
- p.signature .overload { display: block; }
131
- p.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
132
- p.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
133
- p.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
134
-
135
- .tags h3 { font-size: 1em; margin-bottom: 0; }
136
- .tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
137
- .tags ul li { margin-bottom: 3px; }
138
- .tags ul .name { font-family: monospace; font-weight: bold; }
139
- .tags ul .note { padding: 3px 6px; }
140
- .tags { margin-bottom: 12px; }
141
-
142
- .tags .examples h3 { margin-bottom: 10px; }
143
- .tags .examples h4 { padding: 0; margin: 0; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
144
-
145
- .tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
146
- .tags .overload .overload_item .signature {
147
- padding: 2px 8px;
148
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
149
- }
150
- .tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
151
- .tags .overload .docstring { margin-top: 15px; }
152
-
153
- .defines { display: none; }
154
-
155
- #method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
156
-
157
- .showSource { font-size: 0.9em; }
158
- .showSource a:link, .showSource a:visited { text-decoration: none; color: #666; }
159
-
160
- #content a:link, #content a:visited { text-decoration: none; color: #05a; }
161
- #content a:hover { background: #ffffa5; }
162
- .docstring { margin-right: 6em; }
163
-
164
- ul.summary {
165
- list-style: none;
166
- font-family: monospace;
167
- font-size: 1em;
168
- line-height: 1.5em;
169
- }
170
- ul.summary a:link, ul.summary a:visited {
171
- text-decoration: none; font-size: 1.1em;
172
- }
173
- ul.summary li { margin-bottom: 5px; }
174
- .summary .summary_signature {
175
- padding: 1px 10px;
176
- background: #eaeaff; border: 1px solid #dfdfe5;
177
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
178
- }
179
- .summary_signature:hover { background: #eeeeff; cursor: pointer; }
180
- ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
181
- ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
182
- #content .summary_signature:hover a:link,
183
- #content .summary_signature:hover a:visited {
184
- background: transparent;
185
- color: #48f;
186
- }
187
-
188
- p.inherited a { font-family: monospace; font-size: 0.9em; }
189
- p.inherited { word-spacing: 5px; font-size: 1.2em; }
190
-
191
- p.children { font-size: 1.2em; }
192
- p.children a { font-size: 0.9em; }
193
- p.children strong { font-size: 0.8em; }
194
- p.children strong.modules { padding-left: 5px; }
195
-
196
- ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
197
- ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
198
- ul.fullTree li { text-align: center; padding-top: 18px; padding-bottom: 12px; background: url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd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AAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAHtJREFUeNqMzrEJAkEURdGzuhgZbSoYWcAWoBVsB4JgZAGmphsZCZYzTQgWNCYrDN9RvMmHx+X916SUBFbo8CzD1idXrLErw1mQttgXtyrOcQ/Ny5p4Qh+2XqLYYazsPWNTiuMkRxa4vcV+evuNAUOLIx5+c2hyzv7hNQC67Q+/HHmlEwAAAABJRU5ErkJggg==) no-repeat top center; }
199
- ul.fullTree li:first-child { padding-top: 0; background: transparent; }
200
- ul.fullTree li:last-child { padding-bottom: 0; }
201
- .showAll ul.fullTree { display: block; }
202
- .showAll .inheritName { display: none; }
203
-
204
- #search { position: absolute; right: 14px; top: 0px; }
205
- #search a:link, #search a:visited {
206
- display: block; float: left; margin-right: 4px;
207
- padding: 8px 10px; text-decoration: none; color: #05a;
208
- border: 1px solid #d8d8e5;
209
- -moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
210
- -webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px;
211
- background: #eaf0ff;
212
- -webkit-box-shadow: -1px 1px 3px #ddd;
213
- }
214
- #search a:hover { background: #f5faff; color: #06b; }
215
- #search a.active {
216
- background: #568; padding-bottom: 20px; color: #fff; border: 1px solid #457;
217
- -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
218
- -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
219
- }
220
- #search a.inactive { color: #999; }
221
- .frames #search { display: none; }
222
- .inheritanceTree, .toggleDefines { float: right; }
223
-
224
- #menu { font-size: 1.3em; color: #bbb; top: -5px; position: relative; }
225
- #menu .title, #menu a { font-size: 0.7em; }
226
- #menu .title a { font-size: 1em; }
227
- #menu .title { color: #555; }
228
- #menu a:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
229
- #menu a:hover { color: #05a; }
230
- #menu .noframes { display: none; }
231
- .frames #menu .noframes { display: inline; float: right; }
232
-
233
- #footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
234
- #footer a:link, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
235
- #footer a:hover { color: #05a; }
236
-
237
- #listing ul.alpha { font-size: 1.1em; }
238
- #listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
239
- #listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
240
- #listing ul.alpha ul { margin: 0; padding-left: 15px; }
241
- #listing ul small { color: #666; font-size: 0.7em; }
242
-
243
- li.r1 { background: #f0f0f0; }
244
- li.r2 { background: #fafafa; }
245
-
246
- #search_frame {
247
- z-index: 9999;
248
- background: #fff;
249
- display: none;
250
- position: absolute;
251
- top: 36px;
252
- right: 18px;
253
- width: 500px;
254
- height: 80%;
255
- overflow-y: scroll;
256
- border: 1px solid #999;
257
- border-collapse: collapse;
258
- -webkit-box-shadow: -7px 5px 25px #aaa;
259
- -moz-box-shadow: -7px 5px 25px #aaa;
260
- -moz-border-radius: 2px;
261
- -webkit-border-radius: 2px;
262
- }
263
-
264
- #content ul.summary li.deprecated .summary_signature a:link,
265
- #content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
266
-
267
- #toc {
268
- padding: 20px; padding-right: 30px; border: 1px solid #ddd; float: right; background: #fff; margin-left: 20px; margin-bottom: 20px;
269
- max-width: 300px;
270
- -webkit-box-shadow: -2px 2px 6px #bbb;
271
- -moz-box-shadow: -2px 2px 6px #bbb;
272
- z-index: 5000;
273
- position: relative;
274
- }
275
- #toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
276
- #toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
277
- #toc .title { margin: 0; }
278
- #toc ol { padding-left: 1.8em; }
279
- #toc li { font-size: 1.1em; line-height: 1.7em; }
280
- #toc > ol > li { font-size: 1.1em; font-weight: bold; }
281
- #toc ol > ol { font-size: 0.9em; }
282
- #toc ol ol > ol { padding-left: 2.3em; }
283
- #toc ol + li { margin-top: 0.3em; }
284
- #toc.hidden { padding: 10px; background: #f6f6f6; -webkit-box-shadow: none; -moz-box-shadow: none; }
285
- #filecontents h1 + #toc.nofloat { margin-top: 0; }
286
-
287
- /* syntax highlighting */
288
- .source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
289
- #filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
290
- #filecontents pre.code, .docstring pre.code { display: block; }
291
- .source_code .lines { padding-right: 12px; color: #555; text-align: right; }
292
- #filecontents pre.code, .docstring pre.code,
293
- .tags .example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
294
- pre.code { color: #000; }
295
- pre.code .info.file { color: #555; }
296
- pre.code .val { color: #036A07; }
297
- pre.code .tstring_content,
298
- pre.code .heredoc_beg, pre.code .heredoc_end,
299
- pre.code .qwords_beg, pre.code .qwords_end,
300
- pre.code .tstring, pre.code .dstring { color: #036A07; }
301
- pre.code .fid, pre.code .id.new, pre.code .id.to_s,
302
- pre.code .id.to_sym, pre.code .id.to_f,
303
- pre.code .dot + pre.code .id,
304
- pre.code .id.to_i pre.code .id.each { color: #0085FF; }
305
- pre.code .comment { color: #0066FF; }
306
- pre.code .const, pre.code .constant { color: #585CF6; }
307
- pre.code .symbol { color: #C5060B; }
308
- pre.code .kw,
309
- pre.code .label,
310
- pre.code .id.require,
311
- pre.code .id.extend,
312
- pre.code .id.include { color: #0000FF; }
313
- pre.code .ivar { color: #318495; }
314
- pre.code .gvar,
315
- pre.code .id.backref,
316
- pre.code .id.nth_ref { color: #6D79DE; }
317
- pre.code .regexp, .dregexp { color: #036A07; }
318
- pre.code a { border-bottom: 1px dotted #bbf; }